From ed9e9e1b17f34a79c13428dc788278dcfd770c31 Mon Sep 17 00:00:00 2001 From: Benjamin Trenkle Date: Thu, 4 Jul 2024 18:42:51 +0200 Subject: [PATCH 01/32] Joomla! 4.4.6 Release Candidate 1 --- administrator/language/en-GB/install.xml | 2 +- administrator/language/en-GB/langmetadata.xml | 2 +- administrator/manifests/files/joomla.xml | 4 ++-- administrator/manifests/packages/pkg_en-GB.xml | 2 +- api/language/en-GB/install.xml | 2 +- api/language/en-GB/langmetadata.xml | 2 +- installation/language/en-GB/langmetadata.xml | 2 +- language/en-GB/install.xml | 2 +- language/en-GB/langmetadata.xml | 2 +- libraries/src/Version.php | 8 ++++---- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/administrator/language/en-GB/install.xml b/administrator/language/en-GB/install.xml index dd1543e075915..6189242ecc04b 100644 --- a/administrator/language/en-GB/install.xml +++ b/administrator/language/en-GB/install.xml @@ -3,7 +3,7 @@ English (en-GB) en-GB 4.4.6 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/administrator/language/en-GB/langmetadata.xml b/administrator/language/en-GB/langmetadata.xml index 7ef4a9c58cdd0..f5709bcc0fbbc 100644 --- a/administrator/language/en-GB/langmetadata.xml +++ b/administrator/language/en-GB/langmetadata.xml @@ -2,7 +2,7 @@ English (en-GB) 4.4.6 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/administrator/manifests/files/joomla.xml b/administrator/manifests/files/joomla.xml index 58f4a04950fc3..cf5211c31efec 100644 --- a/administrator/manifests/files/joomla.xml +++ b/administrator/manifests/files/joomla.xml @@ -6,8 +6,8 @@ www.joomla.org (C) 2019 Open Source Matters, Inc. GNU General Public License version 2 or later; see LICENSE.txt - 4.4.6-dev - 2024-05 + 4.4.6-rc1 + 2024-07 FILES_JOOMLA_XML_DESCRIPTION administrator/components/com_admin/script.php diff --git a/administrator/manifests/packages/pkg_en-GB.xml b/administrator/manifests/packages/pkg_en-GB.xml index 2ffd5eb68868a..35274e3bd127d 100644 --- a/administrator/manifests/packages/pkg_en-GB.xml +++ b/administrator/manifests/packages/pkg_en-GB.xml @@ -3,7 +3,7 @@ English (en-GB) Language Pack en-GB 4.4.6.1 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/api/language/en-GB/install.xml b/api/language/en-GB/install.xml index d1e09d59766ee..d3fb2d29c8053 100644 --- a/api/language/en-GB/install.xml +++ b/api/language/en-GB/install.xml @@ -3,7 +3,7 @@ English (en-GB) en-GB 4.4.6 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/api/language/en-GB/langmetadata.xml b/api/language/en-GB/langmetadata.xml index 7d5540fa96aa0..cd200124b38f5 100644 --- a/api/language/en-GB/langmetadata.xml +++ b/api/language/en-GB/langmetadata.xml @@ -2,7 +2,7 @@ English (en-GB) 4.4.6 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/installation/language/en-GB/langmetadata.xml b/installation/language/en-GB/langmetadata.xml index 3f26aa1cddfc2..daf99be4bc626 100644 --- a/installation/language/en-GB/langmetadata.xml +++ b/installation/language/en-GB/langmetadata.xml @@ -2,7 +2,7 @@ English (United Kingdom) 4.4.6 - 2024-05 + 2024-07 Joomla! Project (C) 2005 Open Source Matters, Inc. GNU General Public License version 2 or later; see LICENSE.txt diff --git a/language/en-GB/install.xml b/language/en-GB/install.xml index 86ad046a7c12e..265f20d3ba98b 100644 --- a/language/en-GB/install.xml +++ b/language/en-GB/install.xml @@ -3,7 +3,7 @@ English (en-GB) en-GB 4.4.6 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/language/en-GB/langmetadata.xml b/language/en-GB/langmetadata.xml index 4bbbeb1801468..c0381b7c51615 100644 --- a/language/en-GB/langmetadata.xml +++ b/language/en-GB/langmetadata.xml @@ -2,7 +2,7 @@ English (en-GB) 4.4.6 - 2024-05 + 2024-07 Joomla! Project admin@joomla.org www.joomla.org diff --git a/libraries/src/Version.php b/libraries/src/Version.php index 2f67331fbb893..7d74e34a04a66 100644 --- a/libraries/src/Version.php +++ b/libraries/src/Version.php @@ -66,7 +66,7 @@ final class Version * @var string * @since 3.8.0 */ - public const EXTRA_VERSION = 'dev'; + public const EXTRA_VERSION = 'rc1'; /** * Development status. @@ -74,7 +74,7 @@ final class Version * @var string * @since 3.5 */ - public const DEV_STATUS = 'Development'; + public const DEV_STATUS = 'Release Candidate'; /** * Code name. @@ -90,7 +90,7 @@ final class Version * @var string * @since 3.5 */ - public const RELDATE = '28-May-2024'; + public const RELDATE = '4-July-2024'; /** * Release time. @@ -98,7 +98,7 @@ final class Version * @var string * @since 3.5 */ - public const RELTIME = '16:01'; + public const RELTIME = '18:00'; /** * Release timezone. From 0434d7bd925429b49ab82561d59aaaf56faa553c Mon Sep 17 00:00:00 2001 From: Benjamin Trenkle Date: Thu, 4 Jul 2024 18:46:48 +0200 Subject: [PATCH 02/32] Revert to dev --- administrator/manifests/files/joomla.xml | 2 +- libraries/src/Version.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/administrator/manifests/files/joomla.xml b/administrator/manifests/files/joomla.xml index cf5211c31efec..b00c3299a15f8 100644 --- a/administrator/manifests/files/joomla.xml +++ b/administrator/manifests/files/joomla.xml @@ -6,7 +6,7 @@ www.joomla.org (C) 2019 Open Source Matters, Inc. GNU General Public License version 2 or later; see LICENSE.txt - 4.4.6-rc1 + 4.4.6-rc2-dev 2024-07 FILES_JOOMLA_XML_DESCRIPTION diff --git a/libraries/src/Version.php b/libraries/src/Version.php index 7d74e34a04a66..5d06cafb518e3 100644 --- a/libraries/src/Version.php +++ b/libraries/src/Version.php @@ -66,7 +66,7 @@ final class Version * @var string * @since 3.8.0 */ - public const EXTRA_VERSION = 'rc1'; + public const EXTRA_VERSION = 'rc2-dev'; /** * Development status. @@ -74,7 +74,7 @@ final class Version * @var string * @since 3.5 */ - public const DEV_STATUS = 'Release Candidate'; + public const DEV_STATUS = 'Development'; /** * Code name. @@ -98,7 +98,7 @@ final class Version * @var string * @since 3.5 */ - public const RELTIME = '18:00'; + public const RELTIME = '18:01'; /** * Release timezone. From e1c51ee2fde47075aebd39fe0fd4dc71fd26c6b2 Mon Sep 17 00:00:00 2001 From: Martin Kopp Date: Mon, 8 Jul 2024 16:02:11 +0200 Subject: [PATCH 03/32] Prepare Joomla! 4.4.6 581 --- libraries/src/Form/Field/AccessiblemediaField.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/src/Form/Field/AccessiblemediaField.php b/libraries/src/Form/Field/AccessiblemediaField.php index 2ab1b18d489a4..033f77b445d12 100644 --- a/libraries/src/Form/Field/AccessiblemediaField.php +++ b/libraries/src/Form/Field/AccessiblemediaField.php @@ -195,6 +195,9 @@ public function setup(\SimpleXMLElement $element, $value, $group = null) preview="$this->preview" preview_width="$this->previewWidth" preview_height="$this->previewHeight" + schemes="http,https,ftp,ftps,data,file" + validate="url" + relative="true" /> Date: Mon, 8 Jul 2024 16:02:13 +0200 Subject: [PATCH 04/32] Prepare Joomla! 4.4.6 585 --- .../system/js/fields/joomla-field-fancy-select.w-c.es6.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/media_source/system/js/fields/joomla-field-fancy-select.w-c.es6.js b/build/media_source/system/js/fields/joomla-field-fancy-select.w-c.es6.js index 1618bd00af6d6..b8b4f08fef222 100644 --- a/build/media_source/system/js/fields/joomla-field-fancy-select.w-c.es6.js +++ b/build/media_source/system/js/fields/joomla-field-fancy-select.w-c.es6.js @@ -239,8 +239,8 @@ window.customElements.define('joomla-field-fancy-select', class extends HTMLElem // Create and add new this.choicesInstance.setChoices([{ - value: this.newItemPrefix + event.target.value, - label: event.target.value, + value: new DOMParser().parseFromString(this.newItemPrefix + event.target.value, 'text/html').body.textContent, + label: new DOMParser().parseFromString(event.target.value, 'text/html').body.textContent, selected: true, customProperties: { value: event.target.value, // Store real value, just in case From e1eac609c57ceb84a5d9b8cde241a987ef76468f Mon Sep 17 00:00:00 2001 From: Martin Kopp Date: Mon, 8 Jul 2024 16:02:15 +0200 Subject: [PATCH 05/32] Prepare Joomla! 4.4.6 589 --- libraries/src/HTML/Helpers/StringHelper.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/src/HTML/Helpers/StringHelper.php b/libraries/src/HTML/Helpers/StringHelper.php index 1c05e89d9912e..113a7e55c6656 100644 --- a/libraries/src/HTML/Helpers/StringHelper.php +++ b/libraries/src/HTML/Helpers/StringHelper.php @@ -47,14 +47,16 @@ public static function truncate($text, $length = 0, $noSplit = true, $allowHtml // Check if HTML tags are allowed. if (!$allowHtml) { + // Decode entities + $text = html_entity_decode($text, ENT_QUOTES, 'UTF-8'); + // Deal with spacing issues in the input. $text = str_replace('>', '> ', $text); $text = str_replace([' ', ' '], ' ', $text); $text = FrameworkStringHelper::trim(preg_replace('#\s+#mui', ' ', $text)); - // Strip the tags from the input and decode entities. + // Strip tags from the input. $text = strip_tags($text); - $text = html_entity_decode($text, ENT_QUOTES, 'UTF-8'); // Remove remaining extra spaces. $text = str_replace(' ', ' ', $text); From ce38a5947661964a1e3f0d23ae889ef558f8f9d6 Mon Sep 17 00:00:00 2001 From: Martin Kopp Date: Mon, 8 Jul 2024 16:02:17 +0200 Subject: [PATCH 06/32] Prepare Joomla! 4.4.6 592 --- components/com_wrapper/tmpl/wrapper/default.xml | 2 ++ modules/mod_wrapper/mod_wrapper.xml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/com_wrapper/tmpl/wrapper/default.xml b/components/com_wrapper/tmpl/wrapper/default.xml index 7c04e6653ac44..7f8f5a304bcfa 100644 --- a/components/com_wrapper/tmpl/wrapper/default.xml +++ b/components/com_wrapper/tmpl/wrapper/default.xml @@ -16,6 +16,8 @@ diff --git a/modules/mod_wrapper/mod_wrapper.xml b/modules/mod_wrapper/mod_wrapper.xml index f998114851b4a..d7db7e4a81514 100644 --- a/modules/mod_wrapper/mod_wrapper.xml +++ b/modules/mod_wrapper/mod_wrapper.xml @@ -25,7 +25,9 @@
From 93db0360c36440679fbb8ea6a9a83266e121a84d Mon Sep 17 00:00:00 2001 From: Martin Kopp Date: Mon, 8 Jul 2024 16:02:19 +0200 Subject: [PATCH 07/32] Prepare Joomla! 4.4.6 594 --- administrator/components/com_fields/forms/field.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_fields/forms/field.xml b/administrator/components/com_fields/forms/field.xml index a25de44730f62..5d949e6a43413 100644 --- a/administrator/components/com_fields/forms/field.xml +++ b/administrator/components/com_fields/forms/field.xml @@ -90,7 +90,7 @@ name="default_value" type="textarea" label="COM_FIELDS_FIELD_DEFAULT_VALUE_LABEL" - filter="raw" + filter="safehtml" /> Date: Mon, 8 Jul 2024 16:03:30 +0200 Subject: [PATCH 08/32] Joomla! 4.4.6 Stable --- administrator/manifests/files/joomla.xml | 2 +- libraries/src/Version.php | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/administrator/manifests/files/joomla.xml b/administrator/manifests/files/joomla.xml index b00c3299a15f8..8cfb0b9c4105b 100644 --- a/administrator/manifests/files/joomla.xml +++ b/administrator/manifests/files/joomla.xml @@ -6,7 +6,7 @@ www.joomla.org (C) 2019 Open Source Matters, Inc. GNU General Public License version 2 or later; see LICENSE.txt - 4.4.6-rc2-dev + 4.4.6 2024-07 FILES_JOOMLA_XML_DESCRIPTION diff --git a/libraries/src/Version.php b/libraries/src/Version.php index 5d06cafb518e3..4da0a47da55d2 100644 --- a/libraries/src/Version.php +++ b/libraries/src/Version.php @@ -66,7 +66,7 @@ final class Version * @var string * @since 3.8.0 */ - public const EXTRA_VERSION = 'rc2-dev'; + public const EXTRA_VERSION = ''; /** * Development status. @@ -74,7 +74,7 @@ final class Version * @var string * @since 3.5 */ - public const DEV_STATUS = 'Development'; + public const DEV_STATUS = 'Stable'; /** * Code name. @@ -90,7 +90,7 @@ final class Version * @var string * @since 3.5 */ - public const RELDATE = '4-July-2024'; + public const RELDATE = '9-July-2024'; /** * Release time. @@ -98,7 +98,7 @@ final class Version * @var string * @since 3.5 */ - public const RELTIME = '18:01'; + public const RELTIME = '16:00'; /** * Release timezone. diff --git a/package.json b/package.json index 5f49e3baf389f..fd453f974b21b 100644 --- a/package.json +++ b/package.json @@ -111,4 +111,4 @@ "stylelint-order": "^5.0.0", "stylelint-scss": "^4.7.0" } -} +} \ No newline at end of file From 4fca71bcf083f0e110e0ab9bc6809f097b40fc35 Mon Sep 17 00:00:00 2001 From: Martin Kopp Date: Tue, 9 Jul 2024 18:25:32 +0200 Subject: [PATCH 09/32] Revert to dev Signed-off-by: Martin Kopp --- administrator/language/en-GB/install.xml | 2 +- administrator/language/en-GB/langmetadata.xml | 2 +- administrator/manifests/files/joomla.xml | 2 +- administrator/manifests/packages/pkg_en-GB.xml | 2 +- api/language/en-GB/install.xml | 2 +- api/language/en-GB/langmetadata.xml | 2 +- installation/language/en-GB/langmetadata.xml | 2 +- language/en-GB/install.xml | 2 +- language/en-GB/langmetadata.xml | 2 +- libraries/src/Version.php | 8 ++++---- package.json | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/administrator/language/en-GB/install.xml b/administrator/language/en-GB/install.xml index 6189242ecc04b..4bcba1e808c7c 100644 --- a/administrator/language/en-GB/install.xml +++ b/administrator/language/en-GB/install.xml @@ -2,7 +2,7 @@ English (en-GB) en-GB - 4.4.6 + 4.4.7 2024-07 Joomla! Project admin@joomla.org diff --git a/administrator/language/en-GB/langmetadata.xml b/administrator/language/en-GB/langmetadata.xml index f5709bcc0fbbc..ac08de35905ee 100644 --- a/administrator/language/en-GB/langmetadata.xml +++ b/administrator/language/en-GB/langmetadata.xml @@ -1,7 +1,7 @@ English (en-GB) - 4.4.6 + 4.4.7 2024-07 Joomla! Project admin@joomla.org diff --git a/administrator/manifests/files/joomla.xml b/administrator/manifests/files/joomla.xml index 8cfb0b9c4105b..fd3629a487f6f 100644 --- a/administrator/manifests/files/joomla.xml +++ b/administrator/manifests/files/joomla.xml @@ -6,7 +6,7 @@ www.joomla.org (C) 2019 Open Source Matters, Inc. GNU General Public License version 2 or later; see LICENSE.txt - 4.4.6 + 4.4.7-dev 2024-07 FILES_JOOMLA_XML_DESCRIPTION diff --git a/administrator/manifests/packages/pkg_en-GB.xml b/administrator/manifests/packages/pkg_en-GB.xml index 35274e3bd127d..765295bb1b86e 100644 --- a/administrator/manifests/packages/pkg_en-GB.xml +++ b/administrator/manifests/packages/pkg_en-GB.xml @@ -2,7 +2,7 @@ English (en-GB) Language Pack en-GB - 4.4.6.1 + 4.4.7.1 2024-07 Joomla! Project admin@joomla.org diff --git a/api/language/en-GB/install.xml b/api/language/en-GB/install.xml index d3fb2d29c8053..11bfab02da3d7 100644 --- a/api/language/en-GB/install.xml +++ b/api/language/en-GB/install.xml @@ -2,7 +2,7 @@ English (en-GB) en-GB - 4.4.6 + 4.4.7 2024-07 Joomla! Project admin@joomla.org diff --git a/api/language/en-GB/langmetadata.xml b/api/language/en-GB/langmetadata.xml index cd200124b38f5..84978b6b1d3ee 100644 --- a/api/language/en-GB/langmetadata.xml +++ b/api/language/en-GB/langmetadata.xml @@ -1,7 +1,7 @@ English (en-GB) - 4.4.6 + 4.4.7 2024-07 Joomla! Project admin@joomla.org diff --git a/installation/language/en-GB/langmetadata.xml b/installation/language/en-GB/langmetadata.xml index daf99be4bc626..4c10f25a08b96 100644 --- a/installation/language/en-GB/langmetadata.xml +++ b/installation/language/en-GB/langmetadata.xml @@ -1,7 +1,7 @@ English (United Kingdom) - 4.4.6 + 4.4.7 2024-07 Joomla! Project (C) 2005 Open Source Matters, Inc. diff --git a/language/en-GB/install.xml b/language/en-GB/install.xml index 265f20d3ba98b..82887e08e6c02 100644 --- a/language/en-GB/install.xml +++ b/language/en-GB/install.xml @@ -2,7 +2,7 @@ English (en-GB) en-GB - 4.4.6 + 4.4.7 2024-07 Joomla! Project admin@joomla.org diff --git a/language/en-GB/langmetadata.xml b/language/en-GB/langmetadata.xml index c0381b7c51615..e1755842d0f49 100644 --- a/language/en-GB/langmetadata.xml +++ b/language/en-GB/langmetadata.xml @@ -1,7 +1,7 @@ English (en-GB) - 4.4.6 + 4.4.7 2024-07 Joomla! Project admin@joomla.org diff --git a/libraries/src/Version.php b/libraries/src/Version.php index 4da0a47da55d2..7cc56a9df0a48 100644 --- a/libraries/src/Version.php +++ b/libraries/src/Version.php @@ -55,7 +55,7 @@ final class Version * @var integer * @since 3.8.0 */ - public const PATCH_VERSION = 6; + public const PATCH_VERSION = 7; /** * Extra release version info. @@ -66,7 +66,7 @@ final class Version * @var string * @since 3.8.0 */ - public const EXTRA_VERSION = ''; + public const EXTRA_VERSION = 'dev'; /** * Development status. @@ -74,7 +74,7 @@ final class Version * @var string * @since 3.5 */ - public const DEV_STATUS = 'Stable'; + public const DEV_STATUS = 'Development'; /** * Code name. @@ -98,7 +98,7 @@ final class Version * @var string * @since 3.5 */ - public const RELTIME = '16:00'; + public const RELTIME = '16:01'; /** * Release timezone. diff --git a/package.json b/package.json index fd453f974b21b..de22c7687e3e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "joomla", - "version": "4.4.6", + "version": "4.4.7", "description": "Joomla CMS", "license": "GPL-2.0-or-later", "repository": { From 25168d3a9b6c007981a14d7de1382f9c5e3f763e Mon Sep 17 00:00:00 2001 From: Quy Date: Wed, 10 Jul 2024 12:45:26 -0700 Subject: [PATCH 10/32] [4.4] Fix display of total votes (#43740) * Fix display of total votes * phpcs * cs --- plugins/content/vote/tmpl/rating.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/content/vote/tmpl/rating.php b/plugins/content/vote/tmpl/rating.php index 2c1287628f0d4..e0f2a78b290ca 100644 --- a/plugins/content/vote/tmpl/rating.php +++ b/plugins/content/vote/tmpl/rating.php @@ -79,17 +79,17 @@ ?>