Commit Graph

1310 Commits

Author SHA1 Message Date
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
Andy Miller
5b3f64069d Merge branch 'release/1.0.8' into develop 2016-02-05 15:36:24 -07:00
Andy Miller
a3dad351fb version update 2016-02-05 15:36:12 -07:00
Andy Miller
743ab35c1c Updated FontAwesome to latest version 2016-02-05 15:24:03 -07:00
Andy Miller
8eb5d1357a updated changelog 2016-02-05 13:41:24 -07:00
Andy Miller
f971357ea9 safari fix for labels: #418 2016-02-05 10:28:34 -07:00
Flavio Copes
b5759df149 Fix issue in Japanese lang file. Was breaking Grav
Also updated on Crowdin
2016-02-05 14:45:58 +01:00
Andy Miller
44cabac660 Language updates from Crowdin 2016-02-04 16:20:19 -07:00
Andy Miller
4c295b9af3 Added Proxy URL text 2016-02-04 15:52:47 -07:00
Andy Miller
f950183a39 typo in use 2016-02-04 15:42:43 -07:00
Flavio Copes
37d4b1ad16 Merge pull request #395 from getgrav/feature/new-folder-modal
Feature/new folder modal
2016-02-04 21:46:39 +01: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
d200f7a72c 🎨 Code hints, docblocks 2016-02-04 20:59:11 +01:00
Flavio Copes
30a08f6203 🚧 Simplify admin translate method 2016-02-04 20:59:11 +01:00
Flavio Copes
5170a9d2c4 🎨 Drop unused code, format, PHPDoc 2016-02-04 20:59:11 +01:00
Flavio Copes
bc57362628 Delete streams.yaml 2016-02-03 18:05:06 +01:00
Matias Griese
f885bcdd08 Merge remote-tracking branch 'origin/develop' into develop 2016-02-02 13:26:42 +02:00
Matias Griese
29f7aa6428 Fix Blueprints "ignore" field removes tab options but not the tab itself (#620) 2016-02-02 13:26:28 +02:00
Flavio Copes
c62fb6bdb5 Fix #390 Incorrect number of pages being displayed 2016-01-28 14:03:53 +01:00
Flavio Copes
13c60ed833 Add a logout button when not authorized to access a page in Admin
Otherwise if the user cannot access any page it needs to clear the
cache to be able to logout and login again
2016-01-28 13:52:28 +01:00
Flavio Copes
80eef0a919 🐛 Fix preview and insertion of images with non-lowercase extension 2016-01-26 14:32:01 +01:00
Flavio Copes
5e1004f06f 🎨 Cut previewTemplate in multiple lines, 2016-01-26 14:32:01 +01:00
Andy Miller
086ed34bc0 Fix theme_url in admin for #407 2016-01-24 19:27:53 -07:00
Matias Griese
6e824d1528 Merge remote-tracking branch 'origin/develop' into develop 2016-01-22 21:52:34 +02:00
Matias Griese
d902c9f8b4 Improve support for user defined blueprints in Configuration 2016-01-22 21:52:25 +02:00
Flavio Copes
29641a6f5b Fix issue with selector
Refs
https://stackoverflow.com/questions/13438945/jquery-tools-error-uncaught
-error-syntax-error-unrecognized-expression-href
2016-01-22 18:30:30 +01:00
Matias Griese
d0e87bddb1 Add support for admin based blueprints 2016-01-22 10:42:38 +02:00
Matias Griese
732d9f66b0 Add possibility to hide Configuration section/tab 2016-01-22 10:38:07 +02:00
Flavio Copes
03087bed27 Use common language strings in blueprints 2016-01-21 14:40:54 +01: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
9f7b55476a Add noindex, nofollow across the entire admin theme if no other robots headers are set on a page 2016-01-18 08:56:43 +01: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
096259dc3f Escape page title 2016-01-17 20:55:55 +01:00
Flavio Copes
876d0acb6b Escape page titles 2016-01-17 20:52:05 +01:00
Flavio Copes
5816a34e64 Escape user values in nav template 2016-01-17 10:51:40 +01:00
Flavio Copes
08135ee843 Fix PHP error happening when uploading file without extension if the JS dropzone uploader is configured to allow empty file extensions 2016-01-16 18:49:42 +01:00
Flavio Copes
f068b48fce Don't reveal Grav filesystem path when trying to delete non-existing images 2016-01-16 18:30:26 +01:00
Flavio Copes
d5dea81d94 Fix issue when adding folders to subfolders. Also fix when ordering is < 10, and fix when there's no other folder 2016-01-16 17:22:08 +01:00
Flavio Copes
1602f2c870 Fix #396 Check frontmatter for validity prior to saving
If saving in Expert mode and the frontmatter field contained invalid
yaml, the page content was changed to the error description.

Instead, avoid saving the page and return an error in the Admin
interface.
2016-01-16 16:24:38 +01:00
Flavio Copes
6df159277a Revert "Prepend config with authorize check"
This reverts commit 25c10e297e.
2016-01-16 10:34:07 +01:00
Flavio Copes
6ed680109c Add correct acl setting to config page 2016-01-16 10:33:46 +01:00
Flavio Copes
25c10e297e Prepend config with authorize check 2016-01-16 10:12:27 +01:00
Andy Miller
687d633204 Merge branch 'release/1.0.7' into develop 2016-01-15 19:10:06 -07:00
Andy Miller
9b7863f8ec version update 2016-01-15 19:09:55 -07:00
Andy Miller
4eded02516 Added access check for config pages 2016-01-15 19:00:30 -07:00
Flavio Copes
9df722e7eb Fix #391 IE/Edge issue in saving Form 2016-01-15 15:15:46 +01:00
Flavio Copes
6bf9a0ba5d Add lang string 2016-01-15 12:58:21 +01:00