From 636bc97d29376928c45678a11bbf684b64e5aab5 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 29 May 2018 09:26:52 -0600 Subject: [PATCH 1/2] handle errors.display properly admin#1452 --- CHANGELOG.md | 1 + system/blueprints/config/system.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dc494da8..156ee48c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Fixed an issue with some users getting **2FA** prompt after upgrade [admin#1442](https://github.com/getgrav/grav-plugin-admin/issues/1442) * Do not crash when generating URLs with arrays as parameters [#2018](https://github.com/getgrav/grav/pull/2018) * Utils::truncateHTML removes whitespace when generating summaries [#2004](https://github.com/getgrav/grav/pull/2004) + * Fixed issue with Errors `display:` option not handling integers properly [admin#1452](https://github.com/getgrav/grav-plugin-admin/issues/1452) # v1.4.4 ## 05/11/2018 diff --git a/system/blueprints/config/system.yaml b/system/blueprints/config/system.yaml index d5e5cccf6..53f8ba179 100644 --- a/system/blueprints/config/system.yaml +++ b/system/blueprints/config/system.yaml @@ -835,6 +835,8 @@ form: -1: PLUGIN_ADMIN.ERROR_SYSTEM 0: PLUGIN_ADMIN.ERROR_SIMPLE 1: PLUGIN_ADMIN.ERROR_FULL_BACKTRACE + validate: + type: int errors.log: From 9eded2ef39972fb31ed0fb2bb0eeb1e8b9864490 Mon Sep 17 00:00:00 2001 From: Ante Drnasin Date: Wed, 30 May 2018 19:47:21 +0200 Subject: [PATCH 2/2] Update robots.txt (#2043) When using "Fetch and Render as Google" in Google Search console it will report "partial" rendering due to the blocked images in /user/images directory which is blocked because of the Disallow /user/ rule. Proposing this small change as it improves google rendering of the page. --- robots.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/robots.txt b/robots.txt index 3b558d635..41ea9dafe 100644 --- a/robots.txt +++ b/robots.txt @@ -9,3 +9,4 @@ Disallow: /vendor/ Disallow: /user/ Allow: /user/pages/ Allow: /user/themes/ +Allow: /user/images/