Commit Graph

2220 Commits

Author SHA1 Message Date
Flavio Copes
ca00a9b150 Fix #920 bug in deleting a file uploaded with the file field 2017-01-12 19:36:13 +01:00
Flavio Copes
689f4f977b Changelog 2017-01-12 18:58:20 +01:00
Ole Vik
5a659b6978 Update section.html.twig (#922)
Close an open paragraph-tag, thus avoiding incorrect HTML and an empty extra paragraph.
2017-01-12 18:54:55 +01:00
Flavio Copes
d7d0fe5b53 Fix #921 colorpicker validation, failed when transparency was set to 1.00 2017-01-11 17:07:56 +01:00
Flavio Copes
888a15cbc6 Show the clear cache buttons if the user has admin.cache permissions [#908] 2017-01-09 14:25:30 +01:00
Flavio Copes
964a4f8ea3 Fixed saving the configuration if not admin.super 2017-01-03 10:58:24 +01:00
Andrew Miller
721c3bbe90 Added lang strings 2017-01-02 20:55:55 -07:00
Flavio Copes
25bcaff4e2 Changelog 2016-12-31 11:23:15 +01: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
Andrew Miller
34da752f70 No longer needed 2016-12-26 09:41:27 -07:00
Andy Miller
6f49aa213a Merge branch 'release/1.2.7' into develop 2016-12-22 11:37:46 -07:00
Andy Miller
8e2cacf0d8 prepare for release 2016-12-22 11:37:04 -07:00
Andy Miller
ca19585938 Updated changelog 2016-12-22 11:34:15 -07:00
Flavio Copes
2dddc2404b Fix plugins and themes json calls after the introduction of HTML fallback for templates not found 364209a27d 2016-12-22 18:59:19 +01:00
Andy Miller
2c3e11fd71 Merge branch 'release/1.2.6' into develop 2016-12-21 13:05:25 -07:00
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