From 12592dc390a88fc3559254e52b936b40c3fe1a55 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 23 May 2026 22:52:45 -0500 Subject: [PATCH 1/5] fix: dev channel targetplatform, catch Throwable, promote CHANGELOG - Fix dev channel targetplatform to include Joomla 4.x (#111) - Promote CHANGELOG [Unreleased] to [04.02.01] (#112) - Change catch(Exception) to catch(Throwable) in MokoJoomTOS.php (#113) Closes: #111, #112, #113 Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 14 ++++++++++---- src/src/Extension/MokoJoomTOS.php | 2 +- updates.xml | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa6c14..0bda302 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [04.02.01] - 2026-05-23 + ### Fixed - enablePlugin() now called unconditionally in postflight() (#89) @@ -47,21 +49,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Applied urldecode() to URI path before slug comparison (#95) - Cast Registry return to array before iterating slugs (#96) - Fixed MenuslugField separator `disable` to `disabled` property (#99) +- Hardcode description in XML manifest (language variables don't resolve during install) +- Synced VERSION header in manifest to 04.02.01 (#105) +- Added SEF_WARNING language key to site-side .ini files (#106) +- Fixed updates.xml version mismatch and Joomla 4.x targetplatform (#107) +- Changed catch(Exception) to catch(Throwable) in script.php and Extension class (#108, #113) +- Fixed dev channel targetplatform to include Joomla 4.x (#111) ### Added - SEF disabled warning in MenuslugField dropdown (#97) - Include Children toggle for offline-accessible menu items (defaults to Yes) - -### Fixed (Manifest) - -- Hardcode description in XML manifest (language variables don't resolve during install) +- Auto-select default menu slugs (terms-of-service, privacy-policy) on fresh install ### Changed - Stripped legacy mokojoomtos.php to minimal stub (#101) - Converted script.php indentation from spaces to tabs (#102) - Renamed installer class to PlgSystemMokojoomtosInstallerScript (#103) +- Promoted CHANGELOG [Unreleased] to versioned section (#112) ## [04.01.00] - 2026-05-16 diff --git a/src/src/Extension/MokoJoomTOS.php b/src/src/Extension/MokoJoomTOS.php index f5bb099..d0f9075 100644 --- a/src/src/Extension/MokoJoomTOS.php +++ b/src/src/Extension/MokoJoomTOS.php @@ -218,7 +218,7 @@ final class MokoJoomTOS extends CMSPlugin implements SubscriberInterface } } } - catch (\Exception $e) + catch (\Throwable $e) { // Silently fail — do not bypass offline mode on error } diff --git a/updates.xml b/updates.xml index 22ac796..0546f28 100644 --- a/updates.xml +++ b/updates.xml @@ -22,7 +22,7 @@ development Moko Consulting https://mokoconsulting.tech - + System - Moko Terms of Service -- 2.52.0 From 458043d2e6c97c3d5c3660892dd219b9e47934e9 Mon Sep 17 00:00:00 2001 From: "gitea-actions[bot]" Date: Sun, 24 May 2026 03:53:13 +0000 Subject: [PATCH 2/5] chore: update updates.xml (development: 04.02.01-dev) [skip ci] --- updates.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/updates.xml b/updates.xml index 0546f28..adac93d 100644 --- a/updates.xml +++ b/updates.xml @@ -13,16 +13,16 @@ site system 04.02.01 - 2026-05-23 + 2026-05-24 https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/tag/development https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/download/development/mokojoomtos-04.02.01-dev.zip - 7e2db0e8945f7b0ff5e2a5cd1bd85329c59000f1c77971f7c113e37b24201b72 + d4653ef787f1a98c5ca8e350ae3b7ae3e0ed48cf38c5b09d0becec840252daa2 development Moko Consulting https://mokoconsulting.tech - + System - Moko Terms of Service -- 2.52.0 From dc2d49f18da73a003b7c2aa2760214e2491430cf Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 23 May 2026 23:16:50 -0500 Subject: [PATCH 3/5] chore: fix misleading comment, add CHANGELOG comparison links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix #98 comment to accurately describe alias-only check - Add [04.02.01] comparison link to CHANGELOG (#100) - Close #100 (duplicate was a false positive — standard format) Closes: #98, #100 Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 3 ++- src/script.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bda302..4f7a2dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -134,7 +134,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [Releases](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases) [Unreleased]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/compare/stable...dev -[04.01.00]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/tag/stable +[04.02.01]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/tag/stable +[04.01.00]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/compare/v04.01.00...stable [04.00.00]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/compare/v03.09.00...stable [03.09.00]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/tag/v03.09.00 [1.0.0]: https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/tag/v1.0.0 diff --git a/src/script.php b/src/script.php index 20adb63..835bef2 100644 --- a/src/script.php +++ b/src/script.php @@ -148,7 +148,7 @@ class PlgSystemMokojoomtosInstallerScript extends InstallerScript try { $db = Factory::getDbo(); - // Check if Terms of Service article already exists (with catid filter) + // Check if Terms of Service article already exists (by alias, any category) $query = $db->getQuery(true) ->select('id') ->from($db->quoteName('#__content')) -- 2.52.0 From 4dfac0a81ef3b5ed75043a48236c44f01dbd0734 Mon Sep 17 00:00:00 2001 From: "gitea-actions[bot]" Date: Sun, 24 May 2026 04:17:22 +0000 Subject: [PATCH 4/5] chore: update updates.xml (development: 04.02.01-dev) [skip ci] --- updates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updates.xml b/updates.xml index adac93d..933d9a2 100644 --- a/updates.xml +++ b/updates.xml @@ -18,7 +18,7 @@ https://git.mokoconsulting.tech/MokoConsulting/MokoJoomTOS/releases/download/development/mokojoomtos-04.02.01-dev.zip - d4653ef787f1a98c5ca8e350ae3b7ae3e0ed48cf38c5b09d0becec840252daa2 + 0259afce18c9d1b01ee30cdb27f674f2c0998102d68d7f47fe5a17d48f8bfff4 development Moko Consulting https://mokoconsulting.tech -- 2.52.0 From 4a48dc315030df800b6fe8e9b1edcddf87563373 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 23 May 2026 23:30:54 -0500 Subject: [PATCH 5/5] chore: promote CHANGELOG entries to [04.02.01], update date Move Removed section into [04.02.01], add #98 fix entry, update release date to 2026-05-24. Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cfd167..8671622 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,10 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Removed -- Removed deploy-manual.yml workflow — switching to Joomla update server method for extension distribution - -## [04.02.01] - 2026-05-23 +## [04.02.01] - 2026-05-24 ### Fixed @@ -58,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed updates.xml version mismatch and Joomla 4.x targetplatform (#107) - Changed catch(Exception) to catch(Throwable) in script.php and Extension class (#108, #113) - Fixed dev channel targetplatform to include Joomla 4.x (#111) +- Fixed misleading article duplicate check comment (#98) ### Added @@ -65,6 +63,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Include Children toggle for offline-accessible menu items (defaults to Yes) - Auto-select default menu slugs (terms-of-service, privacy-policy) on fresh install +### Removed + +- Removed deploy-manual.yml workflow — switching to Joomla update server method for extension distribution + ### Changed - Stripped legacy mokojoomtos.php to minimal stub (#101) -- 2.52.0