Commit Graph

15 Commits

Author SHA1 Message Date
Robbie Averill ac5a01614b FIX Ensure DMSUploadField called via injection is returned correctly
Fixes an incompatibility with SelectUploadField in CWP
2017-07-27 13:36:50 +12:00
Robbie Averill 4ba3e3fa60 FIX Remove fragile logic looking for page edit link between SS versions 2017-06-15 14:31:10 +12:00
Franco Springveldt 4bdeb980d9 Merge pull request #177 from creative-commoners/pulls/2.0/fix-page-association-in-addcontroller
FIX Get page ID from document set and include it in $NewLink for add document buttons
2017-06-14 16:14:40 +12:00
Robbie Averill 9d5e028d10 FIX Ensure that redirection back to pages works for SS 3.6 2017-06-14 15:53:37 +12:00
Franco Springveldt 79da01513e FIX document and documentset permissions 2017-06-14 11:18:09 +12:00
Robbie Averill d0c2558a1f FIX Get page ID from document set and include it in $NewLink for add document buttons
This helps the module to determine where to return a user to after they've uploaded a file, e.g. either back to a document set in a page context, back to a document set in the ModelAdmin context or back to the ModelAdmin for documents with no context.
2017-06-14 10:57:00 +12:00
Robbie Averill 772198a7fc FIX Backlink for upload form redirects to document admin if no page is available 2017-06-08 12:26:53 +12:00
Daniel Hensby bacc3db4ef Merge pull request #163 from creative-commoners/pulls/2.0/add-more-tests
Add some more tests
2017-06-07 21:39:18 +01:00
Robbie Averill 4c3206e200 Add tests for the document autocompleter and conditions in getter for page and document set 2017-06-07 17:00:25 +12:00
Robbie Averill 5d7479013e Add test class for DMSUploadField_ItemHandler 2017-06-07 16:39:44 +12:00
Franco Springveldt ce37b81c2b NEW pages link to document sets 2017-06-07 15:54:10 +12:00
Sacha Judd cbd3a65fa9 FIX Add 'add document set' button and update label for Page 2017-06-03 08:24:14 +12:00
Robbie Averill cbc53fd7d2 NEW Add ModelAdmin interface for managing DMSDocumentSets 2017-05-29 10:15:21 +12:00
Robbie Averill 8d2f707f48 FIX Ensure after uploading document you are redirected back to the document set 2017-05-18 11:51:32 +12:00
Robbie Averill b80aa645f8 MINOR Add more tests for classes in the "cms" code folder 2017-05-09 13:04:29 +12:00