feat: trusted IPs bypass admin session timeout #55

Merged
jmiller merged 4 commits from dev into main 2026-05-26 19:44:23 +00:00
Owner

Summary

  • Add configurable repeatable rows of trusted IP addresses that bypass admin session timeout
  • Supports exact IPs, CIDR notation (e.g. 10.0.0.0/24), and wildcard patterns (e.g. 192.168.1.*)
  • Each entry has a label and enabled/disabled toggle for easy management
  • New subform field in the Security tab renders as an admin table with add/remove/reorder

Files changed

  • forms/trusted_ip_entry.xml -- new subform definition
  • mokowaas.xml -- added trusted_ips field to security fieldset
  • Extension/MokoWaaS.php -- added ipIsTrusted() + updated enforceAdminSessionTimeout()
  • language/en-GB/*.ini + en-US/*.ini -- 8 new language strings
  • CHANGELOG.md -- documented under Unreleased

Test plan

  • Verify trusted IPs subform renders in Security tab
  • Add exact IP, CIDR range, and wildcard entries
  • Confirm session does not expire for matching IP
  • Confirm session still expires for non-matching IP
  • Toggle entry disabled and verify timeout resumes

Generated with Claude Code

## Summary - Add configurable repeatable rows of trusted IP addresses that bypass admin session timeout - Supports exact IPs, CIDR notation (e.g. 10.0.0.0/24), and wildcard patterns (e.g. 192.168.1.*) - Each entry has a label and enabled/disabled toggle for easy management - New subform field in the Security tab renders as an admin table with add/remove/reorder ## Files changed - `forms/trusted_ip_entry.xml` -- new subform definition - `mokowaas.xml` -- added trusted_ips field to security fieldset - `Extension/MokoWaaS.php` -- added `ipIsTrusted()` + updated `enforceAdminSessionTimeout()` - `language/en-GB/*.ini` + `en-US/*.ini` -- 8 new language strings - `CHANGELOG.md` -- documented under Unreleased ## Test plan - [ ] Verify trusted IPs subform renders in Security tab - [ ] Add exact IP, CIDR range, and wildcard entries - [ ] Confirm session does not expire for matching IP - [ ] Confirm session still expires for non-matching IP - [ ] Toggle entry disabled and verify timeout resumes Generated with Claude Code
jmiller added 4 commits 2026-05-26 19:41:39 +00:00
chore: cascade main → dev [skip ci]
feat: trusted IPs bypass admin session timeout
Joomla: Repo Health / Release configuration (push) Blocked by required conditions
Joomla: Repo Health / Scripts governance (push) Blocked by required conditions
Joomla: Repo Health / Repository health (push) Blocked by required conditions
Joomla: Repo Health / Access control (push) Successful in 1s
Update Server / Update updates.xml (push) Failing after 11s
ad4c658b3d
Add configurable repeatable rows of trusted IP addresses that bypass
the admin session timeout. Supports exact IPs, CIDR ranges, and
wildcard patterns with per-entry labels and enabled toggles.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore: update updates.xml (development: 02.10.05-dev) [skip ci]
Universal: Build & Release / Promote Pre-Release to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 9s
c97c29f9ed
jmiller merged commit a2eaf549af into main 2026-05-26 19:44:23 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoWaaS#55