Commit Graph

6 Commits

Author SHA1 Message Date
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
Andy Miller
78a7d60c82 Fix for processing exiting after removing package so events are not fired on missing plugins 2017-01-11 20:05:07 -07:00
Flavio Copes
92eb33493e Allow to clear the cache if admin.maintenance, as stated in the docs 2016-12-31 11:21:38 +01:00
Andy Miller
bd87afd3e5 Added several new onAdminAfter...() events for 3rd party interaction 2016-12-07 05:46:43 -07:00
Amélie Turgeon
91bda37957 added 'afterAdminSave' hook (#866)
* added 'afterAdminSave' hook

this event is fired just after the save was correctly completed from Admin plugin

* Change of the new event hook name

consistency oblige, new name is `onAdminAfterSave`
2016-11-19 11:24:54 -07: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