Commit Graph

8 Commits

Author SHA1 Message Date
Matias Griese
6bc73a32c1 Fixed some issues found by phpstan, remove deprecated method calls (User) 2019-03-20 12:52:16 +02:00
Andy Miller
9ab6aeb0c8 Re-implemented Admin::initTheme() with Grav fix
85a25d0adc
2017-04-19 17:11:45 -06:00
Andy Miller
be3669e38a Reverted #1069 until we can find a safe way to play with Gantry5 2017-04-19 16:55:31 -06:00
Benny
735111cae4 Initialize theme in Admin Plugin (#1069)
* Initialize theme in Admin Plugin

* Updated changelog
2017-04-14 14:31:22 -06: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
Flavio Copes
1c19190929 Lint 2016-07-07 18:55:52 +02:00
Matias Griese
f3506291a6 Add onAdminThemeInitialized event into admin Themes::init() 2015-12-02 17:22:48 +02:00
Flavio Copes
970d77219e Fixes https://github.com/getgrav/grav/issues/476, replace default themes service with admin own theme service to avoid loading the default theme 2015-11-25 18:31:28 +01:00