fix: resolve all open bugs, promote CHANGELOG, harden error handling #115
+14
-5
@@ -36,8 +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-24
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -50,21 +49,30 @@ 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)
|
||||
- Fixed misleading article duplicate check comment (#98)
|
||||
|
||||
### Added
|
||||
|
||||
- SEF disabled warning in MenuslugField dropdown (#97)
|
||||
- Include Children toggle for offline-accessible menu items (defaults to Yes)
|
||||
- Auto-select default menu slugs (terms-of-service, privacy-policy) on fresh install
|
||||
|
||||
### Fixed (Manifest)
|
||||
### Removed
|
||||
|
||||
- Hardcode description in XML manifest (language variables don't resolve during install)
|
||||
- Removed deploy-manual.yml workflow — switching to Joomla update server method for extension distribution
|
||||
|
||||
### 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
|
||||
|
||||
@@ -131,7 +139,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
|
||||
|
||||
+1
-1
@@ -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'))
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user