65 Commits

Author SHA1 Message Date
Samuel Georges
433cf1d504 Additional security fixes 2017-04-10 16:02:05 +10:00
Samuel Georges
24c8b4368a Various security and UI fixes
The Media Manager now uses a white list approach to blocking files, we have been advised that the blacklist approach is too fragile and we agree.
Asset List and Media Manager now use $.oc.alert when displaying errors
2017-04-09 08:00:56 +10:00
Samuel Georges
d642605f87 Remove old fix and spruce up code 2017-03-04 15:23:12 +11:00
Aleksey Bobkov
e3d864e0f7 Fixes item selection on touch laptops in the Media Manager. Fixes #2490 2017-01-11 20:00:23 -08:00
Samuel Georges
cd5a579c04 Disable clock picker AM/PM time for now
Restyle clock picker
Fixes #1989
Remove debug code
Recompile assets
2016-06-02 06:52:27 +10:00
Jérémy Gaulin
11a55b764b Fixes #2021 - Cropping with float values 2016-05-30 00:36:49 +02:00
Jérémy Gaulin
01140cde95 The selection mode must be applied when the popup is shown as the options are saved across requests.
Fixes #2022
2016-05-30 00:09:50 +02:00
Samuel Georges
887bf569dc Rollback recursion fix
This should no longer be necessary with the new third party code used in rich editor
Refs #1733
2016-05-25 05:28:00 +10:00
Samuel Georges
af19341c01 "Quick Uploads" are dumped in a special folder via media manager
Refs #2005
Remove the active state on media manager table data for consistency with other view modes
2016-05-22 07:24:04 +10:00
Samuel Georges
5a63fb292a Combine media manager global with the core october.js file
This should save 1 extra request, although it is less modular we can address it again later
2016-05-21 12:37:21 +10:00
Samuel Georges
091705e70e Fixes scrollbars appearing on wide images 2016-05-20 05:20:13 +10:00
Samuel Georges
ff207b91cf onDelete -> onDeleteItem 2016-05-12 04:31:29 +10:00
Samuel Georges
5d27682f25 Create new TagList form widget (Experimental)
Update Select2 to latest
2016-05-08 17:43:21 +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
d6a7fdc74c Reduce the wording on a bunch of messages 2016-04-29 17:36:52 +10:00
Samuel Georges
c5362652c1 Begin the process of refitting brand settings
Introduce secondary and accent colors
Switch some CSS to use the new storm utils
Other minor improvements
2016-04-05 20:04:11 +10:00
Samuel Georges
2a7dbdd74a Merge branch 'stable' into ui
Conflicts:
	modules/cms/classes/CmsObject.php
	modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges
767ce5f2e7 Throw an exception when the file_data is missing from the request
Fixes #1712
2016-03-25 16:11:01 +11:00
alekseybobkov
27c7f4d0b8 Fixes a bug with inserting Media objects to the rich editor in Safari. Closes #1733 2016-03-02 21:10:27 -08:00
alekseybobkov
00ced6c79f UI update 2016-02-28 19:52:21 -08:00
alekseybobkov
a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Samuel Georges
5c294b78bd Add support to extend query on 'nested' sortMode - refs #1519
Recompile assets, minor cleanup
2015-10-17 12:44:16 +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
Oliver Vartiainen
9f2e50c4eb Display media manager upload errors more clearly
* Differentiate between successful and failed uploads
* Add a function for updating upload bar status
* Add a new upload error text

Fixes #1349
2015-10-14 21:06:17 +03:00
Samuel Georges
793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
Samuel Georges
60c18d39df Remove dependency on sweet alert 2015-08-22 13:48:53 +10:00
Samuel Georges
0e3403f1aa Use a nicer syntax for <html lang="" />
Recompile assets
2015-08-15 09:49:51 +10:00
Jérémy GAULIN
3f8d17995a Translate alert messages. Switched to sweetAlert.alert() instead of raw window.alert().
Override `swal` and `sweetAlert` functions to set translation on default buttons.

