Commit Graph

22 Commits

Author SHA1 Message Date
Florian Thoma
fb08e472c6 fix edit after upload (from @benmanu), fixes #53 2016-08-30 12:04:08 +10:00
helpfulrobot
bd707c4ffc Converted to PSR-2 2015-12-18 07:48:37 +13:00
Andrew Short
f718b90b69 BUG: Fix the action buttons not rendering on upload.
Due to escaping API changes, a HTMLText instance was being incorrectly
casted to JSON.
2013-10-08 19:20:18 +11: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
Normann Lou
ea7b2c0471 BUG add $allowed_actions for both DMSDocumentAddController and DMSUploadField 2013-06-26 04:57:36 +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
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
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
043eb540c1 ENHANCEMENT: Tidy-up of DMS link existing document feature 2012-08-10 12:05:34 +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
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
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
Andrew O'Neil
66a7a0a738 Edit form for upload 2012-08-01 17:59:41 +12:00
Andrew O'Neil
adf25185f1 ENHANCEMENT: Adding documents to a page works! (poorly) 2012-08-01 10:49:57 +12:00
Julian Seidenberg
fcd29dbf31 ENHANCEMENT: working replace file and usage listing 2012-07-31 18:17:08 +12:00
Andrew O'Neil
a161dca65a MINOR: Move DMSUploadField into cms folder 2012-07-31 14:42:25 +12:00