Commit Graph

106 Commits

Author SHA1 Message Date
Ingo Schommer
a57f887bb2 NEW Allow decoration of DMSDocument->Pages() 2012-08-31 01:09:43 +02:00
Ingo Schommer
9f6c1c8d19 Fixed "viewd" spelling, changed to more apt name (trackView()) 2012-08-30 16:07:23 +02:00
Ingo Schommer
150f68e382 BUG Set raw date value for embargo/expiry to avoid DateField bugs
The object property is expected to be a scalar,
but the logic sets it to a DBField instance.
While DataObject handles this fine, the DatetimeField logic
fails and simply writes the string classname into the field.
Should be fixed in DatetimeField eventually, but easier
handled here for now.
2012-08-30 16:05:56 +02:00
Ingo Schommer
900f1d144a Naming for DMSDocument 2012-08-30 15:53:41 +02:00
Normann Lou
aa9e0f8bba FEATURE: track DMSDocument downloaded Count by its Field 'ViewCount' (we keep same name as Page for this field, for lots of benefits, such as using the same field for indexing in solar, sphinx etc). 2012-08-30 11:12:45 +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
d023300626 ENHANCEMENT: not showing the Documents tab on certain pages 2012-08-27 14:20:28 +12: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
Ingo Schommer
f7f268a859 NEW Document sorting (and optional drag'n'drop) 2012-08-21 22:57:40 +02:00
Julian Seidenberg
bd75a41f9b ENHANCEMENT: warning when deleting a document that is referenced on other pages 2012-08-21 17:57:18 +12:00
Julian Seidenberg
b05cb59646 ENHANCEMENT: displaying the references count in the getCMSFields 2012-08-21 17:57:18 +12:00
Julian Seidenberg
bac9666597 API-CHANGE: dms shortcode system 2012-08-21 14:31:13 +12:00
Normann Lou
889d56d569 BUGFIX: make the DMSDocument_Controller to able able to use customised document object 2012-08-21 13:56:45 +12:00
Andrew O'Neil
725da88e75 MINOR: Document config system bug hack 2012-08-21 11:42:04 +12: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
Ryan O'Hara
b5c16cafe6 ENHANCEMENT: Add styling to Embargo and expiry fields. Change date format to dd-mm-yyyy 2012-08-16 16:18:41 +12:00
Julian Seidenberg
55e530f918 BUGFIX: removing unnecessary extra function to embargo (to show document about to be published when in draft mode) 2012-08-15 13:18:29 +12:00
Julian Seidenberg
dee4cb44f3 ENHANCEMENT: displaying the document in draft mode if it has been set to "hide until underlying page is published" 2012-08-14 18:36:52 +12:00
Julian Seidenberg
1a4ba2b5dd MINOR: renaming forever to indefinitely (embargo) 2012-08-14 17:26:26 +12:00
Julian Seidenberg
9d0f8ade7e BUGFIX: changing from "magic" number labels for drop down states to word labels 2012-08-14 15:05:23 +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
Andrew O'Neil
a6f8b83e1a ENHANCEMENT: Show number of documents on a page in dropdown 2012-08-14 14:13:11 +12:00
Andrew O'Neil
3af703fa9a ENHANCEMENT: Add treedropdown to select page when adding a document 2012-08-14 14:13:11 +12:00
Julian Seidenberg
b6a728dc0e ENHANCEMENT: adding grid field row highlighting when Document is hidden 2012-08-14 13:03:35 +12:00
Julian Seidenberg
2f2019a42d MINOR: changing button label to indicate that multiple documents can be added at once 2012-08-14 13:02:53 +12:00
Julian Seidenberg
7debe98641 BUGFIX: fixing small problem with not setting the expiry off again 2012-08-14 11:44:12 +12:00
Julian Seidenberg
2dbd0d89c1 BUGFIX: fixing expire/embargo on date functionality 2012-08-14 11:35:41 +12:00
Ingo Schommer
a858c1f66c BUG Using calendar in embargo/expiry date selection 2012-08-14 00:03:31 +02:00
Julian Seidenberg
429253591c ENHANCEMENT: adding basic UI for embargo/expiry 2012-08-13 18:28:24 +12:00
Julian Seidenberg
ba51c38262 ENHANCEMENT: javascript to hide/show the DMS detail form buttons 2012-08-13 16:41:43 +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
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
a629f4b66e ENHANCEMENT: Move Actions into a FieldGroup and style these. TODO - Toggle each individual action detail when clicking the respective button. Currently when clicking a button this hides the whole panel 2012-08-08 12:17:20 +12:00
Julian Seidenberg
4854be9eea ENHANCEMENT: adding the ability to extend a DMSDocument's file querying mechanism. 2012-08-07 18:19:58 +12:00
Julian Seidenberg
66422c0a31 ENHANCEMENT: re-adding modified downloadtemplate, but only in specific case when access it through a grid field 2012-08-07 17:28:11 +12:00
Julian Seidenberg
7cfefdb953 ENHANCEMENT: only using special download template when displaying DMSUploadField in getCMSFields of GridField 2012-08-07 17:28:10 +12:00
Julian Seidenberg
e682125a03 BUGFIX: removing restriction that the uploaded file needs to have the same name as the previous file. The client specifically needs to be able to upload a new file with a different name. 2012-08-07 17:28:10 +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
Julian Seidenberg
9e9cc995b3 ENHANCEMENT: warning when deleting a page with documents that exist only on this page. Also, when actually deleting the page, delete the associated documents that only exist on that page 2012-08-07 14:39:07 +12:00
Andrew O'Neil
e30a34eedb FEATURE: Autocomplete for add document 2012-08-07 13:45:01 +12:00
Ryan O'Hara
6c90c89276 ENHANCEMENT: Add styling to main document tab in CMS. Add unlink icon 2012-08-07 11:55:11 +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
Ingo Schommer
c44434d498 FEATURE Replace file (incl. name validation) 2012-08-06 20:53:34 +02:00
Ingo Schommer
2d66b0e453 Linking to page in DMSDoc detail view, adding header 2012-08-06 15:46:05 +02:00