Commit graph

47 commits

Author SHA1 Message Date
Gered 5229577192 fix list-files not returning published field 2013-05-26 15:42:40 -04:00
Gered 5b05bff295 change button style, highlight file rows for files that are unpublished 2013-05-26 15:38:53 -04:00
Gered 635f17433d add publish/unpublish buttons 2013-05-26 15:35:45 -04:00
Gered fb702b4aa0 fix incorrect arguments 2013-05-26 15:35:33 -04:00
Gered 49a9b36961 add route/model for toggling publish state of a file 2013-05-26 15:28:20 -04:00
Gered 8ef71ea31b don't show a notice about updating an existing file if we didn't do that (new-upload vs new-over-existing-upload) 2013-05-26 15:08:38 -04:00
Gered 879229e4dd implement the view/route for updating existing files 2013-05-26 15:07:20 -04:00
Gered da8a9e3c5e oops 2013-05-26 14:57:28 -04:00
Gered fd86227e54 remaining param name changes to be consistent 2013-05-26 14:57:05 -04:00
Gered 772c08f6a8 delete route param name change, put the filename in upload/delete success messages 2013-05-26 14:55:18 -04:00
Gered 6b1627196c detect empty file upload submissions, show file operation result messages 2013-05-26 14:51:34 -04:00
Gered d3bd3342c9 don't allow the path to be manually typed in inside the upload new file modal 2013-05-26 14:06:36 -04:00
Gered 6eb1141c17 added message for empty directories 2013-05-26 14:02:59 -04:00
Gered 40ba9e23bd update bootstrap 2013-05-26 13:58:14 -04:00
Gered 0f5302ba1b implemented better files path/tree dropdown using a modified bootstrap-combobox 2013-05-26 13:49:33 -04:00
Gered 55bba64481 added view tags namespace. added ifempty tag 2013-05-26 13:48:35 -04:00
Gered cbdd265a0f change code/preformatted text font face 2013-05-26 10:58:42 -04:00
Gered 1302c45ada implement file deleting routes/model 2013-05-25 12:23:04 -04:00
Gered c8805f8726 add button/modal for deleting files 2013-05-23 09:26:19 -04:00
Gered 3e2f61927c handle updating files when uploading a new file to the same path/name as an existing file 2013-05-23 09:12:39 -04:00
Gered ffd17c6291 add update-file fn 2013-05-23 09:12:13 -04:00
Gered 03058f574f add file-exists? fn 2013-05-23 00:04:55 -04:00
Gered 75ac524736 minor text/styling changes 2013-05-22 23:59:21 -04:00
Gered e4a38bca70 indentation 2013-05-22 23:36:25 -04:00
Gered 7a559a40df add regexes to post view route to fix a conflict with 2-level deep file paths 2013-05-22 23:36:14 -04:00
Gered e8e12e08e9 fix up some path handling/fixing 2013-05-22 22:33:48 -04:00
Gered 514593101b add initial route/model support for uploading new files 2013-05-22 09:23:11 -04:00
Gered 456309ddf7 add initial file listing page support 2013-05-22 08:52:11 -04:00
Gered 04f904d7f9 add stub route for listing files 2013-05-21 22:42:34 -04:00
Gered f6868031b5 little bit of cleanup 2013-05-21 22:42:19 -04:00
Gered f8f1f2d6ff add more file listing views/functions 2013-05-21 22:41:36 -04:00
Gered eece264d27 refactor 2013-05-21 22:40:23 -04:00
Gered f70e17a653 add helper for obtaining a seq of keys from a view 2013-05-21 22:40:05 -04:00
Gered 65de2410a3 only serve published files 2013-05-21 19:26:18 -04:00
Gered 0e68ce12b1 update files views (doc id will now just be the full path + filename) 2013-05-21 19:25:40 -04:00
Gered 6bd4bc8252 add call to check the database in app init 2013-05-21 19:23:27 -04:00
Gered 7a0a6791ee fix incorrect database for files design doc 2013-05-21 19:22:56 -04:00
Gered e398b337d4 refactor touch-databases a bit, add code to create files db design doc 2013-05-20 20:12:30 -04:00
Gered aa54248ab6 add files db design doc 2013-05-20 20:08:41 -04:00
Gered 515d95a2b3 add basic file retrieval from files db 2013-05-20 20:07:42 -04:00
Gered 78170ceb10 add touch-databases to ensure db structure is present 2013-05-20 20:07:11 -04:00
Gered 88ce5616e0 add load-clj and load-json functions (based on load-config) 2013-05-20 20:06:35 -04:00
Gered 72b277439d will be using a separate db for files (uploads) 2013-05-20 18:03:51 -04:00
Gered 3d60c32a82 won't be using a separate db for comments 2013-05-20 18:03:10 -04:00
Gered 13397a75aa something more neutral for now
I don't want to keep too much environment specifics (credentials, IP's,
and other stuff) version controlled right now
2013-05-20 17:48:01 -04:00
Gered 5d180e6024 add copy of current couchdb design docs 2013-05-20 17:46:49 -04:00
Gered 906f8ec915 initial commit 2013-05-20 17:43:38 -04:00