Commit Graph

35 Commits

Author SHA1 Message Date
Robbie Averill 513c29aa99 NEW Replace Compass with Webpack, update docs, remove unused @includes 2017-05-09 16:06:57 +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
Daniel Hensby 6e62d65ca3
FIX Backlink computed correctly 2016-05-05 16:18:02 +01:00
helpfulrobot bd707c4ffc Converted to PSR-2 2015-12-18 07:48:37 +13:00
Will Rossiter d73b13afd5 FIX: Resolve issues with find by page documentlist 2014-01-29 14:40:57 +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
Andrew Short 893c10955a BUG: Share session namespace with CMS main when adding documents.
The changes to the session management in 3.1 mean that editing when
uploading a document no longer worked as the page ID was not correctly
managed in the session. This addresses that issue by sharing a session
state with CMSMain.
2013-10-09 00:49:39 +11:00
richardmward b74b4f2de1 FIX #29 - 'linkdocument' needed adding to allowed_actions 2013-09-21 11:42:21 +01:00
Stephen Shkardoon 0765b90da8 Merge pull request #28 from ss23/master
FIX #25 - documentautocomplete need allowed_action
2013-09-19 15:18:41 -07:00
Stephen Shkardoon 049a1c8d84 FIX #25 - documentautocomplete need allowed_action 2013-09-20 10:17:30 +12:00
Ingo Schommer 75899876d2 3.1 compat (controller code) 2013-08-22 17:21:55 +02:00
Normann Lou ea7b2c0471 BUG add $allowed_actions for both DMSDocumentAddController and DMSUploadField 2013-06-26 04:57:36 +12:00
Cam Findlay 5bf804c1af FIX the autocomplete for adding a document to a page that already exists in the DMS. 2013-04-18 13:38:29 +12:00
Cam Findlay 1b6c76b405 Further updates for 3.1 compatibility. 2013-04-15 14:03:58 +12:00
Julian Seidenberg 8f5c65d539 API-CHANGE: adding a method to add to the list of extensions that are allowed as Documents. 2012-11-23 10:56:28 +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
Ingo Schommer fe82f9c5bc BUG Sequential file upload to fix Solr reindexing problems 2012-09-11 10:22:17 +02: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
Andrew O'Neil 6280bed9ab ENHANCMENT: Add document to page when it is clicked 2012-08-14 14:13:12 +12:00
Andrew O'Neil be809ac2c9 ENHANCEMENT: Show list of documents when page is selected in dropdown 2012-08-14 14:13:12 +12:00
Julian Seidenberg 043eb540c1 ENHANCEMENT: Tidy-up of DMS link existing document feature 2012-08-10 12:05:34 +12:00
Julian Seidenberg 607d3e8266 ENHANCEMENT: Editing document defaults after adding 2012-08-09 18:10:50 +12:00
Andrew O'Neil 7de79e20be WIP Edit frame 2012-08-08 17:58:08 +12:00
Ryan O'Hara 8da51ff5e9 ENHANCEMENT: Add tab styling to add document dialog 2012-08-07 16:51:39 +12:00
Andrew O'Neil 0e65cb2f1e FEATURE: Adding existing documents now works 2012-08-07 14:42:28 +12:00
Andrew O'Neil e30a34eedb FEATURE: Autocomplete for add document 2012-08-07 13:45:01 +12:00
Andrew O'Neil 8be5a754bc FEATURE: WIP add existing document to page 2012-08-06 17:52:41 +12:00
Normann Lou 472183df09 ENHANCEMENT: add "Back" and "Done" button to the DocumentAddController. 2012-08-03 18:26:32 +12:00
Andrew O'Neil 66dd7e9394 Fix breadcrumbs for add document 2012-08-01 10:49:58 +12:00
Andrew O'Neil adf25185f1 ENHANCEMENT: Adding documents to a page works! (poorly) 2012-08-01 10:49:57 +12:00
Andrew O'Neil 5cd6e96189 MINOR: Move cms code into its own folder 2012-07-31 14:26:53 +12:00