Commit Graph

24 Commits

Author SHA1 Message Date
merdan 9489f49958 home page start 2021-03-11 15:16:57 +05:00
Ben Thomson c75231c60e
Fix repeated condition in thumbnail options 2020-08-24 21:34:28 +08:00
Luke Towers 459677a168 Code cleanup left over from #4311 2020-04-04 00:44:44 -06:00
Ben Thomson c046466913 Set Dropzone.js uploaders to have no time limit (#4878)
The upgrade to the latest Dropzone.js brought in a new `timeout` configuration variable, which defaults to 30s. This removes the time limit and restores original functionality.

Fixes #4869
2020-01-14 16:47:25 -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
Ben Thomson 10d97d515f Use singular byte for '1 byte' filesize (#4130)
Credit to @bennothommo
2019-02-11 09:48:15 -06:00
Ben Thomson 4f3997c6de Make the filesize display in file upload widget more consistent (#4110)
Credit to @bennothommo. Fixes #4085.
2019-02-04 12:54:07 -06:00
Jim Cottrell 0d0be9d0e5 Trigger fileupload form field change on file removal (#3319)
Credit to @jimcottrell
2017-12-22 15:33:21 -06:00
Samuel Georges 2855a4e344 Fixes issue in uploader when one of the dimensions is auto 2016-01-16 15:13:42 +11:00
Samuel Georges 6ebe187db1 Fixes issue removing existing uploads 2015-11-28 09:24:20 +11:00
Samuel Georges b6ba31bd86 Fixes exception on removeChild(null)
Fixes danger on danger color scheme
2015-11-14 18:27:01 +11:00
Samuel Georges 4901c54d4f Fixes clash with progress bar and remove link 2015-08-05 10:24:16 +10:00
Samuel Georges 846feb6a33 FileUpload now triggers dependsOn event
form.beforeRefresh event now uses dataholder pattern
Improve exception handling in ControllerBehavior
2015-07-18 08:50:31 +10:00
Samuel Georges 8a12b2f37f Improve single image uploader 2015-06-30 15:27:26 +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 50e4840216 Create 'extensions' custom validator
FileUpload can now specify mime types
2015-06-20 10:12:14 +10:00
Samuel Georges 335fbe6106 Touch ups 2015-06-13 10:31:01 +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 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 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00