Commit Graph

309 Commits

Author SHA1 Message Date
Robbie Averill 148d5efcea Update webpack implementation and refactor JS to remove lint warnings (#179)
* Update webpack-config to more closely align with SilverStripe core modules

* Automated linting

* Remove all JS linting errors, use let/const for assignment, do not reassign callback arguments

* Rebuild dist files, remove yarn lock from build command, remove source map files
2018-08-16 15:45:17 +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 cc2ff3c53c Merge branch 'bulkToolsHTTPResponse' 2018-03-14 22:25:27 +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 1bef4ab9f1 Merge branch 'tx3.0' 2018-02-28 21:12:33 +02:00
Thierry François 2b865a8e3b Treansifex and Build/Dist Scripts :shipit:
Finally a sensible and easy solution
2018-02-28 21:12:20 +02:00
Thierry François d4726cb5fe Clean up 🚿 2018-02-27 16:48:02 +02:00
Thierry François a0a5c11d0a Merge remote-tracking branch 'origin/master' 2018-02-27 16:24:04 +02:00
Thierry François 14ca2b227d Install via composer 2018-02-27 16:23:48 +02:00
Thierry François 03bd0d1395 Readme update 2018-02-27 16:21:32 +02:00
Thierry François ef4b447c05 Merge remote-tracking branch 'origin/master' 2018-02-27 15:58:05 +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 c4ae2fdab2 Reset bulk uploader css 2018-02-27 15:08:39 +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 b081d68b92 FIX Manager dropdown layout glitches 2018-02-27 14:29:03 +02:00
Thierry François f765055a92
🔗 2018-02-27 13:53:02 +02:00
Thierry François 2c40a16198 Pretty bulk manager 2018-02-27 13:49:51 +02:00
Ralph Slooten c5d467ba8f Fix template CamelCase (#167) 2018-02-27 12:31:39 +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 8bf9b620b0 Merge branch '3.0' 2018-02-24 12:07:57 +02: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 1b450a5455 Readme update for bulk manager 2018-02-12 15:32:28 +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 0ed46ea036 Move js lang file src 2018-02-05 16:10:20 +02:00
Thierry François 72aecb7f8f Expose client folders 2018-02-05 16:08:42 +02:00
Thierry François 825abc77a8 update autoloader path 2018-02-05 15:59:11 +02:00
Thierry François 84ea89017b Update license to BSD 3-clause
Update license
2018-02-01 13:41:15 +02:00
Thierry François 586d71a419 Webpack script to pusblish fron-end files 2018-02-01 09:39:53 +02:00
Thierry François 9ba6465faa Update folders and files structure 2018-02-01 09:39:12 +02:00
Thierry François 52e9e06703 add osx files to gitignore 2018-02-01 09:37:59 +02:00
Thierry François 05f93e098d update composer to silverstripe-vendormodule 2017-12-21 13:39:45 +02:00
Robbie Averill 742fa6d292 FIX Remove padding to fix checkbox alignment in bulk management (#159) 2017-12-14 09:22:14 +02:00
Robbie Averill d6b816cb7f FIX Remove references to Object class and use Injector instead (#156) 2017-12-13 11:35:09 +02:00