Commit Graph

21 Commits

Author SHA1 Message Date
Dylan Wagstaff 95d37b282d
Revert "fix page history: remove DMSSiteTreeExtension.getDocumentSets()" 2018-04-11 14:10:55 +12:00
Florian Thoma 2c204bb0b6 remove DMSSiteTreeExtension.getDocumentSets() because it messes with the page history (readonly mode) 2018-03-01 12:15:44 +11:00
Robbie Averill 17d97d65ce API Remove DMSTag, replace with optional extension for taxonomy module 2017-05-18 17:30:24 +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 a6743b03f5 NEW Allow shortcode handler key to be configurable 2017-05-17 17:24:50 +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 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
helpfulrobot bd707c4ffc Converted to PSR-2 2015-12-18 07:48:37 +13:00
Julian Seidenberg c72bbefabc ENHANCEMENT: using a defined directory for the dms so you can change the directory, if you want 2012-11-21 10:22:40 +13:00
Andrew O'Neil 5150e66de3 ENHANCEMENT: Extensions are now the main method of providing custom functionality, replacing subclassing DMSDocument 2012-08-21 11:31:53 +12:00
Julian Seidenberg 043bfb98f6 API-CHANGE: refactoring static methods to adhere to coding conventions. 2012-08-07 11:19:54 +12:00
Julian Seidenberg 6fa0cc5a32 API-CHANGE: refactoring getDMSinstance() to inst() 2012-08-07 11:19:54 +12:00
Julian Seidenberg c571d5bc8d ENHANCEMENT: protecting the "dms-assets" folder from web access 2012-08-07 11:16:10 +12:00
Julian Seidenberg 17ea520f98 ENHANCEMENT: download link functionality 2012-07-27 17:40:17 +12:00
Normann Lou ed6a697b57 APICHANGE: use static $modelClass for DMS, instead of pass through a classname when getting a DMS instance.
FEATURE: add the "Documents" tab to page CMS fields, make the displayed fields customisable by DMSDocument subclass
2012-07-27 15:42:08 +12:00
Julian Seidenberg 0f6e7be3b9 API-CHANGE: enabling replace document 2012-07-27 14:21:24 +12:00
Julian Seidenberg 6a40448609 API-CHANGE: refactoring to support replace document functionality 2012-07-27 14:02:46 +12:00
Normann Lou 72b4c51b91 BUGFIX: when copy the physical file into the dms-assets folder, use the file absolute path for both from path and to path.
FEATURE: hook a DMS instance to manage an model class definable by the caller, instead of hard coded DMSDocument, treat DMSDocument as default managed model class.
2012-07-27 12:28:56 +12:00
Normann Lou de93686a68 MINOR: we intial a DMSDocuemnt with Title valued as the file name and remove some inline document that is not correct. 2012-07-26 12:50:52 +12:00
Julian Seidenberg 27d666a08d API-CHANGE: fixing up the DMS and tests 2012-07-17 13:52:58 +12:00
Julian Seidenberg 2068a6d590 API-CHANGE: DMS interface and mock implementation 2012-07-16 18:21:48 +12:00