diff --git a/.mokogitea/manifest.xml b/.mokogitea/manifest.xml index 13dbf20b..88ddd40e 100644 --- a/.mokogitea/manifest.xml +++ b/.mokogitea/manifest.xml @@ -8,7 +8,7 @@ MokoWaaS MokoConsulting White-label identity, security hardening, and tenant restriction layer for WaaS-managed Joomla environments - 02.11.00 + 02.11.01 GNU General Public License v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index d949b54e..5e3e1400 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Trusted IPs: configurable repeatable rows of IP addresses, CIDR ranges, and wildcards that bypass admin session timeout - Supports exact IPs (192.168.1.100), CIDR (10.0.0.0/24), and wildcards (192.168.1.*) - Each entry has a label and enabled toggle for easy management +- Current IP display above trusted IPs table so admins can easily add their own IP ## [02.06.00] - 2026-05-25 diff --git a/README.md b/README.md index 72702fad..8f7ee226 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ DEFGROUP: Joomla.Plugin INGROUP: MokoWaaS REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS - VERSION: 02.11.00 + VERSION: 02.11.01 PATH: /README.md BRIEF: MokoWaaS platform plugin for Joomla --> diff --git a/src/packages/com_mokowaas/mokowaas.xml b/src/packages/com_mokowaas/mokowaas.xml index e55bc1bf..70359c54 100644 --- a/src/packages/com_mokowaas/mokowaas.xml +++ b/src/packages/com_mokowaas/mokowaas.xml @@ -7,7 +7,7 @@ GPL-3.0-or-later hello@mokoconsulting.tech https://mokoconsulting.tech - 02.11.00 + 02.11.01 Minimal API-only component for MokoWaaS. Provides REST endpoints for site health, cache, updates, and backups. Moko\Component\MokoWaaS\Api diff --git a/src/packages/plg_system_mokowaas/Field/CurrentIpField.php b/src/packages/plg_system_mokowaas/Field/CurrentIpField.php new file mode 100644 index 00000000..6de6e00f --- /dev/null +++ b/src/packages/plg_system_mokowaas/Field/CurrentIpField.php @@ -0,0 +1,40 @@ + + * + * SPDX-LICENSE-IDENTIFIER: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: Joomla.Plugin + * INGROUP: MokoWaaS + * VERSION: 02.11.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 '
' + . 'Your current IP: ' + . '' . htmlspecialchars($currentIp) . ' ' + . '— add this to the table below to keep your session alive.' + . '
'; + } + + protected function getLabel() + { + return ''; + } +} diff --git a/src/packages/plg_system_mokowaas/mokowaas.xml b/src/packages/plg_system_mokowaas/mokowaas.xml index 02598d20..a30881b2 100644 --- a/src/packages/plg_system_mokowaas/mokowaas.xml +++ b/src/packages/plg_system_mokowaas/mokowaas.xml @@ -30,7 +30,7 @@ GNU General Public License version 3 or later; see LICENSE.md hello@mokoconsulting.tech https://mokoconsulting.tech - 02.11.00 + 02.11.01 This plugin rebrands the Joomla system interface with MokoWaaS identity. It applies language overrides and ensures consistent branding across the platform. Moko\Plugin\System\MokoWaaS script.php @@ -310,6 +310,7 @@
+ GPL-3.0-or-later hello@mokoconsulting.tech https://mokoconsulting.tech - 02.11.00 + 02.11.01 Joomla Web Services API routes for MokoWaaS site management — health checks, cache, updates, backups, and site info. Moko\Plugin\WebServices\MokoWaaS diff --git a/src/pkg_mokowaas.xml b/src/pkg_mokowaas.xml index 063c39e5..18ae5ecc 100644 --- a/src/pkg_mokowaas.xml +++ b/src/pkg_mokowaas.xml @@ -2,7 +2,7 @@ MokoWaaS mokowaas - 02.11.00 + 02.11.01 2026-05-23 Moko Consulting hello@mokoconsulting.tech diff --git a/updates.xml b/updates.xml index 94891016..8ad5a602 100644 --- a/updates.xml +++ b/updates.xml @@ -109,12 +109,13 @@ pkg_mokowaas package site - 02.10.06 + 02.11.01 2026-05-26 https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS/releases/tag/development - https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS/releases/download/development/pkg_mokowaas-02.10.06-dev.zip + https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS/releases/download/development/pkg_mokowaas-02.11.01-dev.zip + d517b072a0962c156f0e01a0cd3fea232d5c99240cd452632d37c84b157889e2 development Moko Consulting https://mokoconsulting.tech