Commit Graph

151 Commits

Author SHA1 Message Date
Ingo Schommer
75899876d2 3.1 compat (controller code) 2013-08-22 17:21:55 +02:00
Stephen Shkardoon
aa190ea7a5 Fix deprecation warnings for master 2013-08-22 23:50:14 +12:00
Normann Lou
ea7b2c0471 BUG add $allowed_actions for both DMSDocumentAddController and DMSUploadField 2013-06-26 04:57:36 +12:00
Julian Seidenberg
6ecfa61ca1 BUG removing content method again, since it doesn't work reliably 2013-05-01 17:48:53 +12:00
Julian Seidenberg
f02303793d BUG moving new getContent method into DataObject, not Controller 2013-04-30 18:14:13 +12:00
Julian Seidenberg
687b4f5f97 NEW adding content method for compatibility with TextExtraction module 2013-04-30 18:07:57 +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
3276320234 Added CRUD settings to allow non-admin CMS users to use parts of the dmx module. 2013-04-18 13:02:32 +12:00
Cam Findlay
1b6c76b405 Further updates for 3.1 compatibility. 2013-04-15 14:03:58 +12:00
Ingo Schommer
ebcd6caa26 Fixed DB quoting (mainly for non-MySQL compat) 2013-03-11 15:20:55 +01:00
Ryan Wachtl
9802e05a13 BUG getList() now returns the filtered DataList
In SilverStripe 3.1.x getList() was returning the unfiltered DataList and as a result all pages in the SiteTree were showing as having a reference to the given document.
2013-03-08 21:27:18 -06:00
Ingo Schommer
5e6b77a0a9 BUGFIX Using toMap() in create_version() to avoid DataObject::__construct() failures 2013-01-08 13:22:25 +01:00
Ingo Schommer
6b7ee0623a Only return DMSDocument->FullPath() when filename exists
Fixes a regression introduced with 18c2081b when uploading new files
2013-01-07 17:31:04 +01:00
Ingo Schommer
597e393630 BUG DMSUploadField JS template usage
Instead of relying on JavaScript requirements blocking,
configure a more specific template name to use
in certain situations. We can't control JS files
loaded by the browser already by previous requests,
so Requirements blocking does not override the
template in all cases, creating execution-path specific
edge cases (like showing "save to refresh" messages
in the background of a "add document" upload success)
2013-01-07 10:11:55 +13: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
Shea
1f89aad168 MINOR show ViewCount in document details view 2012-11-22 13:48:33 +11:00
Julian Seidenberg
a9f9e7111a API-CHANGE: adding ability to show/hide the Document tab on specific pages 2012-11-22 14:37:40 +13:00
Julian Seidenberg
18c2081be7 ENHANCEMENT: deleting the old file when replacing, if document versioning is turned off 2012-11-22 13:47:59 +13:00
Julian Seidenberg
408fd88d9e MINOR: adding spaces into labels 2012-11-22 13:42:03 +13:00
Julian Seidenberg
1bd5d929ef API-CHANGE: adding document versioning 2012-11-21 18:24:46 +13:00
Julian Seidenberg
6ebb212af0 BUGFIX: fixing bug with the delete button in the grid field detail view 2012-11-21 17:15:23 +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
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
Ingo Schommer
c5ea1b3dbd MINOR Don't fatally fail on DMSDoc->getAbsoluteSize() if doc doesn't exist on filesystem
Mainly to help with dev environments which aren't fully populated with live data
2012-10-15 01:01:58 +02:00
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
1c84e70e96 BUGFIX: fixing API matching 2012-10-10 13:44:02 +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
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
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
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
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
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