Commit Graph

240 Commits

Author SHA1 Message Date
Thierry François
0f1181e66b Merge pull request #21 from MattyBalaam/patch-1
Update GridFieldBulkImageUpload_Request.php
2013-04-02 12:10:47 -07:00
MattyBalaam
5cbacb40b0 Update GridFieldBulkImageUpload_Request.php
Silverstripe 3.1.0 requires statics to be defined as private

http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0
2013-03-28 17:24:22 +00:00
colymba
60a5e48979 add max upload file size config
Bulk upload maximum file size can now be set through
setConfig('maxFileSize', Xbytes )
2013-03-26 10:48:12 +02:00
colymba
2bfd2a8309 Removed save+finish btn 2013-03-04 11:50:41 +02:00
colymba
bc8f2bda59 FIX #3, FIX #11 should work with all RelationList 2013-03-04 11:44:53 +02:00
colymba
7546bd08c0 clean up : removed update+finish btn references 2013-03-04 10:56:03 +02:00
colymba
3d3e50e596 FIX disabled button not working in FF + IE
buttons are just visually disabled via JS for now
2013-03-04 10:54:28 +02:00
Thierry François
8a85918e33 Merge pull request #15 from s-m/image-subclass-fix
FIX: Forgot to include the classname that can be derived from the config
2013-02-03 01:15:33 -08:00
s-m
c26fae6aaa FIX: Forgot to include the classname that can be derived from the config-option 'imageFieldName'... 2013-02-02 18:26:48 +01:00
Thierry François
381d6a28ad Merge pull request #13 from s-m/create-callback
NEW: Added a callback before writing the record for the first time
2013-02-02 08:19:17 -08:00
Thierry François
878f9b1862 Merge pull request #12 from s-m/cachebuster-fix
FIX: The cachebuster now only includes a questionmark, if there is none in the current url
2013-02-02 08:18:46 -08:00
Thierry François
da1ee363b4 Merge pull request #14 from s-m/image-subclass
NEW: Subclasses of Image are now instantiated and used
2013-02-02 08:18:16 -08:00
Steffen Maaß
09554b27b4 NEW: Added a callback before writing the record for the first time, allowing the corresponding DataObject to execute code related to the current gridField. 2013-02-02 13:45:52 +01:00
Steffen Maaß
c5228ea024 NEW: Subclasses of Image are now instantiated and used, according to the has_one definition of the corresponding DataObject 2013-02-02 13:42:54 +01:00
Steffen Maaß
71790c52c1 FIX: The cachebuster now only includes a questionmark, if there is none in the current url... 2013-02-02 13:15:09 +01:00
colymba
2cc9a999f9 fix HtmlEditorField changes not being cought
also centralise change function for each item edit form
2013-01-25 23:26:43 +02:00
colymba
3d344f4db5 fix package name to lower case 2013-01-19 17:49:13 +02:00
colymba
a62cc8f69d update vendor/package name 2013-01-19 17:30:09 +02:00
colymba
e6aa3da96b Added composer.json 2013-01-19 17:25:22 +02:00
colymba
6039f6c42a FIX #9 check for other url parameters on delete 2013-01-17 23:35:44 +02:00
colymba
67958b4e37 Add ui-state to save and delete buttons
Switch buttons between enabled and disabled as necessary
2013-01-17 23:32:54 +02:00
colymba
a0ebac8f7d Hide that bogus 'save & finish' button 2013-01-17 23:05:46 +02:00
colymba
fa0ace0b55 FIX #9 check for other url parameters
appends cachebuster parameter if other GET vars exsit on the url
2013-01-17 23:02:42 +02:00
colymba
eb944b6aa8 FIX #8 Add config option for sequential uploads
setting Component option 'sequentialUploads' to true will upload files
one by one in the order they were selected
2013-01-10 19:23:36 +02:00
colymba
efe4e35c9c FIX #7 $has_one config is now inherited
Fixes bug where no default $has_one field would be found if the relation
is on the parent class
2013-01-09 23:28:55 +02:00
Thierry Francois
beb1d46aa6 Merge pull request #6 from tractorcow/3.0-set-option-failure-fix
BUG Error setting options on Null defaults
2012-11-23 00:19:17 -08:00
Damian Mooyman
c623c95111 BUG Extended previous fix to GridFieldBulkManager 2012-11-22 18:17:16 -08:00
Damian Mooyman
447ab87601 BUG Error setting options
When setting options that have a NULL value by default (such as imageFieldName) the setConfig function would incorrectly assume the option was not available and would silently ignore.

