Commit Graph

2189 Commits

Author SHA1 Message Date
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
Andy Miller
7927c58b5e Added missing changelog 2016-10-22 20:36:46 -06:00
Flavio Copes
ed3a83345c Fix #833 issue with files with accented chars 2016-10-21 17:57:54 +02:00
Flavio Copes
52c7ac956e Push minified js 2016-10-21 16:44:00 +02:00
Flavio Copes
d5f2db76c9 Push minified js 2016-10-21 15:18:01 +02:00
xinsnake
83bca928a5 Fix Ctrl+S does not save changes to a page (#832)
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.
2016-10-21 14:42:17 +02:00
Flavio Copes
1a454dc565 Fix https://github.com/getgrav/grav/issues/1123 2016-10-21 11:50:50 +02:00
Andy Miller
d45955eea6 Merge branch 'release/1.2.3' into develop 2016-10-19 09:26:43 -06:00
Andy Miller
1607d0fdaf getting ready for release 2016-10-19 09:26:33 -06:00
Flavio Copes
01d28d7e83 Drop extraneous char in the lang file 2016-10-19 17:23:43 +02:00
Andy Miller
c92bc65e28 Merge branch 'release/1.2.3' into develop 2016-10-19 09:15:49 -06:00
Andy Miller
3319141f82 version update 2016-10-19 09:15:37 -06:00
Flavio Copes
64da8fc481 Lang strings for fix orientation option 2016-10-19 15:22:22 +02:00
Djamil Legato
02eeca78e8 Support for Premium Resources (#809)
* Initial premium preparation for licenses and gpm handling

* Premium styling

* Removed unused import

* Synced CSS

* Updated selectize
2016-10-13 10:13:18 -07:00
Djamil Legato
d3556255c2 We can now use TC39 stage-3 🏋. We also ♥️ Yarn now. 2016-10-13 10:02:23 -07:00
Flavio Copes
93e9ac0493 Fill changelog 2016-10-13 18:57:16 +02:00
Flavio Copes
653c288952 gitignore tests output 2016-10-13 16:44:11 +02:00