Commit Graph

19 Commits

Author SHA1 Message Date
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
66abd22ee5 FIX Allow linking existing documents to document sets via add existing upload field 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
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
Ingo Schommer
d207e8af34 MINOR Manually marking test run in DMSDocumentTest to avoid triggering solr reindex
Should really be handled by SapphireTest, tearDownOnce()
is technically still part of the test run, but this
is a quick enough fix
2012-11-01 12:42:21 +01:00
Julian Seidenberg
1f0c08db5d BUGFIX: fixing all the API changes made by Ingo in an earlier commit by searching for usage and updating places where the APIs are used 2012-08-27 15:07:01 +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
Normann Lou
09a8229ec0 APICHANGE: change DMSDocumentInterface::downloadLink() to DMSDocumentInterface::getDownloadLink() so that a $DownloadLink could be used as a field to make GridField for DMSDocument to have a formatted linkable column
ENHANCEMENT: make "Filename" column of a GridField clickable hence make the document downlaodable.
ENHANCEMENT: make "Last Changed" column show as a "Ago" format, ie. 'A day ago' or 'there months ago'.
2012-08-01 12:35:44 +12:00
Julian Seidenberg
4aba2774a7 BUGFIX: fixing unit tests so they don't delete existing data 2012-07-30 12:57:27 +12:00
Julian Seidenberg
17ea520f98 ENHANCEMENT: download link functionality 2012-07-27 17:40:17 +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
Julian Seidenberg
cb2f61c260 BUGFIX: fixing DMS unit tests 2012-07-27 13:11:28 +12:00
Andrew O'Neil
5681f028ea MINOR: Mark tests incomplete 2012-07-23 13:50:10 +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