Commit Graph

220 Commits

Author SHA1 Message Date
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
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
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
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
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
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
39ce206b55 FIX Updates for coding standards, move second classes in files to their own files, fix comments 2017-05-01 15:56:27 +12:00
Daniel Hensby
97ec75df59
Added test 2016-12-20 15:15:37 +00:00
Daniel Hensby
41533deb41
Reverting file permission changes 2016-12-20 15:15:33 +00:00
James Barnsley
98b79adca7
Optional field that allows users to force PDF downloads, otherwise allow browsers to open in new tab 2016-12-20 15:15:32 +00:00
Florian Thoma
fb08e472c6 fix edit after upload (from @benmanu), fixes #53 2016-08-30 12:04:08 +10:00
Daniel Hensby
f46089d158
Merge branch '1.1' 2016-07-15 16:28:22 +01:00
Florian Thoma
e508d05382 fix js and styles for SS 3.2+ 2016-07-15 17:15:03 +10:00
Daniel Hensby
6e62d65ca3
FIX Backlink computed correctly 2016-05-05 16:18:02 +01:00
Daniel Hensby
cbd48d46a1 Merge branch '1.0' 2016-03-18 12:01:09 +00:00
Jeff Whitfield
961de53364 Fixed issue with folder path not being stored with document. Value must be set as a string before being saved to the database. 2016-01-21 18:39:50 -06:00
helpfulrobot
bd707c4ffc Converted to PSR-2 2015-12-18 07:48:37 +13:00
Peter Thaleikis
08ea258e50 Update DMSDocumentAddExistingField.php
removing closing php tag as it isnt required and is excluded in the code style
2015-05-12 20:51:07 +12:00
Stephen Shkardoon
3453e51255 Sort documents on front-end - Fixes #44 2015-02-03 15:54:06 +13:00
Florian Thoma
ec0ecdda6d fix front end sorting of documents
fixes #44 for 1.0 branch
2014-07-23 08:56:08 +10:00
Will Rossiter
425e68b22d Add default searchable_fields 2014-02-03 11:54:34 +13:00
Will Rossiter
d73b13afd5 FIX: Resolve issues with find by page documentlist 2014-01-29 14:40:57 +13:00
Leapfrognz
be256430a8 Added the Header component back in 2014-01-17 16:20:32 +13:00
Will Rossiter
bd8e88e2ab Sort assets by ID so matching '2' doesn't first match newer records 2014-01-15 17:36:59 +13:00
Will Rossiter
8e534e99f2 Make DMSDocument methods chainable. PHPDoc cleanup.
- Remove unimplemented getAllTags()
- Add .DS_Store as ignored file
- Add gridfieldextensions as a declared dependancy.
2014-01-10 15:21:50 +13:00
Will Rossiter
0fb0410718 FIX: Resolve issue of not being able to attach documents on draft pages 2014-01-10 15:21:50 +13:00
Will Rossiter
50aa550161 Implement getFilename and getName to stick comparely to File API. 2014-01-10 15:21:50 +13:00
James Ayers
ae9a12ed61 Now uses GridFieldExtensions for the sortable rows 2014-01-10 15:21:50 +13:00
James Ayers
ff04a9f493 fixed CMSfields js and css issues 2014-01-10 15:21:50 +13:00
Normann Lou
98d614f14a BUG before use object's property check it to make sure it is not NULL. 2013-11-15 16:18:11 +13:00
Normann Lou
d64fe9ba13 NEW best way to keep extended 'can' functions effected with DataObject's own 'can' functions. MIN make possible to use DataExtension defined 'can' functions' signature without Strict level warning 2013-11-14 17:37:55 +13:00