Commit Graph

145 Commits

Author SHA1 Message Date
Flavio Copes
38d3a70cb7 Fix #539 "Drop files here to upload" text not translated. Also translate Insert and Delete buttons 2016-05-03 11:10:54 +02:00
Andy Miller
5c95964052 Better way to get plugin version 2016-04-26 12:57:29 -06:00
Andy Miller
59dbec5371 updated message 2016-04-26 12:42:16 -06:00
Andy Miller
99aaebdf1a version update with version notice 2016-04-26 12:10:56 -06:00
Flavio Copes
c56c2103aa Add a message if installed on Grav < 1.1.0-beta.1 2016-04-26 18:53:13 +02:00
Flavio Copes
42e35746f8 Use $this->grav['user']->authenticated to determine if user is logged in 2016-04-21 15:10:02 +02:00
Oscar Recio
b180e13e8e If user not logged in redirect to base path (#445)
Solved problem when  user not logged in can go to admin/something and view admin dashboard with Error 404.
2016-04-21 15:08:37 +02:00
Andy Miller
cdf4a4b0e8 Set cache key uniquely for admin to not colide with site. 2016-04-14 15:28:48 -06:00
Andy Miller
2c9ca7ac42 Merge branch 'feature/autoescape' into develop
# Conflicts:
#	themes/grav/css-compiled/template.css
#	themes/grav/css-compiled/template.css.map
2016-04-11 17:26:02 -06:00
Flavio Copes
2bee7bbe42 Check permissions on task GPM 2016-04-08 11:21:11 +02:00
Andy Miller
3cb989f39c Check to ensure things don't break if you don't have Grav 1.1 2016-04-07 16:17:19 -06:00
Andy Miller
9418c7f6b8 Better solution for autoescape so it doesn't get set to off on config save (needs Grav 1.1) 2016-04-07 15:51:48 -06:00
Flavio Copes
98402689ff Start autoescaping 2016-04-07 21:01:38 +02:00
Matias Griese
6c1866515f Media blueprints: Add yaml validation 2016-03-15 14:38:17 +02:00
Andy Miller
76bd584832 moved page find logic back to use admin plugin first 2016-03-11 16:51:06 -07:00
Andy Miller
f3d9b13818 search other plugins before using admin's pages. let's you override default pages 2016-03-11 16:02:45 -07:00
Matias Griese
0ea3ae3987 Blueprints: List is a special type 2016-03-10 19:56:38 +02:00
Andy Miller
6f63796f2f moved timestamp so it sets 'after' processing any forms 2016-03-03 14:58:11 -07:00
Matias Griese
57a2de41b2 Blueprints change 2016-03-03 20:59:59 +02:00
Djamil Legato
f5e1ea01f2 Merge remote-tracking branch 'origin/develop' into feature/es6_revamp
# Conflicts:
#	themes/grav/css-compiled/template.css
#	themes/grav/css-compiled/template.css.map
#	themes/grav/scss/template/_editor.scss
#	themes/grav/scss/template/_forms.scss
#	themes/grav/scss/template/_remodal.scss
#	themes/grav/templates/partials/base.html.twig
#	themes/grav/templates/partials/dashboard-statistics.html.twig
2016-03-02 11:13:06 -08:00
Andy Miller
f45e1dce24 updates with new SVG Grav logo 2016-03-01 16:23:55 -07:00
Matias Griese
46c770ffe7 Add function AdminPlugin::getFormFieldTypes() 2016-02-29 14:21:59 +02:00
Djamil Legato
eed783e1ed Merge branch 'develop' into feature/es6_revamp 2016-02-18 15:49:58 -08:00
Flavio Copes
60057c3c75 Revert "Fix issue with config blueprints auto creating config yaml files"
This reverts commit b630c5cf27.
2016-02-11 16:14:43 +01:00
Djamil Legato
fab06365a5 Merge remote-tracking branch 'origin/develop' into feature/es6_revamp 2016-02-10 13:24:38 -08:00
Flavio Copes
b630c5cf27 Fix issue with config blueprints auto creating config yaml files
Solves a regression with streams config appearing in the Admin
Configuration and a yaml being automatically created in the user config
folder
2016-02-10 17:44:57 +01:00
Djamil Legato
22055f8a19 Merge remote-tracking branch 'origin/develop' into feature/es6_revamp
# Conflicts:
#	languages/en.yaml
#	themes/grav/css-compiled/template.css
#	themes/grav/css-compiled/template.css.map
#	themes/grav/templates/forms/fields/tabs/tabs.html.twig
2016-02-09 13:04:16 -08:00
Flavio Copes
b68a12fd11 Merge branch 'develop' into feature/new-folder-modal 2016-02-04 21:05:00 +01:00
Flavio Copes
0d9a3e4bdc GravTrait changes in Admin 2016-02-04 20:59:11 +01:00
Flavio Copes
5170a9d2c4 🎨 Drop unused code, format, PHPDoc 2016-02-04 20:59:11 +01:00
Djamil Legato
a846b73e46 Added more lang strings for Medias 2016-02-01 16:34:50 -08:00
Djamil Legato
35fa588438 Reworked Admin JS with ES6 2016-02-01 11:27:34 -08:00
Flavio Copes
c62fb6bdb5 Fix #390 Incorrect number of pages being displayed 2016-01-28 14:03:53 +01:00
Andy Miller
086ed34bc0 Fix theme_url in admin for #407 2016-01-24 19:27:53 -07:00
Matias Griese
d902c9f8b4 Improve support for user defined blueprints in Configuration 2016-01-22 21:52:25 +02:00
Matias Griese
d0e87bddb1 Add support for admin based blueprints 2016-01-22 10:42:38 +02:00
Matias Griese
77639e71cf Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
# Conflicts:
#	classes/controller.php
2016-01-21 09:51:35 +02:00
Matias Griese
0424975657 Improve type hints 2016-01-21 09:46:38 +02:00
Flavio Copes
51c0a9301c Better solution for previous commit. On Linux glob might return false. Check prior to casting to array.
From the PHP manual: on some systems it is impossible to distinguish
between empty match and an error.
2016-01-17 23:08:19 +01:00
Flavio Copes
73d8396553 On Linux glob might return a ['0' => false] array
From the PHP manual: on some systems it is impossible to distinguish
between empty match and an error.
2016-01-17 23:04:34 +01:00
Flavio Copes
6d3d728bda Tweak onTwigSiteVariables() to handle folders without md file 2016-01-15 12:58:04 +01:00
Flavio Copes
769033739a Add pages dashboard via onAdminDashboard event too.
Allow 3 twig var placements:

grav.twig.plugins_hooked_dashboard_widgets_top
grav.twig.plugins_hooked_dashboard_widgets_main
grav.twig.plugins_hooked_dashboard_widgets_bottom
2016-01-11 11:34:15 +01:00
Flavio Copes
2c9630b7af Add onAdminDashboard event. Move maintenance and Statistics widgets on their own partial, add to Twig::plugins_hooked_dashboard_widgets on onAdminDashboard 2016-01-10 17:39:57 +01:00
Flavio Copes
53bbbf9fc2 Docblocks / coding style improvement 2016-01-10 17:39:57 +01:00
Flavio Copes
68747cc4b8 Remove deprecated menu event 2016-01-10 17:39:57 +01:00
Andy Miller
1d338094f2 force lowercase of username 2015-12-11 10:34:40 -07:00
Andy Miller
72cd1099cd Removed unnecessary cache file check.. no real performance difference 2015-12-10 16:14:13 -07:00
Flavio Copes
8bfe80d4a3 Drop unneeded event handler 2015-12-10 22:28:30 +01:00
Andy Miller
19d73c1fdd refactor including site-side redirect if no accounts. 2015-12-10 13:22:23 -07:00
Andy Miller
cceb39a05c Merge branch 'feature/admin_registration' of https://github.com/getgrav/grav-plugin-admin into feature/admin_registration
Conflicts:
	admin.php
2015-12-10 12:12:04 -07:00