Commit Graph

50 Commits

Author SHA1 Message Date
Kerim d6e4c9171b from mac 2022-12-14 20:55:13 +05:00
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
Samuel Georges 96537033c8 Recompile assets 2019-09-11 20:02:43 +10: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
Luke Towers 2d6b9c76a9 Recompile assets 2019-01-15 13:35:12 -06:00
Luke Towers a9a0544ab0 recompiled stylesheets, retaining newlines for improved diff readability 2019-01-14 11:52:16 -06:00
Luke Towers 44ac62abeb Recompiled LESS using new CSS minification 2018-12-20 13:41:09 -06:00
Samuel Georges 6099096e5d Increase visibility of close button
Fixes #3723
2018-08-30 12:40:45 +10: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 68923d406b Update Froala to latest (2.3.3)
Recompile assets
2016-07-05 20:08:44 +10:00
Trias Nur Rahman b2df9d63ec Fix fileupload image css on sidebar 2016-06-07 22:44:35 +07:00
Samuel Georges 85decc4086 Style tweaks 2016-05-21 06:57:12 +10:00
Samuel Georges 066b918d39 Various styling changes
Removed the harsh title on popups
Anything considered an "overlay" now uses a box shading effect
The account menu now uses lighter shading
Introduced highlight states, allowing hover + active to behave independently
2016-05-20 06:33:16 +10:00
Samuel Georges 61970413a8 More backend styling
Tone down the shading in some areas
Reduce intensity of button icons
2016-05-19 07:00:34 +10:00
Samuel Georges 1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges abaa65cc0e Cut back the design
Switch to hard lines
2016-04-22 08:21:08 +10:00
Samuel Georges 76faef7c17 Sync styles on media picker and file upload 2016-04-21 06:11:31 +10:00
Samuel Georges 5789d0242f Fixes single image uploader breaking with comment
Comment appears to the right of the uploader, should be under it
2016-03-25 18:21:21 +11:00
alekseybobkov aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
alekseybobkov a943708b99 UI updates 2016-02-19 22:12:41 -08: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 6203970122 Progress bar should turn red on error - refs #1518
Tidy up progress bar control, streamline brand colours
2015-10-17 12:17:10 +11:00
alekseybobkov 83b4994d61 Added new Inspector property editors - text and set, minor refactoring of the Inspector code. 2015-09-20 21:15:21 -07:00
alekseybobkov fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07:00
Samuel Georges 881e68c1ca Preview mode has no upload button, so no margin 2015-08-06 18:04:18 +10: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 3681459935 Fixes styling of upload button in Firefox - Refs #1202 2015-06-27 11:35:55 +10:00
Samuel Georges 46ba4644f4 Minor style fix to file multi drag handle 2015-06-27 09:41:36 +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 bed7d0825f Fixes loading animation in various places 2015-06-03 19:22:18 +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
alekseybobkov 4a095160cd Added Preview mode for the multi-image file uploader, minor style improvements 2014-05-21 17:51:50 +11:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00