diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..7af9764 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,10 @@ +{ + "permissions": { + "allow": [ + "Bash(git checkout:*)", + "Bash(grep:*)", + "Bash(git mv:*)", + "Bash(git add:*)" + ] + } +} diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index fa99681..ffd3e3c 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,17 +1,17 @@ -# Copilot Instructions for MokoWaaS-Brand +# Copilot Instructions for MokoWaaS This is a **Joomla 5.x system plugin** written in PHP 8.1+ that provides a comprehensive identity override layer for the MokoWaaS platform. It replaces Joomla branding with MokoWaaS terminology across both the administrator backend and frontend interfaces. ## Repository Structure ``` -MokoWaaSBrand/ +MokoWaaS/ ├── src/ # Installable plugin source (zipped for release) -│ └── plugins/system/mokowaasbrand/ -│ ├── mokowaasbrand.xml # Joomla plugin manifest +│ └── plugins/system/mokowaas/ +│ ├── mokowaas.xml # Joomla plugin manifest │ ├── script.php # Installation/upgrade script │ ├── services/provider.php # DI service provider (Joomla 5.x) -│ ├── src/Extension/MokoWaaSBrand.php # Main plugin class +│ ├── src/Extension/MokoWaaS.php # Main plugin class │ ├── language/ # Frontend language files and overrides │ └── administrator/language/ # Administrator language files and overrides ├── docs/ # Documentation @@ -56,8 +56,8 @@ find src -type f -name "*.php" -print0 | xargs -0 -n 1 -P 4 php -l ### Build Installable ZIP ```bash -cd src/plugins/system/mokowaasbrand -zip -r ../../../../dist/MokoWaaSBrand-.zip . +cd src/plugins/system/mokowaas +zip -r ../../../../dist/MokoWaaS-.zip . ``` ### CI Pipeline (runs on every PR and push to `main`/`version/*`) @@ -85,8 +85,8 @@ Every PHP, XML, shell, and Markdown file must include: ``` # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand[.] - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS[.] + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: PATH: / BRIEF: @@ -94,8 +94,8 @@ Every PHP, XML, shell, and Markdown file must include: ### Joomla 5.x Plugin Architecture -- Plugin namespace: `Moko\Plugin\System\MokoWaaSBrand` (declared **before** `defined('_JEXEC')`) -- Main class: `MokoWaaSBrand` in `src/Extension/MokoWaaSBrand.php` +- Plugin namespace: `Moko\Plugin\System\MokoWaaS` (declared **before** `defined('_JEXEC')`) +- Main class: `MokoWaaS` in `src/Extension/MokoWaaS.php` - Service provider: `services/provider.php` registers the plugin via DI container - All methods implementing `InstallerScriptInterface` must have explicit `: bool` return types - Avoid deprecated Joomla APIs; use Joomla 5.x event-driven patterns @@ -112,7 +112,7 @@ Every PHP, XML, shell, and Markdown file must include: - Versioning: `MAJOR.MINOR.PATCH` with zero-padded two-digit components (e.g., `01.06.00`) — this is intentional per MokoStandards for consistent sorting and display - Version must be updated consistently across: - - `src/plugins/system/mokowaasbrand/mokowaasbrand.xml` + - `src/plugins/system/mokowaas/mokowaas.xml` - All PHP file headers - `CHANGELOG.md` - `updates.xml` diff --git a/.github/workflows/release_from_version.yml b/.github/workflows/release_from_version.yml index b6f3a3a..dc90a0e 100644 --- a/.github/workflows/release_from_version.yml +++ b/.github/workflows/release_from_version.yml @@ -337,14 +337,14 @@ jobs: return elem # Update all fields - set_element(update, "name", "MokoWaaS-Brand") - set_element(update, "description", "MokoWaaS-Brand system plugin for Joomla") - set_element(update, "element", "mokowaasbrand") + set_element(update, "name", "MokoWaaS") + set_element(update, "description", "MokoWaaS system plugin for Joomla") + set_element(update, "element", "mokowaas") set_element(update, "type", "plugin") set_element(update, "folder", "system") set_element(update, "client", "site") set_element(update, "version", version) - set_element(update, "infourl", "https://github.com/mokoconsulting-tech/mokowaasbrand", {"title": "MokoWaaS-Brand"}) + set_element(update, "infourl", "https://github.com/mokoconsulting-tech/mokowaas", {"title": "MokoWaaS"}) # Update downloads section downloads = update.find("downloads") @@ -367,7 +367,7 @@ jobs: if targetplatform is None: targetplatform = ET.SubElement(update, "targetplatform", {"name": "joomla", "version": "5\\.[0-9]"}) - set_element(update, "category", "MokoWaaS-Brand") + set_element(update, "category", "MokoWaaS") # Write the updated XML with proper formatting ET.indent(tree, space=" ", level=0) diff --git a/.github/workflows/updateserver.yml b/.github/workflows/updateserver.yml index cc22810..19489fb 100644 --- a/.github/workflows/updateserver.yml +++ b/.github/workflows/updateserver.yml @@ -19,13 +19,13 @@ permissions: issues: write env: - EXT_NAME: "MokoWaaS-Brand" - EXT_ELEMENT: "mokowaasbrand" + EXT_NAME: "MokoWaaS" + EXT_ELEMENT: "mokowaas" EXT_TYPE: "plugin" EXT_FOLDER: "system" EXT_CLIENT: "site" - EXT_INFOURL: "https://github.com/mokoconsulting-tech/mokowaasbrand" - EXT_CATEGORY: "MokoWaaS-Brand" + EXT_INFOURL: "https://github.com/mokoconsulting-tech/mokowaas" + EXT_CATEGORY: "MokoWaaS" jobs: update-server: diff --git a/CHANGELOG.md b/CHANGELOG.md index e75f005..12d5408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,8 @@ # FILE INFORMATION DEFGROUP: - INGROUP: MokoWaaS-Brand.Documentation - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Documentation + REPO: https://github.com/mokoconsulting-tech/mokowaas PATH: ./CHANGELOG.md VERSION: 01.04.00 BRIEF: Version history using `Keep a Changelog` @@ -20,7 +20,7 @@ # Changelog -All notable changes to the MokoWaaS-Brand plugin will be documented in this file. +All notable changes to the MokoWaaS plugin will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). @@ -36,17 +36,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Complete Joomla 5.x system plugin implementation with modern architecture -- Main plugin class (`src/mokowaasbrand.php`) with event handlers: +- Main plugin class (`src/mokowaas.php`) with event handlers: - `onAfterInitialise` event hook for framework initialization - `onAfterRoute` event hook for routing integration -- Plugin manifest (`src/mokowaasbrand.xml`) with Joomla 5.x namespace support - - Namespace: `Moko\Plugin\System\MokoWaaSBrand` +- Plugin manifest (`src/mokowaas.xml`) with Joomla 5.x namespace support + - Namespace: `Moko\Plugin\System\MokoWaaS` - Configuration parameter for enabling/disabling branding - Dependency injection service provider (`src/services/provider.php`) - DI container registration for Joomla 5.x compatibility - Plugin language files in `src/language/en-GB/`: - - `plg_system_mokowaasbrand.ini` - Plugin UI strings - - `plg_system_mokowaasbrand.sys.ini` - System/installation strings + - `plg_system_mokowaas.ini` - Plugin UI strings + - `plg_system_mokowaas.sys.ini` - System/installation strings - Enhanced language overrides (57+ strings): - Installation sample data branding - Site name labels @@ -134,7 +134,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.0.0] - 2025-12-11 ### Added -- Initial release of MokoWaaS-Brand plugin +- Initial release of MokoWaaS plugin - Basic language override system for Joomla rebranding - Frontend language overrides (en-GB, en-US) - Administrator language overrides (en-GB, en-US) @@ -217,7 +217,7 @@ When adding entries to this changelog: - [MokoStandards](https://github.com/mokoconsulting-tech/MokoStandards) - Coding and documentation standards - [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Changelog format specification - [Semantic Versioning](https://semver.org/spec/v2.0.0.html) - Version numbering specification -- [Repository](https://github.com/mokoconsulting-tech/mokowaasbrand) - Project repository +- [Repository](https://github.com/mokoconsulting-tech/mokowaas) - Project repository --- diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 4e28de1..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,318 +0,0 @@ - - -# What This Repo Is - -**MokoWaaS-Brand** (https://github.com/mokoconsulting-tech/MokoWaaSBrand) is a Joomla 5.x system plugin that provides a comprehensive identity override layer for the MokoWaaS platform. It replaces Joomla branding with MokoWaaS terminology across both the administrator backend and frontend interfaces by injecting language override strings at runtime. It is deployed exclusively within the MokoWaaS WaaS delivery stack by Moko Consulting. It is not a standalone template, not a general-purpose library, and not a monorepo root — it is a single installable Joomla system plugin distributed as a ZIP archive built from the `src/` directory. - -# Repo Structure - -``` -MokoWaaSBrand/ -├── src/ # Installable plugin source — everything here is zipped for release -│ └── plugins/system/mokowaasbrand/ -│ ├── mokowaasbrand.xml # Joomla plugin manifest: version, files list, config params, update server -│ ├── script.php # InstallerScriptInterface implementation: handles install/update/uninstall -│ ├── services/ -│ │ └── provider.php # Joomla 5.x DI container service provider — registers the plugin class -│ ├── src/Extension/ -│ │ └── MokoWaaSBrand.php # Main plugin class (namespace: Moko\Plugin\System\MokoWaaSBrand\Extension) -│ ├── language/ # Frontend language files -│ │ ├── en-GB/ # plg_system_mokowaasbrand.ini + en-GB.override.ini -│ │ ├── en-US/ # plg_system_mokowaasbrand.ini + en-US.override.ini -│ │ └── overrides/ # Runtime-loaded frontend override files -│ └── administrator/ -│ └── language/ # Administrator-side language files -│ ├── en-GB/ # plg_system_mokowaasbrand.sys.ini + en-GB.override.ini -│ ├── en-US/ # plg_system_mokowaasbrand.sys.ini + en-US.override.ini -│ └── overrides/ # Runtime-loaded admin override files -├── docs/ # All project documentation -│ ├── guides/ # Operational guides: build, install, config, ops, upgrade, rollback, troubleshooting -│ ├── reference/ # Reference material: plugin-overview.md -│ ├── index.md # Documentation index -│ └── plugin-basic.md # Plugin basics overview -├── scripts/ # Build and validation shell scripts -│ ├── validate_manifest.sh # Validates mokowaasbrand.xml structure and required fields -│ ├── verify_changelog.sh # Checks CHANGELOG.md format -│ └── update_changelog.sh # Inserts a new version header into CHANGELOG.md -├── .github/ -│ ├── workflows/ -│ │ ├── ci.yml # PR validation pipeline: PHP lint, manifest, changelog -│ │ ├── build.yml # ZIP packaging triggered on release events -│ │ ├── release_from_version.yml # Automated release from version/* branches -│ │ └── ... # Additional branch management and update-server workflows -│ ├── ISSUE_TEMPLATE/ # Structured GitHub issue templates -│ └── pull_request_template.md # Standard PR checklist template -├── phpcs.xml # PHP_CodeSniffer config (PSR-12 base + MokoStandards rules) -├── phpstan.neon # PHPStan static analysis config (level 5) -├── psalm.xml # Psalm static analysis config (error level 4) -├── .editorconfig # Per-language indentation and encoding rules -├── .gitmessage # Conventional Commits commit message template -├── CHANGELOG.md # Version history (Keep a Changelog format) -├── updates.xml # Joomla update server manifest (auto-maintained by CI) -└── LICENSE.md # GPL-3.0-or-later -``` - -# File Header Requirements - -Every PHP, XML, shell, and Markdown file must include a full SPDX license header followed by a FILE INFORMATION metadata block. JSON files, binary files, generated files, and `index.html` security stubs are exempt. - -## Full header format - -**PHP files:** - -```php - - * - * This file is part of a Moko Consulting project. - * - * 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 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). - * - * FILE INFORMATION - * DEFGROUP: Joomla.Plugin - * INGROUP: MokoWaaS-Brand - * REPO: https://github.com/mokoconsulting-tech/MokoWaaSBrand - * VERSION: 01.06.00 - * PATH: /src/plugins/system/mokowaasbrand/src/Extension/MokoWaaSBrand.php - * BRIEF: Main plugin class for MokoWaaS-Brand system plugin - */ -``` - -**XML files:** Same content inside ``. **Markdown files:** Same content inside ``. **Shell scripts:** Same content as `#` line comments. - -## FILE INFORMATION block fields - -| Field | Required | Description | -|-------|----------|-------------| -| `DEFGROUP` | Yes | Always `Joomla.Plugin` for all files in this repo | -| `INGROUP` | Yes | `MokoWaaS-Brand` or `MokoWaaS-Brand.` (e.g. `MokoWaaS-Brand.Build`) | -| `REPO` | Yes | `https://github.com/mokoconsulting-tech/MokoWaaSBrand` | -| `VERSION` | Yes | Must match `` in `mokowaasbrand.xml` (e.g. `01.06.00`) | -| `PATH` | Yes | Absolute path from repo root (e.g. `/src/plugins/system/mokowaasbrand/script.php`) | -| `BRIEF` | Yes | Single-line description of the file's purpose | -| `NOTE` | No | Optional additional context line | - -## Exempt file types - -- JSON files — no header; formatted with 2-space indentation -- Binary files and generated files -- `index.html` security stub files throughout the plugin directory tree -- `.ini` language files — plain `KEY="value"` format with no header - -# Coding Standards - -This repo follows [MokoStandards](https://github.com/mokoconsulting-tech/MokoStandards) with PSR-12 as the PHP base standard (enforced by `phpcs.xml`). - -## Indentation - -| File type | Style | Visual width | -|-----------|-------|--------------| -| PHP, XML, shell, Markdown | Tab | 2 spaces | -| YAML (`.yml`, `.yaml`) | Space | 2 | -| JSON | Space | 2 | - -All files: UTF-8 encoding, LF line endings. Exception: `.ps1`, `.bat`, `.cmd` files use CRLF. - -## Line length (PHP) - -Warning threshold: 120 characters. Hard limit: 150 characters. Enforced by `Generic.Files.LineLength` in `phpcs.xml`. - -## Naming conventions - -| Context | Convention | Example | -|---------|------------|---------| -| PHP classes | PascalCase | `MokoWaaSBrand` | -| PHP methods and functions | camelCase | `loadLanguageOverrides()` | -| PHP properties | camelCase | `$autoloadLanguage` | -| PHP constants | UPPER_SNAKE_CASE | `JPATH_PLUGINS` | -| PHP class files | PascalCase | `MokoWaaSBrand.php` | -| PHP config/script files | lowercase | `script.php`, `provider.php` | -| Shell scripts | lowercase with underscores | `validate_manifest.sh` | - -## Forbidden PHP patterns - -From `phpcs.xml` `Generic.PHP.ForbiddenFunctions`: `eval`, `create_function`, `var_dump`, `print_r`. Also enforced: no long array syntax (`array()` → `[]`), no commented-out code blocks, no empty statements. - -# Language-Specific Requirements - -## PHP - -**Type hints:** All method parameters and return types require explicit type declarations. Methods implementing `InstallerScriptInterface` (`preflight`, `postflight`, `install`, `update`, `uninstall`) must declare an explicit `: bool` return type. - -**Docblocks:** Every class, property, and method requires a docblock. Required tags by context: - -```php -/** - * Short one-line description. - * - * Optional longer description paragraph. - * - * @param string $filePath The path to the language file - * - * @return array Array of language strings - * - * @since 01.06.00 - */ -``` - -Use `@var` for properties, `@param` and `@return` for methods, `@since` on all declarations. - -**Namespace placement:** The namespace declaration must appear before `defined('_JEXEC') or die;`: - -```php -namespace Moko\Plugin\System\MokoWaaSBrand\Extension; - -defined('_JEXEC') or die; -``` - -**Joomla API:** Use `Joomla\CMS\*` namespace imports only. Do not use deprecated aliases (`JFactory`, `JText`, `JHTML`, etc.). - -**Error handling:** Do not throw unhandled exceptions from event handler methods. Return early on failure or log via `Joomla\CMS\Log\Log`. - -**Script class naming:** The installer script class in `script.php` is named `plgSystemMokoWaaSBrandInstallerScript` (not the plugin class name). - -## Shell scripts - -Use `#!/usr/bin/env bash` or `#!/bin/bash` as shebang. Enable strict mode with `set -e` or `set -euo pipefail`. Accept version or path arguments explicitly via positional parameters — do not rely on global state. - -# Commit Message Format - -From `.gitmessage`: - -``` -(): - - - -BREAKING CHANGE: -Closes: # -Signed-off-by: -``` - -**Valid types:** `build` | `chore` | `ci` | `docs` | `feat` | `fix` | `perf` | `refactor` | `revert` | `style` | `test` - -**Subject rules:** imperative mood, lower-case first word, no trailing period, ≤72 characters. - -**Body:** Separated from subject by a blank line. Explain what changed and why, not how. - -**Footer:** `BREAKING CHANGE:`, `Closes:`, and `Signed-off-by:` each on their own line after a blank line following the body. - -Example: - -``` -feat(language): add override strings for search and contact forms - -Expands the frontend override file with 12 new strings covering -search results pages, contact form field labels, and error page copy. - -Closes: #42 -``` - -# Running Validation - -Run these commands from the repo root before every commit: - -```bash -# 1. PHP syntax check -find src -type f -name "*.php" -print0 | xargs -0 -n 1 -P 4 php -l - -# 2. Validate plugin manifest -./scripts/validate_manifest.sh - -# 3. Verify changelog format -./scripts/verify_changelog.sh - -# 4. Changelog CI check — fails if the script would modify CHANGELOG.md -./scripts/update_changelog.sh --ci -``` - -If static analysis tools are installed: - -```bash -vendor/bin/phpcs src -vendor/bin/phpstan analyse -vendor/bin/psalm -``` - -There is currently no `composer.json` in this repo. If one is added, also run `composer install --no-interaction` and `composer test` (if a `test` script is defined). - -# Contribution Workflow - -1. **Fork** the repository or create a branch from `main` (internal contributors create branches directly). -2. **Name the branch:** - - New feature: `feature/` - - Bug fix: `bugfix/` - - Release preparation: `version/` (triggers CI and the release pipeline) -3. **Set up:** Ensure PHP 8.1+, a Joomla 5.x test environment, and the `zip` CLI utility are available. -4. **Implement changes** following the standards in this file. -5. **Validate locally** using all commands in [Running Validation](#running-validation). -6. **Commit** using the Conventional Commits format (see [Commit Message Format](#commit-message-format)). -7. **Open a PR** against `main`. Include: purpose, change summary, screenshots for UI changes, and a reference to the related issue. -8. **Merge strategy:** Squash merge into `main`. - -`version/*` branches trigger the full CI pipeline. The `release_from_version.yml` workflow handles tagging, ZIP packaging via `build.yml`, and automatic `updates.xml` updates for stable (non-prerelease) versions. - -# PR Checklist - -- [ ] PHP files pass `php -l` syntax check -- [ ] Plugin manifest validates via `./scripts/validate_manifest.sh` -- [ ] CHANGELOG.md is up to date and passes `./scripts/verify_changelog.sh` -- [ ] All new and modified files include the full SPDX license header and FILE INFORMATION block -- [ ] `VERSION` in every FILE INFORMATION block matches `` in `mokowaasbrand.xml` -- [ ] Namespace declaration appears before `defined('_JEXEC') or die;` in all PHP class files -- [ ] All `InstallerScriptInterface` methods declare `: bool` return type explicitly -- [ ] Both `en-GB` and `en-US` language variants updated when override strings change -- [ ] Language override files (`.override.ini`) are NOT declared in the XML `` sections -- [ ] No deprecated Joomla APIs (`JFactory`, `JText`, etc.) used -- [ ] No forbidden PHP functions (`eval`, `create_function`, `var_dump`, `print_r`) -- [ ] No commented-out code blocks left in PHP files -- [ ] PR description includes purpose, change summary, and issue reference -- [ ] Screenshots included for any change visible in Joomla frontend or administrator UI - -# What NOT to Do - -- **Do not commit** `dist/`, `vendor/`, `node_modules/`, or IDE artifacts (`.idea/`, `.vscode/`). -- **Do not declare** `.override.ini` language files in the XML manifest `` sections — they are loaded programmatically by `MokoWaaSBrand.php` at runtime. -- **Do not add** `.sys.ini` files under the frontend `language/` directory — `.sys.ini` files belong only under `administrator/language/`. -- **Do not edit** `updates.xml` manually — it is maintained automatically by the `release_from_version.yml` workflow after each stable release. -- **Do not use** deprecated Joomla APIs — use `Joomla\CMS\Factory`, `Joomla\CMS\Language\Text`, etc. -- **Do not name** the plugin class `PlgSystemMokoWaaSBrand` — the class is `MokoWaaSBrand` in namespace `Moko\Plugin\System\MokoWaaSBrand\Extension`. -- **Do not place** the namespace declaration after `defined('_JEXEC') or die;` — the namespace must come first in the file. -- **Do not use** `eval`, `create_function`, `var_dump`, or `print_r` anywhere in PHP source. -- **Do not update** only one locale when changing language overrides — always update both `en-GB` and `en-US` variants. - -# Key Policy Documents - -- [CONTRIBUTING.md](CONTRIBUTING.md) — Contribution workflow, branching model, and PR requirements -- [docs/guides/build-guide.md](docs/guides/build-guide.md) — Build, packaging, and release workflow -- [docs/guides/installation-guide.md](docs/guides/installation-guide.md) — Plugin installation and setup -- [docs/guides/upgrade-and-versioning-guide.md](docs/guides/upgrade-and-versioning-guide.md) — Version numbering (`01.06.00` format) and upgrade process -- [docs/reference/plugin-overview.md](docs/reference/plugin-overview.md) — Architectural overview of the plugin in the WaaS stack -- [MokoStandards](https://github.com/mokoconsulting-tech/MokoStandards) — Coding and documentation standards governing this repo diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 2910393..f0dc066 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -12,8 +12,8 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Documentation - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Documentation + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.03.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 ffc8a9e..5fd5da8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,17 +8,17 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Contributing - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Contributing + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.03.00 PATH: /CONTRIBUTING.md - BRIEF: Contribution guidelines for the MokoWaaS-Brand plugin + BRIEF: Contribution guidelines for the MokoWaaS plugin --> -# Contributing to MokoWaaS-Brand (VERSION: 01.03.00) +# Contributing to MokoWaaS (VERSION: 01.03.00) ## Overview -Contributions to the MokoWaaS-Brand 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. +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. ## 1. Contribution Workflow All contributions must follow the established workflow: diff --git a/LICENSE.md b/LICENSE.md index 9ae6c55..ce737ad 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -12,8 +12,8 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Documentation - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Documentation + REPO: https://github.com/mokoconsulting-tech/mokowaas PATH: ./LICENSE.md VERSION: 01.03.00 BRIEF: Project license (GPL-3.0-or-later) diff --git a/README.md b/README.md index ba5c1ee..46bac63 100644 --- a/README.md +++ b/README.md @@ -13,22 +13,22 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /README.md BRIEF: Rebranding plugin for MokoWaaS platform NOTE: Internal WaaS identity abstraction layer --> -# MokoWaaS-Brand Plugin +# MokoWaaS Plugin -[![Version](https://img.shields.io/badge/version-01.04.00-blue.svg)](https://github.com/mokoconsulting-tech/mokowaasbrand) +[![Version](https://img.shields.io/badge/version-01.04.00-blue.svg)](https://github.com/mokoconsulting-tech/mokowaas) [![License](https://img.shields.io/badge/license-GPL--3.0--or--later-green.svg)](LICENSE.md) [![Joomla](https://img.shields.io/badge/Joomla-5.x-orange.svg)](https://www.joomla.org) [![PHP](https://img.shields.io/badge/PHP-8.1%2B-blue.svg)](https://www.php.net) -MokoWaaS-Brand is a Joomla 5.x system plugin that provides a comprehensive identity override layer for the MokoWaaS platform. It ensures consistent branding, terminology, and user experience across all Joomla administrative and frontend interfaces. +MokoWaaS is a Joomla 5.x system plugin that provides a comprehensive identity override layer for the MokoWaaS platform. It ensures consistent branding, terminology, and user experience across all Joomla administrative and frontend interfaces. ## Table of Contents @@ -47,7 +47,7 @@ MokoWaaS-Brand is a Joomla 5.x system plugin that provides a comprehensive ident ## Overview -The MokoWaaS-Brand plugin operationalizes a unified naming convention, brand-controlled visuals, and enforced terminology across all tenant sites. This ensures consistent service delivery within the WaaS (Website as a Service) framework by abstracting all upstream Joomla identifiers behind MokoWaaS-compliant terminology. +The MokoWaaS plugin operationalizes a unified naming convention, brand-controlled visuals, and enforced terminology across all tenant sites. This ensures consistent service delivery within the WaaS (Website as a Service) framework by abstracting all upstream Joomla identifiers behind MokoWaaS-compliant terminology. ## Features @@ -100,13 +100,13 @@ After installation, verify the branding is active: This plugin supports Joomla's automatic update system. Once installed: 1. Navigate to **System → Update → Extensions** -2. The plugin will automatically check for updates from the MokoWaaS-Brand update server +2. The plugin will automatically check for updates from the MokoWaaS update server 3. When a new version is available, it will appear in the update list 4. Click **Update** to install the latest version The update server URL is configured in the plugin manifest and points to: ``` -https://raw.githubusercontent.com/mokoconsulting-tech/MokoWaaSBrand/main/updates.xml +https://raw.githubusercontent.com/mokoconsulting-tech/MokoWaaS/main/updates.xml ``` Updates are published automatically when new releases are created through the GitHub release workflow. @@ -131,7 +131,7 @@ Configuration options are intentionally limited to preserve WaaS brand integrity The plugin follows Joomla 5.x system plugin architecture: ``` -PlgSystemMokoWaaSBrand +PlgSystemMokoWaaS ├── Event Handlers │ ├── onAfterInitialise - Framework initialization hook │ └── onAfterRoute - Route determination hook @@ -143,12 +143,12 @@ PlgSystemMokoWaaSBrand ### Core Components -1. **mokowaasbrand.php** +1. **mokowaas.php** - Main plugin class extending `CMSPlugin` - Implements system event handlers - - Namespace: `Moko\Plugin\System\MokoWaaSBrand` + - Namespace: `Moko\Plugin\System\MokoWaaS` -2. **mokowaasbrand.xml** +2. **mokowaas.xml** - Plugin manifest defining metadata and structure - Joomla 5.x namespace configuration - File and folder definitions @@ -182,10 +182,10 @@ Joomla automatically loads these overrides during initialization, ensuring optim ## Repository Structure ``` -mokowaasbrand/ +mokowaas/ ├── src/ # Plugin source files -│ ├── mokowaasbrand.php # Main plugin class -│ ├── mokowaasbrand.xml # Plugin manifest +│ ├── mokowaas.php # Main plugin class +│ ├── mokowaas.xml # Plugin manifest │ ├── services/ │ │ └── provider.php # DI service provider │ ├── language/ @@ -223,7 +223,7 @@ Build the installable plugin package from source: ```bash cd src -zip -r ../mokowaasbrand_v01.04.00.zip . -x "*.git*" +zip -r ../mokowaas_v01.04.00.zip . -x "*.git*" ``` ### Running Validation Scripts diff --git a/docs/guides/build-guide.md b/docs/guides/build-guide.md index 622b04f..849f87a 100644 --- a/docs/guides/build-guide.md +++ b/docs/guides/build-guide.md @@ -8,20 +8,20 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Build - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Build + REPO: https://github.com/mokoconsulting-tech/mokowaas FILE: build-guide.md VERSION: 01.04.00 PATH: /docs/guides/ - BRIEF: Build and packaging guide for the MokoWaaS-Brand system plugin + BRIEF: Build and packaging guide for the MokoWaaS system plugin NOTE: Defines environment setup, repository layout, packaging rules, and release preparation --> -# MokoWaaS-Brand Build Guide (VERSION: 01.04.00) +# MokoWaaS Build Guide (VERSION: 01.04.00) ## 1. Purpose -This document defines the complete build and packaging workflow for the MokoWaaS-Brand system plugin. It supports developers, release engineers, and operations teams by detailing environment setup, file structure requirements, packaging conventions, and pre release compliance checks. +This document defines the complete build and packaging workflow for the MokoWaaS system plugin. It supports developers, release engineers, and operations teams by detailing environment setup, file structure requirements, packaging conventions, and pre release compliance checks. ## 2. Build Requirements @@ -43,10 +43,10 @@ Optional but recommended: The repository should maintain a clean, predictable, and modular structure suitable for Joomla system plugins, WaaS platform governance, and automated build tooling. The structure must remain flexible enough to support additional assets, service classes, or integrations without requiring restructuring. ```text -mokowaasbrand/ +mokowaas/ ├── src/ - │ ├── mokowaasbrand.php (main plugin file) - │ ├── mokowaasbrand.xml (plugin manifest) + │ ├── mokowaas.php (main plugin file) + │ ├── mokowaas.xml (plugin manifest) │ ├── services/ (service providers for DI) │ │ └── provider.php │ ├── language/ (plugin language files) @@ -110,7 +110,7 @@ Remove any unneeded files: Using CLI: ```bash -zip -r mokowaasbrand_v01.04.00.zip ./ -x "*.git*" "scripts/*" "docs/*" +zip -r mokowaas_v01.04.00.zip ./ -x "*.git*" "scripts/*" "docs/*" ``` Ensure excluded paths match release governance and do not remove required runtime files. @@ -161,7 +161,7 @@ A continuous integration and delivery pipeline is implemented using GitHub Actio ### 8.1 Build and Validate Workflow (`.github/workflows/build.yml`) ```yaml -name: Build and Validate MokoWaaS-Brand +name: Build and Validate MokoWaaS on: push: @@ -196,19 +196,19 @@ jobs: - name: Create build artifact run: | - zip -r mokowaasbrand_ci_build.zip ./ -x "*.git*" "docs/*" "scripts/*" + zip -r mokowaas_ci_build.zip ./ -x "*.git*" "docs/*" "scripts/*" - name: Upload build artifact uses: actions/upload-artifact@v4 with: - name: mokowaasbrand-build - path: mokowaasbrand_ci_build.zip + name: mokowaas-build + path: mokowaas_ci_build.zip ``` ### 8.2 Release Workflow (`.github/workflows/release.yml`) ```yaml -name: Release MokoWaaS-Brand +name: Release MokoWaaS on: push: @@ -226,14 +226,14 @@ jobs: - name: Download build artifact uses: actions/download-artifact@v4 with: - name: mokowaasbrand-build + name: mokowaas-build path: ./dist - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: files: | - dist/mokowaasbrand_ci_build.zip + dist/mokowaas_ci_build.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` @@ -290,8 +290,8 @@ To prevent runtime failures, validate the following prior to packaging: Required files: -* `mokowaasbrand.xml` -* `mokowaasbrand.php` +* `mokowaas.xml` +* `mokowaas.php` * `services/provider.php` * Language files under `language/en-GB/` * LICENSE.md diff --git a/docs/guides/configuration-guide.md b/docs/guides/configuration-guide.md index e7f60fb..ee2ebc9 100644 --- a/docs/guides/configuration-guide.md +++ b/docs/guides/configuration-guide.md @@ -8,25 +8,25 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Guides - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Guides + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /docs/guides/configuration-guide.md - BRIEF: Configuration guide for the MokoWaaS-Brand system plugin + BRIEF: Configuration guide for the MokoWaaS system plugin NOTE: Defines plugin parameters, expected behaviors, and recommended defaults --> -# MokoWaaS-Brand Configuration Guide (VERSION: 01.04.00) +# MokoWaaS Configuration Guide (VERSION: 01.04.00) ## 1. Objective -This guide outlines the configuration parameters available within the MokoWaaS-Brand system plugin and establishes recommended defaults for WaaS governed environments. Proper configuration ensures consistent branding behavior across templates, modules, and administrative surfaces. +This guide outlines the configuration parameters available within the MokoWaaS system plugin and establishes recommended defaults for WaaS governed environments. Proper configuration ensures consistent branding behavior across templates, modules, and administrative surfaces. ## 2. Accessing Plugin Configuration 1. Log in to Joomla Administrator. 2. Navigate to **System > Plugins**. -3. Search for **MokoWaaS-Brand**. +3. Search for **MokoWaaS**. 4. Select the plugin name to open the configuration panel. ## 3. Configuration Sections diff --git a/docs/guides/installation-guide.md b/docs/guides/installation-guide.md index cbf3dce..2b0edec 100644 --- a/docs/guides/installation-guide.md +++ b/docs/guides/installation-guide.md @@ -8,19 +8,19 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Guides - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Guides + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /docs/guides/installation-guide.md - BRIEF: Installation guide for the MokoWaaS-Brand system plugin + BRIEF: Installation guide for the MokoWaaS system plugin NOTE: First document in the guide set --> -# MokoWaaS-Brand Installation Guide (VERSION: 01.04.00) +# MokoWaaS Installation Guide (VERSION: 01.04.00) ## Introduction -The MokoWaaS-Brand Installation Guide provides the authoritative process for deploying the system plugin within WaaS-managed Joomla environments. The installation ensures consistent application of MokoWaaS branding policy, identity governance, and terminology alignment across all administrative interfaces. +The MokoWaaS Installation Guide provides the authoritative process for deploying the system plugin within WaaS-managed Joomla environments. The installation ensures consistent application of MokoWaaS branding policy, identity governance, and terminology alignment across all administrative interfaces. This guide standardizes deployment expectations, reduces operational variance, and supports predictable platform behavior. @@ -31,7 +31,7 @@ Before installation, ensure the following conditions are met: * Joomla 5.x operational environment * PHP 8.1 or higher * Administrative access credentials -* Validated MokoWaaS-Brand plugin package from an approved release channel +* Validated MokoWaaS plugin package from an approved release channel * Recommended: environment snapshot or backup prior to installation ## Obtaining the Package @@ -49,7 +49,7 @@ Follow these steps to install the plugin: 1. Log in to the Joomla Administrator dashboard. 2. Navigate to **System > Extensions > Install**. 3. Choose **Upload Package File**. -4. Upload the MokoWaaS-Brand plugin package. +4. Upload the MokoWaaS plugin package. 5. Confirm successful installation in the extension status message. ## Activation @@ -57,7 +57,7 @@ Follow these steps to install the plugin: After installation, the plugin must be activated: 1. Navigate to **System > Plugins**. -2. Search for **MokoWaaS-Brand**. +2. Search for **MokoWaaS**. 3. Confirm the plugin type is **System**. 4. Set status to **Enabled**. 5. Save and close. diff --git a/docs/guides/operations-guide.md b/docs/guides/operations-guide.md index fd48aff..ebb14d1 100644 --- a/docs/guides/operations-guide.md +++ b/docs/guides/operations-guide.md @@ -8,25 +8,25 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Guides - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Guides + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /docs/guides/operations-guide.md - BRIEF: Operational guide for administering and managing the MokoWaaS-Brand system plugin + BRIEF: Operational guide for administering and managing the MokoWaaS system plugin NOTE: Defines lifecycle, responsibilities, and operational behaviors --> -# MokoWaaS-Brand Operations Guide (VERSION: 01.04.00) +# MokoWaaS Operations Guide (VERSION: 01.04.00) ## Introduction -The MokoWaaS-Brand Operations Guide defines how the plugin is managed across WaaS governed Joomla environments. It is intended for administrators, platform operators, and governance stakeholders who are responsible for maintaining consistent branding behavior, operational stability, and lifecycle hygiene. +The MokoWaaS Operations Guide defines how the plugin is managed across WaaS governed Joomla environments. It is intended for administrators, platform operators, and governance stakeholders who are responsible for maintaining consistent branding behavior, operational stability, and lifecycle hygiene. This document focuses on day to day responsibilities, monitoring expectations, and coordination points with other parts of the WaaS platform. ## Operational Scope -The MokoWaaS-Brand plugin operates as a system level extension that enforces WaaS branding, terminology, and identity across administrative user interfaces. Because it runs early in the request lifecycle, it requires explicit operational oversight to ensure: +The MokoWaaS plugin operates as a system level extension that enforces WaaS branding, terminology, and identity across administrative user interfaces. Because it runs early in the request lifecycle, it requires explicit operational oversight to ensure: * Consistent behavior after template or core updates * Stable interaction with other system plugins diff --git a/docs/guides/rollback-and-recovery-guide.md b/docs/guides/rollback-and-recovery-guide.md index 101b8c2..7bc25cb 100644 --- a/docs/guides/rollback-and-recovery-guide.md +++ b/docs/guides/rollback-and-recovery-guide.md @@ -8,19 +8,19 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Guides - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Guides + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.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-Brand Rollback and Recovery Guide (VERSION: 01.04.00) +# MokoWaaS Rollback and Recovery Guide (VERSION: 01.04.00) ## Introduction -The Rollback and Recovery Guide defines the procedures required to restore a stable operational state when the MokoWaaS-Brand plugin introduces issues or when an environment must revert to a previously validated condition. It ensures WaaS administrators, incident responders, and platform operators have a consistent and predictable process during incidents. +The Rollback and Recovery Guide defines the procedures required to restore a stable operational state when the MokoWaaS plugin introduces issues or when an environment must revert to a previously validated condition. It ensures WaaS administrators, incident responders, and platform operators have a consistent and predictable process during incidents. Rollback and recovery are essential components of WaaS governance, reducing downtime and ensuring branding and UI consistency across environments. @@ -40,7 +40,7 @@ These symptoms indicate that immediate containment and structured recovery are n To prevent further disruption: -1. Disable the MokoWaaS-Brand plugin via **System > Plugins**. +1. Disable the MokoWaaS plugin via **System > Plugins**. 2. Clear Joomla cache. 3. Retest impacted areas to confirm whether disabling stabilizes behavior. 4. Review Joomla and PHP logs for indicators of root cause. diff --git a/docs/guides/troubleshooting-guide.md b/docs/guides/troubleshooting-guide.md index 0bf9bdb..4e534b4 100644 --- a/docs/guides/troubleshooting-guide.md +++ b/docs/guides/troubleshooting-guide.md @@ -8,25 +8,25 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Guides - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Guides + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /docs/guides/troubleshooting-guide.md - BRIEF: Troubleshooting guide for diagnosing and resolving issues related to the MokoWaaS-Brand plugin + BRIEF: Troubleshooting guide for diagnosing and resolving issues related to the MokoWaaS plugin NOTE: Designed for administrators and WaaS operations teams --> -# MokoWaaS-Brand Troubleshooting Guide (VERSION: 01.04.00) +# MokoWaaS Troubleshooting Guide (VERSION: 01.04.00) ## Introduction -The MokoWaaS-Brand Troubleshooting Guide provides a structured, repeatable approach for diagnosing and resolving issues related to branding enforcement across WaaS managed Joomla environments. It assists administrators, support engineers, and operations staff in identifying symptoms, validating root causes, and restoring consistent platform behavior. +The MokoWaaS Troubleshooting Guide provides a structured, repeatable approach for diagnosing and resolving issues related to branding enforcement across WaaS managed Joomla environments. It assists administrators, support engineers, and operations staff in identifying symptoms, validating root causes, and restoring consistent platform behavior. This guide focuses on actionable diagnostics, minimizing downtime, and ensuring that WaaS branding policy is applied consistently. ## Understanding the Plugin’s Operational Behavior -As a system level extension, the MokoWaaS-Brand plugin: +As a system level extension, the MokoWaaS plugin: * Loads early in the Joomla lifecycle * Influences visible terminology and branding markers @@ -72,7 +72,7 @@ Labels or UI strings do not match expected WaaS terminology. 1. Validate the integrity of all language files. 2. Check extension overrides. -3. Reapply updated MokoWaaS-Brand language packs. +3. Reapply updated MokoWaaS language packs. 4. Review recent Joomla updates for changes in language constants. --- @@ -134,7 +134,7 @@ If your troubleshooting steps do not resolve the issue: 4. Include environmental details such as: * Joomla version - * MokoWaaS-Brand plugin version + * MokoWaaS plugin version * Template version * Installed third party extensions diff --git a/docs/guides/upgrade-and-versioning-guide.md b/docs/guides/upgrade-and-versioning-guide.md index 315a6d9..071cd00 100644 --- a/docs/guides/upgrade-and-versioning-guide.md +++ b/docs/guides/upgrade-and-versioning-guide.md @@ -8,19 +8,19 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Guides - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Guides + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /docs/guides/upgrade-and-versioning-guide.md - BRIEF: Guide for updating, versioning, and maintaining the MokoWaaS-Brand plugin + BRIEF: Guide for updating, versioning, and maintaining the MokoWaaS plugin NOTE: Defines release flow, version rules, and upgrade validation --> -# MokoWaaS-Brand Upgrade and Versioning Guide (VERSION: 01.04.00) +# MokoWaaS Upgrade and Versioning Guide (VERSION: 01.04.00) ## Introduction -The MokoWaaS-Brand Upgrade and Versioning Guide establishes a consistent lifecycle management process for the plugin across WaaS governed environments. By defining clear versioning rules, upgrade requirements, and governance commitments, this guide ensures stability and predictable branding behavior throughout the platform. +The MokoWaaS Upgrade and Versioning Guide establishes a consistent lifecycle management process for the plugin across WaaS governed environments. By defining clear versioning rules, upgrade requirements, and governance commitments, this guide ensures stability and predictable branding behavior throughout the platform. ## Versioning Standards diff --git a/docs/index.md b/docs/index.md index 42a2216..acf396b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,19 +8,19 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand.Documentation - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS.Documentation + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.04.00 PATH: /docs/index.md - BRIEF: Master index of all documentation for the MokoWaaS-Brand plugin + BRIEF: Master index of all documentation for the MokoWaaS plugin NOTE: Automatically maintained index for all guide canvases --> -# MokoWaaS-Brand Documentation Index (VERSION: 01.04.00) +# MokoWaaS Documentation Index (VERSION: 01.04.00) ## Introduction -The MokoWaaS-Brand Documentation Index provides the authoritative map of all documentation assets associated with the MokoWaaS-Brand system plugin. It ensures traceability, governance compliance, and visibility across all operational, technical, and administrative materials that support WaaS-managed Joomla environments. +The MokoWaaS Documentation Index provides the authoritative map of all documentation assets associated with the MokoWaaS system plugin. It ensures traceability, governance compliance, and visibility across all operational, technical, and administrative materials that support WaaS-managed Joomla environments. This index serves as the entry point for contributors, administrators, and governance teams who require a single source of truth for locating and validating documentation files. diff --git a/docs/plugin-basic.md b/docs/plugin-basic.md index f8128e9..5fd6295 100644 --- a/docs/plugin-basic.md +++ b/docs/plugin-basic.md @@ -8,19 +8,19 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaS-Brand - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS + REPO: https://github.com/mokoconsulting-tech/mokowaas PATH: /docs/plugin-basic.md VERSION: 01.04.00 - BRIEF: Baseline documentation for the MokoWaaS-Brand system plugin + BRIEF: Baseline documentation for the MokoWaaS system plugin NOTE: Foundational reference for internal and external stakeholders --> -# MokoWaaS-Brand Plugin Overview (VERSION: 01.04.00) +# MokoWaaS Plugin Overview (VERSION: 01.04.00) ## Introduction -The MokoWaaS-Brand plugin is a foundational system component used across WaaS-managed Joomla environments. It ensures consistent application of platform identity, terminology, and user experience standards. By centralizing key branding functions, the plugin supports multi‑tenant WaaS operations and reduces administrative fragmentation. +The MokoWaaS plugin is a foundational system component used across WaaS-managed Joomla environments. It ensures consistent application of platform identity, terminology, and user experience standards. By centralizing key branding functions, the plugin supports multi‑tenant WaaS operations and reduces administrative fragmentation. ## Role in the WaaS Platform @@ -71,8 +71,8 @@ The plugin is implemented as a Joomla 5.x system plugin with the following archi ### Core Components -* **mokowaasbrand.php** - Main plugin class (`PlgSystemMokoWaaSBrand`) that extends `CMSPlugin` -* **mokowaasbrand.xml** - Plugin manifest defining metadata, file structure, and configuration parameters +* **mokowaas.php** - Main plugin class (`PlgSystemMokoWaaS`) that extends `CMSPlugin` +* **mokowaas.xml** - Plugin manifest defining metadata, file structure, and configuration parameters * **services/provider.php** - Dependency injection service provider for Joomla 5.x container registration ### Event Handlers @@ -99,7 +99,7 @@ The plugin exposes the following configuration parameters: ### Namespace and Autoloading -Uses Joomla 5.x namespace: `Moko\Plugin\System\MokoWaaSBrand` with PSR-4 autoloading through the service provider. +Uses Joomla 5.x namespace: `Moko\Plugin\System\MokoWaaS` with PSR-4 autoloading through the service provider. ## Operational Expectations diff --git a/docs/reference/plugin-overview.md b/docs/reference/plugin-overview.md index 8825cbf..f31be46 100644 --- a/docs/reference/plugin-overview.md +++ b/docs/reference/plugin-overview.md @@ -1,7 +1,7 @@ -# MokoWaaS-Brand Plugin Overview +# MokoWaaS Plugin Overview ## Executive Summary -The MokoWaaS-Brand plugin operates as a core enablement layer within the WaaS delivery stack, aligning platform branding, terminology, and visual identity across administrative and user-facing touchpoints. It standardizes language, reinforces WaaS positioning, and reduces fragmentation risk across templates and extensions. +The MokoWaaS plugin operates as a core enablement layer within the WaaS delivery stack, aligning platform branding, terminology, and visual identity across administrative and user-facing touchpoints. It standardizes language, reinforces WaaS positioning, and reduces fragmentation risk across templates and extensions. ## Purpose - Replace default Joomla terminology with WaaS aligned naming. diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index 2889e41..9fc5e1b 100644 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -4,7 +4,7 @@ set -euo pipefail # scripts/update_changelog.sh # # Purpose: -# - Apply the MokoWaaS-Brand CHANGELOG template entry for a given version. +# - Apply the MokoWaaS CHANGELOG template entry for a given version. # - Insert a new header at the top of CHANGELOG.md, immediately after "# Changelog". # - Avoid duplicates if an entry for the version already exists. # - Preserve the rest of the file verbatim. diff --git a/scripts/validate_manifest.sh b/scripts/validate_manifest.sh index 703f768..5845330 100644 --- a/scripts/validate_manifest.sh +++ b/scripts/validate_manifest.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -MANIFEST="src/mokowaasbrand.xml" +MANIFEST="src/mokowaas.xml" echo "Validating Joomla manifest: $MANIFEST" diff --git a/src/Extension/MokoWaaSBrand.php b/src/Extension/MokoWaaS.php similarity index 93% rename from src/Extension/MokoWaaSBrand.php rename to src/Extension/MokoWaaS.php index c1306a0..c0c3b4a 100644 --- a/src/Extension/MokoWaaSBrand.php +++ b/src/Extension/MokoWaaS.php @@ -14,14 +14,14 @@ * * FILE INFORMATION * DEFGROUP: Joomla.Plugin - * INGROUP: MokoWaaS-Brand - * REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + * INGROUP: MokoWaaS + * REPO: https://github.com/mokoconsulting-tech/mokowaas * VERSION: 01.06.00 - * PATH: /src/Extension/MokoWaaSBrand.php + * PATH: /src/Extension/MokoWaaS.php * NOTE: Handles Joomla system events for rebranding functionality */ -namespace Moko\Plugin\System\MokoWaaSBrand\Extension; +namespace Moko\Plugin\System\MokoWaaS\Extension; defined('_JEXEC') or die; @@ -36,7 +36,7 @@ use Joomla\CMS\Language\Language; * * @since 01.04.00 */ -class MokoWaaSBrand extends CMSPlugin +class MokoWaaS extends CMSPlugin { /** * Load the language file on instantiation. @@ -91,7 +91,7 @@ class MokoWaaSBrand extends CMSPlugin $tag = $language->getTag(); // Get the plugin path - $pluginPath = JPATH_PLUGINS . '/system/mokowaasbrand'; + $pluginPath = JPATH_PLUGINS . '/system/mokowaas'; // Determine if we're in administrator or site $isAdmin = $this->app->isClient('administrator'); diff --git a/src/administrator/language/en-GB/plg_system_mokowaasbrand.sys.ini b/src/administrator/language/en-GB/plg_system_mokowaas.sys.ini similarity index 51% rename from src/administrator/language/en-GB/plg_system_mokowaasbrand.sys.ini rename to src/administrator/language/en-GB/plg_system_mokowaas.sys.ini index de6fad5..ee17c98 100644 --- a/src/administrator/language/en-GB/plg_system_mokowaasbrand.sys.ini +++ b/src/administrator/language/en-GB/plg_system_mokowaas.sys.ini @@ -2,18 +2,18 @@ ; Copyright (C) 2025 Moko Consulting ; This file is part of a Moko Consulting project. ; SPDX-License-Identifier: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand +; REPO: https://github.com/mokoconsulting-tech/mokowaas ; ----------------------------------------------------------------------------- ; FILE INFORMATION ; Defgroup: Joomla Language -; Ingroup: MokoWaaSBrand +; Ingroup: MokoWaaS ; Version: 01.06.00 -; File: plg_system_mokowaasbrand.sys.ini -; Path: /src/administrator/language/en-GB/plg_system_mokowaasbrand.sys.ini -; Brief: System language strings for MokoWaaSBrand plugin installation +; File: plg_system_mokowaas.sys.ini +; Path: /src/administrator/language/en-GB/plg_system_mokowaas.sys.ini +; Brief: System language strings for MokoWaaS plugin installation ; Notes: Contains strings used during plugin installation and management ; Variables: (none) ; ----------------------------------------------------------------------------- -PLG_SYSTEM_MOKOWAASBRAND="System - MokoWaaSBrand" -PLG_SYSTEM_MOKOWAASBRAND_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." +PLG_SYSTEM_MOKOWAAS="System - MokoWaaS" +PLG_SYSTEM_MOKOWAAS_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." diff --git a/src/administrator/language/en-US/plg_system_mokowaasbrand.sys.ini b/src/administrator/language/en-US/plg_system_mokowaas.sys.ini similarity index 51% rename from src/administrator/language/en-US/plg_system_mokowaasbrand.sys.ini rename to src/administrator/language/en-US/plg_system_mokowaas.sys.ini index 84d34fe..54028a9 100644 --- a/src/administrator/language/en-US/plg_system_mokowaasbrand.sys.ini +++ b/src/administrator/language/en-US/plg_system_mokowaas.sys.ini @@ -2,18 +2,18 @@ ; Copyright (C) 2025 Moko Consulting ; This file is part of a Moko Consulting project. ; SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand +; REPO: https://github.com/mokoconsulting-tech/mokowaas ; ----------------------------------------------------------------------------- ; FILE INFORMATION ; Defgroup: Joomla Language -; Ingroup: MokoWaaSBrand +; Ingroup: MokoWaaS ; Version: 01.06.00 -; File: plg_system_mokowaasbrand.sys.ini -; Path: /src/administrator/language/en-US/plg_system_mokowaasbrand.sys.ini -; Brief: US English system language strings for MokoWaaSBrand plugin installation +; File: plg_system_mokowaas.sys.ini +; Path: /src/administrator/language/en-US/plg_system_mokowaas.sys.ini +; Brief: US English system language strings for MokoWaaS plugin installation ; Notes: Contains strings used during plugin installation and management ; Variables: (none) ; ----------------------------------------------------------------------------- -PLG_SYSTEM_MOKOWAASBRAND="System - MokoWaaSBrand" -PLG_SYSTEM_MOKOWAASBRAND_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." +PLG_SYSTEM_MOKOWAAS="System - MokoWaaS" +PLG_SYSTEM_MOKOWAAS_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." diff --git a/src/administrator/language/overrides/en-GB.override.ini b/src/administrator/language/overrides/en-GB.override.ini index 9985590..3381ab2 100644 --- a/src/administrator/language/overrides/en-GB.override.ini +++ b/src/administrator/language/overrides/en-GB.override.ini @@ -2,11 +2,11 @@ ; Copyright (C) 2025 Moko Consulting ; This file is part of a Moko Consulting project. ; SPDX-License-Identifier: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand +; REPO: https://github.com/mokoconsulting-tech/mokowaas ; ----------------------------------------------------------------------------- ; FILE INFORMATION ; Defgroup: Joomla Language Overrides -; Ingroup: MokoWaaS-Brand +; Ingroup: MokoWaaS ; Version: 01.04.00 ; File: en-GB.override.ini ; Path: administrator/language/overrides/en-GB.override.ini diff --git a/src/administrator/language/overrides/en-US.override.ini b/src/administrator/language/overrides/en-US.override.ini index 75c38e9..5c2aded 100644 --- a/src/administrator/language/overrides/en-US.override.ini +++ b/src/administrator/language/overrides/en-US.override.ini @@ -2,11 +2,11 @@ ; Copyright (C) 2025 Moko Consulting ; This file is part of a Moko Consulting project. ; SPDX-License-Identifier: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand +; REPO: https://github.com/mokoconsulting-tech/mokowaas ; ----------------------------------------------------------------------------- ; FILE INFORMATION ; Defgroup: Joomla Language Overrides -; Ingroup: MokoWaaS-Brand +; Ingroup: MokoWaaS ; Version: 01.04.00 ; File: en-US.override.ini ; Path: administrator/language/overrides/en-US.override.ini diff --git a/src/language/en-GB/plg_system_mokowaas.ini b/src/language/en-GB/plg_system_mokowaas.ini new file mode 100644 index 0000000..746030a --- /dev/null +++ b/src/language/en-GB/plg_system_mokowaas.ini @@ -0,0 +1,22 @@ +; ----------------------------------------------------------------------------- +; Copyright (C) 2025 Moko Consulting +; This file is part of a Moko Consulting project. +; SPDX-License-Identifier: GPL-3.0-or-later +; REPO: https://github.com/mokoconsulting-tech/mokowaas +; ----------------------------------------------------------------------------- +; FILE INFORMATION +; Defgroup: Joomla Language +; Ingroup: MokoWaaS +; Version: 01.06.00 +; File: plg_system_mokowaas.ini +; Path: /src/language/en-GB/plg_system_mokowaas.ini +; Brief: English language strings for MokoWaaS system plugin +; Notes: Contains translatable strings for plugin functionality +; Variables: (none) +; ----------------------------------------------------------------------------- + +PLG_SYSTEM_MOKOWAAS="System - MokoWaaS" +PLG_SYSTEM_MOKOWAAS_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." + +PLG_SYSTEM_MOKOWAAS_ENABLE_BRANDING_LABEL="Enable Branding" +PLG_SYSTEM_MOKOWAAS_ENABLE_BRANDING_DESC="Enable or disable the MokoWaaS branding across the system." diff --git a/src/language/en-GB/plg_system_mokowaasbrand.ini b/src/language/en-GB/plg_system_mokowaasbrand.ini deleted file mode 100644 index 11f76b0..0000000 --- a/src/language/en-GB/plg_system_mokowaasbrand.ini +++ /dev/null @@ -1,22 +0,0 @@ -; ----------------------------------------------------------------------------- -; Copyright (C) 2025 Moko Consulting -; This file is part of a Moko Consulting project. -; SPDX-License-Identifier: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand -; ----------------------------------------------------------------------------- -; FILE INFORMATION -; Defgroup: Joomla Language -; Ingroup: MokoWaaSBrand -; Version: 01.06.00 -; File: plg_system_mokowaasbrand.ini -; Path: /src/language/en-GB/plg_system_mokowaasbrand.ini -; Brief: English language strings for MokoWaaSBrand system plugin -; Notes: Contains translatable strings for plugin functionality -; Variables: (none) -; ----------------------------------------------------------------------------- - -PLG_SYSTEM_MOKOWAASBRAND="System - MokoWaaSBrand" -PLG_SYSTEM_MOKOWAASBRAND_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." - -PLG_SYSTEM_MOKOWAASBRAND_ENABLE_BRANDING_LABEL="Enable Branding" -PLG_SYSTEM_MOKOWAASBRAND_ENABLE_BRANDING_DESC="Enable or disable the MokoWaaS branding across the system." diff --git a/src/language/en-US/plg_system_mokowaas.ini b/src/language/en-US/plg_system_mokowaas.ini new file mode 100644 index 0000000..cc02eeb --- /dev/null +++ b/src/language/en-US/plg_system_mokowaas.ini @@ -0,0 +1,22 @@ +; ----------------------------------------------------------------------------- +; Copyright (C) 2025 Moko Consulting +; This file is part of a Moko Consulting project. +; SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later +; REPO: https://github.com/mokoconsulting-tech/mokowaas +; ----------------------------------------------------------------------------- +; FILE INFORMATION +; Defgroup: Joomla Language +; Ingroup: MokoWaaS +; Version: 01.06.00 +; File: plg_system_mokowaas.ini +; Path: /src/language/en-US/plg_system_mokowaas.ini +; Brief: US English language strings for MokoWaaS system plugin +; Notes: Contains translatable strings for plugin functionality +; Variables: (none) +; ----------------------------------------------------------------------------- + +PLG_SYSTEM_MOKOWAAS="System - MokoWaaS" +PLG_SYSTEM_MOKOWAAS_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." + +PLG_SYSTEM_MOKOWAAS_ENABLE_BRANDING_LABEL="Enable Branding" +PLG_SYSTEM_MOKOWAAS_ENABLE_BRANDING_DESC="Enable or disable the MokoWaaS branding across the system." diff --git a/src/language/en-US/plg_system_mokowaasbrand.ini b/src/language/en-US/plg_system_mokowaasbrand.ini deleted file mode 100644 index 74b3778..0000000 --- a/src/language/en-US/plg_system_mokowaasbrand.ini +++ /dev/null @@ -1,22 +0,0 @@ -; ----------------------------------------------------------------------------- -; Copyright (C) 2025 Moko Consulting -; This file is part of a Moko Consulting project. -; SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand -; ----------------------------------------------------------------------------- -; FILE INFORMATION -; Defgroup: Joomla Language -; Ingroup: MokoWaaSBrand -; Version: 01.06.00 -; File: plg_system_mokowaasbrand.ini -; Path: /src/language/en-US/plg_system_mokowaasbrand.ini -; Brief: US English language strings for MokoWaaSBrand system plugin -; Notes: Contains translatable strings for plugin functionality -; Variables: (none) -; ----------------------------------------------------------------------------- - -PLG_SYSTEM_MOKOWAASBRAND="System - MokoWaaSBrand" -PLG_SYSTEM_MOKOWAASBRAND_XML_DESCRIPTION="This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform." - -PLG_SYSTEM_MOKOWAASBRAND_ENABLE_BRANDING_LABEL="Enable Branding" -PLG_SYSTEM_MOKOWAASBRAND_ENABLE_BRANDING_DESC="Enable or disable the MokoWaaS branding across the system." diff --git a/src/language/overrides/en-GB.override.ini b/src/language/overrides/en-GB.override.ini index bcce424..510adbd 100644 --- a/src/language/overrides/en-GB.override.ini +++ b/src/language/overrides/en-GB.override.ini @@ -2,11 +2,11 @@ ; Copyright (C) 2025 Moko Consulting ; This file is part of a Moko Consulting project. ; SPDX-License-Identifier: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand +; REPO: https://github.com/mokoconsulting-tech/mokowaas ; ----------------------------------------------------------------------------- ; FILE INFORMATION ; Defgroup: Joomla Language Overrides -; Ingroup: MokoWaaS-Brand +; Ingroup: MokoWaaS ; Version: 01.04.00 ; File: en-GB.override.ini ; Path: language/overrides/en-GB.override.ini diff --git a/src/language/overrides/en-US.override.ini b/src/language/overrides/en-US.override.ini index 11c1d38..3ffc355 100644 --- a/src/language/overrides/en-US.override.ini +++ b/src/language/overrides/en-US.override.ini @@ -2,11 +2,11 @@ ; Copyright (C) 2025 Moko Consulting ; This file is part of a Moko Consulting project. ; SPDX-License-Identifier: GPL-3.0-or-later -; REPO: https://github.com/mokoconsulting-tech/mokowaasbrand +; REPO: https://github.com/mokoconsulting-tech/mokowaas ; ----------------------------------------------------------------------------- ; FILE INFORMATION ; Defgroup: Joomla Language Overrides -; Ingroup: MokoWaaS-Brand +; Ingroup: MokoWaaS ; Version: 01.04.00 ; File: en-US.override.ini ; Path: language/overrides/en-US.override.ini diff --git a/src/mokowaasbrand.xml b/src/mokowaas.xml similarity index 68% rename from src/mokowaasbrand.xml rename to src/mokowaas.xml index 2407d60..91b280a 100644 --- a/src/mokowaasbrand.xml +++ b/src/mokowaas.xml @@ -14,15 +14,15 @@ # FILE INFORMATION DEFGROUP: Joomla.Plugin - INGROUP: MokoWaaSBrand - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.06.00 - PATH: /src/mokowaasbrand.xml - BRIEF: Plugin manifest for MokoWaaSBrand system plugin + PATH: /src/mokowaas.xml + BRIEF: Plugin manifest for MokoWaaS system plugin NOTE: Defines installation metadata, files, and configuration for Joomla --> - PLG_SYSTEM_MOKOWAASBRAND + PLG_SYSTEM_MOKOWAAS Moko Consulting 2026-02-22 Copyright (C) 2025 Moko Consulting. All rights reserved. @@ -30,17 +30,17 @@ hello@mokoconsulting.tech https://mokoconsulting.tech 01.06.00 - PLG_SYSTEM_MOKOWAASBRAND_XML_DESCRIPTION - Moko\Plugin\System\MokoWaaSBrand + PLG_SYSTEM_MOKOWAAS_XML_DESCRIPTION + Moko\Plugin\System\MokoWaaS script.php - https://raw.githubusercontent.com/mokoconsulting-tech/MokoWaaSBrand/main/updates.xml + https://raw.githubusercontent.com/mokoconsulting-tech/MokoWaaS/main/updates.xml - script.php + script.php Extension services language @@ -48,13 +48,13 @@ - en-GB/plg_system_mokowaasbrand.ini - en-US/plg_system_mokowaasbrand.ini + en-GB/plg_system_mokowaas.ini + en-US/plg_system_mokowaas.ini - en-GB/plg_system_mokowaasbrand.sys.ini - en-US/plg_system_mokowaasbrand.sys.ini + en-GB/plg_system_mokowaas.sys.ini + en-US/plg_system_mokowaas.sys.ini @@ -69,8 +69,8 @@ diff --git a/src/script.php b/src/script.php index 26418d3..1b78dcc 100644 --- a/src/script.php +++ b/src/script.php @@ -14,11 +14,11 @@ * * FILE INFORMATION * DEFGROUP: Joomla.Plugin - * INGROUP: MokoWaaSBrand - * REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + * INGROUP: MokoWaaS + * REPO: https://github.com/mokoconsulting-tech/mokowaas * VERSION: 01.06.00 * PATH: /src/script.php - * BRIEF: Installation script for MokoWaaSBrand plugin + * BRIEF: Installation script for MokoWaaS plugin * NOTE: Handles installation, update, and uninstallation tasks including language override deployment */ @@ -33,14 +33,14 @@ use Joomla\Filesystem\File; use Joomla\Filesystem\Folder; /** - * Installation script for MokoWaaSBrand plugin + * Installation script for MokoWaaS plugin * * This script handles the installation and uninstallation of language override files * to Joomla's global language override directories. * * @since 01.06.00 */ -class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface +class plgSystemMokoWaaSInstallerScript implements InstallerScriptInterface { /** * Minimum Joomla version required to install the extension. @@ -180,7 +180,7 @@ class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface private function installLanguageOverrides() { $app = Factory::getApplication(); - $pluginPath = JPATH_PLUGINS . '/system/mokowaasbrand'; + $pluginPath = JPATH_PLUGINS . '/system/mokowaas'; // Install frontend overrides foreach ($this->languageTags as $tag) @@ -288,7 +288,7 @@ class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface private function uninstallLanguageOverrides() { $app = Factory::getApplication(); - $pluginPath = JPATH_PLUGINS . '/system/mokowaasbrand'; + $pluginPath = JPATH_PLUGINS . '/system/mokowaas'; // Remove frontend overrides foreach ($this->languageTags as $tag) @@ -426,7 +426,7 @@ class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface } $content = "; MokoWaaS Language Overrides\n"; - $content .= "; Generated by MokoWaaSBrand Plugin\n"; + $content .= "; Generated by MokoWaaS Plugin\n"; $content .= "; Last updated: " . date('Y-m-d H:i:s') . "\n\n"; foreach ($strings as $key => $value) diff --git a/src/services/provider.php b/src/services/provider.php index 4f7da12..20d15b4 100644 --- a/src/services/provider.php +++ b/src/services/provider.php @@ -14,8 +14,8 @@ * * FILE INFORMATION * DEFGROUP: Joomla.Plugin - * INGROUP: MokoWaaS-Brand - * REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + * INGROUP: MokoWaaS + * REPO: https://github.com/mokoconsulting-tech/mokowaas * VERSION: 01.06.00 * PATH: /src/services/provider.php * BRIEF: Service provider for dependency injection in Joomla 5.x @@ -30,7 +30,7 @@ use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; use Joomla\Event\DispatcherInterface; -use Moko\Plugin\System\MokoWaaSBrand\Extension\MokoWaaSBrand; +use Moko\Plugin\System\MokoWaaS\Extension\MokoWaaS; return new class () implements ServiceProviderInterface { /** @@ -47,9 +47,9 @@ return new class () implements ServiceProviderInterface { $container->set( PluginInterface::class, function (Container $container) { - $plugin = new MokoWaaSBrand( + $plugin = new MokoWaaS( $container->get(DispatcherInterface::class), - (array) PluginHelper::getPlugin('system', 'mokowaasbrand') + (array) PluginHelper::getPlugin('system', 'mokowaas') ); $plugin->setApplication(Factory::getApplication()); diff --git a/updates.xml b/updates.xml index d1c3bfc..610dde2 100644 --- a/updates.xml +++ b/updates.xml @@ -14,8 +14,8 @@ # FILE INFORMATION DEFGROUP: Joomla.UpdateServer - INGROUP: MokoWaaSBrand - REPO: https://github.com/mokoconsulting-tech/mokowaasbrand + INGROUP: MokoWaaS + REPO: https://github.com/mokoconsulting-tech/mokowaas VERSION: 01.06.00 PATH: /updates.xml BRIEF: Joomla update server XML feed for automatic plugin updates @@ -23,20 +23,20 @@ --> - MokoWaaS-Brand - MokoWaaS-Brand system plugin for Joomla - mokowaasbrand + MokoWaaS + MokoWaaS system plugin for Joomla + mokowaas plugin system site 01.06.00 - https://github.com/mokoconsulting-tech/mokowaasbrand + https://github.com/mokoconsulting-tech/mokowaas - https://github.com/mokoconsulting-tech/MokoWaaSBrand/releases/download/01.06.00/MokoWaaSBrand-01.06.00.zip + https://github.com/mokoconsulting-tech/MokoWaaS/releases/download/01.06.00/MokoWaaS-01.06.00.zip Moko Consulting https://mokoconsulting.tech - MokoWaaS-Brand + MokoWaaS