Skip to content

Commit

Permalink
Merge branch 'release/1.10.34'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jun 14, 2022
2 parents 67a45c2 + 0919de9 commit 643769b
Show file tree
Hide file tree
Showing 14 changed files with 2,119 additions and 2,054 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ tests/_support/_generated/*
tests/cache/*
tests/error.log
/crowdin.yaml
.vscode
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# v1.10.34
## 06/22/2022

1. [](#improved)
* Exposed `UriToMarkdown` util (`Grav.default.Utils.UriToMarkdown`) in admin, to convert links/images
1. [](#bugfix)
* Fixed `Latest Page Updates` permissions [#2294](https://github.com/getgrav/grav-plugin-admin/pull/2294)

# v1.10.33.1
## 04/25/2022

1. [](#bugfix)
* Reverted [PR#2265](https://github.com/getgrav/grav-plugin-admin/pull/2265) as it broke sections output.
* Reverted [PR#2265](https://github.com/getgrav/grav-plugin-admin/pull/2265) as it broke sections output

# v1.10.33
## 04/25/2022
Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Admin Panel
slug: admin
type: plugin
version: 1.10.33.1
version: 1.10.34
description: Adds an advanced administration panel to manage your site
icon: empire
author:
Expand Down
276 changes: 160 additions & 116 deletions composer.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions languages/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,11 @@ PLUGIN_ADMIN:
IMAGES_DEBUG_HELP: "Show an overlay over images indicating the pixel depth of the image when working with retina for example"
IMAGES_LOADING: "Image loading behavior"
IMAGES_LOADING_HELP: "The loading attribute allows a browser to defer loading offscreen images and iframes until users scroll near them. loading supports three values: auto, lazy, eager"

# Removed in Grav 1.8
IMAGES_SEOFRIENDLY: "SEO-Friendly Image names"
IMAGES_SEOFRIENDLY_HELP: "When enabled, the image name is displayed first, then a smaller hash to reflect processed operations"

UPLOAD_LIMIT: "File upload limit"
UPLOAD_LIMIT_HELP: "Set maximum upload size in bytes (0 is unlimited)"
ENABLE_MEDIA_TIMESTAMP: "Enable timestamps on media"
Expand Down Expand Up @@ -1142,3 +1145,7 @@ PLUGIN_ADMIN:
AVATAR: "Avatar Generator"
AVATAR_HELP: "Multiavatar is a locally generated avatar. Gravatar is an external service that uses your email address to pull a preconfigured Avatar remotely"
AVATAR_HASH: "NOTE: Optional Avatar custom 'hash' string"
IMAGES_TITLE: "Images"
LEGACY_MEDIA_MUTATION: "Legacy Media Manipulation Compatibility"
LEGACY_MEDIA_MUTATION_HELP: "Enable this setting only if image manipulation broke after Grav update."
BACKWARD_COMPATIBILITY: "Backward Compatibility"
3 changes: 2 additions & 1 deletion themes/grav/app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import '@babel/polyfill';
import $ from 'jquery';
import './utils/remodal';
import 'simplebar/dist/simplebar.min.js';
import { UriToMarkdown } from './forms/fields/files.js';
import GPM, { Instance as gpm } from './utils/gpm';
import KeepAlive from './utils/keepalive';
import Updates, { Instance as updates, Notifications, Feed } from './updates';
Expand Down Expand Up @@ -68,5 +69,5 @@ export default {
Instance: MediaFilterInstance
},
Scrollbar: { Scrollbar: { deprecated: true }, Instance: { deprecated: true } },
Utils: { request, toastr, Cookies }
Utils: { request, toastr, Cookies, UriToMarkdown }
};
3,832 changes: 1,917 additions & 1,915 deletions themes/grav/js/admin.min.js

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions themes/grav/templates/partials/dashboard-pages.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if authorize(['admin.pages', 'admin.super']) %}
{% if authorize(['admin.pages.list', 'admin.pages', 'admin.super']) %}
<div id="latest">
<div class="button-bar">
<a class="button" href="{{ admin_route('/pages') }}"><i class="fa fa-fw fa-file-text-o"></i>{{ "PLUGIN_ADMIN.MANAGE_PAGES"|t }}</a>
Expand All @@ -15,6 +15,4 @@
{% endfor %}
</table>
</div>
{% else %}
<div class="padding">You don't have sufficient access to view the dashboard...</div>
{% endif %}
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,17 @@
},
{
"name": "scssphp/scssphp",
"version": "v1.10.2",
"version_normalized": "1.10.2.0",
"version": "v1.10.3",
"version_normalized": "1.10.3.0",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
"reference": "387f4f4abf5d99f16be16314c5ab856f81c82f46"
"reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/scssphp/scssphp/zipball/387f4f4abf5d99f16be16314c5ab856f81c82f46",
"reference": "387f4f4abf5d99f16be16314c5ab856f81c82f46",
"url": "https://api.github.com/repos/scssphp/scssphp/zipball/0f1e1516ed2412ad43e42a6a319e77624ba1f713",
"reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713",
"shasum": ""
},
"require": {
Expand All @@ -226,7 +226,7 @@
"ext-iconv": "Can be used as fallback when ext-mbstring is not available",
"ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv"
},
"time": "2022-03-02T21:15:09+00:00",
"time": "2022-05-16T07:22:18+00:00",
"bin": [
"bin/pscss"
],
Expand Down Expand Up @@ -264,7 +264,7 @@
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
"source": "https://github.com/scssphp/scssphp/tree/v1.10.2"
"source": "https://github.com/scssphp/scssphp/tree/v1.10.3"
},
"install-path": "../scssphp/scssphp"
}
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'type' => 'grav-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '5c1e6d6d52f8fc8e0540b5599e736e25ea20c446',
'reference' => '0a5b51b9e2c2eb9626b17c8b164dcfc3296ccf3c',
'name' => 'getgrav/grav-plugin-admin',
'dev' => false,
),
Expand All @@ -16,7 +16,7 @@
'type' => 'grav-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '5c1e6d6d52f8fc8e0540b5599e736e25ea20c446',
'reference' => '0a5b51b9e2c2eb9626b17c8b164dcfc3296ccf3c',
'dev_requirement' => false,
),
'laminas/laminas-xml' => array(
Expand Down Expand Up @@ -53,12 +53,12 @@
'dev_requirement' => false,
),
'scssphp/scssphp' => array(
'pretty_version' => 'v1.10.2',
'version' => '1.10.2.0',
'pretty_version' => 'v1.10.3',
'version' => '1.10.3.0',
'type' => 'library',
'install_path' => __DIR__ . '/../scssphp/scssphp',
'aliases' => array(),
'reference' => '387f4f4abf5d99f16be16314c5ab856f81c82f46',
'reference' => '0f1e1516ed2412ad43e42a6a319e77624ba1f713',
'dev_requirement' => false,
),
'symfony/polyfill-php72' => array(
Expand Down
8 changes: 4 additions & 4 deletions vendor/scssphp/scssphp/src/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2350,9 +2350,9 @@ protected function compileChildren($stms, OutputBlock $out, $traceName = '')
}

/**
* Compile children and throw exception if unexpected `@return`
* Compile children and throw exception if unexpected at-return
*
* @param array $stms
* @param array[] $stms
* @param \ScssPhp\ScssPhp\Formatter\OutputBlock $out
* @param \ScssPhp\ScssPhp\Block $selfParent
* @param string $traceName
Expand All @@ -2367,13 +2367,13 @@ protected function compileChildrenNoReturn($stms, OutputBlock $out, $selfParent

foreach ($stms as $stm) {
if ($selfParent && isset($stm[1]) && \is_object($stm[1]) && $stm[1] instanceof Block) {
$oldSelfParent = $stm[1]->selfParent;
$stm[1]->selfParent = $selfParent;
$ret = $this->compileChild($stm, $out);
$stm[1]->selfParent = null;
$stm[1]->selfParent = $oldSelfParent;
} elseif ($selfParent && \in_array($stm[0], [Type::T_INCLUDE, Type::T_EXTEND])) {
$stm['selfParent'] = $selfParent;
$ret = $this->compileChild($stm, $out);
unset($stm['selfParent']);
} else {
$ret = $this->compileChild($stm, $out);
}
Expand Down
2 changes: 2 additions & 0 deletions vendor/scssphp/scssphp/src/Logger/QuietLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* A logger that silently ignores all messages.
*
* @final
*/
class QuietLogger implements LoggerInterface
{
Expand Down
2 changes: 2 additions & 0 deletions vendor/scssphp/scssphp/src/Logger/StreamLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* A logger that prints to a PHP stream (for instance stderr)
*
* @final
*/
class StreamLogger implements LoggerInterface
{
Expand Down
2 changes: 1 addition & 1 deletion vendor/scssphp/scssphp/src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
*/
class Version
{
const VERSION = '1.10.2';
const VERSION = '1.10.3';
}

0 comments on commit 643769b

Please sign in to comment.