mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
* 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
359 B
359 B