Commit Graph

551 Commits

Author SHA1 Message Date
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
Robbie Averill
d57fc88bfa Merge pull request #168 from creative-commoners/issue/150
FIX document and documentset permissions
2017-06-14 11:59:17 +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
sachajudd
4d83b95040 Merge pull request #176 from creative-commoners/pulls/2.0/remove-confirmation-message-on-delete
FIX Remove customised delete confirmation message, it taints the global scope
2017-06-13 16:02:35 +12:00
Robbie Averill
a76b1d0256 FIX Remove customised delete confirmation message, it taints the global scope 2017-06-13 15:21:22 +12:00
sachajudd
ed32ce949e Merge pull request #174 from creative-commoners/pulls/2.0/add-document-backlink
FIX Redirect back to documents tab after uploading a document
2017-06-13 11:33:53 +12:00
Robbie Averill
1f7b17a2d3 FIX Redirect back to documents tab after uploading a document
Unless you are within a document set or page context
2017-06-13 10:56:26 +12:00
sachajudd
98c20aa4dd Merge pull request #173 from creative-commoners/pulls/2.0/switch-coverage-version
Increase max allowed packets in mysql, add build for SS 3.6 explicitly
2017-06-13 10:56:12 +12:00
Robbie Averill
e85e13123e Merge pull request #171 from creative-commoners/pulls/2.0/add-i18n-js-back
FIX Re-add i18n Javascript in documents modeladmin
2017-06-13 09:24:48 +12:00
Robbie Averill
72873608c4 Increase max allowed packets in mysql, add build for SS 3.6 explicitly 2017-06-12 18:50:24 +12:00
Sacha Judd
c10109b49b FIX Re-add i18n Javascript in documents modeladmin 2017-06-12 16:24:23 +12:00
sachajudd
b0de8b33e5 Merge pull request #167 from creative-commoners/pulls/2.0/fix-backlink-for-documentadmin
FIX Backlink for upload form redirects to document admin if no page is available
2017-06-08 13:43:37 +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
sachajudd
c0dee2f1e5 Merge pull request #165 from creative-commoners/pulls/2.0/rename-getfilename
API Rename DMSDocument::getFileName to getFilename
2017-06-08 10:22:11 +12:00
Robbie Averill
14071eee3c API Rename DMSDocument::getFileName to getFilename 2017-06-08 09:54:44 +12:00
Robbie Averill
6b63f738d7 Merge pull request #164 from creative-commoners/pulls/2.0/suggest-modules
Suggest sortablegridfield in composer, loosen Travis constraint for it
2017-06-08 09:05:42 +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
edf2266326 Suggest sortablegridfield in composer, loosen Travis constraint for it 2017-06-07 21:40:51 +12: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
Robbie Averill
832eb14fad Add tests for returning link with content in shortcode handler and error handling 2017-06-07 16:29:19 +12:00
sachajudd
55ee260cba Merge pull request #146 from silverstripe/ux-fixes/issue7
NEW pages link to document sets
2017-06-07 16:17:33 +12:00
Franco Springveldt
ce37b81c2b NEW pages link to document sets 2017-06-07 15:54:10 +12:00
sachajudd
0368293e74 Merge pull request #162 from silverstripe/issue/157
NEW info notices added to QueryBuilder
2017-06-07 11:00:36 +12:00
Franco Springveldt
5824c1b0eb NEW info notices added to QueryBuilder 2017-06-07 10:30:44 +12:00
Franco Springveldt
19eca581cc Merge pull request #161 from creative-commoners/pulls/2.0/travis-include-sortablegridfield
Add undefined/sortablegridfield to Travis test environment
2017-06-07 10:15:08 +12:00
sachajudd
5bea2fb5f1 Merge pull request #160 from creative-commoners/pulls/2.0/friendly-direction-labels
FIX Add friendly labels for ASC and DESC in query builder. Remove extension point in addQueryFields.
2017-06-07 09:36:40 +12:00
Robbie Averill
f6fda3b241 Add undefined/sortablegridfield to Travis test environment 2017-06-06 16:57:27 +12:00
Robbie Averill
f296c89dc0 FIX Add friendly labels for ASC and DESC in query builder. Remove extension point in addQueryFields.
Use updateCMSFields instead
2017-06-06 16:53:52 +12:00
sachajudd
84c7233b79 Merge pull request #159 from creative-commoners/pulls/2.0/fix-orderable-documents
FIX Ensure documents are drag-and-drop reorderable in document sets
2017-06-06 16:47:03 +12:00
sachajudd
8208822400 Merge pull request #149 from creative-commoners/pulls/2.0/add-existing-doc-sets
NEW Allow existing document sets to be linked to pages
2017-06-06 16:18:47 +12:00
Robbie Averill
58ac37a1e8 FIX Ensure documents are drag-and-drop reorderable in document sets 2017-06-06 16:14:14 +12:00
Robbie Averill
8a7fe273a6 NEW Allow existing document sets to be linked to pages 2017-06-06 16:03:52 +12:00
sachajudd
46aafb1df6 Merge pull request #153 from creative-commoners/pulls/2.0/remove-page-reference
FIX Remove "Page" literal field when editing a doc set in a page context. Simplify exception test.
2017-06-06 14:05:29 +12:00
Robbie Averill
7fb2662958 FIX Remove "Page" literal field when editing a doc set in a page context. Simplify exception test. 2017-06-06 12:08:06 +12:00
Robbie Averill
d8f3685601 Merge pull request #145 from creative-commoners/pulls/2.0/add-set-button
FIX Add 'add document set' button and update label for Page
2017-06-06 11:05:08 +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
d3cd151ebc Merge pull request #147 from silverstripe/ux-fixes/issue3
BUG title validation on DMSDocumentSet
2017-06-02 16:38:23 +12:00
Franco Springveldt
3d19b9fc75 FIX title validation on DMSDocumentSet 2017-06-02 16:05:10 +12:00
Franco Springveldt
886fd217f2 Merge pull request #141 from creative-commoners/pulls/2.0/doc-sets-modeladmin
NEW Add ModelAdmin interface for managing DMSDocumentSets
2017-05-31 10:34:32 +12:00
Robbie Averill
e95182f8fc Merge pull request #144 from creative-commoners/pulls/2.0/js-refactor
Tidy up JS indentation and comments
2017-05-30 17:05:10 +12:00
Sacha Judd
9200d83b12 Tidy up JS indentation and comments 2017-05-30 16:46:45 +12:00
sachajudd
a0ef0dc437 Merge pull request #142 from creative-commoners/pulls/2.0/fix-download-link-docs
DOCS Update "download link" example to not reference old functionality
2017-05-30 16:23:29 +12:00
Robbie Averill
c7c4a356eb Merge pull request #143 from creative-commoners/pulls/2.0/getfieldsforfile-extensibility
NEW Reorder summary fields and make getFieldsForFile extensible
2017-05-30 14:24:47 +12:00
Sacha Judd
aedc970cf4 NEW Reorder summary fields and make getFieldsForFile extensible 2017-05-30 13:51:56 +12:00
Robbie Averill
d95b98d10d DOCS Update "download link" example to not reference old functionality 2017-05-30 12:05:29 +12:00
Robbie Averill
cbc53fd7d2 NEW Add ModelAdmin interface for managing DMSDocumentSets 2017-05-29 10:15:21 +12:00
sachajudd
11819a1e16 Merge pull request #140 from creative-commoners/pulls/2.0/rename-json-field
FIX Rename JsonField to DMSJsonField to add a pseudo-namespace
2017-05-24 15:38:34 +12:00