Skip to content
Snippets Groups Projects
Commit 2ab1c594 authored by Michael Lee's avatar Michael Lee
Browse files

Upgrading drupal/entity_embed (1.2.0 => 1.3.0) and apply patch

parent a951dabf
No related branches found
No related tags found
No related merge requests found
Showing
with 240 additions and 208 deletions
......@@ -116,7 +116,7 @@
"drupal/entity": "1.2",
"drupal/entity_browser": "2.8",
"drupal/entity_clone": "1.0.0-beta5",
"drupal/entity_embed": "1.2",
"drupal/entity_embed": "1.3",
"drupal/entity_reference_revisions": "1.9",
"drupal/exif_orientation": "^1.1",
"drupal/externalauth": "1.4",
......@@ -288,6 +288,9 @@
"drupal/entity_clone": {
"3060223": "https://www.drupal.org/files/issues/2019-10-17/%20entity_clone-corrupted-paragraph-cloning-3060223-5.patch"
},
"drupal/entity_embed": {
"3077225": "https://www.drupal.org/files/issues/2019-12-11/3077225-10.reduce-invalid-config-logs.patch"
},
"drupal/honeypot": {
"2811189": "https://www.drupal.org/files/issues/2022-05-25/honeypot-field_weight-2811189-27_0.patch"
},
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "96b1beba974d35b96510b637bd80c4a7",
"content-hash": "e19bbc8cca8ae09736e3d9b709548c69",
"packages": [
{
"name": "alchemy/zippy",
......@@ -4063,21 +4063,21 @@
},
{
"name": "drupal/entity_embed",
"version": "1.2.0",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/entity_embed.git",
"reference": "8.x-1.2"
"reference": "8.x-1.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/entity_embed-8.x-1.2.zip",
"reference": "8.x-1.2",
"shasum": "e1d4c9d6931984836c1ea550c32ae40f42367525"
"url": "https://ftp.drupal.org/files/projects/entity_embed-8.x-1.3.zip",
"reference": "8.x-1.3",
"shasum": "37781222e0b31a0319f0b2e67ef345f2033435e7"
},
"require": {
"drupal/core": "^8.8 || ^9",
"drupal/embed": "^1.3"
"drupal/core": "^9.3",
"drupal/embed": "^1.5"
},
"require-dev": {
"drupal/entity_browser": "^2.2"
......@@ -4085,8 +4085,8 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.2",
"datestamp": "1631726164",
"version": "8.x-1.3",
"datestamp": "1666275539",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
......@@ -4095,7 +4095,7 @@
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
"GPL-2.0-or-later"
],
"authors": [
{
......@@ -4134,9 +4134,7 @@
"description": "Allows any entity to be embedded within a text area using a WYSIWYG editor.",
"homepage": "https://www.drupal.org/project/entity_embed",
"support": {
"source": "https://git.drupalcode.org/project/entity_embed",
"issues": "https://www.drupal.org/project/issues/entity_embed",
"irc": "irc://irc.freenode.org/drupal-media"
"source": "https://git.drupalcode.org/project/entity_embed"
}
},
{
......@@ -12866,16 +12864,16 @@
},
{
"name": "symfony/console",
"version": "v4.4.45",
"version": "v4.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "28b77970939500fb04180166a1f716e75a871ef8"
"reference": "4f40012db8d55c956406890b5720f686fee7f7b7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/28b77970939500fb04180166a1f716e75a871ef8",
"reference": "28b77970939500fb04180166a1f716e75a871ef8",
"url": "https://api.github.com/repos/symfony/console/zipball/4f40012db8d55c956406890b5720f686fee7f7b7",
"reference": "4f40012db8d55c956406890b5720f686fee7f7b7",
"shasum": ""
},
"require": {
......@@ -12936,7 +12934,7 @@
"description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/console/tree/v4.4.45"
"source": "https://github.com/symfony/console/tree/v4.4.47"
},
"funding": [
{
......@@ -12952,7 +12950,7 @@
"type": "tidelift"
}
],
"time": "2022-08-17T14:50:19+00:00"
"time": "2022-10-04T05:58:30+00:00"
},
{
"name": "symfony/css-selector",
......@@ -13898,16 +13896,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v4.4.46",
"version": "v4.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "7acdc97f28a48b96def93af1efd77cfc5e8776dd"
"reference": "7eea76ae186c68466e7676e62812ce2769f96811"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/7acdc97f28a48b96def93af1efd77cfc5e8776dd",
"reference": "7acdc97f28a48b96def93af1efd77cfc5e8776dd",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/7eea76ae186c68466e7676e62812ce2769f96811",
"reference": "7eea76ae186c68466e7676e62812ce2769f96811",
"shasum": ""
},
"require": {
......@@ -13946,7 +13944,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v4.4.46"
"source": "https://github.com/symfony/http-foundation/tree/v4.4.47"
},
"funding": [
{
......@@ -13962,20 +13960,20 @@
"type": "tidelift"
}
],
"time": "2022-09-13T06:14:47+00:00"
"time": "2022-10-01T21:39:02+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v4.4.46",
"version": "v4.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "fb72bc54f300151fadef84fce79764138b1ef943"
"reference": "91cf5dbc9ea4d902470e596246a736179acfb79d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/fb72bc54f300151fadef84fce79764138b1ef943",
"reference": "fb72bc54f300151fadef84fce79764138b1ef943",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/91cf5dbc9ea4d902470e596246a736179acfb79d",
"reference": "91cf5dbc9ea4d902470e596246a736179acfb79d",
"shasum": ""
},
"require": {
......@@ -14050,7 +14048,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v4.4.46"
"source": "https://github.com/symfony/http-kernel/tree/v4.4.47"
},
"funding": [
{
......@@ -14066,7 +14064,7 @@
"type": "tidelift"
}
],
"time": "2022-09-30T07:27:59+00:00"
"time": "2022-10-12T07:05:45+00:00"
},
{
"name": "symfony/mime",
......@@ -15128,16 +15126,16 @@
},
{
"name": "symfony/serializer",
"version": "v4.4.45",
"version": "v4.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
"reference": "d19621a350491f76e2faed2afb982e0706f63252"
"reference": "6e01d63c55657930a6de03d6e36aae50af98888d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/serializer/zipball/d19621a350491f76e2faed2afb982e0706f63252",
"reference": "d19621a350491f76e2faed2afb982e0706f63252",
"url": "https://api.github.com/repos/symfony/serializer/zipball/6e01d63c55657930a6de03d6e36aae50af98888d",
"reference": "6e01d63c55657930a6de03d6e36aae50af98888d",
"shasum": ""
},
"require": {
......@@ -15202,7 +15200,7 @@
"description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/serializer/tree/v4.4.45"
"source": "https://github.com/symfony/serializer/tree/v4.4.47"
},
"funding": [
{
......@@ -15218,7 +15216,7 @@
"type": "tidelift"
}
],
"time": "2022-08-17T14:28:21+00:00"
"time": "2022-09-19T08:38:33+00:00"
},
{
"name": "symfony/service-contracts",
......@@ -15305,16 +15303,16 @@
},
{
"name": "symfony/translation",
"version": "v4.4.45",
"version": "v4.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def"
"reference": "45036b1d53accc48fe9bab71ccd86d57eba0dd94"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def",
"reference": "4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def",
"url": "https://api.github.com/repos/symfony/translation/zipball/45036b1d53accc48fe9bab71ccd86d57eba0dd94",
"reference": "45036b1d53accc48fe9bab71ccd86d57eba0dd94",
"shasum": ""
},
"require": {
......@@ -15374,7 +15372,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v4.4.45"
"source": "https://github.com/symfony/translation/tree/v4.4.47"
},
"funding": [
{
......@@ -15390,7 +15388,7 @@
"type": "tidelift"
}
],
"time": "2022-08-02T12:44:49+00:00"
"time": "2022-10-03T15:15:11+00:00"
},
{
"name": "symfony/translation-contracts",
......@@ -15472,16 +15470,16 @@
},
{
"name": "symfony/validator",
"version": "v4.4.46",
"version": "v4.4.47",
"source": {
"type": "git",
"url": "https://github.com/symfony/validator.git",
"reference": "51d06a00a7a8e9c45b91735932040b9f1df2c994"
"reference": "37456082bb034cb5f2d8602471a0de6c448535b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/validator/zipball/51d06a00a7a8e9c45b91735932040b9f1df2c994",
"reference": "51d06a00a7a8e9c45b91735932040b9f1df2c994",
"url": "https://api.github.com/repos/symfony/validator/zipball/37456082bb034cb5f2d8602471a0de6c448535b8",
"reference": "37456082bb034cb5f2d8602471a0de6c448535b8",
"shasum": ""
},
"require": {
......@@ -15558,7 +15556,7 @@
"description": "Provides tools to validate values",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/validator/tree/v4.4.46"
"source": "https://github.com/symfony/validator/tree/v4.4.47"
},
"funding": [
{
......@@ -15574,20 +15572,20 @@
"type": "tidelift"
}
],
"time": "2022-09-15T12:26:05+00:00"
"time": "2022-10-01T17:13:09+00:00"
},
{
"name": "symfony/var-dumper",
"version": "v5.4.13",
"version": "v5.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "2bf2ccab581bec363191672f0df40e0c85569e1c"
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/2bf2ccab581bec363191672f0df40e0c85569e1c",
"reference": "2bf2ccab581bec363191672f0df40e0c85569e1c",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/6894d06145fefebd9a4c7272baa026a1c394a430",
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430",
"shasum": ""
},
"require": {
......@@ -15647,7 +15645,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.13"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.14"
},
"funding": [
{
......@@ -15663,7 +15661,7 @@
"type": "tidelift"
}
],
"time": "2022-09-06T13:23:31+00:00"
"time": "2022-10-07T08:01:20+00:00"
},
{
"name": "symfony/var-exporter",
......
......@@ -3,8 +3,21 @@
// autoload.php @generated by Composer
if (PHP_VERSION_ID < 50600) {
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
exit(1);
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
}
require_once __DIR__ . '/composer/autoload_real.php';
......
......@@ -2284,8 +2284,6 @@
'Drupal\\Core\\Language\\LanguageManager' => $baseDir . '/web/core/lib/Drupal/Core/Language/LanguageManager.php',
'Drupal\\Core\\Language\\LanguageManagerInterface' => $baseDir . '/web/core/lib/Drupal/Core/Language/LanguageManagerInterface.php',
'Drupal\\Core\\Layout\\Annotation\\Layout' => $baseDir . '/web/core/lib/Drupal/Core/Layout/Annotation/Layout.php',
'Drupal\\Core\\Layout\\Icon\\IconBuilderInterface' => $baseDir . '/web/core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php',
'Drupal\\Core\\Layout\\Icon\\SvgIconBuilder' => $baseDir . '/web/core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php',
'Drupal\\Core\\Layout\\LayoutDefault' => $baseDir . '/web/core/lib/Drupal/Core/Layout/LayoutDefault.php',
'Drupal\\Core\\Layout\\LayoutDefinition' => $baseDir . '/web/core/lib/Drupal/Core/Layout/LayoutDefinition.php',
'Drupal\\Core\\Layout\\LayoutInterface' => $baseDir . '/web/core/lib/Drupal/Core/Layout/LayoutInterface.php',
......
......@@ -3105,8 +3105,6 @@ class ComposerStaticInit5c689ffcd54b9e495ed983fdce09b530
'Drupal\\Core\\Language\\LanguageManager' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Language/LanguageManager.php',
'Drupal\\Core\\Language\\LanguageManagerInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Language/LanguageManagerInterface.php',
'Drupal\\Core\\Layout\\Annotation\\Layout' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Layout/Annotation/Layout.php',
'Drupal\\Core\\Layout\\Icon\\IconBuilderInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php',
'Drupal\\Core\\Layout\\Icon\\SvgIconBuilder' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php',
'Drupal\\Core\\Layout\\LayoutDefault' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Layout/LayoutDefault.php',
'Drupal\\Core\\Layout\\LayoutDefinition' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Layout/LayoutDefinition.php',
'Drupal\\Core\\Layout\\LayoutInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Layout/LayoutInterface.php',
......
......@@ -4177,22 +4177,22 @@
},
{
"name": "drupal/entity_embed",
"version": "1.2.0",
"version_normalized": "1.2.0.0",
"version": "1.3.0",
"version_normalized": "1.3.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/entity_embed.git",
"reference": "8.x-1.2"
"reference": "8.x-1.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/entity_embed-8.x-1.2.zip",
"reference": "8.x-1.2",
"shasum": "e1d4c9d6931984836c1ea550c32ae40f42367525"
"url": "https://ftp.drupal.org/files/projects/entity_embed-8.x-1.3.zip",
"reference": "8.x-1.3",
"shasum": "37781222e0b31a0319f0b2e67ef345f2033435e7"
},
"require": {
"drupal/core": "^8.8 || ^9",
"drupal/embed": "^1.3"
"drupal/core": "^9.3",
"drupal/embed": "^1.5"
},
"require-dev": {
"drupal/entity_browser": "^2.2"
......@@ -4200,20 +4200,27 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.2",
"datestamp": "1631726164",
"version": "8.x-1.3",
"datestamp": "1666275539",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"patches_applied": {
"3077225": "https://www.drupal.org/files/issues/2019-12-11/3077225-10.reduce-invalid-config-logs.patch"
}
},
"installation-source": "dist",
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
"GPL-2.0-or-later"
],
"authors": [
{
"name": "cs_shadow",
"homepage": "https://www.drupal.org/user/2828287"
},
{
"name": "Dave Reid",
"homepage": "https://www.drupal.org/user/53892"
......@@ -4226,14 +4233,6 @@
"name": "Drupal Media Team",
"homepage": "https://www.drupal.org/user/3260690"
},
{
"name": "Wim Leers",
"homepage": "https://www.drupal.org/user/99777"
},
{
"name": "cs_shadow",
"homepage": "https://www.drupal.org/user/2828287"
},
{
"name": "oknate",
"homepage": "https://www.drupal.org/user/471638"
......@@ -4245,14 +4244,16 @@
{
"name": "slashrsm",
"homepage": "https://www.drupal.org/user/744628"
},
{
"name": "Wim Leers",
"homepage": "https://www.drupal.org/user/99777"
}
],
"description": "Allows any entity to be embedded within a text area using a WYSIWYG editor.",
"homepage": "https://www.drupal.org/project/entity_embed",
"support": {
"source": "https://git.drupalcode.org/project/entity_embed",
"issues": "https://www.drupal.org/project/issues/entity_embed",
"irc": "irc://irc.freenode.org/drupal-media"
"source": "https://git.drupalcode.org/project/entity_embed"
},
"install-path": "../../web/modules/entity_embed"
},
......@@ -13345,17 +13346,17 @@
},
{
"name": "symfony/console",
"version": "v4.4.45",
"version_normalized": "4.4.45.0",
"version": "v4.4.47",
"version_normalized": "4.4.47.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "28b77970939500fb04180166a1f716e75a871ef8"
"reference": "4f40012db8d55c956406890b5720f686fee7f7b7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/28b77970939500fb04180166a1f716e75a871ef8",
"reference": "28b77970939500fb04180166a1f716e75a871ef8",
"url": "https://api.github.com/repos/symfony/console/zipball/4f40012db8d55c956406890b5720f686fee7f7b7",
"reference": "4f40012db8d55c956406890b5720f686fee7f7b7",
"shasum": ""
},
"require": {
......@@ -13390,7 +13391,7 @@
"symfony/lock": "",
"symfony/process": ""
},
"time": "2022-08-17T14:50:19+00:00",
"time": "2022-10-04T05:58:30+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......@@ -13418,7 +13419,7 @@
"description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/console/tree/v4.4.45"
"source": "https://github.com/symfony/console/tree/v4.4.47"
},
"funding": [
{
......@@ -14416,17 +14417,17 @@
},
{
"name": "symfony/http-foundation",
"version": "v4.4.46",
"version_normalized": "4.4.46.0",
"version": "v4.4.47",
"version_normalized": "4.4.47.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "7acdc97f28a48b96def93af1efd77cfc5e8776dd"
"reference": "7eea76ae186c68466e7676e62812ce2769f96811"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/7acdc97f28a48b96def93af1efd77cfc5e8776dd",
"reference": "7acdc97f28a48b96def93af1efd77cfc5e8776dd",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/7eea76ae186c68466e7676e62812ce2769f96811",
"reference": "7eea76ae186c68466e7676e62812ce2769f96811",
"shasum": ""
},
"require": {
......@@ -14439,7 +14440,7 @@
"predis/predis": "~1.0",
"symfony/expression-language": "^3.4|^4.0|^5.0"
},
"time": "2022-09-13T06:14:47+00:00",
"time": "2022-10-01T21:39:02+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......@@ -14467,7 +14468,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v4.4.46"
"source": "https://github.com/symfony/http-foundation/tree/v4.4.47"
},
"funding": [
{
......@@ -14487,17 +14488,17 @@
},
{
"name": "symfony/http-kernel",
"version": "v4.4.46",
"version_normalized": "4.4.46.0",
"version": "v4.4.47",
"version_normalized": "4.4.47.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "fb72bc54f300151fadef84fce79764138b1ef943"
"reference": "91cf5dbc9ea4d902470e596246a736179acfb79d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/fb72bc54f300151fadef84fce79764138b1ef943",
"reference": "fb72bc54f300151fadef84fce79764138b1ef943",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/91cf5dbc9ea4d902470e596246a736179acfb79d",
"reference": "91cf5dbc9ea4d902470e596246a736179acfb79d",
"shasum": ""
},
"require": {
......@@ -14546,7 +14547,7 @@
"symfony/console": "",
"symfony/dependency-injection": ""
},
"time": "2022-09-30T07:27:59+00:00",
"time": "2022-10-12T07:05:45+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......@@ -14574,7 +14575,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v4.4.46"
"source": "https://github.com/symfony/http-kernel/tree/v4.4.47"
},
"funding": [
{
......@@ -15691,17 +15692,17 @@
},
{
"name": "symfony/serializer",
"version": "v4.4.45",
"version_normalized": "4.4.45.0",
"version": "v4.4.47",
"version_normalized": "4.4.47.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
"reference": "d19621a350491f76e2faed2afb982e0706f63252"
"reference": "6e01d63c55657930a6de03d6e36aae50af98888d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/serializer/zipball/d19621a350491f76e2faed2afb982e0706f63252",
"reference": "d19621a350491f76e2faed2afb982e0706f63252",
"url": "https://api.github.com/repos/symfony/serializer/zipball/6e01d63c55657930a6de03d6e36aae50af98888d",
"reference": "6e01d63c55657930a6de03d6e36aae50af98888d",
"shasum": ""
},
"require": {
......@@ -15740,7 +15741,7 @@
"symfony/property-info": "To deserialize relations.",
"symfony/yaml": "For using the default YAML mapping loader."
},
"time": "2022-08-17T14:28:21+00:00",
"time": "2022-09-19T08:38:33+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......@@ -15768,7 +15769,7 @@
"description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/serializer/tree/v4.4.45"
"source": "https://github.com/symfony/serializer/tree/v4.4.47"
},
"funding": [
{
......@@ -15874,17 +15875,17 @@
},
{
"name": "symfony/translation",
"version": "v4.4.45",
"version_normalized": "4.4.45.0",
"version": "v4.4.47",
"version_normalized": "4.4.47.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def"
"reference": "45036b1d53accc48fe9bab71ccd86d57eba0dd94"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def",
"reference": "4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def",
"url": "https://api.github.com/repos/symfony/translation/zipball/45036b1d53accc48fe9bab71ccd86d57eba0dd94",
"reference": "45036b1d53accc48fe9bab71ccd86d57eba0dd94",
"shasum": ""
},
"require": {
......@@ -15918,7 +15919,7 @@
"symfony/config": "",
"symfony/yaml": ""
},
"time": "2022-08-02T12:44:49+00:00",
"time": "2022-10-03T15:15:11+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......@@ -15946,7 +15947,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v4.4.45"
"source": "https://github.com/symfony/translation/tree/v4.4.47"
},
"funding": [
{
......@@ -16047,17 +16048,17 @@
},
{
"name": "symfony/validator",
"version": "v4.4.46",
"version_normalized": "4.4.46.0",
"version": "v4.4.47",
"version_normalized": "4.4.47.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/validator.git",
"reference": "51d06a00a7a8e9c45b91735932040b9f1df2c994"
"reference": "37456082bb034cb5f2d8602471a0de6c448535b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/validator/zipball/51d06a00a7a8e9c45b91735932040b9f1df2c994",
"reference": "51d06a00a7a8e9c45b91735932040b9f1df2c994",
"url": "https://api.github.com/repos/symfony/validator/zipball/37456082bb034cb5f2d8602471a0de6c448535b8",
"reference": "37456082bb034cb5f2d8602471a0de6c448535b8",
"shasum": ""
},
"require": {
......@@ -16108,7 +16109,7 @@
"symfony/translation": "For translating validation errors.",
"symfony/yaml": ""
},
"time": "2022-09-15T12:26:05+00:00",
"time": "2022-10-01T17:13:09+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......@@ -16136,7 +16137,7 @@
"description": "Provides tools to validate values",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/validator/tree/v4.4.46"
"source": "https://github.com/symfony/validator/tree/v4.4.47"
},
"funding": [
{
......@@ -16156,17 +16157,17 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.4.13",
"version_normalized": "5.4.13.0",
"version": "v5.4.14",
"version_normalized": "5.4.14.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "2bf2ccab581bec363191672f0df40e0c85569e1c"
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/2bf2ccab581bec363191672f0df40e0c85569e1c",
"reference": "2bf2ccab581bec363191672f0df40e0c85569e1c",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/6894d06145fefebd9a4c7272baa026a1c394a430",
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430",
"shasum": ""
},
"require": {
......@@ -16190,7 +16191,7 @@
"ext-intl": "To show region name in time zone dump",
"symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
},
"time": "2022-09-06T13:23:31+00:00",
"time": "2022-10-07T08:01:20+00:00",
"bin": [
"Resources/bin/var-dump-server"
],
......@@ -16228,7 +16229,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.13"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.14"
},
"funding": [
{
......
......@@ -3,7 +3,7 @@
'name' => 'osu-asc-webservices/d8-upstream',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '307002cfb9be8e48750eba3ef62cc6d168543882',
'reference' => 'a951dabf39faebf5051f29113cc4cde06dffbcca',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
......@@ -758,9 +758,9 @@
'dev_requirement' => false,
),
'drupal/entity_embed' => array(
'pretty_version' => '1.2.0',
'version' => '1.2.0.0',
'reference' => '8.x-1.2',
'pretty_version' => '1.3.0',
'version' => '1.3.0.0',
'reference' => '8.x-1.3',
'type' => 'drupal-module',
'install_path' => __DIR__ . '/../../web/modules/entity_embed',
'aliases' => array(),
......@@ -1594,7 +1594,7 @@
'osu-asc-webservices/d8-upstream' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '307002cfb9be8e48750eba3ef62cc6d168543882',
'reference' => 'a951dabf39faebf5051f29113cc4cde06dffbcca',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
......@@ -2154,9 +2154,9 @@
'dev_requirement' => false,
),
'symfony/console' => array(
'pretty_version' => 'v4.4.45',
'version' => '4.4.45.0',
'reference' => '28b77970939500fb04180166a1f716e75a871ef8',
'pretty_version' => 'v4.4.47',
'version' => '4.4.47.0',
'reference' => '4f40012db8d55c956406890b5720f686fee7f7b7',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/console',
'aliases' => array(),
......@@ -2277,18 +2277,18 @@
'dev_requirement' => false,
),
'symfony/http-foundation' => array(
'pretty_version' => 'v4.4.46',
'version' => '4.4.46.0',
'reference' => '7acdc97f28a48b96def93af1efd77cfc5e8776dd',
'pretty_version' => 'v4.4.47',
'version' => '4.4.47.0',
'reference' => '7eea76ae186c68466e7676e62812ce2769f96811',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/http-foundation',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/http-kernel' => array(
'pretty_version' => 'v4.4.46',
'version' => '4.4.46.0',
'reference' => 'fb72bc54f300151fadef84fce79764138b1ef943',
'pretty_version' => 'v4.4.47',
'version' => '4.4.47.0',
'reference' => '91cf5dbc9ea4d902470e596246a736179acfb79d',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/http-kernel',
'aliases' => array(),
......@@ -2412,9 +2412,9 @@
'dev_requirement' => false,
),
'symfony/serializer' => array(
'pretty_version' => 'v4.4.45',
'version' => '4.4.45.0',
'reference' => 'd19621a350491f76e2faed2afb982e0706f63252',
'pretty_version' => 'v4.4.47',
'version' => '4.4.47.0',
'reference' => '6e01d63c55657930a6de03d6e36aae50af98888d',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/serializer',
'aliases' => array(),
......@@ -2436,9 +2436,9 @@
),
),
'symfony/translation' => array(
'pretty_version' => 'v4.4.45',
'version' => '4.4.45.0',
'reference' => '4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def',
'pretty_version' => 'v4.4.47',
'version' => '4.4.47.0',
'reference' => '45036b1d53accc48fe9bab71ccd86d57eba0dd94',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/translation',
'aliases' => array(),
......@@ -2460,18 +2460,18 @@
),
),
'symfony/validator' => array(
'pretty_version' => 'v4.4.46',
'version' => '4.4.46.0',
'reference' => '51d06a00a7a8e9c45b91735932040b9f1df2c994',
'pretty_version' => 'v4.4.47',
'version' => '4.4.47.0',
'reference' => '37456082bb034cb5f2d8602471a0de6c448535b8',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/validator',
'aliases' => array(),
'dev_requirement' => false,
),
'symfony/var-dumper' => array(
'pretty_version' => 'v5.4.13',
'version' => '5.4.13.0',
'reference' => '2bf2ccab581bec363191672f0df40e0c85569e1c',
'pretty_version' => 'v5.4.14',
'version' => '5.4.14.0',
'reference' => '6894d06145fefebd9a4c7272baa026a1c394a430',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/var-dumper',
'aliases' => array(),
......
......@@ -135,6 +135,8 @@ public static function removeDecoration(OutputFormatterInterface $formatter, $st
$string = $formatter->format($string);
// remove already formatted characters
$string = preg_replace("/\033\[[^m]*m/", '', $string);
// remove terminal hyperlinks
$string = preg_replace('/\\033]8;[^;]*;[^\\033]*\\033\\\\/', '', $string);
$formatter->setDecorated($isDecorated);
return $string;
......
......@@ -201,9 +201,9 @@ public function setContentDisposition($disposition, $filename = '', $filenameFal
*/
public function prepare(Request $request)
{
parent::prepare($request);
if ($this->isInformational() || $this->isEmpty()) {
parent::prepare($request);
$this->maxlen = 0;
return $this;
......@@ -213,6 +213,8 @@ public function prepare(Request $request)
$this->headers->set('Content-Type', $this->file->getMimeType() ?: 'application/octet-stream');
}
parent::prepare($request);
$this->offset = 0;
$this->maxlen = -1;
......
......@@ -76,11 +76,11 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl
private static $freshCache = [];
public const VERSION = '4.4.46';
public const VERSION_ID = 40446;
public const VERSION = '4.4.47';
public const VERSION_ID = 40447;
public const MAJOR_VERSION = 4;
public const MINOR_VERSION = 4;
public const RELEASE_VERSION = 46;
public const RELEASE_VERSION = 47;
public const EXTRA_VERSION = '';
public const END_OF_MAINTENANCE = '11/2022';
......
......@@ -53,7 +53,7 @@ public function getClassForType(string $type): ?string
public function getMappedObjectType($object): ?string
{
foreach ($this->typesMapping as $type => $typeClass) {
if (is_a($object, $typeClass)) {
if (is_a($object, $typeClass, true)) {
return $type;
}
}
......
......@@ -9,6 +9,10 @@
* file that was distributed with this source code.
*/
if ('cli' !== \PHP_SAPI) {
throw new Exception('This script must be run from the command line.');
}
$usageInstructions = <<<END
Usage instructions
......
......@@ -386,6 +386,22 @@
<source>This value is not a valid International Securities Identification Number (ISIN).</source>
<target>Verdien er ikkje eit gyldig International Securities Identification Number (ISIN).</target>
</trans-unit>
<trans-unit id="100">
<source>This value should be a valid expression.</source>
<target>Denne verdien skal være et gyldig uttrykk.</target>
</trans-unit>
<trans-unit id="101">
<source>This value is not a valid CSS color.</source>
<target>Denne verdien er ikke en gyldig CSS-farge.</target>
</trans-unit>
<trans-unit id="102">
<source>This value is not a valid CIDR notation.</source>
<target>Denne verdien er ikke en gyldig CIDR-notasjon.</target>
</trans-unit>
<trans-unit id="103">
<source>The value of the netmask should be between {{ min }} and {{ max }}.</source>
<target>Verdien av nettmasken skal være mellom {{ min }} og {{ max }}.</target>
</trans-unit>
</body>
</file>
</xliff>
......@@ -10,6 +10,10 @@
* file that was distributed with this source code.
*/
if ('cli' !== PHP_SAPI) {
throw new Exception('This script must be run from the command line.');
}
/**
* Starts a dump server to collect and output dumps on a single place with multiple formats support.
*
......
This file was automatically generated by Composer Patches (https://github.com/cweagans/composer-patches)
Patches applied to this directory:
3077225
Source: https://www.drupal.org/files/issues/2019-12-11/3077225-10.reduce-invalid-config-logs.patch
{
"name": "drupal/entity_embed",
"description": "Allows any entity to be embedded within a text area using a WYSIWYG editor.",
"type": "drupal-module",
"homepage": "https://www.drupal.org/project/entity_embed",
"support": {
"issues": "https://www.drupal.org/project/issues/entity_embed",
"irc": "irc://irc.freenode.org/drupal-media"
},
"license": "GPL-2.0+",
"require": {
"drupal/core": "^8.8 || ^9",
"drupal/embed": "^1.3"
},
"require-dev": {
"drupal/entity_browser": "^2.2"
}
"name": "drupal/entity_embed",
"description": "Allows any entity to be embedded within a text area using a WYSIWYG editor.",
"type": "drupal-module",
"license": "GPL-2.0-or-later",
"require": {
"drupal/embed": "^1.5"
},
"require-dev": {
"drupal/entity_browser": "^2.2"
}
}
name: Entity Embed
type: module
description: 'Allows entities to be embedded using a text editor.'
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.3
package: Filters
dependencies:
- drupal:editor
- embed:embed
- drupal:filter
- drupal:system
test_dependencies:
- entity_browser:entity_browser
# Information added by Drupal.org packaging script on 2021-09-15
version: '8.x-1.2'
# Information added by Drupal.org packaging script on 2022-10-20
version: '8.x-1.3'
project: 'entity_embed'
datestamp: 1631711006
datestamp: 1666275544
......@@ -8,6 +8,7 @@ drupal.entity_embed.dialog:
dependencies:
- core/drupal
- core/jquery
- core/once
caption:
version: VERSION
......
......@@ -5,6 +5,7 @@
* Framework for allowing entities to be embedded in CKEditor.
*/
use Drupal\Component\Serialization\Json;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Field\FieldItemListInterface;
......@@ -55,6 +56,11 @@ function template_preprocess_entity_embed_container(array &$variables) {
$variables['element'] += ['#attributes' => []];
$variables['attributes'] = $variables['element']['#attributes'];
$variables['children'] = $variables['element']['#children'];
// Ensure the display settings get converted to a JSON string again.
if (isset($variables['attributes']['data-entity-embed-display-settings']) && is_array($variables['attributes']['data-entity-embed-display-settings'])) {
$variables['attributes']['data-entity-embed-display-settings'] = Json::encode($variables['attributes']['data-entity-embed-display-settings']);
}
}
/**
......@@ -152,7 +158,7 @@ function entity_embed_filter_format_edit_form_validate($form, FormStateInterface
'status',
]);
if ($entity_embed_enabled && $filter_html_enabled && $allowed_html = $form_state->getValue($allowed_html_path)) {
if ($entity_embed_enabled && $filter_html_enabled && $form_state->getValue($allowed_html_path)) {
if ($button_groups = $form_state->getValue($button_group_path)) {
$buttons = [];
$button_groups = json_decode($button_groups, TRUE);
......@@ -280,21 +286,15 @@ function entity_embed_filter_format_edit_form_validate($form, FormStateInterface
}
/**
* Implements hook_field_widget_form_alter().
* Implements hook_field_widget_single_element_form_alter().
*/
function entity_embed_field_widget_form_alter(&$element, FormStateInterface $form_state, $context) {
function entity_embed_field_widget_single_element_form_alter(&$element, FormStateInterface $form_state, $context) {
// Add a `data-entity_embed-host-entity-langcode` attribute so that
// entity_embed's JavaScript can pass the host entity's language to
// EntityEmbedDialog, allowing it to present entities in the same language.
if (!empty($element['#type']) && $element['#type'] == 'text_format') {
if (!empty($context['items']) && $context['items'] instanceof FieldItemListInterface) {
$element['#attributes']['data-entity_embed-host-entity-langcode'] = $context['items']->getLangcode();
}
else {
$entity = $form_state->getFormObject()->getEntity();
if ($entity instanceof ContentEntityInterface) {
$element['#attributes']['data-entity_embed-host-entity-langcode'] = $entity->language()->getId();
}
}
if (isset($element['#type']) && $element['#type'] === 'text_format') {
/** @var FieldItemListInterface $items */
$items = $context['items'];
$element['#attributes']['data-entity_embed-host-entity-langcode'] = $items->getEntity()->language()->getId();
}
}
......@@ -5,10 +5,3 @@ entity_embed.dialog:
_title: 'Embed entity'
requirements:
_embed_button_editor_access: 'TRUE'
entity_embed.preview:
path: '/entity-embed/preview/{filter_format}'
defaults:
_controller: '\Drupal\entity_embed\Controller\PreviewController::preview'
requirements:
_entity_access: 'filter_format.use'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment