Commit graph

47 commits

Author SHA1 Message Date
Paul van Tilburg c91159466d Clean the database of non-existing draggables on start 2012-01-15 17:16:40 +01:00
Paul van Tilburg 569052a06e Delete the draggable when the "X" is clicked upon
Also apply syntax highlighting, draggabilty, and signals to the last
added draggable in the iteration, not to all.
2012-01-15 17:15:10 +01:00
Paul van Tilburg f987f79581 Add a controller for the removal of draggables 2012-01-15 17:14:18 +01:00
Paul van Tilburg 87a9aa2f27 Make our style CSS override the CSS from highlight.js; set body font family 2012-01-15 16:19:41 +01:00
Paul van Tilburg 2537e0ef77 Only apply syntax highlighting to code now that we know the type 2012-01-15 16:19:12 +01:00
Paul van Tilburg 3e0d783454 Wrap the content in a div with title and comments; add some style 2012-01-15 16:18:23 +01:00
Paul van Tilburg 7ffe87a70c Set the draggable name by default to the original filename 2012-01-15 16:17:28 +01:00
Paul van Tilburg f90fc3a28d Syntax consistency fix 2012-01-15 16:16:41 +01:00
Paul van Tilburg ae7325b54a Use the select type for setting the file extension and MIME type 2012-01-15 14:26:56 +01:00
Paul van Tilburg e22a95d017 Allow for setting the type of entered/pasted text in the add dialog 2012-01-15 14:25:47 +01:00
Paul van Tilburg cde8d0f8c3 Store the draggables info cross-session in draggables.json 2012-01-15 14:03:33 +01:00
Paul van Tilburg 4fdc97c66b Use randomness for the initial (dummy placement) 2012-01-14 12:52:14 +01:00
Paul van Tilburg 86f518d0c7 Fix saving positions of text and code 2012-01-13 10:43:47 +01:00
Paul van Tilburg f938e66614 Fix stacking of things that are not an image 2012-01-13 10:43:08 +01:00
Paul van Tilburg edce038508 Fixed markdown syntax error 2012-01-12 15:33:06 +01:00
Paul van Tilburg 860f0c392a Make the text draggable font a bit smaller 2012-01-12 15:28:32 +01:00
Paul van Tilburg 68bd7a7160 Updated TODO and README 2012-01-12 14:24:12 +01:00
Paul van Tilburg fa8fe37c83 Consider application/* files as code for now 2012-01-12 14:22:37 +01:00
Paul van Tilburg 68e38d8568 Apply source highlighting to all <pre/> blocks 2012-01-12 14:22:37 +01:00
Paul van Tilburg 245f97c636 Add the highlight.js library 2012-01-12 14:20:50 +01:00
Paul van Tilburg 9b4f70c6e9 Implement keyboard support (Plus/Escape) for showing/hiding the upload dialog 2012-01-12 13:22:52 +01:00
Paul van Tilburg b813520f20 Add support for music/video/code/text files 2012-01-12 13:22:22 +01:00
Paul van Tilburg b722b5f2f3 Fix up debug info and comments 2012-01-12 12:23:52 +01:00
Paul van Tilburg 9783aa913f Support uploading of text 2012-01-12 12:23:08 +01:00
Paul van Tilburg c630ac3beb Changed the routes to provide a more RESTful interface 2012-01-12 11:38:40 +01:00
Paul van Tilburg 95e030921d Ignore jquery files in public/javascripts 2012-01-12 11:21:23 +01:00
Paul van Tilburg faea9200db Reorganize public/ to have a more tradition Express-y structure 2012-01-12 11:20:33 +01:00
Paul van Tilburg b93461271e Move the upload dir (physically) to public 2012-01-12 11:18:54 +01:00
Paul van Tilburg ba5ede6463 Add ToDo list (from the Camping based version) 2012-01-11 23:51:31 +01:00
Paul van Tilburg 574696b73b Add markdown-formatted README.md 2012-01-11 23:41:52 +01:00
Paul van Tilburg e25c0aeb32 Add a symlink for now to allow for static serving of the uploaded stuff 2012-01-11 23:31:24 +01:00
Paul van Tilburg e43fee4541 Get the current draggables and save the positions from the client 2012-01-11 23:31:07 +01:00
Paul van Tilburg b71fc507c5 Implement the savepos route/controller 2012-01-11 23:30:19 +01:00
Paul van Tilburg a4c4df2fe7 Implement the current route/controller 2012-01-11 23:30:00 +01:00
Paul van Tilburg a9d1626067 Implement the draggable route/controller (only support images for now) 2012-01-11 23:29:41 +01:00
Paul van Tilburg aafe53e38b Fix upload dir path; change position defaults 2012-01-11 23:28:21 +01:00
Paul van Tilburg 3006aed3ef Remove trailing spaces 2012-01-11 23:26:58 +01:00
Paul van Tilburg 0df53fa63d Pimp the dialog show/hide with a fade effect 2012-01-11 23:26:40 +01:00
Paul van Tilburg 2143fc6d72 Use jQuery (UI) to show/hide the upload dialog 2012-01-11 17:04:27 +01:00
Paul van Tilburg 41bd8dbdb4 Properly ignore stuff under upload/ 2012-01-11 17:03:54 +01:00
Paul van Tilburg 41bb7da99e The savepos route should only handle POST 2012-01-11 17:03:14 +01:00
Paul van Tilburg aa6a786ec5 Add a draggable (dummy) route 2012-01-11 17:02:45 +01:00
Paul van Tilburg 36a21b4a44 Build some sort of in-memory draggables dummy database 2012-01-11 17:02:22 +01:00
Paul van Tilburg 123ddc5d33 Move the static serving middleware up, it does not concern with forms and such 2012-01-11 15:20:01 +01:00
Paul van Tilburg 96c20fc2de Prevent the file move, upload straight to the upload dir 2012-01-11 15:19:29 +01:00
Paul van Tilburg 700a1f49c7 Fix syntax error for the savepos route definition 2012-01-11 15:18:58 +01:00
Paul van Tilburg 83228cbc3c Initial commit of the rework in Express/Node.js. 2012-01-11 15:06:29 +01:00