Commit Graph

216 Commits

Author SHA1 Message Date
Julian Seidenberg
ca9c84240a Merge pull request #10 from ARNHOE/patch-1
added nl.yml language
2013-01-29 13:17:34 -08:00
ARNHOE
a64f0d1e4c added nl.yml language 2013-01-29 03:11:47 -08:00
Ingo Schommer
d95af01fbb Delete fixtures BEFORE test teardown, avoid problems with shutdown registrations
We've had some custom code register shutdown methods for reindexing.
This code is triggered on delete() amongst other actions.
It's conditional on SapphireTest::is_running_tests() which is
unset in SapphireTest->tearDown(), so we have to place any
delete operations before that.
2013-01-09 23:54:35 +01: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
5d3f06b69a Force versioning on in tests 2013-01-07 17:38:14 +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
francisco arenas
a032b8b717 Lang files 2012-11-22 15:21:14 +01:00
Ingo Schommer
e02474b986 Fixed composer vendor namespace 2012-11-22 15:14:30 +01:00
Julian Seidenberg
15a361bdaa Merge pull request #4 from sheadawson/master
MINOR show ViewCount in document details view
2012-11-21 18:59:40 -08:00
Shea
1f89aad168 MINOR show ViewCount in document details view 2012-11-22 13:48:33 +11:00
Julian Seidenberg
0f89fba3a9 MINOR: adding composer.json 2012-11-22 14:45:41 +13: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
841afad0da BUGFIX: fixing unit tests to account for the ability for Admins to download embargoed files 2012-11-21 18:34:25 +13:00
Julian Seidenberg
1bd5d929ef API-CHANGE: adding document versioning 2012-11-21 18:24:46 +13:00
Julian Seidenberg
3643d3f3a6 Merge branch 'master' of https://github.com/silverstripe-labs/silverstripe-dms 2012-11-21 18:17:42 +13:00
Julian Seidenberg
78def902a7 Merge pull request #1 from howardgrigg/patch-1
Got rid of orphaned </div>
2012-11-20 20:51:33 -08:00
Howard Grigg
008a942144 Got rid of orphaned </div> 2012-11-21 14:40:57 +10: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
e4a44222b5 MINOR: updating links 2012-11-21 10:52:15 +13:00
Julian Seidenberg
923a21376d ENHANCEMENT: adding a check for dms directory name 2012-11-21 10:43:31 +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
d207e8af34 MINOR Manually marking test run in DMSDocumentTest to avoid triggering solr reindex
Should really be handled by SapphireTest, tearDownOnce()
is technically still part of the test run, but this
is a quick enough fix
2012-11-01 12:42:21 +01: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
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