Upgrade to 3.9.6.1
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"description": "The Kirby 3 core",
|
"description": "The Kirby 3 core",
|
||||||
"license": "proprietary",
|
"license": "proprietary",
|
||||||
"type": "kirby-cms",
|
"type": "kirby-cms",
|
||||||
"version": "3.9.6",
|
"version": "3.9.6.1",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"kirby",
|
"kirby",
|
||||||
"cms",
|
"cms",
|
||||||
|
2
kirby/composer.lock
generated
2
kirby/composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "71f213866ce84f54adbb09cab0316cd5",
|
"content-hash": "4e1278304c8c88cbb866838dbf281668",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "claviska/simpleimage",
|
"name": "claviska/simpleimage",
|
||||||
|
@@ -140,8 +140,8 @@ return [
|
|||||||
'search' => function (
|
'search' => function (
|
||||||
App $kirby,
|
App $kirby,
|
||||||
Collection $collection,
|
Collection $collection,
|
||||||
string $query = '',
|
string|null $query = '',
|
||||||
$params = []
|
array|string $params = []
|
||||||
): Collection|bool {
|
): Collection|bool {
|
||||||
if (is_string($params) === true) {
|
if (is_string($params) === true) {
|
||||||
$params = ['fields' => Str::split($params, '|')];
|
$params = ['fields' => Str::split($params, '|')];
|
||||||
@@ -154,9 +154,8 @@ return [
|
|||||||
'words' => false,
|
'words' => false,
|
||||||
];
|
];
|
||||||
|
|
||||||
$collection = clone $collection;
|
|
||||||
$options = array_merge($defaults, $params);
|
$options = array_merge($defaults, $params);
|
||||||
$query = trim($query);
|
$query = trim($query ?? '');
|
||||||
|
|
||||||
// empty or too short search query
|
// empty or too short search query
|
||||||
if (Str::length($query) < $options['minlength']) {
|
if (Str::length($query) < $options['minlength']) {
|
||||||
|
@@ -183,7 +183,7 @@
|
|||||||
"error.user.email.invalid": "Bitte gib eine gültige E-Mailadresse an",
|
"error.user.email.invalid": "Bitte gib eine gültige E-Mailadresse an",
|
||||||
"error.user.language.invalid": "Bitte gib eine gültige Sprache an",
|
"error.user.language.invalid": "Bitte gib eine gültige Sprache an",
|
||||||
"error.user.notFound": "Der Account \"{name}\" wurde nicht gefunden",
|
"error.user.notFound": "Der Account \"{name}\" wurde nicht gefunden",
|
||||||
"error.user.password.excessive": "Please enter a valid password. Passwords must not be longer than 1000 characters.",
|
"error.user.password.excessive": "Bitte gib ein gültiges Passwort ein. Passwörter dürfen nicht länger als 1000 Zeichen sein.",
|
||||||
"error.user.password.invalid": "Bitte gib ein gültiges Passwort ein. Passwörter müssen mindestens 8 Zeichen lang sein.",
|
"error.user.password.invalid": "Bitte gib ein gültiges Passwort ein. Passwörter müssen mindestens 8 Zeichen lang sein.",
|
||||||
"error.user.password.notSame": "Die Passwörter stimmen nicht überein",
|
"error.user.password.notSame": "Die Passwörter stimmen nicht überein",
|
||||||
"error.user.password.undefined": "Der Account hat kein Passwort",
|
"error.user.password.undefined": "Der Account hat kein Passwort",
|
||||||
|
@@ -183,7 +183,7 @@
|
|||||||
"error.user.email.invalid": "Lütfen geçerli bir e-posta adresi girin",
|
"error.user.email.invalid": "Lütfen geçerli bir e-posta adresi girin",
|
||||||
"error.user.language.invalid": "Lütfen geçerli bir dil girin",
|
"error.user.language.invalid": "Lütfen geçerli bir dil girin",
|
||||||
"error.user.notFound": "\"{name}\" kullanıcısı bulunamadı",
|
"error.user.notFound": "\"{name}\" kullanıcısı bulunamadı",
|
||||||
"error.user.password.excessive": "Please enter a valid password. Passwords must not be longer than 1000 characters.",
|
"error.user.password.excessive": "Lütfen geçerli bir şifre girin. Şifreler 1000 karakterden uzun olmamalıdır.",
|
||||||
"error.user.password.invalid": "Lütfen geçerli bir şifre giriniz. Şifreler en az 8 karakter uzunluğunda olmalıdır.",
|
"error.user.password.invalid": "Lütfen geçerli bir şifre giriniz. Şifreler en az 8 karakter uzunluğunda olmalıdır.",
|
||||||
"error.user.password.notSame": "L\u00fctfen \u015fifreyi do\u011frulay\u0131n",
|
"error.user.password.notSame": "L\u00fctfen \u015fifreyi do\u011frulay\u0131n",
|
||||||
"error.user.password.undefined": "Bu kullanıcının şifresi yok",
|
"error.user.password.undefined": "Bu kullanıcının şifresi yok",
|
||||||
|
@@ -278,8 +278,16 @@ class Document
|
|||||||
'panelUrl' => $uri->path()->toString(true) . '/',
|
'panelUrl' => $uri->path()->toString(true) . '/',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$frameAncestors = $kirby->option('panel.frameAncestors');
|
||||||
|
$frameAncestors = match (true) {
|
||||||
|
$frameAncestors === true => "'self'",
|
||||||
|
is_array($frameAncestors) => "'self' " . implode(' ', $frameAncestors),
|
||||||
|
is_string($frameAncestors) => $frameAncestors,
|
||||||
|
default => "'none'"
|
||||||
|
};
|
||||||
|
|
||||||
return new Response($body, 'text/html', $code, [
|
return new Response($body, 'text/html', $code, [
|
||||||
'Content-Security-Policy' => "frame-ancestors 'none'"
|
'Content-Security-Policy' => 'frame-ancestors ' . $frameAncestors
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
kirby/vendor/composer/autoload_classmap.php
vendored
4
kirby/vendor/composer/autoload_classmap.php
vendored
@@ -143,6 +143,10 @@ return array(
|
|||||||
'Kirby\\Cms\\UserRules' => $baseDir . '/src/Cms/UserRules.php',
|
'Kirby\\Cms\\UserRules' => $baseDir . '/src/Cms/UserRules.php',
|
||||||
'Kirby\\Cms\\Users' => $baseDir . '/src/Cms/Users.php',
|
'Kirby\\Cms\\Users' => $baseDir . '/src/Cms/Users.php',
|
||||||
'Kirby\\Cms\\Visitor' => $baseDir . '/src/Cms/Visitor.php',
|
'Kirby\\Cms\\Visitor' => $baseDir . '/src/Cms/Visitor.php',
|
||||||
|
'Kirby\\ComposerInstaller\\CmsInstaller' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/CmsInstaller.php',
|
||||||
|
'Kirby\\ComposerInstaller\\Installer' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/Installer.php',
|
||||||
|
'Kirby\\ComposerInstaller\\Plugin' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/Plugin.php',
|
||||||
|
'Kirby\\ComposerInstaller\\PluginInstaller' => $vendorDir . '/getkirby/composer-installer/src/ComposerInstaller/PluginInstaller.php',
|
||||||
'Kirby\\Data\\Data' => $baseDir . '/src/Data/Data.php',
|
'Kirby\\Data\\Data' => $baseDir . '/src/Data/Data.php',
|
||||||
'Kirby\\Data\\Handler' => $baseDir . '/src/Data/Handler.php',
|
'Kirby\\Data\\Handler' => $baseDir . '/src/Data/Handler.php',
|
||||||
'Kirby\\Data\\Json' => $baseDir . '/src/Data/Json.php',
|
'Kirby\\Data\\Json' => $baseDir . '/src/Data/Json.php',
|
||||||
|
4
kirby/vendor/composer/autoload_static.php
vendored
4
kirby/vendor/composer/autoload_static.php
vendored
@@ -256,6 +256,10 @@ class ComposerStaticInita8011b477bb239488e5d139cdeb7b31e
|
|||||||
'Kirby\\Cms\\UserRules' => __DIR__ . '/../..' . '/src/Cms/UserRules.php',
|
'Kirby\\Cms\\UserRules' => __DIR__ . '/../..' . '/src/Cms/UserRules.php',
|
||||||
'Kirby\\Cms\\Users' => __DIR__ . '/../..' . '/src/Cms/Users.php',
|
'Kirby\\Cms\\Users' => __DIR__ . '/../..' . '/src/Cms/Users.php',
|
||||||
'Kirby\\Cms\\Visitor' => __DIR__ . '/../..' . '/src/Cms/Visitor.php',
|
'Kirby\\Cms\\Visitor' => __DIR__ . '/../..' . '/src/Cms/Visitor.php',
|
||||||
|
'Kirby\\ComposerInstaller\\CmsInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/CmsInstaller.php',
|
||||||
|
'Kirby\\ComposerInstaller\\Installer' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/Installer.php',
|
||||||
|
'Kirby\\ComposerInstaller\\Plugin' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/Plugin.php',
|
||||||
|
'Kirby\\ComposerInstaller\\PluginInstaller' => __DIR__ . '/..' . '/getkirby/composer-installer/src/ComposerInstaller/PluginInstaller.php',
|
||||||
'Kirby\\Data\\Data' => __DIR__ . '/../..' . '/src/Data/Data.php',
|
'Kirby\\Data\\Data' => __DIR__ . '/../..' . '/src/Data/Data.php',
|
||||||
'Kirby\\Data\\Handler' => __DIR__ . '/../..' . '/src/Data/Handler.php',
|
'Kirby\\Data\\Handler' => __DIR__ . '/../..' . '/src/Data/Handler.php',
|
||||||
'Kirby\\Data\\Json' => __DIR__ . '/../..' . '/src/Data/Json.php',
|
'Kirby\\Data\\Json' => __DIR__ . '/../..' . '/src/Data/Json.php',
|
||||||
|
8
kirby/vendor/composer/installed.php
vendored
8
kirby/vendor/composer/installed.php
vendored
@@ -1,8 +1,8 @@
|
|||||||
<?php return array(
|
<?php return array(
|
||||||
'root' => array(
|
'root' => array(
|
||||||
'name' => 'getkirby/cms',
|
'name' => 'getkirby/cms',
|
||||||
'pretty_version' => '3.9.6',
|
'pretty_version' => '3.9.6.1',
|
||||||
'version' => '3.9.6.0',
|
'version' => '3.9.6.1',
|
||||||
'reference' => NULL,
|
'reference' => NULL,
|
||||||
'type' => 'kirby-cms',
|
'type' => 'kirby-cms',
|
||||||
'install_path' => __DIR__ . '/../../',
|
'install_path' => __DIR__ . '/../../',
|
||||||
@@ -38,8 +38,8 @@
|
|||||||
'dev_requirement' => false,
|
'dev_requirement' => false,
|
||||||
),
|
),
|
||||||
'getkirby/cms' => array(
|
'getkirby/cms' => array(
|
||||||
'pretty_version' => '3.9.6',
|
'pretty_version' => '3.9.6.1',
|
||||||
'version' => '3.9.6.0',
|
'version' => '3.9.6.1',
|
||||||
'reference' => NULL,
|
'reference' => NULL,
|
||||||
'type' => 'kirby-cms',
|
'type' => 'kirby-cms',
|
||||||
'install_path' => __DIR__ . '/../../',
|
'install_path' => __DIR__ . '/../../',
|
||||||
|
Reference in New Issue
Block a user