Commit Graph

27 Commits

Author SHA1 Message Date
Paul van Tilburg b05d59b318 Prevent trying to update items that are not in the database 2012-02-14 23:48:19 +01:00
Paul van Tilburg 0a29a078f6 Present an error message when HTML5 audio/video elements are not supported 2012-02-14 23:47:57 +01:00
Paul van Tilburg 8b15d389d9 Set a default width and height for items when uploaded 2012-02-14 23:47:25 +01:00
Paul van Tilburg c7bf0458e2 Ensure that the next layer in the middleware handles the error 2012-02-14 23:46:53 +01:00
Paul van Tilburg 20c3ab6130 Decrease the server timeout for keeping requests paused 2012-02-14 23:46:12 +01:00
Paul van Tilburg 359765db8d Add support for registering resize next to reposition 2012-02-14 18:48:54 +01:00
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 d75b705c00 Fix missing variable in the download controller 2012-02-14 00:21:31 +01:00
Paul van Tilburg 3af2bf38c0 Code cleanups 2012-02-11 23:56:40 +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 6f9a7c60d9 Fade in items that are added 2012-02-11 12:29:01 +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 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 a5368cc78e When an upload is done via d&d, don't redirect to / 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 bc35b23891 Remove debug statements; added missing semicolons 2012-01-16 23:45:15 +01:00
Paul van Tilburg 7dd854161d Add production and development mode 2012-01-16 11:34:19 +01:00
Paul van Tilburg 40e987c7a5 Rename plemp.js to apps.js by Express convention 2012-01-16 11:18:12 +01:00