Commit Graph

10 Commits

Author SHA1 Message Date
Andy Miller
1a60f43d3b Properly fixed session delete of files 2017-03-13 17:57:05 -06:00
Andy Miller
b6caeecb0e Fix for not removing Flash object on filesSessionRemove() 2017-03-13 16:05:15 -06:00
Flavio Copes
47beb2d5a6 Auto lint 2017-02-26 19:36:01 +01:00
Flavio Copes
8ecf367356 Add method to clear the media cache 2017-01-28 19:09:30 +01:00
Flavio Copes
3627e0ec59 Handle removing a media also if it's not a json request
Was not working after
https://github.com/getgrav/grav-plugin-admin/commit/6b343365996ce838759d
80fa3917d4d994f1aeb4
2017-01-28 19:08:58 +01:00
Flavio Copes
4faf0c0b95 Fix #943 allow non admin.super users to change their account information. Allow admin.super and admin.users to change other users information. 2017-01-28 16:48:11 +01:00
Flavio Copes
6a1ee7481a Remove unnneded code, related to ca00a9b150 2017-01-12 19:55:43 +01:00
Flavio Copes
ca00a9b150 Fix #920 bug in deleting a file uploaded with the file field 2017-01-12 19:36:13 +01:00
Flavio Copes
964a4f8ea3 Fixed saving the configuration if not admin.super 2017-01-03 10:58:24 +01:00
Andy Miller
f361addd60 Feature/admin fragmentation (#856)
* Separated Admin Controller into a generic and extendable Base controller. Added Autoload for properly loading classes

* Implemented custom class loader to force lowercase

* Removed composer autoloader for classes

* Updates

* Ability to pass custom upload URL for files

* Added new onAdminCanSave event for 3rd party plugins

* Moved files upload GC in onOutputGenerated event

* Cleanup

* Moved autoloader so it is always registering

* Fixed onOutputGenerated event location

* Moved `taskRemoveFileFromBlueprint`,  `taskRemoveMedia `, `canEditMedia` methods to admin base controller

* Allow to globally define `blueprint_type` and `file_url_remove` for the file field

* Moved `isMultilang()` into base controller

* Properly generate thumbnails in proportions for file fields

* Simplified execute restrictions with blacklist
2016-11-07 09:54:10 -07:00