Commit Graph

37 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 86e01cb6d1 fix template and tests 2018-03-01 12:31:44 +11:00
Robbie Averill 58ac37a1e8 FIX Ensure documents are drag-and-drop reorderable in document sets 2017-06-06 16:14:14 +12:00
Robbie Averill 9b42effeb5 FIX Refactor SCSS, convert to more BEM-like names, add admin icon
* Remove "small" class from inline edit form for documents
* Swap relationeditor GridFieldConfig for record editor to ensure that document sets can be deleted from a page context rather than unlinked (natively)
* Fix to ensure that related documents can be autocompleted via partial matching on filename
* Add 2 space indentation rule to editorconfig for .js and .scss files
2017-05-22 15:20:16 +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
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
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 cef27febf6 DOCS Split readme documentation into docs/en files, add related documents information 2017-05-02 12:55:29 +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
Stephen Shkardoon 3453e51255 Sort documents on front-end - Fixes #44 2015-02-03 15:54:06 +13:00
Ryan O'Hara 2c96aada8a Change to use loop in templates instead of control 2013-04-16 10:00:42 +12:00
Naomi Guyer aefb78da8b BUG: malformed html causing rendering issues in IE8 2013-03-20 13:23:47 +13:00
Howard Grigg 008a942144 Got rid of orphaned </div> 2012-11-21 14:40:57 +10:00
Julian Seidenberg 57063c1c48 MINOR: updating method name to match deployment 2012-11-13 10:51:42 +13:00
Julian Seidenberg 090c39c378 BUGFIX: adding line breaks in front-end for Descriptions.
BUGFIX: including appropriate hiding based on embargo/expiry
2012-11-13 10:42:43 +13:00
Julian Seidenberg e9ee4c85a7 BUGFIX: fixing in-content the insert dialog 2012-09-21 15:44:30 +12:00
Normann Lou 0a29388e9e BUGFIX: give the div field on document add/editing form a id so the form's _super behaviour is applied to it 2012-09-21 12:40:10 +12:00
Normann Lou 48ccffef6f BUGFIX: give the input field on document add/editing form some normal class, so they could be picked up for generic behaviour by TinyMCE insert link form in CMS 2012-09-21 11:21:53 +12:00
Ryan O'Hara d9ccc14d67 MINOR: add margin between header and linked documents edit panel 2012-09-07 11:46:24 +12:00
Ryan O'Hara 11180da4ac ENHANCEMENT: Refactor linking a document. This fixes the bug issue Branka was having in FF as well as making the UI work better 2012-09-07 11:31:37 +12:00
Julian Seidenberg 76f307c01e BUGFIX: removing class from add from cms section of the "Add Documents" form to avoid JS error 2012-08-27 15:51:17 +12: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 bac9666597 API-CHANGE: dms shortcode system 2012-08-21 14:31:13 +12:00
Ryan O'Hara 735ae8e48e ENHANCEMENT: style tree drop down field, and search by id.
Add javascript to allow only one or the other to be active (this needs to be fixed)
2012-08-17 16:48:09 +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
Andrew O'Neil 3af703fa9a ENHANCEMENT: Add treedropdown to select page when adding a document 2012-08-14 14:13:11 +12:00
Ryan O'Hara 09e156054c BUGFIX: Remove fileOverview div from linking documents and remove edit button styling override. MINOR: add styling to autocomplete dropdown 2012-08-10 15:12:41 +12:00
Ryan O'Hara 34674059f6 ENHANCEMENT: Add styling for linking documents. Add classes for framework js to work 2012-08-10 14:58:26 +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 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 2800533e40 BUGFIX: change the Document.ss to its generic format 2012-08-01 14:48:27 +12:00
Normann Lou c08555479c FEATURE: add Documents.ss and Document.ss default templates which could be included in associated Page template 2012-08-01 14:45:19 +12:00
Julian Seidenberg 5ac332352c MINOR: cutting out unnecessary lines from upload field template. We don't need multiple file upload support in the getCMSFields code for a single DMSDocument, so that template code goes away with this commit 2012-07-31 18:17:07 +12:00
Julian Seidenberg f7e0bb918a API-CHANGE: overriding upload field for DMS 2012-07-31 14:24:50 +12:00