Commit Graph

53 Commits

Author SHA1 Message Date
Stephen Shkardoon
0765b90da8 Merge pull request #28 from ss23/master
FIX #25 - documentautocomplete need allowed_action
2013-09-19 15:18:41 -07:00
Stephen Shkardoon
049a1c8d84 FIX #25 - documentautocomplete need allowed_action 2013-09-20 10:17:30 +12:00
Julian Seidenberg
c2639d86d1 Merge pull request #24 from ss23/master
FIX Don't show the upload field when inappropriate
2013-09-10 22:13:14 -07:00
Stephen Shkardoon
8d4b24b68d FIX Don't show the upload field when inappropriate
This fix is quite ugly, but in theory, it's fine. By ugly,
  I mean the interface is kind of weird without it.
Because 3.1 allows uploading when a DataObject doesn't exist,
  we need to override the new defaults to not allow such if
  the DO isn't saved yet.
2013-09-10 21:03:42 +12:00
Stephen Shkardoon
144043c437 3.1 compat -- Add action to allowed_actions 2013-09-10 20:59:59 +12:00
Stephen Shkardoon
45849c5833 Merge pull request #22 from ss23/allowed_actions-3.1
Add allowed_actions to make it work for 3.1
2013-08-28 19:55:16 -07:00
Stephen Shkardoon
cb96c474da Add allowed_actions to make it work for 3.1 2013-08-29 14:50:43 +12:00
Ingo Schommer
75899876d2 3.1 compat (controller code) 2013-08-22 17:21:55 +02:00
Normann Lou
ea7b2c0471 BUG add $allowed_actions for both DMSDocumentAddController and DMSUploadField 2013-06-26 04:57:36 +12:00
Cam Findlay
5bf804c1af FIX the autocomplete for adding a document to a page that already exists in the DMS. 2013-04-18 13:38:29 +12:00
Cam Findlay
1b6c76b405 Further updates for 3.1 compatibility. 2013-04-15 14:03:58 +12:00
Ingo Schommer
597e393630 BUG DMSUploadField JS template usage
Instead of relying on JavaScript requirements blocking,
configure a more specific template name to use
in certain situations. We can't control JS files
loaded by the browser already by previous requests,
so Requirements blocking does not override the
template in all cases, creating execution-path specific
edge cases (like showing "save to refresh" messages
in the background of a "add document" upload success)
2013-01-07 10:11:55 +13:00
Julian Seidenberg
8f5c65d539 API-CHANGE: adding a method to add to the list of extensions that are allowed as Documents. 2012-11-23 10:56:28 +13:00
Julian Seidenberg
c72bbefabc ENHANCEMENT: using a defined directory for the dms so you can change the directory, if you want 2012-11-21 10:22:40 +13:00
Julian Seidenberg
9fe54f18bc BUGFIX: newly added documents now always appear at the top of the list 2012-09-21 16:10:16 +12:00
Julian Seidenberg
745741344c BUGFIX: newly added documents now appear at the top of the list 2012-09-21 15:45:05 +12:00
Julian Seidenberg
e9ee4c85a7 BUGFIX: fixing in-content the insert dialog 2012-09-21 15:44:30 +12:00
Normann Lou
0a29388e9e BUGFIX: give the div field on document add/editing form a id so the form's _super behaviour is applied to it 2012-09-21 12:40:10 +12:00
Ingo Schommer
fe82f9c5bc BUG Sequential file upload to fix Solr reindexing problems 2012-09-11 10:22:17 +02:00
Ryan O'Hara
11180da4ac ENHANCEMENT: Refactor linking a document. This fixes the bug issue Branka was having in FF as well as making the UI work better 2012-09-07 11:31:37 +12:00
Saophalkun Ponlu
d5107bce52 BUG Document link hide/show bug 2012-08-31 15:45:54 +12:00
Julian Seidenberg
1f0c08db5d BUGFIX: fixing all the API changes made by Ingo in an earlier commit by searching for usage and updating places where the APIs are used 2012-08-27 15:07:01 +12:00
Julian Seidenberg
bd75a41f9b ENHANCEMENT: warning when deleting a document that is referenced on other pages 2012-08-21 17:57:18 +12:00
Julian Seidenberg
bac9666597 API-CHANGE: dms shortcode system 2012-08-21 14:31:13 +12:00
Andrew O'Neil
6280bed9ab ENHANCMENT: Add document to page when it is clicked 2012-08-14 14:13:12 +12:00
Andrew O'Neil
be809ac2c9 ENHANCEMENT: Show list of documents when page is selected in dropdown 2012-08-14 14:13:12 +12:00
Andrew O'Neil
a6f8b83e1a ENHANCEMENT: Show number of documents on a page in dropdown 2012-08-14 14:13:11 +12:00
Andrew O'Neil
3af703fa9a ENHANCEMENT: Add treedropdown to select page when adding a document 2012-08-14 14:13:11 +12:00
Julian Seidenberg
b6a728dc0e ENHANCEMENT: adding grid field row highlighting when Document is hidden 2012-08-14 13:03:35 +12:00
Julian Seidenberg
043eb540c1 ENHANCEMENT: Tidy-up of DMS link existing document feature 2012-08-10 12:05:34 +12:00
Julian Seidenberg
607d3e8266 ENHANCEMENT: Editing document defaults after adding 2012-08-09 18:10:50 +12:00
Andrew O'Neil
7de79e20be WIP Edit frame 2012-08-08 17:58:08 +12:00
Julian Seidenberg
66422c0a31 ENHANCEMENT: re-adding modified downloadtemplate, but only in specific case when access it through a grid field 2012-08-07 17:28:11 +12:00
Julian Seidenberg
7cfefdb953 ENHANCEMENT: only using special download template when displaying DMSUploadField in getCMSFields of GridField 2012-08-07 17:28:10 +12:00
Julian Seidenberg
e682125a03 BUGFIX: removing restriction that the uploaded file needs to have the same name as the previous file. The client specifically needs to be able to upload a new file with a different name. 2012-08-07 17:28:10 +12:00
Ryan O'Hara
8da51ff5e9 ENHANCEMENT: Add tab styling to add document dialog 2012-08-07 16:51:39 +12:00
Andrew O'Neil
0e65cb2f1e FEATURE: Adding existing documents now works 2012-08-07 14:42:28 +12:00
Andrew O'Neil
e30a34eedb FEATURE: Autocomplete for add document 2012-08-07 13:45:01 +12:00
Julian Seidenberg
6fa0cc5a32 API-CHANGE: refactoring getDMSinstance() to inst() 2012-08-07 11:19:54 +12:00
Ingo Schommer
c44434d498 FEATURE Replace file (incl. name validation) 2012-08-06 20:53:34 +02:00
Julian Seidenberg
02fad50ab3 ENHANCEMENT: delete button warning 2012-08-06 18:17:01 +12:00
Andrew O'Neil
8be5a754bc FEATURE: WIP add existing document to page 2012-08-06 17:52:41 +12:00
Andrew O'Neil
c3437d8646 BUGFIX: Fix edit links on document upload 2012-08-06 13:23:16 +12:00
Normann Lou
505bbc96a3 MINOR: missing images that should be used after you upload files to show the file type.
MINOR: add a TODO comments for other dev to check later.
2012-08-03 18:26:32 +12:00
Normann Lou
472183df09 ENHANCEMENT: add "Back" and "Done" button to the DocumentAddController. 2012-08-03 18:26:32 +12:00
Julian Seidenberg
44317bfbe6 API-CHANGE: overriding DMS delete button (not quite working yet) 2012-08-01 18:38:06 +12:00
Andrew O'Neil
66a7a0a738 Edit form for upload 2012-08-01 17:59:41 +12:00
Julian Seidenberg
236857bc80 API-CHANGE: deleting a DMSDocument from the GridField working 2012-08-01 15:00:53 +12:00
Andrew O'Neil
66dd7e9394 Fix breadcrumbs for add document 2012-08-01 10:49:58 +12:00
Andrew O'Neil
adf25185f1 ENHANCEMENT: Adding documents to a page works! (poorly) 2012-08-01 10:49:57 +12:00