Commit Graph

1253 Commits

Author SHA1 Message Date
Flavio Copes
a453ea93a9 Modal definition 2016-01-15 12:55:55 +01:00
Flavio Copes
2a36608b59 When no route field is added to a page blueprint, just put it as a root page instead of throwing an error 2016-01-14 00:22:26 +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
78facc0da0 Typo 2016-01-11 11:17:38 +01:00
Flavio Copes
8e34aa3c30 Drop old logs code 2016-01-10 18:22:06 +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
45c8d83666 should use implicit toString() 2016-01-09 15:41:03 -07:00
Andy Miller
7804880826 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2016-01-09 15:30:50 -07:00
Andy Miller
196b6736ab more robust .yaml filename checker 2016-01-09 15:30:45 -07:00
Flavio Copes
d493006236 Fix #387 Parent not loaded on admin form on save 2016-01-09 18:59:34 +01:00
Andy Miller
beb01589eb couple of new lang strings for new reverse_proxy setting 2016-01-08 16:35:56 -07:00
Andy Miller
5410aaa054 Merge branch 'release/1.0.6' into develop 2016-01-07 14:19:33 -07:00
Andy Miller
bd06c41e31 version update 2016-01-07 14:19:23 -07:00
Andy Miller
73871cef1f Fix for multiple nonces/_json/task fields etc. 2016-01-07 14:03:47 -07:00
Andy Miller
a24eb5d8d9 Merge branch 'release/1.0.5' into develop 2016-01-07 11:59:18 -07:00
Andy Miller
14eef4fa7e version update 2016-01-07 11:59:06 -07:00
Djamil Legato
f09a6d8535 Fixed markup for update button in Plugins and Themes details 2016-01-07 10:30:31 -08:00
Djamil Legato
c834a53d99 Fixed hardcoded HTTP protocol, throwing warning when using HTTPS 2016-01-07 10:29:54 -08:00
Andy Miller
785c417586 Updated the changelog 2016-01-06 17:07:26 -07:00
Djamil Legato
cb64ded1b4 Also return the path with the new extension appended 2016-01-06 11:56:16 -08:00
Djamil Legato
3c72bcad27 Ensure the downloaded package has ZIP extension, just in case. 2016-01-06 10:55:31 -08:00
Flavio Copes
90a852ce16 Fix year! 2016-01-06 09:44:57 +01:00
Flavio Copes
bf27921138 Fix format 2016-01-06 09:44:11 +01:00
Flavio Copes
1e41545243 Update changelog 2016-01-06 09:41:26 +01:00
Flavio Copes
f45b7250aa Fix #378 use tu to translate regardless of the languages.translations setting 2016-01-05 19:05:04 +01:00
Flavio Copes
6c5fe3208d Use config/system in Configuration nav url 2016-01-05 18:50:49 +01:00
Flavio Copes
c913d0adb7 Merge pull request #377 from getgrav/feature/show-custom-configurations
Show any configuration item Grav finds under user/config, if there is an associated blueprint provided
2016-01-05 13:35:46 +01:00
Flavio Copes
a7c3401a81 Use Grav::instance 2016-01-04 21:04:12 +01:00
Flavio Copes
13c30cf9bf Merge pull request #371 from getgrav/feature/handle-hide_home_in_urls
Fix for change in 3eb2a5664a
2016-01-04 20:55:03 +01:00
Flavio Copes
d908956ac8 Add the new session config strings 2016-01-04 20:43:59 +01:00
Flavio Copes
ae1b2a074c Show any configuration item Grav finds under user/config, if there is an associated blueprint provided
Also, organize current system/site/info files under a common
config.html.twig. Delete info/site/system twig files. Preserve BC by
setting the template of system/site/info to "config", in the pages.
2016-01-03 17:53:04 +01:00
Andy Miller
cf6cf99790 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2016-01-01 17:26:57 -07:00
Andy Miller
b260bc3c05 added some new strings 2016-01-01 17:26:52 -07:00
Flavio Copes
f34a9d7638 More changes for pagemediaselect to avoid double inclusion of data-grav-field, and to disable when no files are found 2015-12-30 20:39:37 +01:00
Flavio Copes
7f5863a66c Merge pull request #373 from aymerix/develop
Added missing data-grav-field=select to global attributes on pagemediaselect field template
2015-12-30 20:33:08 +01:00
Aymeric SIMON
f3e5797271 Added missing data-grav-field=select to global attributes on pagemediaselect field template 2015-12-30 17:35:10 +01:00
Flavio Copes
52ae7bcf80 Fix redirect after saving page 2015-12-29 19:31:02 +01:00
Flavio Copes
c1af35e9ac Fix for change in 3eb2a5664a
Handle in Admin the logic to strip home from Page routes and urls
(optional)
2015-12-29 19:08:48 +01:00
Flavio Copes
cae876903e Load the partials/page-revisions.html.twig template if available 2015-12-29 16:11:39 +01:00
Flavio Copes
ec4becae0e Add a fallback twig template to use in case Twig cannot find a template file 2015-12-29 16:11:10 +01:00
Flavio Copes
ffa54e12f7 Show revisions button is pro is enabled 2015-12-29 16:07:15 +01:00
Flavio Copes
9e0a28cd8b Allow to set the nonce for a POST action in the query url too 2015-12-29 16:06:57 +01:00
Flavio Copes
4c5657ba1a Add contributing file 2015-12-23 20:20:16 +01:00
Flavio Copes
192f953e8d Fix #368 saving plugins configs that contain a tab input type
Additionally, little cleanup, and adds comment about file types and
js-processing forms
2015-12-23 18:09:07 +01:00
Andy Miller
82888c6ac1 Merge branch 'release/1.0.4' into develop 2015-12-22 17:00:03 -07:00
Andy Miller
1996b7f873 version update 2015-12-22 16:59:53 -07:00
Flavio Copes
0eb87ede66 Fix redirect in deleting media from file field. Better format for file field code 2015-12-22 14:06:23 +01:00
Flavio Copes
8f52ad156b Restore file inputs functionality. Process the form via javascript only if no file inputs are found.
The file inputs are not found in Pages, so in that case, the JS form
processing still kicks in as usual. In plugins and themes blueprints on
the other hand, if there is a file input we avoid JS processing, since
we also do not actually need this part of code in those forms.
2015-12-22 13:48:59 +01:00