45 Commits

Author SHA1 Message Date
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
09085c5e03 Add explanation - Refs #2674 2017-02-15 05:51:30 +11:00
tschallacka
65247c4ce2 Fix for get realPath on IIS.
Sometimes getRealPath is empty when requested on IIS and needs to be rebuilt manually.
2017-02-14 09:22:34 +01:00
Samuel Georges
8b71385481 Removed "before" events
There is no use case for them (yet)
Refs #2628
2017-01-30 08:33:32 +11:00
Samuel Georges
15209a9575 Bring events in to line with dev guide
Proof class
Refs #2628
2017-01-30 08:25:43 +11:00
Samuel Georges
0f00c3a5f3 Merge pull request #2628 from Klaasie/feature/media-manager-events
Add events to Media Manager widget
2017-01-30 08:03:06 +11:00
Samuel Georges
96fcb7fd79 Minor tidy 2017-01-28 07:43:24 +11:00
Klaas Poortinga
7cfb7da7d0 Add events to Media Manager widget 2017-01-24 21:20:14 +01:00
Aleksey Bobkov
4b3ab44bab Use minified JavaScript for the Media Manager 2017-01-11 20:13:03 -08:00
Aleksey Bobkov
e3d864e0f7 Fixes item selection on touch laptops in the Media Manager. Fixes #2490 2017-01-11 20:00:23 -08:00
Aleksey Bobkov
f1bd0d33b8 Minor fix in the file type validation 2016-08-13 14:54:59 -07:00
Samuel Georges
e64b08c697 Prevent rename media file to blocked type
Fixes #2304
2016-08-13 09:49:13 +10:00
Jérémy Gaulin
11a55b764b Fixes #2021 - Cropping with float values 2016-05-30 00:36:49 +02: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
Breno Douglas Araujo Souza
8d1670d562 Fix error upload file in midia
rename $title to $name in cleanFileName method
2016-05-12 11:54:39 -03:00
Samuel Georges
ff207b91cf onDelete -> onDeleteItem 2016-05-12 04:31:29 +10:00
Samuel Georges
90ccef9b11 Minor 2016-03-26 12:39:34 +11:00
Samuel Georges
7b32f33d9d Update to resizer class
Refs #1694
2016-03-25 17:31:22 +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
Samuel Georges
fd16f38b11 Implement file definitions (extensions + ignore files)
Block "unsafe" extensions from being uploaded to the Media manager
Fixes #1801
2016-02-29 18:12:26 +11:00
Samuel Georges
8e9ae8e53e Clean up from #1631
- Files in the media library can now contain two dots
- Retina Images Support
2016-02-27 14:49:38 +11:00
Joel E. Svensson
ed583491e0 Fixes #1681
Added a customzied slug-function to MediaManager which supports @-signs
2016-01-23 20:36:05 +01:00
Samuel Georges
ab4abb9bc5 Minor 2015-09-19 06:17:31 +10:00
Vladimir Kattsov
9fee6346df Update MediaManager.php
Transform extension like JPG and etc to lower case
2015-09-19 06:04:25 +10:00
Samuel Georges
742ae07391 Tidy up from #1377 2015-08-22 08:47:35 +10:00
Vladimir Kattsov
7c39a1ae74 Update MediaManager.php
If name of our upload file not latin
2015-08-17 18:35:43 +03: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
f49775d547 Routes cache should be used for all driver types
Minor cleanup of MediaManager class
2015-05-02 11:58:09 +10:00
Samuel Georges
9470259727 Minor clean ups 2015-04-29 19:50:30 +10: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
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
695c5d243b Implemented the hide/show sidebar feature 2015-03-22 14:56:08 -07:00
alekseybobkov
86b9f58465 Implemented folder and file moving. 2015-03-22 13:07:37 -07:00
alekseybobkov
f7d08f1197 Implemented folder creation, fixed a minor issue with selecting items, added a new event to the Popup control. 2015-03-21 23:09:33 -07:00
alekseybobkov
cd0b107a2b Implemented file and folder renaming 2015-03-21 16:14:26 -07:00
alekseybobkov
331276c244 Implemented file and folder deletion 2015-03-18 22:20:53 -07:00
alekseybobkov
e2a9c25b65 Implemented search. 2015-03-17 22:20:04 -07:00
alekseybobkov
4e1217e2de Implemented item sorting. Minor fix in the drop-down list styling. 2015-03-16 21:49:39 -07:00
alekseybobkov
a040fa4c68 Implemented file type filters 2015-03-16 20:32:51 -07:00
alekseybobkov
64e3b77eae Minor fix 2015-03-15 22:06:52 -07:00
alekseybobkov
44c08b76f9 Implemented file uploading 2015-03-15 21:54:39 -07:00
alekseybobkov
18e058ad59 Added the Media tab, minor update in .htaccess to allow temporary public directory to be accessible; implemented the basic UI components and navigation; implemented grid, list and tiles view modes; implemented drag-select interface; implemented Media Library cache refreshing; implemented thumbnail generating for local and remote media files; fixed memory leak in third-party Flot Resize library; minor update in the AJAX framework - AJAX request cancelling is not considered as an error anymore; added back-end UI components for creating panels. 2015-03-15 12:52:03 -07:00