Commit Graph

21 Commits

Author SHA1 Message Date
merdan 25d8b45b27 first initial commit 2021-06-04 11:26:26 +05:00
Romain 'Maz' BILLOIR c7bfcbda6b
Add max files option to fileupload (#5352) 2021-05-05 05:42:31 +10:00
Luke Towers 459677a168 Code cleanup left over from #4311 2020-04-04 00:44:44 -06:00
Klaas Poortinga 1aa3250c3a
Add support for the attributes property to fileupload formwidget (#5012) 2020-03-29 09:03:31 -06:00
webmaxx cc7d595fff Added `maxFilesize` option to the `FileUpload` FormWidget (#4077)
Credit to @webmaxx
2019-07-18 08:48:31 -06:00
Alexander Guth ee8287e598 Add "onUpload" AJAX handler to FileUpload widget (#4311)
Run an AJAX handler on uploading and processing a file as opposed to using a post() data check in the widget initialization, as the widget may initialize several times in certain circumstances - eg. inside a relation widget.

Credit to @alxy. Refs: https://github.com/octobercms/october/issues/4300
2019-05-07 11:44:25 +08:00
Samuel Georges 51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Samuel Georges 22252638a8 Because W3C 2015-10-16 17:50:53 +11:00
Samuel Georges 906a4e65c2 Prompt can now be used to define the button text for file multi
Minor update to checkbox markup
2015-08-28 04:39:29 +10:00
Samuel Georges 8a4ac533e5 Escape file title - Fixes #1302 2015-07-22 10:41:51 +10:00
Samuel Georges eb5af8ae85 Improve multilanguage support - Fixes #1228 2015-06-27 09:33:09 +10:00
Samuel Georges c813318729 Added preview mode support to File upload widget
Widget also passes CSRF token
Switched to using a header instead of POST flag
2015-06-25 10:55:46 +10:00
Samuel Georges c2c14e707f Added backend route for protected thumbs, Fixes #1218, thanks @jBOKA
Improved the FileUpload widget code to no longer rely on "pathOverride"
2015-06-20 11:27:03 +10:00
Samuel Georges 6420027a6a Finish single file uploader
FileUpload now supports:
- optional 'useCaption' flag
- imageWidth and imageHeight are now optional
- default file uploader uses default file types
2015-06-10 22:13:24 +10:00
Samuel Georges f95af91ef1 Finish rebuilding multi file uploader
Create stub for single file uploader
2015-06-09 18:51:35 +10:00
Samuel Georges 694a7dfb74 Uploader now supports defining acceptable file types 2015-01-31 15:31:46 +11:00
Adam 04e02727ce Type in oc-icon-paperclip class
Fixed type in oc-icon-paperclip class (from paper-clip to paperclip) which meant that the attachment link wasn't showing in backed.
2014-12-15 11:49:30 +00:00
Sam Georges a9eecfecd5 Remove blueimp uploader, replaced with dropzone.js 2014-10-20 18:55:31 +11:00
Sam Georges c2a71e88bb Clean up some sloppy work 2014-09-12 20:20:52 +10:00
Sam Georges 893f7746f7 Improvements to naming standards 2014-06-30 13:27:28 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00