Commit Graph

2205 Commits

Author SHA1 Message Date
Andy Miller
454bfa9684 Prepare release 2016-12-21 13:04:58 -07:00
Andy Miller
eaec41c7c4 Reworked changelog 2016-12-21 13:02:48 -07:00
Flavio Copes
d6e8f31936 Fix issue with array field and value_only: true
Related issue:
https://github.com/getgrav/grav-plugin-sitemap/issues/26
2016-12-17 16:21:59 +01:00
Flavio Copes
508887e3e2 Remove cli-server exception since we now have compatibility with a custom router https://github.com/getgrav/grav/pull/1219 2016-12-17 15:11:12 +01:00
Flavio Copes
d77a57cfa5 Fix prompting to remove Grav itself when removing a package that requires it 2016-12-14 10:10:40 +01:00
Djamil Legato
f5477817b7 Added a delay before reloading the page when a plugin or theme get installed 2016-12-13 19:40:54 -08:00
Andy Miller
df6d5d0812 Merge branch 'release/1.2.5' into develop 2016-12-13 13:01:01 -07:00
Andy Miller
2e2896f800 prepare for release 2016-12-13 13:00:45 -07:00
Flavio Copes
e956212515 Update test to reflect the new admin classes files structure 2016-12-08 19:15:09 +01:00
Matias Griese
8ec6db9805 Composer update 2016-12-08 15:37:58 +02:00
Matias Griese
8d6e0e5cd2 YAML syntax fixes 2016-12-08 12:55:54 +02:00
Andy Miller
16e877a6aa Prepare for release 1.2.5-rc.4 2016-12-07 16:03:15 -07:00
Andy Miller
bd87afd3e5 Added several new onAdminAfter...() events for 3rd party interaction 2016-12-07 05:46:43 -07:00
Flavio Copes
6b9d7f41a9 Fix issue in default value when value is not 'true' but another positive value 2016-12-01 17:15:26 +01:00
Flavio Copes
5f053abbe0 Fix issue with permissions on large screens
Mentioned in
https://github.com/getgrav/grav-plugin-admin/commit/5966ed99e5fed1fed92e
cd90212ca5e010dd5e94
2016-12-01 17:14:56 +01:00
Flavio Copes
5968a72add Fix for themes/plugins list 2016-11-29 13:52:20 +01:00
Flavio Copes
7bc01f2e2c Changelog 2016-11-29 13:37:08 +01:00
Flavio Copes
c6621c7110 Fix #880 Redirect to a 404 page when accessing nonexistent plugins and themes 2016-11-29 11:00:58 +01:00
Flavio Copes
016d36d5da Changelog 2016-11-28 21:07:25 +01:00
Joakim Wimmerstedt
b91635defa Updates admin-user-details to allow longer names (#879)
Resolves #878.
2016-11-28 21:03:13 +01:00
Flavio Copes
5966ed99e5 Add permissions field (don't merge yet) (#850)
* Add permissions field

* Add new PERMISSIONS string, compile SCSS
2016-11-28 19:01:01 +01:00
Andy Miller
0a06dbf1a0 Updated Admin RC version 1.2.5-rc.3 2016-11-26 20:12:26 -07:00
Flavio Copes
a8d8b048bd Fix updating/installing packages from admin 2016-11-24 15:13:47 +01:00
Flavio Copes
6b7edf6ef2 Update class namespace for Admin class [#874](https://github.com/getgrav/grav-plugin-admin/issues/874) 2016-11-24 13:51:21 +01: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
772399d868 version updates 1.2.5-rc.2 2016-11-17 17:47:31 -07:00
Flavio Copes
b2f88bba2e Fix #859 make default value work for filepicker 2016-11-11 18:53:58 +01:00
Andy Miller
8aa719f557 Ready RC.1 release 1.2.5-rc.1 2016-11-09 11:03:33 -07:00
Flavio Copes
63c83d785c Fix #857 login to admin with permission inherited from group 2016-11-08 16:42:57 +01:00
Djamil Legato
40e668919d Only load gumroad when needed 2016-11-07 16:35:17 -08: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
Djamil Legato
0757d49d9f Increased specificity for Colorpicker field to prevent 3rd party conflicts 2016-11-06 19:19:38 -08:00
Flavio Copes
548fad1805 Changelog 2016-11-03 15:22:32 +01:00
Renata
3d829f4d21 Removed the possibility to enumerate the users (#849)
Using the forgot password feature.
2016-11-03 15:20:03 +01:00
Djamil Legato
4da49c487d Reverted 1858eb0268 2016-11-02 10:27:39 -07:00
Djamil Legato
1858eb0268 Fixed files thumbnail size to 150x150 2016-11-01 17:50:03 -07:00
Djamil Legato
fb6abb993a Updated dependencies 2016-11-01 17:49:56 -07:00
Flavio Copes
4c030e0899 Changelog 2016-10-31 19:24:12 +01:00
Flavio Copes
9697b07aa6 Fix #843 use rawRoute for parent too when saving 2016-10-31 19:23:33 +01:00
Flavio Copes
909731270b Changelog 2016-10-27 11:29:49 +02:00
Fredrik Ekelund
a42fd33c4f Use Media class to retrieve files in AdminController#taskGetFilesInFolder (#842)
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()
2016-10-27 11:28:09 +02:00
Flavio Copes
f82661abea Changelog 2016-10-27 11:14:01 +02:00
Fredrik Ekelund
96ac75379f Always delete image alternatives in AdminController#taskDelmedia (#814)
* 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
2016-10-27 11:12:01 +02:00
Andy Miller
4dbeb5ab57 Added getRouteDetails() method 2016-10-26 17:52:26 -06:00
Andy Miller
3e3be9fae2 Updated to FontAwesome 4.7.0 2016-10-24 14:50:37 -06:00
Djamil Legato
8bd7f8d666 Dashboard Charts now always refresh no matter what (fixes #753) 2016-10-24 12:12:08 -07:00
Djamil Legato
61982c7da2 Editor link button doesn't prefix links with http:// anymore (fixes #813) 2016-10-24 12:05:47 -07:00
Djamil Legato
b163dc5bb6 Updated node_modules dependencies 2016-10-24 12:05:26 -07:00
Andy Miller
96070a8c32 Merge branch 'release/1.2.4' into develop 2016-10-22 20:37:55 -06:00
Andy Miller
354464fa67 version update 2016-10-22 20:37:46 -06:00