Commit Graph

22 Commits

Author SHA1 Message Date
Robbie Averill
17d97d65ce API Remove DMSTag, replace with optional extension for taxonomy module 2017-05-18 17:30:24 +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
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
Julian Seidenberg
1c84e70e96 BUGFIX: fixing API matching 2012-10-10 13:44:02 +13:00
Ingo Schommer
234ccb3b1c API Changed DMSDocument getters to be closer to existing File API
Reduces friction when migration from File records (which will be fairly common)
2012-08-22 23:20:48 +02:00
Julian Seidenberg
1a4ba2b5dd MINOR: renaming forever to indefinitely (embargo) 2012-08-14 17:26:26 +12:00
Julian Seidenberg
ca18b3fac0 API-CHANGE: working embargo API (with lots and lots of unit tests) 2012-08-13 14:14:31 +12:00
Julian Seidenberg
6fa0cc5a32 API-CHANGE: refactoring getDMSinstance() to inst() 2012-08-07 11:19:54 +12:00
Normann Lou
f933e1a335 APICHANGE: add getFileSize() function to DMSDocument 2012-08-01 14:42:51 +12:00
Normann Lou
5e448c8d7b APICHANGE: add DMSDocument->getFileExt(), remove DMSDocument_Controller::get_file_extension(), use the instance function where ever applicable. 2012-08-01 14:13:07 +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
e0c028f87f BUGFIX: renaming method to prevent conflicts 2012-07-30 12:33:01 +12:00
Julian Seidenberg
9ba84e6211 Merge branch 'master' of ssh://gitorious.silverstripe.com:2222/electricityauth/dms 2012-07-27 12:45:36 +12:00
Julian Seidenberg
03da4c3ff5 API-CHANGE: improved DMS tagging functionality 2012-07-27 12:37:39 +12:00
Normann Lou
399754c551 APICHANGE: add one more handy interface method addPages($pageIDs).
MINOR: correct inline document to reflect the evolved data model.
2012-07-27 12:22:27 +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
e50f776a0d ENHANCEMENT: implementing adding tags 2012-07-25 18:56:43 +12:00
Julian Seidenberg
5e4c295853 API-CHANGE: additional DMS implementation code 2012-07-17 17:58:33 +12:00
Ingo Schommer
5bf381c87b Disabling DMSDocumentInterface->delete()
Causes PHP fatal errors when using in combination with DataObject
(at least on our PHP 5.3.3 buildslave, not on Ingo's
PHP 5.3.12 development machine)
2012-07-16 21:55:05 +02:00
Julian Seidenberg
2068a6d590 API-CHANGE: DMS interface and mock implementation 2012-07-16 18:21:48 +12:00