This fix implements a correct option validation mechanism, and throws an error if an incorrect option assignment is attempted.
2012-11-23 15:09:11 +13:00
colymba
834d7466e7 Merge remote-tracking branch 'origin/0.3' 2012-09-06 19:05:49 +03:00
colymba
caae3c3ad3 Readme update 2012-09-06 19:05:16 +03:00
colymba
0f6ae01bb5 Refresh GridField after unlink/delete 2012-09-06 18:36:07 +03:00
colymba
7230602568 Merge branch 'master' of https://github.com/colymba/GridFieldBulkEditingTools
Conflicts:
	javascript/GridFieldBulkImageUpload.js
2012-09-06 00:01:02 +03:00
colymba
1ba3e0620d Added BulkManager to readme 2012-09-05 23:40:59 +03:00
colymba
ad919af544 Add select option 2012-09-05 21:36:05 +03:00
colymba
2ba88c2108 Prettier hack for avoiding edit navigation 2012-09-05 21:14:44 +03:00
colymba
7a0b32eafd Removed old useless methode 2012-09-05 20:18:24 +03:00
colymba
e7c7239ada Unescape Form Fields POST data as Helper methode
Moved escaping or sent POST data into the Helper class since it is the
same everywhere.
2012-09-05 20:17:19 +03:00
colymba
861d4128dc FIX: update methode now saves has_ fields 2012-09-05 20:07:55 +03:00
colymba
63f51b4f8b FIX: force editing form height to auto 2012-09-05 20:00:50 +03:00
colymba
fd4f046ad5 updated fields can now be saved
changes made in bulk editing are now saved: db fields + relations.
Fixing some DOM elements IDs and URLs
2012-08-26 23:59:25 +03:00
colymba
8f7a753d7f cleaning up and adding comments 2012-08-18 15:51:18 +03:00
colymba
a9519c3528 update handler link and ToggleFields labels 2012-08-18 15:44:09 +03:00
colymba
a99034ff2d Fields value population works with relations
handling has_one, has_many and many_many relations when populating
fileds values. Still needs testing though.
2012-08-18 15:43:31 +03:00
colymba
bc10b34df7 changed breadcrumbs title 2012-08-18 01:27:36 +03:00
colymba
e6f7db2044 separate cms fields fetching and populating
created new fn populateCMSDataFields used to populate fields with a
record's data
2012-08-18 01:05:19 +03:00
colymba
5e743abeb9 get a record's fields + fields name escaping
Possibility to get a specific record's pre-populated fields and added
function to escape formFields names when they are not converted ot html
yet
2012-08-16 23:32:03 +03:00
colymba
92d269bac3 Basic operations for bulk editing in place
Create Request_handler edit function returning the form, and JS
manipulation of the UI buttons etc..
2012-08-16 23:29:35 +03:00
colymba
471a1c1331 created unlink routine
record can now be unlinked for the related page
2012-08-15 21:16:41 +03:00
colymba
6dc217c0a0 FIX: cachebuster var was not unique
regenerate cachebuster var for each form its request
2012-08-13 18:07:30 +03:00
colymba
2f778a4214 FIX: cachebuster var was not unique
since we go through each form and send individual requests, cachebuster
var needs to be regenerated for each form
2012-08-13 18:05:14 +03:00