Commit Graph

21 Commits

Author SHA1 Message Date
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
alekseybobkov a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Samuel Georges 22252638a8 Because W3C 2015-10-16 17:50:53 +11:00
Samuel Georges 8a4ac533e5 Escape file title - Fixes #1302 2015-07-22 10:41:51 +10:00
Samuel Georges 8a12b2f37f Improve single image uploader 2015-06-30 15:27:26 +10:00
Samuel Georges 3681459935 Fixes styling of upload button in Firefox - Refs #1202 2015-06-27 11:35:55 +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 732679da57 This error doesn't vary at all 2015-06-06 16:54:52 +10:00
Samuel Georges 887b959156 Rebuild image based UI for FileUpload form widget 2015-06-06 16:52:38 +10:00
Samuel Georges 694a7dfb74 Uploader now supports defining acceptable file types 2015-01-31 15:31:46 +11: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
Miloš Stanić d5f47bb988 Update _image_single.htm
Paperclip icon with a href was not displayed on the already uploaded image, due to error in icon name.
2014-08-04 19:02:48 +02: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