Commit Graph

548 Commits

Author SHA1 Message Date
Stephen Shkardoon
3453e51255 Sort documents on front-end - Fixes #44 2015-02-03 15:54:06 +13:00
☃ Stephen Shkardoon ☃
da642ddaf3 Merge pull request #51 from xini/1.0
Front end sorting of documents - Fixes #44
2015-02-03 15:48:36 +13:00
Florian Thoma
ec0ecdda6d fix front end sorting of documents
fixes #44 for 1.0 branch
2014-07-23 08:56:08 +10:00
Will Rossiter
8638440660 Merge pull request #50 from sheadawson/master
Fix issues with document actions panel ui in cms
2014-07-10 18:49:51 +12:00
Shea Dawson
66bcf54b1d Fix issues with document actions panel ui in cms 2014-07-10 09:44:13 +10:00
Julian Seidenberg
2f24a251a3 MINOR: adding reference to tags module for DMS 2014-05-19 12:54:16 +12:00
Ingo Schommer
fc1b7a4104 Added min stability for composer
Required for scrutinizer runs
2014-03-13 10:28:01 +13:00
TeamCity
ea4baa6e73 Updated master strings 2014-02-10 23:06:48 +13:00
Ingo Schommer
e862e02cf1 Only test 5.4 on 3.0 2014-02-07 13:28:04 +13:00
Ingo Schommer
88896712ff Only test against supported core releases 2014-02-07 13:20:14 +13:00
Will Rossiter
425e68b22d Add default searchable_fields 2014-02-03 11:54:34 +13:00
Will Rossiter
d73b13afd5 FIX: Resolve issues with find by page documentlist 2014-01-29 14:40:57 +13:00
Stephen Shkardoon
e2edeb5bf7 Merge pull request #43 from Leapfrognz/patch-1
Added the Header component back in
2014-01-16 19:28:50 -08:00
Leapfrognz
be256430a8 Added the Header component back in 2014-01-17 16:20:32 +13:00
Will Rossiter
bd8e88e2ab Sort assets by ID so matching '2' doesn't first match newer records 2014-01-15 17:36:59 +13:00
Will Rossiter
caf1971c84 FIX: browse by page dropdown is unusable. (Fixes #26) 2014-01-15 16:53:13 +13:00
Will Rossiter
8e534e99f2 Make DMSDocument methods chainable. PHPDoc cleanup.
- Remove unimplemented getAllTags()
- Add .DS_Store as ignored file
- Add gridfieldextensions as a declared dependancy.
2014-01-10 15:21:50 +13:00
Will Rossiter
0fb0410718 FIX: Resolve issue of not being able to attach documents on draft pages 2014-01-10 15:21:50 +13:00
Will Rossiter
50aa550161 Implement getFilename and getName to stick comparely to File API. 2014-01-10 15:21:50 +13:00
James Ayers
ae9a12ed61 Now uses GridFieldExtensions for the sortable rows 2014-01-10 15:21:50 +13:00
James Ayers
ff04a9f493 fixed CMSfields js and css issues 2014-01-10 15:21:50 +13:00
Stephen Shkardoon
6497b1993d Merge pull request #40 from normann/master
BUG before use object's property check to make sure it is not NULL.
2013-11-14 19:53:46 -08:00
Normann Lou
98d614f14a BUG before use object's property check it to make sure it is not NULL. 2013-11-15 16:18:11 +13:00
Stephen Shkardoon
b2ee719667 Merge pull request #39 from normann/master
NEW best way to keep extended 'can' functions effected with DataObject's...
2013-11-13 21:33:26 -08:00
Normann Lou
d64fe9ba13 NEW best way to keep extended 'can' functions effected with DataObject's own 'can' functions. MIN make possible to use DataExtension defined 'can' functions' signature without Strict level warning 2013-11-14 17:37:55 +13:00
Stephen Shkardoon
8bd8ed51a3 Merge pull request #38 from normann/master
NEW make DMSDocument 'can' functions extensible
2013-11-13 18:18:13 -08:00
Normann Lou
fd81f964e2 NEW make DMSDocument 'can' functions extensible 2013-11-14 15:00:16 +13:00
Ingo Schommer
fbb36c2e2c Fixed tests to allow running in subfolder 2013-11-01 00:57:36 +01:00
TeamCity
8e73ed7bdf Updated master strings 2013-10-21 09:59:09 +13:00
Stephen Shkardoon
066191ce12 Merge pull request #36 from ajshort/pull-4
BUG: Fix access to documents on the staging site.
2013-10-13 20:43:57 -07:00
Andrew Short
00bffb2548 BUG: Fix access to documents on the staging site.
The DMS document controller had been changed to subclass ContentController
to correctly initialise the versioned stage. However, this had the side
effect of preventing access to documents when the "Stage" stage
was selected.

ContentController::init() calls the SiteTree::canViewStage() method, which
controls access when on the stage. However, since the data record was
non-existant, the method would always return false, preventing access to
documents.

This fix removes the subclassing of ContentController and just directly
initialises the versioned stage.
2013-10-11 21:58:13 +11:00
Stephen Shkardoon
e6925ef912 Merge pull request #35 from ajshort/pull-3
Add data-ext and data-size attributes to DMS links.
2013-10-09 15:26:31 -07:00
Andrew Short
76c4692d13 NEW: Add metadata to DMS links.
Shortlink links are now augmented with data attributes containing the
file extension and size.
2013-10-09 20:54:08 +11:00
Andrew Short
2c22ff476d Move shortcode handling into a new class. 2013-10-09 20:23:50 +11:00
Stephen Shkardoon
43e925d2db Merge pull request #34 from ajshort/pull-2
Fixed upload issues in 3.1 (escaping and session)
2013-10-08 14:28:01 -07:00
Andrew Short
893c10955a BUG: Share session namespace with CMS main when adding documents.
The changes to the session management in 3.1 mean that editing when
uploading a document no longer worked as the page ID was not correctly
managed in the session. This addresses that issue by sharing a session
state with CMSMain.
2013-10-09 00:49:39 +11:00
Andrew Short
f718b90b69 BUG: Fix the action buttons not rendering on upload.
Due to escaping API changes, a HTMLText instance was being incorrectly
casted to JSON.
2013-10-08 19:20:18 +11:00
Stephen Shkardoon
0d9f011ea9 Merge pull request #33 from ajshort/pull-1
Extend content controller to make sure the correct stage is used.
2013-10-03 22:11:13 -07:00
Andrew Short
63e0417363 Extend content controller to make sure the correct stage is used.
The staging system is initialised inside ContentController::init(). As
the DMS serving bypassed this, the stage was not set correctly, meaning
permissions were not always correctly applied.
2013-10-03 23:54:40 +10:00
Stephen Shkardoon
ef2f8d35a1 Merge pull request #32 from ss23/master
Compatbility with master - allowed_actions private
2013-10-02 23:32:52 -07:00
Stephen Shkardoon
075974edbb Compatbility with master - allowed_actions private 2013-10-03 19:29:21 +13:00
Stephen Shkardoon
5746922904 Merge pull request #31 from richardmward/patch-1
FIX #29 - 'linkdocument' needed adding to allowed_actions
2013-09-21 03:49:45 -07:00
richardmward
b74b4f2de1 FIX #29 - 'linkdocument' needed adding to allowed_actions 2013-09-21 11:42:21 +01:00
Stephen Shkardoon
0765b90da8 Merge pull request #28 from ss23/master
FIX #25 - documentautocomplete need allowed_action
2013-09-19 15:18:41 -07:00
Stephen Shkardoon
049a1c8d84 FIX #25 - documentautocomplete need allowed_action 2013-09-20 10:17:30 +12:00
Julian Seidenberg
c2639d86d1 Merge pull request #24 from ss23/master
FIX Don't show the upload field when inappropriate
2013-09-10 22:13:14 -07:00
Stephen Shkardoon
8d4b24b68d FIX Don't show the upload field when inappropriate
This fix is quite ugly, but in theory, it's fine. By ugly,
  I mean the interface is kind of weird without it.
Because 3.1 allows uploading when a DataObject doesn't exist,
  we need to override the new defaults to not allow such if
  the DO isn't saved yet.
2013-09-10 21:03:42 +12:00
Stephen Shkardoon
f678b74fc3 Merge pull request #23 from ss23/master
3.1 compat -- Add action to allowed_actions
2013-09-10 02:03:33 -07:00
Stephen Shkardoon
144043c437 3.1 compat -- Add action to allowed_actions 2013-09-10 20:59:59 +12:00
Stephen Shkardoon
45849c5833 Merge pull request #22 from ss23/allowed_actions-3.1
Add allowed_actions to make it work for 3.1
2013-08-28 19:55:16 -07:00