Commit Graph

435 Commits

Author SHA1 Message Date
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
sachajudd
5c8aeb0c58 Merge pull request #138 from creative-commoners/pulls/2.0/friendly-document-urls
NEW Add friendly URL segments for DMS documents
2017-05-24 15:20:31 +12:00
Robbie Averill
0ffd4d8584 FIX Rename JsonField to DMSJsonField to add a pseudo-namespace 2017-05-24 14:29:51 +12:00
Robbie Averill
80e36c3350 NEW Add friendly URL segments for DMS documents 2017-05-24 11:43:23 +12:00
sachajudd
2ddd20cd6c Merge pull request #133 from robbieaverill/pulls/2.0/css-refactor
FIX Refactor SCSS, convert to more BEM-like names, add admin icon
2017-05-22 16:56:30 +12:00
Robbie Averill
9b42effeb5 FIX Refactor SCSS, convert to more BEM-like names, add admin icon
* Remove "small" class from inline edit form for documents
* Swap relationeditor GridFieldConfig for record editor to ensure that document sets can be deleted from a page context rather than unlinked (natively)
* Fix to ensure that related documents can be autocompleted via partial matching on filename
* Add 2 space indentation rule to editorconfig for .js and .scss files
2017-05-22 15:20:16 +12:00
Franco Springveldt
e8d46a90a5 Merge pull request #124 from robbieaverill/feature/tagging
API Remove DMSTag, replace with extension for taxonomy module
2017-05-18 22:49:44 +12:00
Robbie Averill
489a62abb2 API Remove DMSGridFieldDeleteAction, add query builder filter for taxonomy terms 2017-05-18 17:30:25 +12:00
Robbie Averill
17d97d65ce API Remove DMSTag, replace with optional extension for taxonomy module 2017-05-18 17:30:24 +12:00
sachajudd
e4ab2b0861 Merge pull request #127 from robbieaverill/feature/change-storage-path
API Make storage path configurable. Fix instance singleton and remove static methods.
2017-05-18 17:20:59 +12:00
sachajudd
6afab52a09 Merge pull request #131 from robbieaverill/pulls/2.0/add-belongstoset-column
NEW Add column to document set GridField to show whether added manually or not
2017-05-18 15:42:10 +12:00
sachajudd
84abd5d837 Merge pull request #132 from robbieaverill/pulls/2.0/remove-autocompleter-for-document-sets
FIX Remove add existing autocompleter for document sets on a page
2017-05-18 15:36:14 +12:00
Robbie Averill
283f9fff7a API Make storage path configurable. Fix instance singleton and remove static methods 2017-05-18 15:14:09 +12:00
Robbie Averill
5cb92ecd7c FIX Remove add existing autocompleter for document sets on a page 2017-05-18 15:11:55 +12:00
Franco Springveldt
03fe480ca5 Merge pull request #128 from robbieaverill/feature/configurable-shortcode-handler-key
NEW Allow shortcode handler key to be configurable
2017-05-18 15:11:54 +12:00
Robbie Averill
84e1d3ff80 NEW Add column to document set GridField to show whether added manually or not 2017-05-18 15:07:12 +12:00
sachajudd
fb989de12b Merge pull request #130 from robbieaverill/bugfix/permission-field-visibility
FIX Initial visibility of permission fields when editing a document
2017-05-18 14:32:26 +12:00