Commit Graph

237 Commits

Author SHA1 Message Date
Ingo Schommer
f2d81e26df BUG Don't delete docs if respective other stage of SiteTree still exists 2012-10-15 01:01:58 +02:00
Julian Seidenberg
179f2294e4 BUGFIX: implementing DocumentSort so that it doesn't break unit tests 2012-10-10 13:44:37 +13:00
Julian Seidenberg
8895b4f907 BUGFIX: fixing unit tests 2012-10-10 13:44:10 +13:00
Julian Seidenberg
1c84e70e96 BUGFIX: fixing API matching 2012-10-10 13:44:02 +13:00
Julian Seidenberg
cd864079c7 MINOR: additional documentation of DMS 2012-10-09 18:01:44 +13:00
Julian Seidenberg
3a9f329a96 BUGFIX: adding default sort 2012-10-09 17:39:59 +13:00
Julian Seidenberg
9fe54f18bc BUGFIX: newly added documents now always appear at the top of the list 2012-09-21 16:10:16 +12:00
Julian Seidenberg
745741344c BUGFIX: newly added documents now appear at the top of the list 2012-09-21 15:45:05 +12:00
Julian Seidenberg
e9ee4c85a7 BUGFIX: fixing in-content the insert dialog 2012-09-21 15:44:30 +12:00
Normann Lou
96daa58bc3 MINOR: after all changes made, the 'download a document' option don't need special js code, all the generic behaviours should should be enough. 2012-09-21 13:05:41 +12:00
Normann Lou
1b17a478c9 BUGFIX: since we change the option value for 'download a document' option in InsertLinkForm, as 'documentopt', we need to use the same string for our js code 2012-09-21 13:03:53 +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
Julian Seidenberg
16d1f74b28 ENHANCEMENT: removing extension from document title when uploading a new document 2012-09-20 15:28:44 +12:00
Normann Lou
c708551982 ENHANCEMENT: add usage of GridFieldPaginatorWithShowAll for documents grid field 2012-09-12 12:33:12 +12:00
Ryan O'Hara
c6c116a8b3 BUGFIX: IE8 Document type selected stylings 2012-09-12 11:57:30 +12:00
Ingo Schommer
fe82f9c5bc BUG Sequential file upload to fix Solr reindexing problems 2012-09-11 10:22:17 +02:00
Ryan O'Hara
7e6342c11b MINOR: Add extra class to documents gridfield so styling is applied. Fix scss to target the document and related links gridfield 2012-09-11 17:29:52 +12:00
Andrew O'Neil
e3958fc25e MINOR: Increase page size back up to 15 2012-09-10 10:42:43 +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
Normann Lou
12fe7d74fd ENHANCEMENT: make DMSDocument be able to wrap into a RSSFeed 2012-09-07 10:53:47 +12:00
Saophalkun Ponlu
7ba2a4617a BUG Fix file size format in document links 2012-09-03 17:25:21 +12:00
Andrew O'Neil
79c8efee74 BUGFIX: Fix last changed ago not taking into account time of day 2012-09-03 14:57:54 +12:00
Andrew O'Neil
3c05ca0316 MINOR: Add document count to tab title 2012-09-03 13:29:13 +12:00
Andrew O'Neil
e7e98140cc MINOR: Change pagination to 10 per page 2012-09-03 11:19:27 +12:00
Saophalkun Ponlu
d5107bce52 BUG Document link hide/show bug 2012-08-31 15:45:54 +12:00
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