Commit Graph

1288 Commits

Author SHA1 Message Date
Djamil Legato
f886bf4bb8 Refractored call for getUpdates to be more consistent with the others 2017-02-16 14:10:35 -08:00
Djamil Legato
7c7ba1bb4c Force GPM::getUpdates call to json extension, in order to properly get back JSON response in case of error (#980) 2017-02-16 10:55:53 -08:00
Djamil Legato
b5384a4f8d Fixed Firefox Network Error issue when updating multiple plugins/themes at concurrently (fixes #1301) 2017-02-12 00:01:41 -08:00
Flavio Copes
93e1927265 Rename pro twig include template 2017-02-11 15:53:39 +01:00
Flavio Copes
a0679fda6c Use @2x & @3x fallback images in the filepicker. Fix #952 2017-02-06 18:44:07 +01:00
Matias Griese
b580e86fbe Allow plugin to set custom 'authorize' and 'location' in onAdminMenu() event 2017-02-02 18:13:41 +02:00
Flavio Copes
01392881d5 Fix issue where non admin.super/admin.users users could see other users profiles [#713] 2017-01-31 11:11:38 +01:00
Flavio Copes
044a44f2ad Add add page modal for use within admin pro 2017-01-29 14:01:17 +01:00
Flavio Copes
2c58db3418 Allow to see plugins and themes list without internet connection. Also add a more helpful message in the "add" view. re https://github.com/getgrav/grav/issues/1008 2017-01-22 15:50:37 +01:00
Djamil Legato
d6afa39624 It is now possible to manually specify a format for the datetime field (fixes getgrav/grav#1261) 2017-01-20 13:57:54 -08: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
Andrew Miller
34da752f70 No longer needed 2016-12-26 09:41:27 -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
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
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
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
c6621c7110 Fix #880 Redirect to a 404 page when accessing nonexistent plugins and themes 2016-11-29 11:00:58 +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
Flavio Copes
b2f88bba2e Fix #859 make default value work for filepicker 2016-11-11 18:53:58 +01: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
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
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
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
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
ba2c8177f8 Simplify how we determine if it's a page, fix https://github.com/getgrav/grav/issues/1100 2016-10-12 18:34:00 +02:00
Djamil Legato
81ff078ab9 Updated dependencies. Added Yarn lock file 2016-10-11 11:24:47 -07:00
Djamil Legato
d8e3e20be8 Page media and File field images thumbnail are now properly proportionate and 150x100 2016-10-11 11:24:21 -07:00
Flavio Copes
0b90065826 Small alignment issue 2016-10-11 19:32:29 +02:00
maxfrigge
f9d665891a fix(ie): rename page move form to prevent blueprint submitting twice (#816) 2016-10-10 18:53:19 +02:00
maxfrigge
69d87e1524 feat(taxonomy): allow taxonomy fields to be styled vertical (#817) 2016-10-10 14:42:39 +02:00
Djamil Legato
f808e523c2 Recompiled JS 2016-10-02 23:58:27 -07:00
Djamil Legato
f4ef20de99 Tiny code enhancement 2016-10-02 14:13:12 -07:00