Commit Graph

397 Commits

Author SHA1 Message Date
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
sachajudd
a6aa575501 Merge pull request #110 from fspringveldt/enhancement/92
Added ability to secure DMS assets by user group or role
2017-05-08 17:18:56 +12:00
Franco Springveldt
8682c7fca9 Added ability to secure DMS assets by user groups. 2017-05-08 16:12:46 +12:00
Franco Springveldt
38501542ee Merge pull request #111 from sachajudd/feature/modeladmin
NEW add DMSDocumentAdmin and new "add document" GridField component
2017-05-04 13:27:28 +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
Franco Springveldt
b0ab198fc4 Merge pull request #107 from robbieaverill/bugfix/disable-codecov-comments
Add codecov YAML configuration to disable comments
2017-05-02 13:16:41 +12:00
Franco Springveldt
bbe9e35d99 Merge pull request #106 from robbieaverill/feature/related-documents
NEW Relate documents to other documents and tidy up documentation
2017-05-02 13:08:29 +12:00
Robbie Averill
0b691b4f13 Add codecov YAML configuration to disable comments 2017-05-02 13:06:58 +12:00
Robbie Averill
cef27febf6 DOCS Split readme documentation into docs/en files, add related documents information 2017-05-02 12:55:29 +12:00
Robbie Averill
9c0ec616d1 NEW Relate documents to other documents
* Modularise templates, add missing localisations, add related documents to template
* Add getRelatedDocuments as an extensible getter in DMSDocument
2017-05-02 12:38:55 +12:00
Robbie Averill
e5f1b5c9db FIX Skip dodgy inconsistent unit test. Needs re-implementation. 2017-05-02 09:36:32 +12:00
Franco Springveldt
2e2112a3b5 Merge pull request #104 from robbieaverill/feature/add-license
Add BSD-3 Clause license file
2017-05-02 09:27:46 +12:00
Franco Springveldt
1d2defe0cc Merge pull request #103 from robbieaverill/feature/scrutinizer-and-codecov
Add Codecov integration and Codecov/Scrutinizer badges to readme
2017-05-02 09:26:31 +12:00
Robbie Averill
499ddebedf Update branch alias for 2.0.x-dev 2017-05-02 09:24:33 +12:00
Franco Springveldt
bc130b3f1c Merge pull request #102 from robbieaverill/fix/psr-2
FIX Updates for coding standards, move second classes in files to their own files, fix comments
2017-05-02 09:14:27 +12:00