Commit Graph

462 Commits

Author SHA1 Message Date
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
Robbie Averill
708721a5aa FIX Initial visibility of permission fields when editing a document 2017-05-18 12:47:22 +12:00
sachajudd
2039d72688 Merge pull request #129 from robbieaverill/bugfix/upload-document-backlink
FIX Ensure after uploading document you are redirected back to the document set
2017-05-18 12:04:20 +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
Robbie Averill
961306ecc0 Merge pull request #119 from fspringveldt/feature/query-builder
Added Query Builder functionality to Document Sets
2017-05-16 14:25:14 +12:00
Franco Springveldt
e08e276e89 Merge branch 'master' into feature/query-builder 2017-05-16 13:27:18 +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
Franco Springveldt
f506fb7247 Merge pull request #123 from sachajudd/feature/document-cover-image
NEW Add cover image to a document
2017-05-16 10:44:26 +12:00
Sacha Judd
e1e5194c1c NEW Add cover image to a document 2017-05-15 17:17:10 +12:00
sachajudd
6b80f32832 Merge pull request #117 from robbieaverill/feature/webpack-scss
NEW Replace Compass with Webpack, update docs, remove unused @includes
2017-05-10 10:27:11 +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
sachajudd
b42d446480 Merge pull request #118 from robbieaverill/bugfix/permissions-into-actions-tab
FIX Move permissions for documents into the "actions panel"
2017-05-10 10:09:45 +12:00
Robbie Averill
a376b3480a FIX Move permissions for documents into the "actions panel" 2017-05-09 16:47:05 +12:00
Robbie Averill
513c29aa99 NEW Replace Compass with Webpack, update docs, remove unused @includes 2017-05-09 16:06:57 +12:00
Robbie Averill
5858511078 Bump minimum version requirements for framework and CMS to 3.5 2017-05-09 13:20:30 +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
sachajudd
ed6f805574 Merge pull request #112 from robbieaverill/feature/document-sets
API Add document sets, remove *Page methods from DMSDocument
2017-05-09 13:19:24 +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
sachajudd
9c5693dab0 Merge pull request #115 from robbieaverill/bugfix/documents-relate-to-themselves
FIX Do not allow documents to be related to themselves
2017-05-09 12:08:53 +12:00
Robbie Averill
2329ba4f40 FIX Do not allow documents to be related to themselves 2017-05-09 10:59:33 +12:00