Commit Graph

1313 Commits

Author SHA1 Message Date
Jonathan Miller d9012ffddb fix: add plugin attribute to task plugin manifest to set element in DB
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Site Health (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Joomla: Extension CI / Release Readiness Check (pull_request) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Joomla: Extension CI / Lint & Validate (pull_request) Has been cancelled
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Joomla requires a <filename plugin="mokowaasdemo"> in the files block
to populate the element field in #__extensions. Without it, the DB
INSERT fails with "Field 'element' doesn't have a default value".

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 16:17:01 -05:00
gitea-actions[bot] 1dff862d2b chore: update development channel 02.23.02-dev [skip ci] 2026-05-30 21:11:44 +00:00
gitea-actions[bot] ccdab8b5da chore(version): auto-bump 02.23.02-dev [skip ci] 2026-05-30 21:11:42 +00:00
Jonathan Miller 5245d15b9d fix: remove all */ sequences from comments to prevent docblock termination
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Cron-related comments contained */ in examples like "*/5" and "*/N"
which PHP interprets as closing the block comment, causing syntax errors.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 16:11:14 -05:00
Jonathan Miller 1673616523 fix: docblock */ in (*/N) prematurely closes comment, causing PHP syntax error
The string "*/N" inside a docblock contains */ which PHP interprets as
the end of the block comment, making "N" an unexpected identifier.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 16:11:14 -05:00
gitea-actions[bot] 88817690e5 chore: update development channel 02.23.01-dev [skip ci] 2026-05-30 20:37:01 +00:00
gitea-actions[bot] 689bf1712f chore(version): auto-bump 02.23.01-dev [skip ci] 2026-05-30 20:36:59 +00:00
Jonathan Miller 65e986344e feat(demo): crontab-style reset schedule with preset dropdown and stored countdown
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- Replace hours interval with preset schedule dropdown (hourly, 4h, 6h,
  12h, daily, weekly, monthly) plus custom crontab option
- Banner countdown now uses stored demo_next_reset timestamp calculated
  from cron schedule on save, not a relative timer from page load
- Added cron parser (calculateNextCronRun) supporting wildcards, steps,
  ranges, and comma-separated values

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 15:36:43 -05:00
jmiller c37e6d9637 chore: sync updates.xml 02.23.00 from main [skip ci] 2026-05-30 20:27:23 +00:00
gitea-actions[bot] ab38f96dbc chore: update development channel 02.22.05-dev [skip ci]
Branch Cleanup / Delete merged branch (pull_request) Has been cancelled
Universal: Build & Release / Promote to RC (pull_request) Has been cancelled
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been cancelled
2026-05-30 20:20:50 +00:00
gitea-actions[bot] c94e92a97e chore(version): auto-bump 02.22.05-dev [skip ci] 2026-05-30 20:20:48 +00:00
Jonathan Miller 02149ecc04 fix: rename plg_task_mokowaas → plg_task_mokowaasdemo to match package manifest
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Universal: Cascade Main → Dev / Cascade main → branches (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
The package manifest expects plg_task_mokowaasdemo.zip but the directory
was named plg_task_mokowaas, causing "Install path does not exist" during
package installation.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 15:20:25 -05:00
Jonathan Miller abe906b4d7 chore: merge main into dev (manifest display name sync) [skip ci]
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 15:16:16 -05:00
Jonathan Miller 2cd327e002 fix: align display names across all manifests and branches [skip ci]
- updates.xml dev channel: add "Package -" prefix and php_minimum
- Fix "Moko WaaS" → "MokoWaaS" in en-GB .ini, en-GB .sys.ini, en-US .sys.ini
- Normalize single quotes to double quotes in dev channel XML attributes

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 14:17:44 -05:00
jmiller e0ffef12f5 feat: add display-name to manifest.xml [skip ci] 2026-05-30 19:14:26 +00:00
jmiller f8612d55e5 chore: sync updates.xml from development [skip ci] 2026-05-30 19:13:01 +00:00
gitea-actions[bot] 76a9f643c9 chore: update development channel 02.22.04-dev [skip ci] 2026-05-30 19:12:59 +00:00
gitea-actions[bot] e824251c4a chore(version): auto-bump 02.22.04-dev [skip ci] 2026-05-30 19:12:56 +00:00
Jonathan Miller d17544aba2 fix: add php_minimum to dev channel in updates.xml
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 14:12:28 -05:00
Jonathan Miller 294a06028b fix: align updates.xml with MokoOnyx pattern and fix display name consistency
- updates.xml descriptions now use "Package - MokoWaaS" prefix (matches
  MokoOnyx's "Template - MokoOnyx" convention)
- Added <php_minimum>8.1.0</php_minimum> to all update entries
- Fixed inconsistent quote style in dev channel entry
- Fixed language strings: "Moko WaaS" → "MokoWaaS" in all .ini files

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 14:12:07 -05:00
jmiller 210e1182c5 chore: sync updates.xml from development [skip ci] 2026-05-30 19:07:09 +00:00
gitea-actions[bot] 461d63efca chore: update development channel 02.22.03-dev [skip ci] 2026-05-30 19:07:08 +00:00
gitea-actions[bot] 747a7a4081 chore(version): auto-bump 02.22.03-dev [skip ci] 2026-05-30 19:07:06 +00:00
Jonathan Miller 3975e8e205 feat(api): add extensions list endpoint with filters and update server info
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
GET /?mokowaas=extensions and GET /api/v1/mokowaas/extensions returns
all installed extensions with version, enabled/protected/locked status,
and update server details. Supports ?type, ?search, and ?enabled filters.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 14:06:52 -05:00
jmiller ea20256a67 chore: sync updates.xml from development [skip ci] 2026-05-30 19:03:39 +00:00
gitea-actions[bot] 817e00fc75 chore: update development channel 02.22.02-dev [skip ci] 2026-05-30 19:03:36 +00:00
gitea-actions[bot] 2aa69c1fe2 chore(version): auto-bump 02.22.02-dev [skip ci] 2026-05-30 19:03:29 +00:00
Jonathan Miller e1db1149d8 fix: protect all package extensions, keep update server enabled, clean up legacy mokowaasbrand
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
- protectExtensions() now covers all MokoWaaS elements (package, system
  plugin, component, webservices, task, perfectpublisher)
- enableUpdateServer() ensures #__update_sites stays enabled for MokoWaaS
- cleanupLegacyExtensions() removes old mokowaasbrand entries from
  #__extensions and deletes plugins/system/mokowaasbrand/ from filesystem

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 14:02:55 -05:00
jmiller 67344f65b2 chore: sync updates.xml from development [skip ci] 2026-05-30 18:53:38 +00:00
gitea-actions[bot] f4caa1821e chore: update development channel 02.22.01-dev [skip ci] 2026-05-30 18:53:37 +00:00
gitea-actions[bot] e25281e130 chore(version): auto-bump 02.22.01-dev [skip ci] 2026-05-30 18:53:35 +00:00
Jonathan Miller 1f25fe310f feat(sync): add one-way content sync — push articles, menus, modules to remote sites
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Adds ContentSyncService (sender) and ContentSyncReceiver (receiver) for
pushing articles, categories, menus, and modules from a dev site to
remote MokoWaaS sites. Content matched by alias (upsert pattern).
Category IDs in menu links encoded as {catid:path} tokens for portable
cross-site resolution.

Closes #89

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 13:53:17 -05:00
jmiller c7d1c71d34 chore: sync updates.xml 02.22.00 from main [skip ci] 2026-05-30 17:58:59 +00:00
gitea-actions[bot] 40fffcb234 chore: update channels for 02.22.00 [skip ci] 2026-05-30 17:58:58 +00:00
gitea-actions[bot] 7a0331b8dd chore(version): auto-bump 02.21.02-dev [skip ci] 2026-05-30 17:58:53 +00:00
gitea-actions[bot] f451fb4d1a chore(release): build 02.22.00 [skip ci] 2026-05-30 17:58:52 +00:00
jmiller 137d51a534 Merge pull request 'feat(api): add install-from-URL endpoint' (#87) from dev into main
Generic: Repo Health / Site Health (push) Has been cancelled
Universal: Cascade Main → Dev / Cascade main → branches (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
2026-05-30 17:58:34 +00:00
Jonathan Miller 6367572eb1 chore: merge main into dev (resolve version conflicts)
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Generic: Repo Health / Site Health (pull_request) Has been cancelled
Joomla: Extension CI / Release Readiness Check (pull_request) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Has been cancelled
Branch Cleanup / Delete merged branch (pull_request) Has been cancelled
Joomla: Extension CI / Lint & Validate (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Universal: Build & Release / Promote to RC (pull_request) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 12:58:23 -05:00
jmiller 33053364a9 chore: sync updates.xml from development [skip ci] 2026-05-30 17:51:13 +00:00
gitea-actions[bot] fc30ee6fb2 chore: update development channel 02.21.01-dev [skip ci] 2026-05-30 17:51:12 +00:00
gitea-actions[bot] 06f149a073 chore(version): auto-bump 02.21.01-dev [skip ci] 2026-05-30 17:51:10 +00:00
Jonathan Miller 72308fee53 feat(demo): add demo site reset with baseline snapshots and warning banner
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Generic: Repo Health / Access control (pull_request) Has been cancelled
Generic: Repo Health / Site Health (pull_request) Has been cancelled
Joomla: Extension CI / Release Readiness Check (pull_request) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Has been cancelled
Joomla: Extension CI / Lint & Validate (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Generic: Repo Health / Release configuration (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Adds Demo Mode feature for configuring sites as demo instances with
automatic periodic reset to a saved baseline. Includes DemoResetService
for DB table + media snapshots, frontend warning banner, REST and
query-string API endpoints, admin toggles, and a Joomla Scheduled Task
plugin (plg_task_mokowaasdemo) for automatic reset.

Closes #88

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 12:50:55 -05:00
jmiller b3298258d7 chore: sync updates.xml from development [skip ci] 2026-05-30 16:46:48 +00:00
gitea-actions[bot] c4b8aa0fbb chore: update development channel 02.20.02-dev [skip ci] 2026-05-30 16:46:47 +00:00
gitea-actions[bot] 4190e0e9ea chore(version): auto-bump 02.20.02-dev [skip ci] 2026-05-30 16:46:46 +00:00
Jonathan Miller 7a9e3da174 feat(api): add install-from-URL endpoint for remote extension deployment
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Has been cancelled
Update Server / Update Server (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Adds POST /api/v1/mokowaas/install to install Joomla extensions from a
remote ZIP URL via the REST API, enabling push-deploy from CI pipelines.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-30 11:45:21 -05:00
jmiller 9eaf2baea6 chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-05-30 16:03:07 +00:00
jmiller 5f28bc34db chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-05-30 16:01:24 +00:00
jmiller d93da0b1b7 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-30 15:03:54 +00:00
jmiller 80326664c9 chore: sync .mokogitea/workflows/auto-bump.yml from moko-platform [skip ci] 2026-05-30 15:01:26 +00:00