Commit Graph

36 Commits

Author SHA1 Message Date
Flavio Copes
f700837e92 Introduce the mediapicker field (#1125)
Added a new `mediapicker` form field which allows to select a media from any page
+ 
Provided an option to control how parent select field displays
2017-06-02 16:28:52 +02:00
Andy Miller
0ea2ff21a4 Retina quality thumb for pagemedia 2017-05-24 11:46:31 -06:00
Flavio Copes
32da41ff60 Fix sag thumbnails 2017-05-24 15:49:38 +02:00
Flavio Copes
173429d892 Fix thumbnails in page media 2017-05-24 15:30:12 +02:00
Dávid Szabó
bc011c25c3 Feature custom page options (#1104)
* Add slug util function

* Add custom add modals support
2017-05-16 17:31:57 +02:00
Andy Miller
4f6afedba8 Updated changelog 2017-05-12 12:54:08 -06:00
Andy Miller
ccd2eac437 Move move into try/catch block 2017-04-14 11:31:19 -06:00
Flavio Copes
9961e28304 Don't change page template if there is no page template field, OR if the template is of type default, or not set
Fixes https://github.com/getgrav/grav-plugin-admin/issues/1059
Fixes https://github.com/getgrav/grav/issues/1403
Fixes https://github.com/getgrav/grav-plugin-admin/issues/1062
2017-04-12 14:09:50 +02:00
Andy Miller
7abf4b1461 Added new parents field with more options 2017-04-10 15:07:14 -06:00
Flavio Copes
ad1a21e44e Drop comment leftover 2017-04-07 20:06:45 +02:00
mbeller-weltenbauer
ae451055f9 Update admincontroller.php (#1053)
check if variable "folder" is set in $input
2017-04-07 20:06:18 +02:00
Andy Miller
ab01bf178b Fix for Undefined index: file_path error with Direct Install #1043 2017-03-31 13:39:39 -06:00
Andy Miller
7af4d3b767 Added support for user-uploadable avatar 2017-03-29 22:41:24 -07:00
Andy Miller
32d24c0d6d Fix for taskCopy and taskMove 2017-03-28 21:34:32 -07:00
Andy Miller
1809e41fd3 Fix for Page copy #1042 2017-03-28 21:21:07 -07:00
Andy Miller
f5285ec2b9 Fix for hard-coded 1000 in new folder name - https://github.com/getgrav/grav/issues/1386 2017-03-26 19:46:02 -07:00
Andy Miller
bf9dd97aee Allow renaming and reording at the same time 2017-03-21 20:19:35 -06:00
Andy Miller
dab03ac9df Ordering is now working 2017-03-21 15:35:33 -06:00
Andy Miller
11850a148f Changed default media field from 150x100 -> 200x150 2017-03-10 12:42:14 -07:00
Andy Miller
137673e6bb Added a task to get childTypes 2017-03-05 17:45:10 -07:00
Flavio Copes
ebf2de5aea Reinstall now uses direct install internally 2017-02-26 20:09:50 +01:00
Flavio Copes
47beb2d5a6 Auto lint 2017-02-26 19:36:01 +01:00
Flavio Copes
c7256134ba [WORK IN PROGRESS] First draft of a Tools menu with direct install (#990)
* First draft of a Tools menu with direct install

* Basic styling

* Translate GPM messages

* Basic frontend validation

* Fix form action path

* Added lang strings for offical_gpm_only toggle
2017-02-22 13:34:21 -07:00
Flavio Copes
0c91ca5757 Added an option to reinstall a plugin/theme already installed #984 2017-02-19 19:16:03 +01:00
Andy Miller
b7bcb1eba9 fixed GPM::Install() 2017-02-17 16:05:00 -07:00
Andy Miller
810a263544 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2017-02-16 15:03:36 -07:00
Andy Miller
b849f040f1 Moved GPM get updates to standard method 2017-02-16 15:03:30 -07:00
Flavio Copes
2ca6f80e5b Fix issue with validating page when switching language #963 2017-02-13 18:30:45 +01:00
Flavio Copes
b775ff934d Fix removing responsive image from page media re #111 re #952 2017-02-06 18:03:14 +01:00
Flavio Copes
f7401543df Fixed issue admin.super or admin.users users changing the account when saving another user [#713] 2017-01-31 11:11:27 +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
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