Changed `sweetAlert()` to `swal()` to be consistent with `mediamanager.js`
2015-08-15 09:46:24 +10:00
Samuel Georges
b8bc6c6d99 Allow the "go up" link to be selected with the mouse - Refs #1360
This will disable the move and delete buttons
2015-08-15 09:17:30 +10:00
Jofry
8973761146 Merge pull request #1 from jofrysutanto/master
Show mediamanager sidebar preview when "Go up" is selected.
2015-08-08 22:57:21 +10:00
jofrysutanto
871f824582 Show mediamanager sidebar preview when "Go up" is selected.
Show more informative sidebar information when "Go up' is selected, instead of blank file information with 'null' public url.
2015-08-08 22:52:21 +10:00
Samuel Georges
2cf1d707ad The API response for insert / insert+crop should be identical
This is because the 'onInsert' callback is used for both actions, yet yielded different results causing breakages
Fixes #1281
Also improved code readability in some places
2015-08-08 11:17:56 +10:00
Samuel Georges
8cd97b27a6 Add prettify, update Ace, recompile assets 2015-08-03 19:00:45 +10:00
Samuel Georges
3e898064e1 Translate some client side strings 2015-08-03 18:59:37 +10:00
Samuel Georges
f47b99d183 Move storm to its own build 2015-07-29 19:13:42 +10:00
Samuel Georges
96959e0683 Fixes bug in IE11 that prevents use of Media Manager - Fixes #1198
Add mediamanager less to bundles
2015-06-27 12:24:19 +10:00
Samuel Georges
0a5e6adad1 Fixes tooltip background color
Other minor clean ups
2015-06-09 18:49:56 +10:00
Samuel Georges
99146294aa Minor touch ups
Add danger style to popover
2015-06-06 16:49:30 +10:00
Samuel Georges
bed7d0825f Fixes loading animation in various places 2015-06-03 19:22:18 +10:00
Samuel Georges
189d56a6c5 Merge pull request #1106 from gergo85/master
Improve multilanguage support
2015-05-09 11:06:59 +10:00
gergo85
cb670237f2 Improve multilanguage support 2015-05-04 13:29:48 +02:00
niclasleonbock
28f265c10a Fix two minor media manager bugs 2015-05-03 16:10:30 +02:00
Samuel Georges
84b80a10c2 The media manager should only look for uploads of its own species
Fixes https://github.com/rainlab/blog-plugin/issues/79
2015-04-24 18:51:06 +10:00
alekseybobkov
d2968b8bde Minor fix in the Media Manager file selecting behavior. Added some audio types to .htaccess. 2015-04-19 11:19:36 -07:00
alekseybobkov
7fb36588cc Implemented keyboard navigation. Minor fix in the scrollpad class. 2015-04-15 21:48:16 -07:00
alekseybobkov
87a2ea1350 Implemented Insert Video and Insert Audio features 2015-04-14 22:44:45 -07:00
alekseybobkov
c1740c479c Media Manager: implemented insert link, insert image, and crop and insert features. Minor fixes in October core and third-party JS plugins. 2015-04-11 18:55:02 -07:00
alekseybobkov
332d92f538 Implemented image inserting to Redactor. 2015-04-04 18:59:36 -07:00
alekseybobkov
9ed3d03484 jQuery in the back-end updated to v.2.1.3. Fixed several memory management issues in select2 (an event attached to the mask element is never unbound), framework.js (onunload event attached to window is never unbound and holds references to the Request instances). Added popup adaptive size option. Started media manager popup API. 2015-03-29 18:56:06 -07:00
alekseybobkov
16cb546f30 Tested and fixing the Media Manager dispose() method. Minor fixes in the DragScroll and Toolbar controls (memory management). 2015-03-28 17:18:07 -07:00