Commit Graph

43 Commits

Author SHA1 Message Date
Robbie Averill
d6b816cb7f FIX Remove references to Object class and use Injector instead (#156) 2017-12-13 11:35:09 +02:00
Ralph Slooten
cbf32c478c Re-enable ufSetup (#155) 2017-12-12 09:30:15 +02:00
Philipp Staender
fc86512ec9 Remove DataModel and Object to work with SS4 (#148) 2017-08-03 12:12:21 +03:00
Philipp Staender
5d8a1c3abd Removed obsolete Config::INHERITED constant for SS4 (#140)
inherited behaviour is now default in SS4
2017-05-28 20:58:12 +03:00
colymba
e35e62adda Basic BulkUploader support for SS4 2017-01-25 14:30:24 +02:00
Robbie Averill
7221897f27 Enhancement: SilverStripe 4 compatibility (#137)
* Basic SS4 compat: Implemented namespacing, updated some Image manipulations, readmes, composer configuration

* Add bootstrap form styles to the bulk manager

* API Rename classes to be less confusing with the namespaces
2017-01-25 14:27:11 +02:00
Bram de Leeuw
caed3813ee Add the whole record to the has_many realtion (#131)
* Add the whole record to the has_many realtion
* Removed unnecessary record->write calls
2016-10-26 11:51:31 +03:00
Thierry François
29482dbd17 Handle UploadField sub request properly Fix #125, Fix #124
BulkUploadField Extends UploadField so handlers link properly through
the GridField
2016-04-11 22:31:21 +03:00
Gordon Anderson
22307f6b8f FIX: Suggested fix, which works, from https://github.com/colymba/GridFieldBulkEditingTools/pull/94 - this allows the 'From Files' widget to work as expected 2016-02-06 17:09:33 +07:00
Thierry François
f924e7d503 FIX lost commit 2016-01-18 18:14:04 +02:00
Thierry François
af7524efd1 NEW Override automatic DataObject class
Specify which class to use when creating the DataObject that contains
the image.
2016-01-18 18:13:28 +02:00
Peter Thaleikis
bbc0215635 Converting to PSR-2 2015-12-16 01:08:57 +13:00
Christopher Darling
1730461da0 key_exists deprecated use array_key_exists
key_exists deprecated use array_key_exists
2015-12-07 13:39:01 +00:00
Thierry François
1c0432c74b Add deprecation for old bulkUpload config api 2014-09-14 19:01:28 +03:00
Thierry François
4a349987a4 FIX #83 Disable Finish button + add spinner while uploading 2014-09-06 15:51:07 +03:00
Thierry François
c72310ff61 FIX #4cc7da8 opening braces 2014-09-06 14:52:38 +03:00
Thierry François
1010c9be6f FIX #79 New API for the UploadField configuration
Exposes `setUfConfig`, `setUfSetup` and `setUfValidatorSetup` on the
component
2014-09-06 13:39:39 +03:00
Corey Sewell
4cc7da8b7e Set Content-Type to 'application/json' for wildcard HTTP_ACCEPT
The Content-Type HTTP header should be set to application/json if HTTP_ACCEPT has application/json or is */*
2014-09-05 09:25:36 +12:00
Thierry François
013a4fde7b FIX #85 Add Content-Type negotiation 2014-08-29 10:00:51 +03:00
James Cocker
c599f876af GridFieldBulkUpload CSS Improvements 2014-08-08 15:25:38 +01:00
Tom Densham
20c9864cca ENHANCEMENT: Use File->Title to set default Title
Use `$uploadedFile->Title` when setting the records default Title as it gives a much nicer output than `basename($uploadedFile->getFilename())`
2014-07-24 11:11:52 +01:00
James Cocker
170d4bb72d ENHANCEMENT: Allow setting of canAttachExisting and canPreviewFolder
#62 Squashed
2014-06-17 10:48:47 +01:00
Christopher Darling
85ce9c7004 DOCS remove param $editableFields from PHPDoc
parameter no longer exists
2014-05-28 10:12:19 +01:00
colymba
77a3c65766 FIX #67 Give UploadField and empty Record
Avoids the UploadField to auto loading configurations from the page it
is inserted in.
2014-05-27 11:53:45 +03:00
colymba
1c4e0fd239 FIX #66 Implement attach existing file 2014-05-25 23:22:16 +03:00
daniquilez
0254221fa9 display edit all only when the action is enabled.
in BulkUpload when using a BulkManager we should only display edit all possibility when we have it defined in our actions of BulkManager.
2014-05-22 15:57:09 +02:00
colymba
1fefcad1e3 FIX #61 check length of array for bulkManager check 2014-05-14 15:46:45 +03:00
colymba
8836b2e389 Fix 2.0 deprecations 2014-05-12 19:10:06 +03:00
Thierry Francois
38d05df2ec Clean up 2014-05-11 13:32:21 +03:00
Thierry Francois
f8b90af40f Readme update 2014-05-11 13:15:10 +03:00
Thierry Francois
fad9121dd1 Clean up and formatting 2014-05-11 13:15:06 +03:00
colymba
c3af2d392d Translation refactoring 2014-05-11 13:14:27 +03:00
colymba
2366df49bd Clean up 2014-05-11 13:14:23 +03:00
colymba
2b692c19a2 Fix bulkManager check 2014-05-11 13:14:18 +03:00
colymba
84d97c5106 Add gridfield refresh 2014-05-11 13:14:14 +03:00
colymba
61b90d2aed Add record default title/name 2014-05-11 13:14:09 +03:00
colymba
043f889249 Clean up 2014-05-11 13:13:56 +03:00
colymba
699fa6712d Implement editAll + bulkManager requirement check 2014-05-11 13:13:51 +03:00
colymba
20350d3f35 Implement action callback + cancel behaviour 2014-05-11 13:13:47 +03:00
colymba
d141765752 Basic button behavior 2014-05-11 13:13:42 +03:00
colymba
a726cce755 Add progress info + clear button 2014-05-11 13:13:37 +03:00
colymba
ade47d5e80 Added bulk upload management buttons 2014-05-11 13:13:33 +03:00
colymba
198b0c05d9 Reorganise + bulkupload start 2014-05-11 13:13:28 +03:00