Commit graph

112 commits

Author SHA1 Message Date
Paul van Tilburg 063ab8612e Fix the comments (counter) in the generated draggable HTML for now
This is necessary to give the draggable div a nice, fixed initial height.
2012-02-14 18:48:07 +01:00
Paul van Tilburg e7c1bdc461 Use the message box to show/handle filedrop errors (closes: #079a63) 2012-02-14 00:25:29 +01:00
Paul van Tilburg 214b15ffcc Add an empty message box to the right of the upload button 2012-02-14 00:23:29 +01:00
Paul van Tilburg d75b705c00 Fix missing variable in the download controller 2012-02-14 00:21:31 +01:00
Paul van Tilburg 3d0af7ed67 Fix some typos 2012-02-14 00:21:05 +01:00
Paul van Tilburg d3955781d4 Merge branch 'feature/dialogs' 2012-02-13 18:12:28 +01:00
Paul van Tilburg 5b4a24e0a6 Removed unnecessary CSS that is handled by JQuery UI CSS now; add some overrides
Finished with integrating JQuery UI Dialogs, closes: #abb97f
2012-02-13 18:10:56 +01:00
Paul van Tilburg d16958a65d Removed unnecessary CSS that is handled by JQuery UI CSS now; add some overrides 2012-02-13 18:10:40 +01:00
Paul van Tilburg 0cdcec4275 Add the #delete_confirm dialog HTML 2012-02-13 18:09:49 +01:00
Paul van Tilburg 8995dda1f4 Transform the #add_dialog HTML 2012-02-13 18:09:31 +01:00
Paul van Tilburg 7a5caad7e1 Big dialog rework using JQuery UI dialogs
* Turn #add_dialog into a proper dialog.
* Split off the dialog form functionality into clear_add_dialog_form().
* Update {show,hide}_add_dialog.
* Fixed dialog hiding issue in delete_draggable_from_canvas.
* Chain deletion via confirm_delete_draggable, a confirm dialog to
  delete_draggable.
2012-02-13 18:07:11 +01:00
Paul van Tilburg 3af2bf38c0 Code cleanups 2012-02-11 23:56:40 +01:00
Paul van Tilburg 457a87be0e Enlarge the item header font size a bit 2012-02-11 12:33:18 +01:00
Paul van Tilburg 4c63e00e82 Handle the download button by calling the download controller; add some style 2012-02-11 12:32:36 +01:00
Paul van Tilburg 1eb940dc29 Add the download controller (offers file statically but as attachment) and buton 2012-02-11 12:31:52 +01:00
Paul van Tilburg f6274f1002 No longer reload window after adding, just wait for the add event 2012-02-11 12:30:52 +01:00
Paul van Tilburg e38da8c405 A jQuery function should return this 2012-02-11 12:30:01 +01:00
Paul van Tilburg 6f9a7c60d9 Fade in items that are added 2012-02-11 12:29:01 +01:00
Paul van Tilburg e7209f8d86 Bumped the version to 0.4 2012-02-11 11:00:13 +01:00
Paul van Tilburg 7e91d06c46 Updated the NEWS file for the 0.4 release 2012-02-11 11:00:03 +01:00
Paul van Tilburg eb646e34f5 Add to the README that drag & drop uploading is also a possibility 2012-02-11 01:42:06 +01:00
Paul van Tilburg b3d5f67965 Updated README.md and TODO for current feature set 2012-02-11 01:39:03 +01:00
Paul van Tilburg 01243ea78d Actually retrieve the title from the form 2012-02-11 01:35:48 +01:00
Paul van Tilburg 7c685ddd29 Escape the HTML in text/code (closes: #4fe9c7) 2012-02-11 01:35:25 +01:00
Paul van Tilburg 4ec1c46e5d Proper variable declaration 2012-02-11 00:47:41 +01:00
Paul van Tilburg 777d2bd210 Set undefined/unknown upload mime type to application/octet-stream 2012-02-11 00:47:20 +01:00
Paul van Tilburg 7f6e91c44b Merge branch 'feature/dragndrop' to add drag&drop support (closes: #743b13) 2012-02-11 00:39:21 +01:00
Paul van Tilburg a86f87a309 Fix debug log message 2012-02-11 00:37:45 +01:00
Paul van Tilburg 8c3dce25aa Merge branch 'feature/distributed' 2012-02-09 10:37:24 +01:00
Paul van Tilburg 6a120ae148 Add a poll_server method loop and handle server events by manipulating the canvas
Closes #5bc941.
2012-02-09 10:35:51 +01:00
Paul van Tilburg adae14c70b Add a poll_server method loop and handle server events by manipulating the canvas 2012-02-09 10:31:03 +01:00
Paul van Tilburg 870342ffdf Split of the code for the actual adding/deleting of draggables to/from the canvas 2012-02-09 10:28:09 +01:00
Paul van Tilburg 1c706fd6cc Ensure that draggable IDs do not contain dots
* Fix up the name field of the draggable info to contain the full filename
* The ID is now just the md5sum
2012-02-09 10:25:55 +01:00
Paul van Tilburg a3d79b6ef7 Attach a timestamp to the list of draggables for the client 2012-02-09 10:25:26 +01:00
Paul van Tilburg 7a78be42c4 Add the events controller 2012-02-09 10:24:40 +01:00
Paul van Tilburg 227464270e Throw events for reposition, title change, add, and delete 2012-02-09 10:23:29 +01:00
Paul van Tilburg d4dd68cc38 Add functions of the event framework 2012-02-09 10:22:17 +01:00
Paul van Tilburg feb5f58000 Style fixes for elements contained in draggables 2012-01-18 23:35:37 +01:00
Paul van Tilburg 09cfe2772b Ensure the height of the body/canvas is the full 100% (for uploading) 2012-01-18 22:18:35 +01:00
Paul van Tilburg a5368cc78e When an upload is done via d&d, don't redirect to / 2012-01-18 22:18:35 +01:00
Paul van Tilburg 29f6b52dff Use the filedrop jQuery plugin to allow for drag & drop uploading 2012-01-18 22:18:35 +01:00
Paul van Tilburg 5a4ab521b3 Add the filedrop jQuery plugin 2012-01-18 22:18:35 +01:00
Paul van Tilburg ecd79b19a3 Set the title for file uploads to the filename without the extension 2012-01-18 22:17:50 +01:00
Paul van Tilburg 20db6beaea Tweak the font size of text and code 2012-01-18 22:17:26 +01:00
Paul van Tilburg 1ddb35acdc Bump version to 0.2 2012-01-17 14:29:44 +01:00
Paul van Tilburg 0b6d9c6ba0 Raise a draggable on click 2012-01-17 14:27:52 +01:00
Paul van Tilburg b961536aab Modify draggable params: dragging starts from > 10px and not on audio/vido 2012-01-17 14:27:37 +01:00
Paul van Tilburg bc35b23891 Remove debug statements; added missing semicolons 2012-01-16 23:45:15 +01:00
Paul van Tilburg 6300da2881 Fixed id attribute retrieval due to refactoring in 5b3edc5 2012-01-16 20:27:09 +01:00
Paul van Tilburg 9e0198cd03 Prevent nodemon from restarting when client-side stuff is changed 2012-01-16 19:03:53 +01:00