Commit Graph

210 Commits

Author SHA1 Message Date
Saophalkun Ponlu
0abf20f577 MINOR: Style for button in LinkType 2012-08-31 14:15:35 +12:00
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
Ryan O'Hara
d8d3be0fa1 BUGFIX: Fix styling for site-tree dropdown in related links and adding documents 2012-08-28 10:53:20 +12:00
Andrew O'Neil
853024949d BUGFIX: Remove js style hacks 2012-08-28 10:06:21 +12:00
Ingo Schommer
75d9e06d7f BUG ID comparisons in test assertions
More solid than object comparisons, which was broken
by introduction of the "DocumentSort" flag,
which doesn't seem to be consistently added to the
object value map.
2012-08-27 13:29:30 +02: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
d023300626 ENHANCEMENT: not showing the Documents tab on certain pages 2012-08-27 14:20:28 +12:00
Ryan O'Hara
950833583a BUGFIX: Styling for related links 2012-08-27 11:49:09 +12:00
Ryan O'Hara
8ca9734232 BUGFIX: Target correct selector for link section buttons to work 2012-08-23 15:53:14 +12:00
Ryan O'Hara
3324f33ffd ENHANCEMENT: Styling to related links insert page 2012-08-23 15:44:52 +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
Normann Lou
2038fb9829 BUGFIX: IE document type buttons not applying selected styling 2012-08-22 15:34:11 +12:00
Ryan O'Hara
3488d947d2 BUGFIX: Hover stlyes on tree-dropdown field 2012-08-22 11:06:13 +12: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
ea9a0639e4 BUGFIX: fixing duplicate adding of documents in the "add documents" panel 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
Ryan O'Hara
a59646bb41 MINOR: Add gradient for IE doc-type selected buttons 2012-08-21 17:48:31 +12:00
Ryan O'Hara
90fa7eb5c1 BUGFIX: hover state for tree-dropdown field document list 2012-08-21 15:49:09 +12:00
Ryan O'Hara
6ffa85f564 ENHANCEMENT: Changes to styling for linking a document so it works in CMS when adding a link to text 2012-08-21 15:40:34 +12:00
Ryan O'Hara
005e0658e7 BUGFIX: Set 'Find linked document' width. Add placeholder text to date/time fields 2012-08-21 14:48:21 +12:00
Julian Seidenberg
bac9666597 API-CHANGE: dms shortcode system 2012-08-21 14:31:13 +12:00
Ryan O'Hara
80c3f3f757 BUGFIX: Fix button label styling for tree-dropdown field 2012-08-21 14:17:39 +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
3fea76c83a ENHANCEMENT: Fix stylings to disabled status when adding a linked documents 2012-08-20 15:53:03 +12:00
Andrew O'Neil
1514ae5840 BUGFIX: Hide document list when treedropdown is shown 2012-08-20 13:25:38 +12:00
Andrew O'Neil
7dd6b2bb72 ENHANCEMENT: Nice enabling and disabling of fields when linking a document 2012-08-20 11:40:53 +12:00
Andrew O'Neil
820f89bec0 BUGFIX: Fix javscript disabling for add existing 2012-08-20 10:49:35 +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
Ryan O'Hara
50263f0ef1 MINOR: Duplicate jQuery functions for embargo and expiry fields when adding documents - this adds the relevant classes for the styling changes to work 2012-08-16 17:01:57 +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
b40099f159 MINOR: updating message when replacing a document. 2012-08-14 17:26:46 +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
Julian Seidenberg
8aff01a608 BUGFIX: fixing initial loading hiding/showing of the Date picker 2012-08-14 14:22:39 +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