Paul van Tilburg
0dfe4b52f2
Split the draggable div generating code from Views#draggables ; added the Draggable controller.
12 years ago
Paul van Tilburg
3bb1185267
Removed some cruft debug info generating code.
12 years ago
Paul van Tilburg
0ce1fcb4f0
Added application and source documentation.
12 years ago
Paul van Tilburg
fd29454796
Merge branch 'master' of git+ssh://git.luon.net/git/plemp
12 years ago
Paul van Tilburg
ff5481df13
Set up the draggables 'on load', no need for a script element per draggable.
12 years ago
Paul van Tilburg
0fe45a24ee
Remove draggable entries from the database if the corresponding file is gone.
12 years ago
Paul van Tilburg
31feb93d96
Added support for the Plus key (shows the add/upload dialog).
12 years ago
Paul van Tilburg
24dec53ae5
Merge branch 'master' of git+ssh://git.luon.net/git/plemp
12 years ago
Paul van Tilburg
f151100f2d
Improved the mouse cursor for the add button.
12 years ago
Paul van Tilburg
65fea73f85
Fixed problem where draggables are moved on update during drags or before commit.
12 years ago
Paul van Tilburg
f633696e7e
Some Javascript refactoring.
...
* Moved all initialisation stuff to init_plemp().
* No longer set and user BaseUrl but use document.baseURI instead.
* Added the function key_handler() for handling key presses.
* Added functionality to dismiss the add/upload dialog when pressing Escape.
12 years ago
Paul van Tilburg
3be69752f2
Added the upload/add dialog.
12 years ago
Paul van Tilburg
4c850354e8
Layout tweaks: line numbers for text, WIP upload dialog.
12 years ago
Paul van Tilburg
3b43695538
Implemented distributed moving of draggables via Ajax.
12 years ago
Paul van Tilburg
d78ec2e6c8
Implemented basic database support; dropped the Positions hash.
12 years ago
Paul van Tilburg
060a9824fb
Fixed saving positions when your not using Plemp! locally.
12 years ago
Paul van Tilburg
e7b4425936
Added support for audio and video (using an HTML5 hack).
12 years ago
Paul van Tilburg
a97cb237f2
Raise Z-index on drag; moved draggable specific JS code to dragreg.js.
12 years ago
Paul van Tilburg
37138619c0
Added support for other file types than images.
...
* Use mime/types library for MIME type management.
* Use CodeRay for syntax highlighting code/text files.
* Added code to observe the drags; fixed committing position changes to the app.
* Commenced work on the Z-index problem.
12 years ago
Paul van Tilburg
56216b3bea
Added upload/.placeholder so the directory gets created.
...
* Modified the main view to ignore the placeholder.
12 years ago
Paul van Tilburg
ed2453cc03
Add placeholder so that the upload dir exists too.
12 years ago
Paul van Tilburg
0555395095
Switched to using scriptaculous for dragging support.
...
* Moved inline CSS to public/plemp.css.
* Improved default for initial random positions.
* Replaced drag.js by dragreg.js which is going to do the position changes
registration via the Draggables object.
* Added Move effect for initial placing.
12 years ago
Paul van Tilburg
039bd6f0aa
Added upload support; load and show uploaded images instead of dummies.
12 years ago
Paul van Tilburg
ab0fecd06e
Added upload support (in upload/ for now).
12 years ago
Paul van Tilburg
cf93b1d8fc
Added some tests as initial starting point.
12 years ago