Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 872889487e | |||
| d12971c0b7 | |||
| 21156deb0e | |||
| 1547bd5861 | |||
| f66871db2e |
@@ -9,7 +9,11 @@
|
|||||||
<display-name>Package - MokoWaaS</display-name>
|
<display-name>Package - MokoWaaS</display-name>
|
||||||
<org>MokoConsulting</org>
|
<org>MokoConsulting</org>
|
||||||
<description>White-label identity, security hardening, and tenant restriction layer for WaaS-managed Joomla environments</description>
|
<description>White-label identity, security hardening, and tenant restriction layer for WaaS-managed Joomla environments</description>
|
||||||
<version>02.34.18</version>
|
<<<<<<< HEAD
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.16</version>
|
||||||
|
>>>>>>> origin/dev
|
||||||
<license spdx="GPL-3.0-or-later">GNU General Public License v3</license>
|
<license spdx="GPL-3.0-or-later">GNU General Public License v3</license>
|
||||||
</identity>
|
</identity>
|
||||||
<governance>
|
<governance>
|
||||||
|
|||||||
@@ -5,7 +5,11 @@
|
|||||||
# FILE INFORMATION
|
# FILE INFORMATION
|
||||||
# DEFGROUP: Gitea.Workflow
|
# DEFGROUP: Gitea.Workflow
|
||||||
# INGROUP: moko-platform.Automation
|
# INGROUP: moko-platform.Automation
|
||||||
# VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
# VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
# VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
# BRIEF: Auto-create feature branch when an issue is opened
|
# BRIEF: Auto-create feature branch when an issue is opened
|
||||||
|
|
||||||
name: "Universal: Issue Branch"
|
name: "Universal: Issue Branch"
|
||||||
|
|||||||
@@ -64,19 +64,20 @@ jobs:
|
|||||||
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
|
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
|
||||||
run: |
|
run: |
|
||||||
# Use pre-installed /opt/moko-platform if available (updated by cron every 6h)
|
# Use pre-installed /opt/moko-platform if available (updated by cron every 6h)
|
||||||
if [ -f /opt/moko-platform/cli/version_bump.php ] && [ -f /opt/moko-platform/cli/manifest_element.php ] && [ -f /opt/moko-platform/vendor/autoload.php ]; then
|
if [ -f “/opt/moko-platform/cli/version_bump.php” ] && [ -f “/opt/moko-platform/vendor/autoload.php” ]; then
|
||||||
echo Using pre-installed /opt/moko-platform
|
echo “Using pre-installed /opt/moko-platform”
|
||||||
echo MOKO_CLI=/opt/moko-platform/cli >> $GITHUB_ENV
|
echo “MOKO_CLI=/opt/moko-platform/cli” >> “$GITHUB_ENV”
|
||||||
else
|
else
|
||||||
echo Falling back to fresh clone
|
echo “Falling back to fresh clone”
|
||||||
if ! command -v composer > /dev/null 2>&1; then
|
if ! command -v composer &> /dev/null; then
|
||||||
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer >/dev/null 2>&1
|
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
rm -rf /tmp/moko-platform-api
|
rm -rf /tmp/moko-platform-api
|
||||||
CLONE_URL=https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git
|
git clone --depth 1 --branch main --quiet \
|
||||||
git clone --depth 1 --branch main --quiet $CLONE_URL /tmp/moko-platform-api
|
“https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git” \
|
||||||
|
/tmp/moko-platform-api
|
||||||
cd /tmp/moko-platform-api && composer install --no-dev --no-interaction --quiet
|
cd /tmp/moko-platform-api && composer install --no-dev --no-interaction --quiet
|
||||||
echo MOKO_CLI=/tmp/moko-platform-api/cli >> $GITHUB_ENV
|
echo “MOKO_CLI=/tmp/moko-platform-api/cli” >> “$GITHUB_ENV”
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Detect platform
|
- name: Detect platform
|
||||||
@@ -117,9 +118,6 @@ jobs:
|
|||||||
--path . --version "$VERSION" --branch "${{ github.ref_name }}" --stability "$STABILITY" 2>/dev/null || true
|
--path . --version "$VERSION" --branch "${{ github.ref_name }}" --stability "$STABILITY" 2>/dev/null || true
|
||||||
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
|
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
|
||||||
|
|
||||||
# Ensure licensing tags (updateservers, dlid) if enabled in manifest.xml
|
|
||||||
php ${MOKO_CLI}/manifest_licensing.php --path . --fix 2>/dev/null || true
|
|
||||||
|
|
||||||
# Append suffix for output
|
# Append suffix for output
|
||||||
if [ -n "$SUFFIX" ]; then
|
if [ -n "$SUFFIX" ]; then
|
||||||
VERSION="${VERSION}${SUFFIX}"
|
VERSION="${VERSION}${SUFFIX}"
|
||||||
|
|||||||
+5
-1
@@ -14,7 +14,11 @@
|
|||||||
INGROUP: MokoWaaS.Documentation
|
INGROUP: MokoWaaS.Documentation
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
PATH: ./CHANGELOG.md
|
PATH: ./CHANGELOG.md
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
BRIEF: Version history using `Keep a Changelog`
|
BRIEF: Version history using `Keep a Changelog`
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -14,7 +14,11 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Documentation
|
INGROUP: MokoWaaS.Documentation
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: ./CODE_OF_CONDUCT.md
|
PATH: ./CODE_OF_CONDUCT.md
|
||||||
BRIEF: Reference + packaging repo for Moko Consulting Developer GPT Other Default
|
BRIEF: Reference + packaging repo for Moko Consulting Developer GPT Other Default
|
||||||
-->
|
-->
|
||||||
|
|||||||
+5
-1
@@ -19,7 +19,11 @@
|
|||||||
DEFGROUP: mokoconsulting-tech.MokoWaaSBrand
|
DEFGROUP: mokoconsulting-tech.MokoWaaSBrand
|
||||||
INGROUP: MokoStandards.Governance
|
INGROUP: MokoStandards.Governance
|
||||||
REPO: https://github.com/mokoconsulting-tech/MokoWaaSBrand
|
REPO: https://github.com/mokoconsulting-tech/MokoWaaSBrand
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /GOVERNANCE.md
|
PATH: /GOVERNANCE.md
|
||||||
BRIEF: Project governance rules, roles, and decision process for MokoWaaSBrand
|
BRIEF: Project governance rules, roles, and decision process for MokoWaaSBrand
|
||||||
-->
|
-->
|
||||||
|
|||||||
+5
-1
@@ -15,7 +15,11 @@
|
|||||||
INGROUP: MokoWaaS.Documentation
|
INGROUP: MokoWaaS.Documentation
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
PATH: ./LICENSE.md
|
PATH: ./LICENSE.md
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
BRIEF: Project license (GPL-3.0-or-later)
|
BRIEF: Project license (GPL-3.0-or-later)
|
||||||
-->
|
-->
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
|||||||
@@ -9,7 +9,11 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS
|
INGROUP: MokoWaaS
|
||||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /README.md
|
PATH: /README.md
|
||||||
BRIEF: MokoWaaS platform plugin for Joomla
|
BRIEF: MokoWaaS platform plugin for Joomla
|
||||||
-->
|
-->
|
||||||
|
|||||||
+5
-1
@@ -23,7 +23,11 @@ DEFGROUP: [PROJECT_NAME]
|
|||||||
INGROUP: [PROJECT_NAME].Documentation
|
INGROUP: [PROJECT_NAME].Documentation
|
||||||
REPO: [REPOSITORY_URL]
|
REPO: [REPOSITORY_URL]
|
||||||
PATH: /SECURITY.md
|
PATH: /SECURITY.md
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
BRIEF: Security vulnerability reporting and handling policy
|
BRIEF: Security vulnerability reporting and handling policy
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|||||||
@@ -11,13 +11,21 @@
|
|||||||
INGROUP: MokoWaaS.Build
|
INGROUP: MokoWaaS.Build
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
FILE: build-guide.md
|
FILE: build-guide.md
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/
|
PATH: /docs/guides/
|
||||||
BRIEF: Build and packaging guide for the MokoWaaS system plugin
|
BRIEF: Build and packaging guide for the MokoWaaS system plugin
|
||||||
NOTE: Defines environment setup, repository layout, packaging rules, and release preparation
|
NOTE: Defines environment setup, repository layout, packaging rules, and release preparation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Build Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Build Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Build Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## 1. Purpose
|
## 1. Purpose
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/configuration-guide.md
|
PATH: /docs/guides/configuration-guide.md
|
||||||
BRIEF: Configuration guide for the MokoWaaS system plugin
|
BRIEF: Configuration guide for the MokoWaaS system plugin
|
||||||
NOTE: Defines plugin parameters, expected behaviors, and recommended defaults
|
NOTE: Defines plugin parameters, expected behaviors, and recommended defaults
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Configuration Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Configuration Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Configuration Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## 1. Objective
|
## 1. Objective
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/installation-guide.md
|
PATH: /docs/guides/installation-guide.md
|
||||||
BRIEF: Installation guide for the MokoWaaS system plugin
|
BRIEF: Installation guide for the MokoWaaS system plugin
|
||||||
NOTE: First document in the guide set
|
NOTE: First document in the guide set
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Installation Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Installation Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Installation Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/operations-guide.md
|
PATH: /docs/guides/operations-guide.md
|
||||||
BRIEF: Operational guide for administering and managing the MokoWaaS system plugin
|
BRIEF: Operational guide for administering and managing the MokoWaaS system plugin
|
||||||
NOTE: Defines lifecycle, responsibilities, and operational behaviors
|
NOTE: Defines lifecycle, responsibilities, and operational behaviors
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Operations Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Operations Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Operations Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/rollback-and-recovery-guide.md
|
PATH: /docs/guides/rollback-and-recovery-guide.md
|
||||||
BRIEF: Rollback and recovery guide for restoring stable operation after plugin related incidents
|
BRIEF: Rollback and recovery guide for restoring stable operation after plugin related incidents
|
||||||
NOTE: Completes the core guide set for WaaS plugin governance
|
NOTE: Completes the core guide set for WaaS plugin governance
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Rollback and Recovery Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Rollback and Recovery Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Rollback and Recovery Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
@@ -7,13 +7,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/testing-guide.md
|
PATH: /docs/guides/testing-guide.md
|
||||||
BRIEF: Testing guide for MokoWaaS v02.01.08
|
BRIEF: Testing guide for MokoWaaS v02.01.08
|
||||||
NOTE: Covers manual test procedures for language overrides, install/uninstall, and configuration
|
NOTE: Covers manual test procedures for language overrides, install/uninstall, and configuration
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Testing Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Testing Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Testing Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## 1. Prerequisites
|
## 1. Prerequisites
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/troubleshooting-guide.md
|
PATH: /docs/guides/troubleshooting-guide.md
|
||||||
BRIEF: Troubleshooting guide for diagnosing and resolving issues related to the MokoWaaS plugin
|
BRIEF: Troubleshooting guide for diagnosing and resolving issues related to the MokoWaaS plugin
|
||||||
NOTE: Designed for administrators and WaaS operations teams
|
NOTE: Designed for administrators and WaaS operations teams
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Troubleshooting Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Troubleshooting Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Troubleshooting Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Guides
|
INGROUP: MokoWaaS.Guides
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/guides/upgrade-and-versioning-guide.md
|
PATH: /docs/guides/upgrade-and-versioning-guide.md
|
||||||
BRIEF: Guide for updating, versioning, and maintaining the MokoWaaS plugin
|
BRIEF: Guide for updating, versioning, and maintaining the MokoWaaS plugin
|
||||||
NOTE: Defines release flow, version rules, and upgrade validation
|
NOTE: Defines release flow, version rules, and upgrade validation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Upgrade and Versioning Guide (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Upgrade and Versioning Guide (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Upgrade and Versioning Guide (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
+10
-2
@@ -10,13 +10,21 @@
|
|||||||
DEFGROUP: Joomla.Plugin
|
DEFGROUP: Joomla.Plugin
|
||||||
INGROUP: MokoWaaS.Documentation
|
INGROUP: MokoWaaS.Documentation
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
PATH: /docs/index.md
|
PATH: /docs/index.md
|
||||||
BRIEF: Master index of all documentation for the MokoWaaS plugin
|
BRIEF: Master index of all documentation for the MokoWaaS plugin
|
||||||
NOTE: Automatically maintained index for all guide canvases
|
NOTE: Automatically maintained index for all guide canvases
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Documentation Index (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Documentation Index (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Documentation Index (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
+10
-2
@@ -11,12 +11,20 @@
|
|||||||
INGROUP: MokoWaaS
|
INGROUP: MokoWaaS
|
||||||
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
PATH: /docs/plugin-basic.md
|
PATH: /docs/plugin-basic.md
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
BRIEF: Baseline documentation for the MokoWaaS system plugin
|
BRIEF: Baseline documentation for the MokoWaaS system plugin
|
||||||
NOTE: Foundational reference for internal and external stakeholders
|
NOTE: Foundational reference for internal and external stakeholders
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# MokoWaaS Plugin Overview (VERSION: 02.34.18)
|
<<<<<<< HEAD
|
||||||
|
# MokoWaaS Plugin Overview (VERSION: 02.34.00)
|
||||||
|
=======
|
||||||
|
# MokoWaaS Plugin Overview (VERSION: 02.34.16)
|
||||||
|
>>>>>>> origin/dev
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,11 @@ DEFGROUP: MokoWaaS.Documentation
|
|||||||
INGROUP: MokoStandards.Templates
|
INGROUP: MokoStandards.Templates
|
||||||
REPO: https://github.com/mokoconsulting-tech/MokoWaaS
|
REPO: https://github.com/mokoconsulting-tech/MokoWaaS
|
||||||
PATH: /docs/update-server.md
|
PATH: /docs/update-server.md
|
||||||
VERSION: 02.34.18
|
<<<<<<< HEAD
|
||||||
|
VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev
|
||||||
BRIEF: How this extension's Joomla update server file (update.xml) is managed
|
BRIEF: How this extension's Joomla update server file (update.xml) is managed
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>MokoWaaS admin dashboard and REST API. Provides a control panel for managing MokoWaaS feature plugins, site health monitoring, and remote management endpoints.</description>
|
<description>MokoWaaS admin dashboard and REST API. Provides a control panel for managing MokoWaaS feature plugins, site health monitoring, and remote management endpoints.</description>
|
||||||
|
|
||||||
<namespace path="src">Moko\Component\MokoWaaS</namespace>
|
<namespace path="src">Moko\Component\MokoWaaS</namespace>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>MOD_MOKOWAAS_CACHE_DESC</description>
|
<description>MOD_MOKOWAAS_CACHE_DESC</description>
|
||||||
<namespace path="src">Moko\Module\MokoWaaSCache</namespace>
|
<namespace path="src">Moko\Module\MokoWaaSCache</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>MOD_MOKOWAAS_CATEGORIES_DESC</description>
|
<description>MOD_MOKOWAAS_CATEGORIES_DESC</description>
|
||||||
<namespace path="src">Moko\Module\MokoWaaSCategories</namespace>
|
<namespace path="src">Moko\Module\MokoWaaSCategories</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/mod_mokowaas_cpanel/mod_mokowaas_cpanel.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/mod_mokowaas_cpanel/mod_mokowaas_cpanel.xml
|
||||||
<description>MOD_MOKOWAAS_CPANEL_DESC</description>
|
<description>MOD_MOKOWAAS_CPANEL_DESC</description>
|
||||||
<namespace path="src">Moko\Module\MokoWaaSCpanel</namespace>
|
<namespace path="src">Moko\Module\MokoWaaSCpanel</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>MokoWaaS admin sidebar menu — renders a dedicated MokoWaaS section in the admin menu before Joomla's default menu.</description>
|
<description>MokoWaaS admin sidebar menu — renders a dedicated MokoWaaS section in the admin menu before Joomla's default menu.</description>
|
||||||
<namespace path="src">Moko\Module\MokoWaaSMenu</namespace>
|
<namespace path="src">Moko\Module\MokoWaaSMenu</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
* DEFGROUP: Joomla.Plugin
|
* DEFGROUP: Joomla.Plugin
|
||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://github.com/mokoconsulting-tech/mokowaas
|
* REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
* VERSION: 02.34.18
|
* VERSION: 02.34.16
|
||||||
* PATH: /src/Extension/MokoWaaS.php
|
* PATH: /src/Extension/MokoWaaS.php
|
||||||
* NOTE: Core system plugin for MokoWaaS admin tools suite
|
* NOTE: Core system plugin for MokoWaaS admin tools suite
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -8,7 +8,11 @@
|
|||||||
* FILE INFORMATION
|
* FILE INFORMATION
|
||||||
* DEFGROUP: Joomla.Plugin
|
* DEFGROUP: Joomla.Plugin
|
||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* VERSION: 02.34.18
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas/Field/CopyableTokenField.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
* VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas/Field/CopyableTokenField.php
|
||||||
* PATH: /src/Field/CopyableTokenField.php
|
* PATH: /src/Field/CopyableTokenField.php
|
||||||
* BRIEF: Read-only token field with a copy-to-clipboard button
|
* BRIEF: Read-only token field with a copy-to-clipboard button
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<license>GNU General Public License version 3 or later; see LICENSE.md</license>
|
<license>GNU General Public License version 3 or later; see LICENSE.md</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>MokoWaaS core system plugin — coordinates feature plugins, heartbeat, health checks, and admin customizations.</description>
|
<description>MokoWaaS core system plugin — coordinates feature plugins, heartbeat, health checks, and admin customizations.</description>
|
||||||
<namespace path=".">Moko\Plugin\System\MokoWaaS</namespace>
|
<namespace path=".">Moko\Plugin\System\MokoWaaS</namespace>
|
||||||
<scriptfile>script.php</scriptfile>
|
<scriptfile>script.php</scriptfile>
|
||||||
|
|||||||
@@ -22,7 +22,11 @@
|
|||||||
* DEFGROUP: Joomla.Plugin
|
* DEFGROUP: Joomla.Plugin
|
||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://github.com/mokoconsulting-tech/mokowaas
|
* REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
* VERSION: 02.34.18
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas/script.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
* VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas/script.php
|
||||||
* PATH: /src/script.php
|
* PATH: /src/script.php
|
||||||
* BRIEF: Installation script for MokoWaaS plugin
|
* BRIEF: Installation script for MokoWaaS plugin
|
||||||
* NOTE: Handles installation, update, and uninstallation tasks including language override deployment
|
* NOTE: Handles installation, update, and uninstallation tasks including language override deployment
|
||||||
|
|||||||
@@ -22,7 +22,11 @@
|
|||||||
* DEFGROUP: Joomla.Plugin
|
* DEFGROUP: Joomla.Plugin
|
||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://github.com/mokoconsulting-tech/mokowaas
|
* REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
* VERSION: 02.34.18
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas/services/provider.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
* VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas/services/provider.php
|
||||||
* PATH: /src/services/provider.php
|
* PATH: /src/services/provider.php
|
||||||
* BRIEF: Service provider for dependency injection in Joomla 5.x
|
* BRIEF: Service provider for dependency injection in Joomla 5.x
|
||||||
* NOTE: Registers the plugin with Joomla's DI container
|
* NOTE: Registers the plugin with Joomla's DI container
|
||||||
|
|||||||
@@ -8,7 +8,11 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas_devtools/mokowaas_devtools.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas_devtools/mokowaas_devtools.xml
|
||||||
<description>PLG_SYSTEM_MOKOWAAS_DEVTOOLS_DESC</description>
|
<description>PLG_SYSTEM_MOKOWAAS_DEVTOOLS_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\System\MokoWaaSDevTools</namespace>
|
<namespace path="src">Moko\Plugin\System\MokoWaaSDevTools</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,11 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas_firewall/mokowaas_firewall.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas_firewall/mokowaas_firewall.xml
|
||||||
<description>PLG_SYSTEM_MOKOWAAS_FIREWALL_DESC</description>
|
<description>PLG_SYSTEM_MOKOWAAS_FIREWALL_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\System\MokoWaaSFirewall</namespace>
|
<namespace path="src">Moko\Plugin\System\MokoWaaSFirewall</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,11 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas_monitor/mokowaas_monitor.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas_monitor/mokowaas_monitor.xml
|
||||||
<description>PLG_SYSTEM_MOKOWAAS_MONITOR_DESC</description>
|
<description>PLG_SYSTEM_MOKOWAAS_MONITOR_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\System\MokoWaaSMonitor</namespace>
|
<namespace path="src">Moko\Plugin\System\MokoWaaSMonitor</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>PLG_SYSTEM_MOKOWAAS_OFFLINE_DESC</description>
|
<description>PLG_SYSTEM_MOKOWAAS_OFFLINE_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\System\MokoWaaSOffline</namespace>
|
<namespace path="src">Moko\Plugin\System\MokoWaaSOffline</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,11 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas_tenant/mokowaas_tenant.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_system_mokowaas_tenant/mokowaas_tenant.xml
|
||||||
<description>PLG_SYSTEM_MOKOWAAS_TENANT_DESC</description>
|
<description>PLG_SYSTEM_MOKOWAAS_TENANT_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\System\MokoWaaSTenant</namespace>
|
<namespace path="src">Moko\Plugin\System\MokoWaaSTenant</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<version>02.34.15</version>
|
||||||
<description>Runs scheduled helpdesk automation rules — auto-close resolved tickets, SLA breach escalation, and time-based actions.</description>
|
<description>Runs scheduled helpdesk automation rules — auto-close resolved tickets, SLA breach escalation, and time-based actions.</description>
|
||||||
<namespace path="src">Moko\Plugin\Task\MokoWaaSTickets</namespace>
|
<namespace path="src">Moko\Plugin\Task\MokoWaaSTickets</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,12 @@
|
|||||||
<license>GNU General Public License version 3 or later; see LICENSE</license>
|
<license>GNU General Public License version 3 or later; see LICENSE</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_task_mokowaasdemo/mokowaasdemo.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_task_mokowaasdemo/mokowaasdemo.xml
|
||||||
<description>PLG_TASK_MOKOWAASDEMO_DESC</description>
|
<description>PLG_TASK_MOKOWAASDEMO_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\Task\MokoWaaSDemo</namespace>
|
<namespace path="src">Moko\Plugin\Task\MokoWaaSDemo</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,11 @@
|
|||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
* PATH: /src/packages/plg_system_mokowaas/Service/DemoResetService.php
|
* PATH: /src/packages/plg_system_mokowaas/Service/DemoResetService.php
|
||||||
* VERSION: 02.34.18
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas/Service/DemoResetService.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
* VERSION: 02.34.08
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_task_mokowaasdemo/src/Service/DemoResetService.php
|
||||||
* BRIEF: Content-only snapshot/restore for demo site reset
|
* BRIEF: Content-only snapshot/restore for demo site reset
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,11 @@
|
|||||||
<license>GNU General Public License version 3 or later; see LICENSE</license>
|
<license>GNU General Public License version 3 or later; see LICENSE</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_task_mokowaassync/mokowaassync.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_task_mokowaassync/mokowaassync.xml
|
||||||
<description>PLG_TASK_MOKOWAASSYNC_DESC</description>
|
<description>PLG_TASK_MOKOWAASSYNC_DESC</description>
|
||||||
<namespace path="src">Moko\Plugin\Task\MokoWaaSSync</namespace>
|
<namespace path="src">Moko\Plugin\Task\MokoWaaSSync</namespace>
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,11 @@
|
|||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
* PATH: /src/packages/plg_system_mokowaas/Service/ContentSyncReceiver.php
|
* PATH: /src/packages/plg_system_mokowaas/Service/ContentSyncReceiver.php
|
||||||
* VERSION: 02.34.18
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas/Service/ContentSyncReceiver.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
* VERSION: 02.34.08
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_task_mokowaassync/src/Service/ContentSyncReceiver.php
|
||||||
* BRIEF: Receiver-side content sync — applies incoming payload to local DB
|
* BRIEF: Receiver-side content sync — applies incoming payload to local DB
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,11 @@
|
|||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
* PATH: /src/packages/plg_system_mokowaas/Service/ContentSyncService.php
|
* PATH: /src/packages/plg_system_mokowaas/Service/ContentSyncService.php
|
||||||
* VERSION: 02.34.18
|
<<<<<<< HEAD:src/packages/plg_system_mokowaas/Service/ContentSyncService.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
|
* VERSION: 02.34.08
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_task_mokowaassync/src/Service/ContentSyncService.php
|
||||||
* BRIEF: Sender-side content sync — builds payload and pushes to remote sites
|
* BRIEF: Sender-side content sync — builds payload and pushes to remote sites
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,12 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_webservices_mokowaas/mokowaas.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_webservices_mokowaas/mokowaas.xml
|
||||||
<description>Joomla Web Services API routes for MokoWaaS site management — health checks, cache, updates, backups, and site info.</description>
|
<description>Joomla Web Services API routes for MokoWaaS site management — health checks, cache, updates, backups, and site info.</description>
|
||||||
<namespace path="src">Moko\Plugin\WebServices\MokoWaaS</namespace>
|
<namespace path="src">Moko\Plugin\WebServices\MokoWaaS</namespace>
|
||||||
<files>
|
<files>
|
||||||
|
|||||||
@@ -7,7 +7,12 @@
|
|||||||
<license>GPL-3.0-or-later</license>
|
<license>GPL-3.0-or-later</license>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/packages/plg_webservices_perfectpublisher/perfectpublisher.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_webservices_perfectpublisher/perfectpublisher.xml
|
||||||
<description>Joomla Web Services API routes for Perfect Publisher (com_autotweet) — channels, posts, requests, rules, and feeds.</description>
|
<description>Joomla Web Services API routes for Perfect Publisher (com_autotweet) — channels, posts, requests, rules, and feeds.</description>
|
||||||
<namespace path="src">Moko\Plugin\WebServices\PerfectPublisher</namespace>
|
<namespace path="src">Moko\Plugin\WebServices\PerfectPublisher</namespace>
|
||||||
<files>
|
<files>
|
||||||
|
|||||||
@@ -7,8 +7,13 @@
|
|||||||
* DEFGROUP: Joomla.Plugin
|
* DEFGROUP: Joomla.Plugin
|
||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
|
<<<<<<< HEAD:src/packages/plg_webservices_perfectpublisher/services/provider.php
|
||||||
|
* PATH: /src/packages/plg_webservices_perfectpublisher/services/provider.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
* PATH: /source/packages/plg_webservices_perfectpublisher/services/provider.php
|
* PATH: /source/packages/plg_webservices_perfectpublisher/services/provider.php
|
||||||
* VERSION: 02.34.18
|
* VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_webservices_perfectpublisher/services/provider.php
|
||||||
* BRIEF: DI service provider for Perfect Publisher Web Services plugin
|
* BRIEF: DI service provider for Perfect Publisher Web Services plugin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
+6
-1
@@ -7,8 +7,13 @@
|
|||||||
* DEFGROUP: Joomla.Plugin
|
* DEFGROUP: Joomla.Plugin
|
||||||
* INGROUP: MokoWaaS
|
* INGROUP: MokoWaaS
|
||||||
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
* REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
|
<<<<<<< HEAD:src/packages/plg_webservices_perfectpublisher/src/Extension/PerfectPublisherApi.php
|
||||||
|
* PATH: /src/packages/plg_webservices_perfectpublisher/src/Extension/PerfectPublisherApi.php
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
=======
|
||||||
* PATH: /source/packages/plg_webservices_perfectpublisher/src/Extension/PerfectPublisherApi.php
|
* PATH: /source/packages/plg_webservices_perfectpublisher/src/Extension/PerfectPublisherApi.php
|
||||||
* VERSION: 02.34.18
|
* VERSION: 02.34.16
|
||||||
|
>>>>>>> origin/dev:source/packages/plg_webservices_perfectpublisher/src/Extension/PerfectPublisherApi.php
|
||||||
* BRIEF: Web Services API plugin for Perfect Publisher (com_autotweet)
|
* BRIEF: Web Services API plugin for Perfect Publisher (com_autotweet)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,11 @@
|
|||||||
<extension type="package" method="upgrade">
|
<extension type="package" method="upgrade">
|
||||||
<name>Package - MokoWaaS</name>
|
<name>Package - MokoWaaS</name>
|
||||||
<packagename>mokowaas</packagename>
|
<packagename>mokowaas</packagename>
|
||||||
<version>02.34.18-dev</version>
|
<<<<<<< HEAD:src/pkg_mokowaas.xml
|
||||||
|
<version>02.34.00</version>
|
||||||
|
=======
|
||||||
|
<version>02.34.15</version>
|
||||||
|
>>>>>>> origin/dev:source/pkg_mokowaas.xml
|
||||||
<creationDate>2026-06-02</creationDate>
|
<creationDate>2026-06-02</creationDate>
|
||||||
<author>Moko Consulting</author>
|
<author>Moko Consulting</author>
|
||||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
@@ -35,4 +39,6 @@
|
|||||||
<updateservers>
|
<updateservers>
|
||||||
<server type="extension" priority="1" name="Package - MokoWaaS">https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS/updates.xml</server>
|
<server type="extension" priority="1" name="Package - MokoWaaS">https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS/updates.xml</server>
|
||||||
</updateservers>
|
</updateservers>
|
||||||
|
<dlid prefix="dlid=" suffix=""/>
|
||||||
|
<blockChildUninstall>true</blockChildUninstall>
|
||||||
</extension>
|
</extension>
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||||
|
|
||||||
|
SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later
|
||||||
|
|
||||||
|
FILE INFORMATION
|
||||||
|
DEFGROUP: Joomla.Component
|
||||||
|
INGROUP: MokoWaaS
|
||||||
|
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS
|
||||||
|
VERSION: 02.32.04
|
||||||
|
PATH: /mokowaas.xml
|
||||||
|
BRIEF: Component manifest for MokoWaaS admin dashboard and REST API
|
||||||
|
-->
|
||||||
|
<extension type="component" method="upgrade">
|
||||||
|
<name>MokoWaaS</name>
|
||||||
|
<author>Moko Consulting</author>
|
||||||
|
<creationDate>2026-06-02</creationDate>
|
||||||
|
<copyright>Copyright (C) 2026 Moko Consulting. All rights reserved.</copyright>
|
||||||
|
<license>GPL-3.0-or-later</license>
|
||||||
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
|
<version>02.34.00</version>
|
||||||
|
<description>MokoWaaS admin dashboard and REST API. Provides a control panel for managing MokoWaaS feature plugins, site health monitoring, and remote management endpoints.</description>
|
||||||
|
|
||||||
|
<namespace path="src">Moko\Component\MokoWaaS</namespace>
|
||||||
|
|
||||||
|
<administration>
|
||||||
|
<menu img="class:cogs">MokoWaaS</menu>
|
||||||
|
<files folder="admin">
|
||||||
|
<folder>language</folder>
|
||||||
|
<folder>services</folder>
|
||||||
|
<folder>src</folder>
|
||||||
|
<folder>tmpl</folder>
|
||||||
|
</files>
|
||||||
|
</administration>
|
||||||
|
|
||||||
|
<api>
|
||||||
|
<files folder="api">
|
||||||
|
<folder>src</folder>
|
||||||
|
</files>
|
||||||
|
</api>
|
||||||
|
|
||||||
|
<media destination="com_mokowaas" folder="media">
|
||||||
|
<folder>css</folder>
|
||||||
|
<folder>js</folder>
|
||||||
|
</media>
|
||||||
|
</extension>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,72 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||||
|
*
|
||||||
|
* SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later
|
||||||
|
*
|
||||||
|
* FILE INFORMATION
|
||||||
|
* DEFGROUP: Joomla.Plugin
|
||||||
|
* INGROUP: MokoWaaS
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
* PATH: /src/Field/AllowedIpsField.php
|
||||||
|
* BRIEF: Custom form field that displays the current IP whitelist
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Moko\Plugin\System\MokoWaaS\Field;
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Form\FormField;
|
||||||
|
|
||||||
|
class AllowedIpsField extends FormField
|
||||||
|
{
|
||||||
|
protected $type = 'AllowedIps';
|
||||||
|
|
||||||
|
protected function getInput()
|
||||||
|
{
|
||||||
|
$config = Factory::getApplication()->getConfig();
|
||||||
|
$allowedRaw = $config->get('mokowaas_allowed_ips', '');
|
||||||
|
$currentIp = $_SERVER['REMOTE_ADDR'] ?? 'unknown';
|
||||||
|
|
||||||
|
if (empty($allowedRaw))
|
||||||
|
{
|
||||||
|
$status = '<span class="badge bg-danger">Not configured</span>';
|
||||||
|
$ipList = '<em>No IPs set — emergency access is blocked.</em>';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$ips = array_map('trim', explode(',', $allowedRaw));
|
||||||
|
$status = '<span class="badge bg-success">'
|
||||||
|
. count($ips) . ' IP(s) configured</span>';
|
||||||
|
$ipItems = [];
|
||||||
|
|
||||||
|
foreach ($ips as $ip)
|
||||||
|
{
|
||||||
|
$match = ($ip === $currentIp)
|
||||||
|
? ' <span class="badge bg-info">your IP</span>'
|
||||||
|
: '';
|
||||||
|
$ipItems[] = '<code>' . htmlspecialchars($ip)
|
||||||
|
. '</code>' . $match;
|
||||||
|
}
|
||||||
|
|
||||||
|
$ipList = implode(', ', $ipItems);
|
||||||
|
}
|
||||||
|
|
||||||
|
$yourIp = '<code>' . htmlspecialchars($currentIp) . '</code>';
|
||||||
|
|
||||||
|
return '<div class="alert alert-info mb-0">'
|
||||||
|
. '<strong>IP Whitelist:</strong> ' . $status . '<br>'
|
||||||
|
. '<strong>Allowed IPs:</strong> ' . $ipList . '<br>'
|
||||||
|
. '<strong>Your current IP:</strong> ' . $yourIp . '<br>'
|
||||||
|
. '<small class="text-muted">Set <code>public '
|
||||||
|
. '$mokowaas_allowed_ips = \'1.2.3.4,5.6.7.8\';</code>'
|
||||||
|
. ' in configuration.php to change.</small>'
|
||||||
|
. '</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function getLabel()
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||||
|
*
|
||||||
|
* SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later
|
||||||
|
*
|
||||||
|
* FILE INFORMATION
|
||||||
|
* DEFGROUP: Joomla.Plugin
|
||||||
|
* INGROUP: MokoWaaS
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
* PATH: /src/Field/CurrentIpField.php
|
||||||
|
* BRIEF: Read-only field that displays the current user's IP address
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Moko\Plugin\System\MokoWaaS\Field;
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
use Joomla\CMS\Form\FormField;
|
||||||
|
|
||||||
|
class CurrentIpField extends FormField
|
||||||
|
{
|
||||||
|
protected $type = 'CurrentIp';
|
||||||
|
|
||||||
|
protected function getInput()
|
||||||
|
{
|
||||||
|
$currentIp = $_SERVER['REMOTE_ADDR'] ?? 'unknown';
|
||||||
|
|
||||||
|
return '<div class="alert alert-info mb-0 py-2">'
|
||||||
|
. '<strong>Your current IP:</strong> '
|
||||||
|
. '<code>' . htmlspecialchars($currentIp) . '</code> '
|
||||||
|
. '<small class="text-muted">— add this to the table below to keep your session alive.</small>'
|
||||||
|
. '</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function getLabel()
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,237 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package MokoWaaS
|
||||||
|
* @subpackage plg_system_mokowaas
|
||||||
|
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
|
||||||
|
* @license GNU General Public License version 3 or later; see LICENSE
|
||||||
|
*
|
||||||
|
* FILE INFORMATION
|
||||||
|
* DEFGROUP: Joomla.Plugin
|
||||||
|
* INGROUP: MokoWaaS
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
* PATH: /src/Field/DemoTaskInfoField.php
|
||||||
|
* BRIEF: Read-only field showing scheduled task info with link to manage it
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Moko\Plugin\System\MokoWaaS\Field;
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Form\FormField;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Displays the demo reset scheduled task status: schedule, next run,
|
||||||
|
* last run, and a direct link to edit the task in Joomla's Scheduler.
|
||||||
|
*
|
||||||
|
* @since 02.29.00
|
||||||
|
*/
|
||||||
|
class DemoTaskInfoField extends FormField
|
||||||
|
{
|
||||||
|
protected $type = 'DemoTaskInfo';
|
||||||
|
|
||||||
|
protected function getInput()
|
||||||
|
{
|
||||||
|
// Query the scheduled task — if it exists and is enabled, demo mode is on
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$db = Factory::getDbo();
|
||||||
|
$query = $db->getQuery(true)
|
||||||
|
->select('*')
|
||||||
|
->from($db->quoteName('#__scheduler_tasks'))
|
||||||
|
->where($db->quoteName('type') . ' = ' . $db->quote('mokowaas.demo.reset'));
|
||||||
|
|
||||||
|
$db->setQuery($query);
|
||||||
|
$task = $db->loadAssoc();
|
||||||
|
}
|
||||||
|
catch (\Throwable $e)
|
||||||
|
{
|
||||||
|
$task = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$newTaskLink = Route::_('index.php?option=com_scheduler&task=task.add');
|
||||||
|
|
||||||
|
if (!$task)
|
||||||
|
{
|
||||||
|
return '<div class="alert alert-info mb-0 py-2">'
|
||||||
|
. 'No demo reset task configured. '
|
||||||
|
. '<a href="' . $newTaskLink . '" class="alert-link">Create a Scheduled Task</a> '
|
||||||
|
. 'and select <strong>MokoWaaS Demo Reset</strong> to enable demo mode.</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$taskId = (int) $task['id'];
|
||||||
|
$state = (int) $task['state'];
|
||||||
|
$siteTimezone = Factory::getApplication()->get('offset', 'UTC');
|
||||||
|
|
||||||
|
// Parse schedule from execution_rules
|
||||||
|
$rules = json_decode($task['execution_rules'] ?? '{}', true);
|
||||||
|
$ruleType = $rules['rule-type'] ?? '';
|
||||||
|
|
||||||
|
switch ($ruleType)
|
||||||
|
{
|
||||||
|
case 'cron-expression':
|
||||||
|
$schedule = $rules['cron-expression'] ?? '';
|
||||||
|
$friendlySchedule = $this->friendlySchedule($schedule);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'interval-minutes':
|
||||||
|
$mins = (int) ($rules['interval-minutes'] ?? 0);
|
||||||
|
|
||||||
|
if ($mins >= 1440 && $mins % 1440 === 0)
|
||||||
|
{
|
||||||
|
$days = $mins / 1440;
|
||||||
|
$schedule = 'Every ' . $days . ' day' . ($days > 1 ? 's' : '');
|
||||||
|
}
|
||||||
|
elseif ($mins >= 60 && $mins % 60 === 0)
|
||||||
|
{
|
||||||
|
$hours = $mins / 60;
|
||||||
|
$schedule = 'Every ' . $hours . ' hour' . ($hours > 1 ? 's' : '');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$schedule = 'Every ' . $mins . ' minute' . ($mins !== 1 ? 's' : '');
|
||||||
|
}
|
||||||
|
|
||||||
|
$friendlySchedule = $schedule;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'interval-hours':
|
||||||
|
$hours = (int) ($rules['interval-hours'] ?? 0);
|
||||||
|
$schedule = 'Every ' . $hours . ' hour' . ($hours !== 1 ? 's' : '');
|
||||||
|
$friendlySchedule = $schedule;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'interval-days':
|
||||||
|
$days = (int) ($rules['interval-days'] ?? 0);
|
||||||
|
$schedule = 'Every ' . $days . ' day' . ($days !== 1 ? 's' : '');
|
||||||
|
$friendlySchedule = $schedule;
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
$schedule = $ruleType ?: 'Not set';
|
||||||
|
$friendlySchedule = 'Custom';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Next execution
|
||||||
|
$nextExec = $task['next_execution'] ?? '';
|
||||||
|
$nextFormatted = 'Not scheduled';
|
||||||
|
$nextBadge = '';
|
||||||
|
|
||||||
|
if (!empty($nextExec) && $nextExec !== '0000-00-00 00:00:00')
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$dt = new \DateTime($nextExec, new \DateTimeZone('UTC'));
|
||||||
|
$dt->setTimezone(new \DateTimeZone($siteTimezone));
|
||||||
|
$nextFormatted = $dt->format('M j, Y g:i A T');
|
||||||
|
}
|
||||||
|
catch (\Throwable $e)
|
||||||
|
{
|
||||||
|
$nextFormatted = $nextExec;
|
||||||
|
}
|
||||||
|
|
||||||
|
$diff = strtotime($nextExec . ' UTC') - time();
|
||||||
|
|
||||||
|
if ($diff <= 0)
|
||||||
|
{
|
||||||
|
$nextBadge = '<span class="badge bg-warning text-dark">DUE</span>';
|
||||||
|
}
|
||||||
|
elseif ($diff < 3600)
|
||||||
|
{
|
||||||
|
$nextBadge = '<span class="badge bg-info">in ' . (int) ceil($diff / 60) . ' min</span>';
|
||||||
|
}
|
||||||
|
elseif ($diff < 86400)
|
||||||
|
{
|
||||||
|
$nextBadge = '<span class="badge bg-info">in ' . round($diff / 3600, 1) . 'h</span>';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$nextBadge = '<span class="badge bg-secondary">in ' . round($diff / 86400, 1) . 'd</span>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Last execution
|
||||||
|
$lastExec = $task['last_execution'] ?? '';
|
||||||
|
$lastFormatted = 'Never';
|
||||||
|
|
||||||
|
if (!empty($lastExec) && $lastExec !== '0000-00-00 00:00:00')
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$dt = new \DateTime($lastExec, new \DateTimeZone('UTC'));
|
||||||
|
$dt->setTimezone(new \DateTimeZone($siteTimezone));
|
||||||
|
$lastFormatted = $dt->format('M j, Y g:i A T');
|
||||||
|
}
|
||||||
|
catch (\Throwable $e)
|
||||||
|
{
|
||||||
|
$lastFormatted = $lastExec;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// State badge
|
||||||
|
$stateBadge = $state === 1
|
||||||
|
? '<span class="badge bg-success">Enabled</span>'
|
||||||
|
: '<span class="badge bg-danger">Disabled</span>';
|
||||||
|
|
||||||
|
// Link to edit the task
|
||||||
|
$editLink = Route::_('index.php?option=com_scheduler&task=task.edit&id=' . $taskId);
|
||||||
|
|
||||||
|
// Task params — default to On when keys are missing (matches form defaults)
|
||||||
|
$taskParams = json_decode($task['params'] ?? '{}', true) ?: [];
|
||||||
|
$bannerOn = !isset($taskParams['banner_enabled']) || (int) $taskParams['banner_enabled'] === 1;
|
||||||
|
$mediaOn = !isset($taskParams['include_media']) || (int) $taskParams['include_media'] === 1;
|
||||||
|
$countdownOn = !isset($taskParams['show_countdown']) || (int) $taskParams['show_countdown'] === 1;
|
||||||
|
|
||||||
|
// Check if snapshot exists
|
||||||
|
$snapshotExists = is_dir(JPATH_ROOT . '/mokowaas-snapshots/default');
|
||||||
|
|
||||||
|
// Build info card
|
||||||
|
return '<div class="card card-body bg-light py-2 px-3 mb-0">'
|
||||||
|
. '<table class="table table-sm table-borderless mb-1" style="max-width:550px">'
|
||||||
|
. '<tr><td class="text-muted" style="width:130px">Status</td><td>' . $stateBadge . '</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Schedule</td><td>' . htmlspecialchars($friendlySchedule) . '</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Next Reset</td><td>' . htmlspecialchars($nextFormatted) . ' ' . $nextBadge . '</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Last Reset</td><td>' . htmlspecialchars($lastFormatted) . '</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Runs</td><td>' . (int) ($task['times_executed'] ?? 0) . ' executed, ' . (int) ($task['times_failed'] ?? 0) . ' failed</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Baseline</td><td>' . ($snapshotExists ? '<span class="badge bg-success">Saved</span>' : '<span class="badge bg-warning text-dark">Not taken yet</span>') . '</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Banner</td><td>' . ($bannerOn ? 'On' : 'Off') . ($countdownOn ? ' + countdown' : '') . '</td></tr>'
|
||||||
|
. '<tr><td class="text-muted">Images</td><td>' . ($mediaOn ? 'Included' : 'Excluded') . '</td></tr>'
|
||||||
|
. '</table>'
|
||||||
|
. '<a href="' . $editLink . '" class="btn btn-sm btn-outline-primary">'
|
||||||
|
. '<span class="icon-cog" aria-hidden="true"></span> Manage Scheduled Task</a>'
|
||||||
|
. '</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function getLabel()
|
||||||
|
{
|
||||||
|
return '<label class="form-label"><strong>Scheduled Reset</strong></label>';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert a cron expression to a human-readable string.
|
||||||
|
*
|
||||||
|
* @param string $cron Cron expression
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
private function friendlySchedule(string $cron): string
|
||||||
|
{
|
||||||
|
$map = [
|
||||||
|
'* * * * *' => 'Every minute',
|
||||||
|
'*/5 * * * *' => 'Every 5 minutes',
|
||||||
|
'*/15 * * * *' => 'Every 15 minutes',
|
||||||
|
'*/30 * * * *' => 'Every 30 minutes',
|
||||||
|
'0 */1 * * *' => 'Every hour',
|
||||||
|
'0 */4 * * *' => 'Every 4 hours',
|
||||||
|
'0 */6 * * *' => 'Every 6 hours',
|
||||||
|
'0 */12 * * *' => 'Every 12 hours',
|
||||||
|
'0 0 * * *' => 'Daily at midnight',
|
||||||
|
'0 6 * * *' => 'Daily at 6:00 AM',
|
||||||
|
'0 0 * * 0' => 'Weekly (Sunday)',
|
||||||
|
'0 0 1 * *' => 'Monthly (1st)',
|
||||||
|
];
|
||||||
|
|
||||||
|
return $map[$cron] ?? 'Custom';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,156 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package MokoWaaS
|
||||||
|
* @subpackage plg_system_mokowaas
|
||||||
|
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
|
||||||
|
* @license GNU General Public License version 3 or later; see LICENSE
|
||||||
|
*
|
||||||
|
* FILE INFORMATION
|
||||||
|
* DEFGROUP: Joomla.Plugin
|
||||||
|
* INGROUP: MokoWaaS
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
* PATH: /src/Field/NextResetField.php
|
||||||
|
* BRIEF: Read-only field showing next reset time from Joomla scheduled task
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Moko\Plugin\System\MokoWaaS\Field;
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Form\FormField;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pulls the next execution time directly from the Joomla scheduled task
|
||||||
|
* (#__scheduler_tasks) and displays it formatted in the site timezone.
|
||||||
|
*
|
||||||
|
* @since 02.29.00
|
||||||
|
*/
|
||||||
|
class NextResetField extends FormField
|
||||||
|
{
|
||||||
|
protected $type = 'NextReset';
|
||||||
|
|
||||||
|
protected function getInput()
|
||||||
|
{
|
||||||
|
// Check if demo mode is enabled
|
||||||
|
$demoEnabled = false;
|
||||||
|
|
||||||
|
if ($this->form)
|
||||||
|
{
|
||||||
|
$demoEnabled = (int) $this->form->getValue('demo_mode_enabled', 'params', 0) === 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$demoEnabled)
|
||||||
|
{
|
||||||
|
return '<span class="form-control-plaintext text-muted">Demo mode is off</span>'
|
||||||
|
. '<input type="hidden" name="' . $this->name . '" value="" />';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Query the actual next_execution from the scheduled task
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$db = Factory::getDbo();
|
||||||
|
$query = $db->getQuery(true)
|
||||||
|
->select([
|
||||||
|
$db->quoteName('next_execution'),
|
||||||
|
$db->quoteName('last_execution'),
|
||||||
|
$db->quoteName('state'),
|
||||||
|
])
|
||||||
|
->from($db->quoteName('#__scheduler_tasks'))
|
||||||
|
->where($db->quoteName('type') . ' = ' . $db->quote('mokowaas.demo.reset'));
|
||||||
|
|
||||||
|
$db->setQuery($query);
|
||||||
|
$task = $db->loadAssoc();
|
||||||
|
}
|
||||||
|
catch (\Throwable $e)
|
||||||
|
{
|
||||||
|
$task = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$task)
|
||||||
|
{
|
||||||
|
return '<div class="alert alert-secondary mb-0 py-2">No scheduled task found — save to create one automatically.</div>'
|
||||||
|
. '<input type="hidden" name="' . $this->name . '" value="" />';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((int) $task['state'] !== 1)
|
||||||
|
{
|
||||||
|
return '<div class="alert alert-warning mb-0 py-2">Scheduled task is disabled.</div>'
|
||||||
|
. '<input type="hidden" name="' . $this->name . '" value="" />';
|
||||||
|
}
|
||||||
|
|
||||||
|
$nextExec = $task['next_execution'];
|
||||||
|
$lastExec = $task['last_execution'];
|
||||||
|
|
||||||
|
if (empty($nextExec) || $nextExec === '0000-00-00 00:00:00')
|
||||||
|
{
|
||||||
|
return '<div class="alert alert-secondary mb-0 py-2">Waiting for first run...</div>'
|
||||||
|
. '<input type="hidden" name="' . $this->name . '" value="" />';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert to site timezone
|
||||||
|
$utcTimestamp = strtotime($nextExec);
|
||||||
|
$siteTimezone = Factory::getApplication()->get('offset', 'UTC');
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$dt = new \DateTime('@' . $utcTimestamp);
|
||||||
|
$dt->setTimezone(new \DateTimeZone($siteTimezone));
|
||||||
|
$formatted = $dt->format('l, F j, Y \a\t g:i A T');
|
||||||
|
}
|
||||||
|
catch (\Throwable $e)
|
||||||
|
{
|
||||||
|
$formatted = $nextExec . ' UTC';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Relative time
|
||||||
|
$diff = $utcTimestamp - time();
|
||||||
|
$relative = '';
|
||||||
|
|
||||||
|
if ($diff <= 0)
|
||||||
|
{
|
||||||
|
$relative = '<span class="badge bg-warning text-dark">overdue</span>';
|
||||||
|
}
|
||||||
|
elseif ($diff < 3600)
|
||||||
|
{
|
||||||
|
$mins = (int) ceil($diff / 60);
|
||||||
|
$relative = '<span class="badge bg-info">in ' . $mins . ' min</span>';
|
||||||
|
}
|
||||||
|
elseif ($diff < 86400)
|
||||||
|
{
|
||||||
|
$hours = round($diff / 3600, 1);
|
||||||
|
$relative = '<span class="badge bg-info">in ' . $hours . 'h</span>';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$days = round($diff / 86400, 1);
|
||||||
|
$relative = '<span class="badge bg-secondary">in ' . $days . 'd</span>';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Last run info
|
||||||
|
$lastInfo = '';
|
||||||
|
|
||||||
|
if (!empty($lastExec) && $lastExec !== '0000-00-00 00:00:00')
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$lastDt = new \DateTime($lastExec);
|
||||||
|
$lastDt->setTimezone(new \DateTimeZone($siteTimezone));
|
||||||
|
$lastInfo = '<small class="text-muted ms-2">Last run: ' . $lastDt->format('M j, g:i A') . '</small>';
|
||||||
|
}
|
||||||
|
catch (\Throwable $e)
|
||||||
|
{
|
||||||
|
// skip
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return '<div class="d-flex align-items-center gap-2 flex-wrap">'
|
||||||
|
. '<span class="form-control-plaintext" style="font-weight:500">'
|
||||||
|
. '<span class="icon-calendar" aria-hidden="true"></span> '
|
||||||
|
. htmlspecialchars($formatted) . '</span> '
|
||||||
|
. $relative
|
||||||
|
. $lastInfo
|
||||||
|
. '<input type="hidden" name="' . $this->name . '" value="' . htmlspecialchars($nextExec) . '" />'
|
||||||
|
. '</div>';
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,175 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package MokoWaaS
|
||||||
|
* @subpackage plg_system_mokowaas
|
||||||
|
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
|
||||||
|
* @license GNU General Public License version 3 or later; see LICENSE
|
||||||
|
*
|
||||||
|
* FILE INFORMATION
|
||||||
|
* DEFGROUP: Joomla.Plugin
|
||||||
|
* INGROUP: MokoWaaS
|
||||||
|
* VERSION: 02.34.00
|
||||||
|
* PATH: /src/Field/SnapshotTablesField.php
|
||||||
|
* BRIEF: Multi-select list field that loads DB tables with sensible defaults
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Moko\Plugin\System\MokoWaaS\Field;
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Form\FormField;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renders a multi-select list box of all Joomla database tables, with
|
||||||
|
* content-related tables pre-selected by default.
|
||||||
|
*
|
||||||
|
* @since 02.26.00
|
||||||
|
*/
|
||||||
|
class SnapshotTablesField extends FormField
|
||||||
|
{
|
||||||
|
protected $type = 'SnapshotTables';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tables selected by default when no value is stored yet.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 02.25.00
|
||||||
|
*/
|
||||||
|
private const DEFAULT_TABLES = [
|
||||||
|
'#__content',
|
||||||
|
'#__categories',
|
||||||
|
'#__fields',
|
||||||
|
'#__fields_values',
|
||||||
|
'#__fields_groups',
|
||||||
|
'#__menu',
|
||||||
|
'#__menu_types',
|
||||||
|
'#__modules',
|
||||||
|
'#__modules_menu',
|
||||||
|
'#__users',
|
||||||
|
'#__user_usergroup_map',
|
||||||
|
'#__user_profiles',
|
||||||
|
'#__tags',
|
||||||
|
'#__contentitem_tag_map',
|
||||||
|
'#__assets',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Table suffixes grouped by category.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
* @since 02.25.00
|
||||||
|
*/
|
||||||
|
private const TABLE_GROUPS = [
|
||||||
|
'Content' => ['content', 'categories', 'fields', 'fields_values', 'fields_groups', 'tags', 'contentitem_tag_map', 'ucm_content', 'ucm_history'],
|
||||||
|
'Users' => ['users', 'user_usergroup_map', 'user_profiles', 'usergroups', 'user_keys', 'user_mfa'],
|
||||||
|
'Menus' => ['menu', 'menu_types'],
|
||||||
|
'Modules' => ['modules', 'modules_menu'],
|
||||||
|
'Assets' => ['assets'],
|
||||||
|
];
|
||||||
|
|
||||||
|
protected function getInput()
|
||||||
|
{
|
||||||
|
$db = Factory::getDbo();
|
||||||
|
$prefix = $db->getPrefix();
|
||||||
|
$tables = $db->getTableList();
|
||||||
|
|
||||||
|
// Resolve selected values
|
||||||
|
$selected = $this->value;
|
||||||
|
|
||||||
|
if ($selected === null || $selected === '')
|
||||||
|
{
|
||||||
|
$selected = self::DEFAULT_TABLES;
|
||||||
|
}
|
||||||
|
elseif (is_string($selected))
|
||||||
|
{
|
||||||
|
$selected = array_filter(array_map('trim', explode("\n", $selected)));
|
||||||
|
}
|
||||||
|
|
||||||
|
$selected = (array) $selected;
|
||||||
|
|
||||||
|
// Flatten nested arrays from broken save format [["#__content"],["#__categories"]]
|
||||||
|
$selected = array_map(function ($v) {
|
||||||
|
return is_array($v) ? reset($v) : $v;
|
||||||
|
}, $selected);
|
||||||
|
|
||||||
|
// Group tables
|
||||||
|
$grouped = [];
|
||||||
|
|
||||||
|
foreach ($tables as $table)
|
||||||
|
{
|
||||||
|
if (strpos($table, $prefix) !== 0)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$suffix = substr($table, strlen($prefix));
|
||||||
|
$logical = '#__' . $suffix;
|
||||||
|
$group = 'Other';
|
||||||
|
|
||||||
|
foreach (self::TABLE_GROUPS as $groupName => $patterns)
|
||||||
|
{
|
||||||
|
if (in_array($suffix, $patterns, true))
|
||||||
|
{
|
||||||
|
$group = $groupName;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$grouped[$group][] = $logical;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build HTML select with optgroups
|
||||||
|
$size = (int) ($this->element['size'] ?? 15);
|
||||||
|
$html = '<select name="' . $this->name . '" id="' . $this->id . '"'
|
||||||
|
. ' multiple="multiple" size="' . $size . '"'
|
||||||
|
. ' class="form-select">';
|
||||||
|
|
||||||
|
$priority = ['Content', 'Users', 'Menus', 'Modules', 'Assets'];
|
||||||
|
|
||||||
|
foreach ($priority as $g)
|
||||||
|
{
|
||||||
|
if (!empty($grouped[$g]))
|
||||||
|
{
|
||||||
|
$html .= '<optgroup label="' . $g . '">';
|
||||||
|
|
||||||
|
foreach ($grouped[$g] as $t)
|
||||||
|
{
|
||||||
|
$sel = in_array($t, $selected, true) ? ' selected="selected"' : '';
|
||||||
|
$html .= '<option value="' . htmlspecialchars($t) . '"' . $sel . '>' . htmlspecialchars($t) . '</option>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$html .= '</optgroup>';
|
||||||
|
unset($grouped[$g]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($grouped['Other']))
|
||||||
|
{
|
||||||
|
$html .= '<optgroup label="Other">';
|
||||||
|
|
||||||
|
foreach ($grouped['Other'] as $t)
|
||||||
|
{
|
||||||
|
$sel = in_array($t, $selected, true) ? ' selected="selected"' : '';
|
||||||
|
$html .= '<option value="' . htmlspecialchars($t) . '"' . $sel . '>' . htmlspecialchars($t) . '</option>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$html .= '</optgroup>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$html .= '</select>';
|
||||||
|
|
||||||
|
// "Reset to defaults" link
|
||||||
|
$defaultsJson = htmlspecialchars(json_encode(self::DEFAULT_TABLES), ENT_QUOTES, 'UTF-8');
|
||||||
|
$html .= '<div class="mt-1">'
|
||||||
|
. '<a href="#" class="small" onclick="'
|
||||||
|
. 'var sel=document.getElementById(\'' . $this->id . '\');'
|
||||||
|
. 'var defs=' . $defaultsJson . ';'
|
||||||
|
. 'Array.from(sel.options).forEach(function(o){o.selected=defs.indexOf(o.value)!==-1;});'
|
||||||
|
. 'return false;'
|
||||||
|
. '"><span class="icon-refresh" aria-hidden="true"></span> Reset to defaults</a>'
|
||||||
|
. '</div>';
|
||||||
|
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,260 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||||
|
|
||||||
|
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
|
||||||
|
REPO: https://github.com/mokoconsulting-tech/mokowaas
|
||||||
|
VERSION: 02.32.04
|
||||||
|
PATH: /src/mokowaas.xml
|
||||||
|
BRIEF: Plugin manifest for MokoWaaS system plugin
|
||||||
|
NOTE: Defines installation metadata, files, and configuration for Joomla
|
||||||
|
-->
|
||||||
|
<extension type="plugin" group="system" method="upgrade">
|
||||||
|
<name>System - MokoWaaS</name>
|
||||||
|
<element>mokowaas</element>
|
||||||
|
<author>Moko Consulting</author>
|
||||||
|
<creationDate>2026-05-22</creationDate>
|
||||||
|
<copyright>Copyright (C) 2025 Moko Consulting. All rights reserved.</copyright>
|
||||||
|
<license>GNU General Public License version 3 or later; see LICENSE.md</license>
|
||||||
|
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||||
|
<authorUrl>https://mokoconsulting.tech</authorUrl>
|
||||||
|
<version>02.34.00</version>
|
||||||
|
<description>This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform.</description>
|
||||||
|
<namespace path=".">Moko\Plugin\System\MokoWaaS</namespace>
|
||||||
|
<scriptfile>script.php</scriptfile>
|
||||||
|
|
||||||
|
<files>
|
||||||
|
<filename plugin="mokowaas">script.php</filename>
|
||||||
|
<folder>Extension</folder>
|
||||||
|
<folder>Field</folder>
|
||||||
|
<folder>Helper</folder>
|
||||||
|
<folder>Service</folder>
|
||||||
|
<folder>forms</folder>
|
||||||
|
<folder>payload</folder>
|
||||||
|
<folder>services</folder>
|
||||||
|
<folder>language</folder>
|
||||||
|
<folder>administrator</folder>
|
||||||
|
</files>
|
||||||
|
|
||||||
|
<media destination="plg_system_mokowaas" folder="media">
|
||||||
|
<filename>index.html</filename>
|
||||||
|
<filename>favicon.ico</filename>
|
||||||
|
<filename>favicon.svg</filename>
|
||||||
|
<filename>favicon_256.png</filename>
|
||||||
|
<filename>logo.png</filename>
|
||||||
|
</media>
|
||||||
|
|
||||||
|
<languages folder="language">
|
||||||
|
<language tag="en-GB">en-GB/plg_system_mokowaas.ini</language>
|
||||||
|
<language tag="en-US">en-US/plg_system_mokowaas.ini</language>
|
||||||
|
</languages>
|
||||||
|
|
||||||
|
<languages folder="administrator/language">
|
||||||
|
<language tag="en-GB">en-GB/plg_system_mokowaas.sys.ini</language>
|
||||||
|
<language tag="en-US">en-US/plg_system_mokowaas.sys.ini</language>
|
||||||
|
</languages>
|
||||||
|
|
||||||
|
<administration>
|
||||||
|
<files folder="administrator">
|
||||||
|
<folder>language</folder>
|
||||||
|
</files>
|
||||||
|
</administration>
|
||||||
|
|
||||||
|
<config>
|
||||||
|
<fields name="params"
|
||||||
|
addfieldprefix="Moko\Plugin\System\MokoWaaS\Field"
|
||||||
|
>
|
||||||
|
<fieldset name="basic">
|
||||||
|
<field
|
||||||
|
name="health_api_token"
|
||||||
|
type="CopyableToken"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_HEALTH_TOKEN_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_HEALTH_TOKEN_DESC"
|
||||||
|
default=""
|
||||||
|
filter="raw"
|
||||||
|
readonly="true"
|
||||||
|
/>
|
||||||
|
<field name="dev_mode" type="radio" default="0"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_DEV_MODE_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_DEV_MODE_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field
|
||||||
|
name="reset_hits"
|
||||||
|
type="radio"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_RESET_HITS_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_RESET_HITS_DESC"
|
||||||
|
default="0"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
>
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field
|
||||||
|
name="delete_versions"
|
||||||
|
type="radio"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_DELETE_VERSIONS_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_DELETE_VERSIONS_DESC"
|
||||||
|
default="0"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
>
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset name="tenant_restrictions"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_FIELDSET_TENANT_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_FIELDSET_TENANT_DESC"
|
||||||
|
>
|
||||||
|
<field name="restrict_installer" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_RESTRICT_INSTALLER_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_RESTRICT_INSTALLER_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="allow_extension_updates" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_ALLOW_UPDATES_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_ALLOW_UPDATES_DESC"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
showon="restrict_installer:1">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="hide_sysinfo" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_HIDE_SYSINFO_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_HIDE_SYSINFO_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="restrict_global_config" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_RESTRICT_CONFIG_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_RESTRICT_CONFIG_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="restrict_template_editing" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_RESTRICT_TEMPLATE_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_RESTRICT_TEMPLATE_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="disable_install_url" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_DISABLE_INSTALL_URL_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_DISABLE_INSTALL_URL_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="hidden_menu_items" type="textarea"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_HIDDEN_MENUS_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_HIDDEN_MENUS_DESC"
|
||||||
|
rows="5" filter="raw" />
|
||||||
|
</fieldset>
|
||||||
|
<fieldset name="demo_mode"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_FIELDSET_DEMO_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_FIELDSET_DEMO_DESC"
|
||||||
|
addfieldprefix="Moko\Plugin\System\MokoWaaS\Field"
|
||||||
|
>
|
||||||
|
<field name="demo_scheduled_task" type="DemoTaskInfo"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_DEMO_TASK_INFO_LABEL"
|
||||||
|
/>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset name="security"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_FIELDSET_SECURITY_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_FIELDSET_SECURITY_DESC"
|
||||||
|
addfieldprefix="Moko\Plugin\System\MokoWaaS\Field"
|
||||||
|
>
|
||||||
|
<field
|
||||||
|
name="emergency_access"
|
||||||
|
type="radio"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_EMERGENCY_ACCESS_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_EMERGENCY_ACCESS_DESC"
|
||||||
|
default="1"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
>
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field
|
||||||
|
name="allowed_ips_display"
|
||||||
|
type="AllowedIps"
|
||||||
|
label=""
|
||||||
|
/>
|
||||||
|
<field name="force_https" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_FORCE_HTTPS_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_FORCE_HTTPS_DESC"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="admin_session_timeout" type="number"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_SESSION_TIMEOUT_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_SESSION_TIMEOUT_DESC"
|
||||||
|
default="60" hint="Minutes (0 = Joomla default)" />
|
||||||
|
<field
|
||||||
|
name="current_ip_display"
|
||||||
|
type="CurrentIp"
|
||||||
|
label=""
|
||||||
|
/>
|
||||||
|
<field
|
||||||
|
name="trusted_ips"
|
||||||
|
type="subform"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_TRUSTED_IPS_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_TRUSTED_IPS_DESC"
|
||||||
|
formsource="plugins/system/mokowaas/forms/trusted_ip_entry.xml"
|
||||||
|
multiple="true"
|
||||||
|
layout="joomla.form.field.subform.repeatable-table"
|
||||||
|
groupByFieldset="false"
|
||||||
|
buttons="add,remove,move"
|
||||||
|
/>
|
||||||
|
<field name="password_min_length" type="number" default="12"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_PASSWORD_LENGTH_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_PASSWORD_LENGTH_DESC" />
|
||||||
|
<field name="password_require_uppercase" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_PASSWORD_UPPER_LABEL"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="password_require_number" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_PASSWORD_NUMBER_LABEL"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="password_require_special" type="radio" default="1"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_PASSWORD_SPECIAL_LABEL"
|
||||||
|
class="btn-group btn-group-yesno">
|
||||||
|
<option value="1">JYES</option>
|
||||||
|
<option value="0">JNO</option>
|
||||||
|
</field>
|
||||||
|
<field name="upload_allowed_types" type="text"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_UPLOAD_TYPES_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_UPLOAD_TYPES_DESC"
|
||||||
|
default="jpg,jpeg,png,gif,webp,svg,pdf,doc,docx,xls,xlsx" />
|
||||||
|
<field name="upload_max_size_mb" type="number"
|
||||||
|
label="PLG_SYSTEM_MOKOWAAS_UPLOAD_SIZE_LABEL"
|
||||||
|
description="PLG_SYSTEM_MOKOWAAS_UPLOAD_SIZE_DESC"
|
||||||
|
default="100" />
|
||||||
|
</fieldset>
|
||||||
|
</fields>
|
||||||
|
</config>
|
||||||
|
</extension>
|
||||||
Reference in New Issue
Block a user