From 7f93ed558220b033ab68e808049cb333930e89d5 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Sat, 4 Apr 2026 12:44:51 -0500 Subject: [PATCH] fix: version consistency and line lengths - Bump composer.json version to 02.00.00 (was 01.00.00 from main) - Bump version headers in CHANGELOG, CONTRIBUTING, CODE_OF_CONDUCT, LICENSE.md, and all docs/ files to 02.00.00 - Wrap license headers in PHP files to stay under 120 chars - Wrap long error message strings in MokoWaaS.php Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 2 +- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 4 ++-- LICENSE.md | 2 +- composer.json | 2 +- docs/guides/build-guide.md | 4 ++-- docs/guides/installation-guide.md | 4 ++-- docs/guides/operations-guide.md | 4 ++-- docs/guides/rollback-and-recovery-guide.md | 4 ++-- docs/guides/troubleshooting-guide.md | 4 ++-- docs/guides/upgrade-and-versioning-guide.md | 4 ++-- docs/index.md | 4 ++-- docs/plugin-basic.md | 4 ++-- src/Extension/MokoWaaS.php | 19 ++++++++++++++----- src/script.php | 10 ++++++++-- src/services/provider.php | 10 ++++++++-- 16 files changed, 52 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12d54086..abda716d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ INGROUP: MokoWaaS.Documentation REPO: https://github.com/mokoconsulting-tech/mokowaas PATH: ./CHANGELOG.md - VERSION: 01.04.00 + VERSION: 02.00.00 BRIEF: Version history using `Keep a Changelog` --> diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index f0dc066a..a7cc225b 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -14,7 +14,7 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Documentation REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.03.00 + VERSION: 02.00.00 PATH: ./CODE_OF_CONDUCT.md BRIEF: Reference + packaging repo for Moko Consulting Developer GPT Other Default --> diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5fd5da8c..e6f4468f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,12 +10,12 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Contributing REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.03.00 + VERSION: 02.00.00 PATH: /CONTRIBUTING.md BRIEF: Contribution guidelines for the MokoWaaS plugin --> -# Contributing to MokoWaaS (VERSION: 01.03.00) +# Contributing to MokoWaaS (VERSION: 02.00.00) ## Overview Contributions to the MokoWaaS plugin follow standardized development, governance, and quality control expectations defined by Moko Consulting. This document outlines contribution requirements, acceptable change types, branch management, testing expectations, and release readiness standards. diff --git a/LICENSE.md b/LICENSE.md index ce737adc..ec3ceeb8 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -15,7 +15,7 @@ INGROUP: MokoWaaS.Documentation REPO: https://github.com/mokoconsulting-tech/mokowaas PATH: ./LICENSE.md - VERSION: 01.03.00 + VERSION: 02.00.00 BRIEF: Project license (GPL-3.0-or-later) --> GNU GENERAL PUBLIC LICENSE diff --git a/composer.json b/composer.json index 232e7981..beaa807c 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "mokoconsulting-tech/mokowaas", "description": "MokoWaaS Joomla component by Moko Consulting", "type": "joomla-component", - "version": "01.00.00", + "version": "02.00.00", "license": "GPL-3.0-or-later", "authors": [ { diff --git a/docs/guides/build-guide.md b/docs/guides/build-guide.md index 849f87a2..62c6f4e4 100644 --- a/docs/guides/build-guide.md +++ b/docs/guides/build-guide.md @@ -11,13 +11,13 @@ INGROUP: MokoWaaS.Build REPO: https://github.com/mokoconsulting-tech/mokowaas FILE: build-guide.md - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/guides/ BRIEF: Build and packaging guide for the MokoWaaS system plugin NOTE: Defines environment setup, repository layout, packaging rules, and release preparation --> -# MokoWaaS Build Guide (VERSION: 01.04.00) +# MokoWaaS Build Guide (VERSION: 02.00.00) ## 1. Purpose diff --git a/docs/guides/installation-guide.md b/docs/guides/installation-guide.md index 2b0edec9..dd75bde9 100644 --- a/docs/guides/installation-guide.md +++ b/docs/guides/installation-guide.md @@ -10,13 +10,13 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Guides REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/guides/installation-guide.md BRIEF: Installation guide for the MokoWaaS system plugin NOTE: First document in the guide set --> -# MokoWaaS Installation Guide (VERSION: 01.04.00) +# MokoWaaS Installation Guide (VERSION: 02.00.00) ## Introduction diff --git a/docs/guides/operations-guide.md b/docs/guides/operations-guide.md index ebb14d19..0c2c6ba0 100644 --- a/docs/guides/operations-guide.md +++ b/docs/guides/operations-guide.md @@ -10,13 +10,13 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Guides REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/guides/operations-guide.md BRIEF: Operational guide for administering and managing the MokoWaaS system plugin NOTE: Defines lifecycle, responsibilities, and operational behaviors --> -# MokoWaaS Operations Guide (VERSION: 01.04.00) +# MokoWaaS Operations Guide (VERSION: 02.00.00) ## Introduction diff --git a/docs/guides/rollback-and-recovery-guide.md b/docs/guides/rollback-and-recovery-guide.md index 7bc25cb7..5eb0945a 100644 --- a/docs/guides/rollback-and-recovery-guide.md +++ b/docs/guides/rollback-and-recovery-guide.md @@ -10,13 +10,13 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Guides REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/guides/rollback-and-recovery-guide.md BRIEF: Rollback and recovery guide for restoring stable operation after plugin related incidents NOTE: Completes the core guide set for WaaS plugin governance --> -# MokoWaaS Rollback and Recovery Guide (VERSION: 01.04.00) +# MokoWaaS Rollback and Recovery Guide (VERSION: 02.00.00) ## Introduction diff --git a/docs/guides/troubleshooting-guide.md b/docs/guides/troubleshooting-guide.md index 4e534b4c..b3e218c0 100644 --- a/docs/guides/troubleshooting-guide.md +++ b/docs/guides/troubleshooting-guide.md @@ -10,13 +10,13 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Guides REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/guides/troubleshooting-guide.md BRIEF: Troubleshooting guide for diagnosing and resolving issues related to the MokoWaaS plugin NOTE: Designed for administrators and WaaS operations teams --> -# MokoWaaS Troubleshooting Guide (VERSION: 01.04.00) +# MokoWaaS Troubleshooting Guide (VERSION: 02.00.00) ## Introduction diff --git a/docs/guides/upgrade-and-versioning-guide.md b/docs/guides/upgrade-and-versioning-guide.md index 071cd00d..7d9326f4 100644 --- a/docs/guides/upgrade-and-versioning-guide.md +++ b/docs/guides/upgrade-and-versioning-guide.md @@ -10,13 +10,13 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Guides REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/guides/upgrade-and-versioning-guide.md BRIEF: Guide for updating, versioning, and maintaining the MokoWaaS plugin NOTE: Defines release flow, version rules, and upgrade validation --> -# MokoWaaS Upgrade and Versioning Guide (VERSION: 01.04.00) +# MokoWaaS Upgrade and Versioning Guide (VERSION: 02.00.00) ## Introduction diff --git a/docs/index.md b/docs/index.md index acf396bb..ac95a692 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,13 +10,13 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS.Documentation REPO: https://github.com/mokoconsulting-tech/mokowaas - VERSION: 01.04.00 + VERSION: 02.00.00 PATH: /docs/index.md BRIEF: Master index of all documentation for the MokoWaaS plugin NOTE: Automatically maintained index for all guide canvases --> -# MokoWaaS Documentation Index (VERSION: 01.04.00) +# MokoWaaS Documentation Index (VERSION: 02.00.00) ## Introduction diff --git a/docs/plugin-basic.md b/docs/plugin-basic.md index 5fd6295f..ee5b7eaf 100644 --- a/docs/plugin-basic.md +++ b/docs/plugin-basic.md @@ -11,12 +11,12 @@ INGROUP: MokoWaaS REPO: https://github.com/mokoconsulting-tech/mokowaas PATH: /docs/plugin-basic.md - VERSION: 01.04.00 + VERSION: 02.00.00 BRIEF: Baseline documentation for the MokoWaaS system plugin NOTE: Foundational reference for internal and external stakeholders --> -# MokoWaaS Plugin Overview (VERSION: 01.04.00) +# MokoWaaS Plugin Overview (VERSION: 02.00.00) ## Introduction diff --git a/src/Extension/MokoWaaS.php b/src/Extension/MokoWaaS.php index 3d596475..e9cc96c3 100644 --- a/src/Extension/MokoWaaS.php +++ b/src/Extension/MokoWaaS.php @@ -6,9 +6,15 @@ * * SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later * - * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License (./LICENSE.md). * @@ -140,7 +146,8 @@ class MokoWaaS extends CMSPlugin { // File exists — user hasn't deleted it yet. Tell them to. $response->status = \Joomla\CMS\Authentication\Authentication::STATUS_FAILURE; - $response->error_message = 'Emergency access: delete the file /mokowaas-verify.php from the server root to confirm access.'; + $response->error_message = 'Emergency access: delete /mokowaas-verify.php ' + . 'from the server root to confirm access.'; return; } @@ -151,12 +158,14 @@ class MokoWaaS extends CMSPlugin if (!file_exists($flagFile)) { // First attempt: create the verification file and the flag - $verifyContent = "\n"; + $verifyContent = "\n"; file_put_contents($verifyFile, $verifyContent); file_put_contents($flagFile, date('Y-m-d H:i:s')); $response->status = \Joomla\CMS\Authentication\Authentication::STATUS_FAILURE; - $response->error_message = 'Emergency access: a verification file has been created at /mokowaas-verify.php — delete it from the server to confirm access.'; + $response->error_message = 'Emergency access: verification file created ' + . 'at /mokowaas-verify.php — delete it to confirm.'; return; } diff --git a/src/script.php b/src/script.php index f160b8cb..811c24ad 100644 --- a/src/script.php +++ b/src/script.php @@ -6,9 +6,15 @@ * * SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later * - * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License (./LICENSE.md). * diff --git a/src/services/provider.php b/src/services/provider.php index 7b97ccbc..2fdb9b1c 100644 --- a/src/services/provider.php +++ b/src/services/provider.php @@ -6,9 +6,15 @@ * * SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later * - * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. * * You should have received a copy of the GNU General Public License (./LICENSE.md). *