* 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`
* 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
Using the same class that's used to list media when rendering
pages ensures a consistent experience. The goal here was to avoid
listing image alternatives, but retain all the files available
through $page->media()->all()
* Always delete image alternatives in AdminController#taskDelmedia
Previously, image alternatives would only be deleted if the base
image wasn't found, and only the first three alternatives would
be removed. This commit changes that, so that all image
alternatives are always deleted when the base image is.
* Remove use of $deleteCount in AdminController#taskDelmedia
Press Ctrl+S when editing a page does trigger a save prompt, however,
the content is not saved.
This was broken because Remodal changed their DOM structure in commit
461d5ec307a3214e0d2c1427b613178236ed9293, which caused the
"remodal-overlay" not to be a parent of the "Continue" button.
This commit updated the selector to rely on the DOM structure we
control, so that hopefully it will not break again if Remodal changes.