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
Robbie Averill
14071eee3c
API Rename DMSDocument::getFileName to getFilename
2017-06-08 09:54:44 +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
Robbie Averill
832eb14fad
Add tests for returning link with content in shortcode handler and error handling
2017-06-07 16:29:19 +12:00
Franco Springveldt
ce37b81c2b
NEW pages link to document sets
2017-06-07 15:54:10 +12:00
Franco Springveldt
5824c1b0eb
NEW info notices added to QueryBuilder
2017-06-07 10:30:44 +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
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
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
Franco Springveldt
3d19b9fc75
FIX title validation on DMSDocumentSet
2017-06-02 16:05:10 +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
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
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
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
Robbie Averill
283f9fff7a
API Make storage path configurable. Fix instance singleton and remove static methods
2017-05-18 15:14:09 +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
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
a6743b03f5
NEW Allow shortcode handler key to be configurable
2017-05-17 17:24:50 +12:00
Franco Springveldt
6b25237ec6
NEW Query Builder functionality added
...
This enhancement adds the ability to add documents to a document set based on a list of filters added from DMSDocument. Fixes #96
2017-05-16 13:26:01 +12:00
sachajudd
a59349e37f
Merge pull request #113 from robbieaverill/feature/document-set-migration-guide
...
NEW Add migration task and documentation for 1.x to 2.x upgrade
2017-05-10 10:20:34 +12:00
Robbie Averill
a376b3480a
FIX Move permissions for documents into the "actions panel"
2017-05-09 16:47:05 +12:00
Robbie Averill
aafcc35f6c
NEW Add migration task and documentation for 1.x to 2.x upgrade
2017-05-09 13:20:30 +12:00
Robbie Averill
1c1b1d2aeb
FIX Don't show GridField until set has been saved. Add more tests, fix typos in docs.
2017-05-09 13:06:37 +12:00
Robbie Averill
66abd22ee5
FIX Allow linking existing documents to document sets via add existing upload field
2017-05-09 13:04:29 +12:00
Robbie Averill
b80aa645f8
MINOR Add more tests for classes in the "cms" code folder
2017-05-09 13:04:29 +12:00
Robbie Averill
e4bc553521
API Add document sets, remove *Page methods from DMSDocument
...
* Add 2.0.0 changelog
* Update DMSInterface and DMSDocumentInterface removing *page and adding getDocumentSetsByPage to DMSInterface
* Update use documentation and update unit tests
This commit changes the relationship from Pages has_many Documents to Pages has_many DocumentSets which are many_many to Documents. The upload field has been upated to attach documents to a set instead of a page, the tests updated and the DMSInterface and DMSDocumentInterface updated to be less relevant to pages and more relevant to document sets.
2017-05-09 13:04:29 +12:00
Robbie Averill
2329ba4f40
FIX Do not allow documents to be related to themselves
2017-05-09 10:59:33 +12:00
Franco Springveldt
8682c7fca9
Added ability to secure DMS assets by user groups.
2017-05-08 16:12:46 +12:00
Sacha Judd
d29a115f7b
NEW add DMSDocumentAdmin and new "add document" GridField component
...
The add new button wasn't modular so have added a GridField component which can be reused
2017-05-04 10:10:20 +12:00
Franco Springveldt
1f07069363
Merge pull request #105 from robbieaverill/bugfix/skip-dodgy-test
...
FIX Skip dodgy inconsistent unit test. Needs re-implementation.
2017-05-02 13:18:01 +12:00