Commit Graph

38 Commits

Author SHA1 Message Date
Guy Sartorelli 563f253f36
FIX Don't use removed method. 2023-02-01 15:29:49 +13:00
Sabina Talipova 2f7109ac52
API Remove deprecated code (#230) 2023-01-25 13:47:52 +13:00
Guy Sartorelli 1c5ae8a047
Merge pull request #200 from kinglozzer/patch-1
FIX: publishRecursive() is part of RecursivePublishable, not Versioned
2022-06-28 14:51:29 +12:00
Niklas Forsdahl d420a29e9f
FIX Row updating broken in SilverStripe 4 (#197)
Row updating is broken in SilverStripe 4 when for example using the PublishHandler or UnPublishHandler actions. This is due to unescaped backslashes in the fully qualified class name in json data, which when parsed in javascript treats the backslash as an escape character.
This can be fixed by escaping the backslash character in HTTPBulkToolsResponse.
2022-06-28 14:51:05 +12:00
Steve Boyd 81f34cdd7b ENH PHP 8.1 compatibility 2022-04-13 14:08:15 +12:00
Steve Boyd 4e82c461de
Update src/BulkTools/HTTPBulkToolsResponse.php
Co-authored-by: Maxime Rainville <maxime@rainville.me>
2021-06-02 16:32:50 +12:00
Steve Boyd a2aa7475a5
Update HTTPBulkToolsResponse.php 2021-06-02 10:21:48 +12:00
Loz Calver ff9127739b FIX: Remove shutdown function for error output (fixes #204) 2020-12-14 09:34:37 +00:00
Thomas Portelange b00987b735
fix undefined index notice
$body['records'] is only defined if entering the if clause and therefore the count on line 349 can cause undefined index errors
2020-09-02 14:01:46 +02:00
Loz Calver 7652fee82f
FIX: publishRecursive() is part of RecursivePublishable, not Versioned 2020-05-15 15:56:58 +01:00
Morven Lewis-Everley af8d20e93a Get current controller via curr() (removes pushCurrent issue) 2018-09-30 22:05:36 +01:00
Martin D 52d95ae82c Missing ArrayData import (#177) 2018-08-16 15:46:38 +03:00
Robbie Averill b9dad64ca8 Minor tidy ups to doc blocks and unused properties in HTTPBulkToolsResponse (#178) 2018-08-16 15:37:19 +03:00
Thierry François 7f2045e7aa Fix Remove message from HTTPResponse construct 2018-03-14 22:44:41 +02:00
Thierry François bc2b317a35 API Unified json responses via new HTTPBulkToolsResponse
All bulk handlers and the bulk uploader now use a common HTTPBulkToolsResponse to return a common json format and handle errors. The front end uses this json to update the drifield accordingling.
2018-03-14 22:24:37 +02:00
Thierry François a1dcbc00e6 API Controller is not passed to handler as param
instead we use pushCurrent to set it as current controller
2018-03-11 12:37:50 +02:00
Thierry François 482139fd35 FIX #152 force write image ID
ManyManyList::add did not call write on dataObject, so the image was never attached
2018-03-06 14:36:10 +02:00
Thierry François e26ad4548b Merge remote-tracking branch 'origin/master' 2018-03-06 14:33:26 +02:00
Ralph Slooten 070d47f487 Use correct $autoPublish variable in __contruct() (#171) 2018-03-06 14:08:09 +02:00
Thierry François 3d3690baec Cleaning stuff up
Removing old code, unsed methods, deprecated classes, obscure stuff and all sorts of junk
2018-03-06 00:42:27 +02:00
Thierry François de2d3234f4 Switch to SS webpack-config and FIX add-from-files
Now using the SilverStripe webpack-config which lets us extend the CMS front end components. Allowed to write a quick hack fixing the add-from-file for bulk uploader
2018-03-06 00:03:12 +02:00
Thierry François ea0359b76f FIX UploadField name should be unique
Avoid having multiple UploadFields with the same name, whcih in turn would all change at the same time
2018-03-05 10:44:23 +02:00
Thierry François cb123a1793 NEW Versioned Bulk Actions (Publish, Unpublish & Archive) 2018-03-02 12:33:17 +02:00
Thierry François 2eb86854d7 NEW Handle Versioned DataObject 2018-03-02 11:36:15 +02:00
Thierry François 9e9cb46d74 FIX #168 Remove leftover firstAction 2018-03-01 10:12:19 +02:00
Thierry François b97971967f FIX js lang template and i18n js requirements path 2018-02-28 21:26:30 +02:00
Thierry François e185eed537 No more uploader buttons! 💥
Progress tracking wasn't possible anymore. And this forces user to use the page's save/publish buttons now. So not a bad thing...
2018-02-27 15:57:16 +02:00
Thierry François dcde5cc7e6 Move bulk uploader before the gridfield table 2018-02-27 15:14:19 +02:00
Thierry François ce6b703240 No more clear error btn 2018-02-27 14:43:29 +02:00
Thierry François c1c0826718 This is a Handler not a Request
BulkUploadRequest is now BulkUploadHandler as it should
2018-02-27 14:38:24 +02:00
Thierry François 2c40a16198 Pretty bulk manager 2018-02-27 13:49:51 +02:00
Robbie Averill 0c9b696b8d Make BulkManager injectable, add getBulkActions(), fix typos (#163)
* NEW Make BulkManager injectable, add getBulkActions() and fix some typos
* update doc block returns
2018-02-26 09:47:40 +01:00
Thierry François aa9bf472c6 API remove cancel and edit upload buttons
API remove cancel and edit btns
2018-02-22 10:15:42 +02:00
Thierry François efb89e5b64 Remove old deprecation 2018-02-18 17:23:44 +02:00
Thierry François 569350ca66 FIX namespaced templates
put templates in their respective folders and call with full namespace
2018-02-12 16:04:09 +02:00
Thierry François 5711998ef2 API bulk action config is now on the handler itself
simplyfies bulk action management and config
2018-02-12 15:11:49 +02:00
Thierry François 1b3585e51e Update requirements 2018-02-05 16:28:09 +02:00
Thierry François 9ba6465faa Update folders and files structure 2018-02-01 09:39:12 +02:00