fix: Remove orphaned root-level webservices plugin files #87

Merged
jmiller merged 2 commits from fix/remove-orphaned-root-files into main 2026-06-21 23:56:04 +00:00
Owner

Summary

Removes orphaned mokosuitebackup.xml and mokosuitebackup.php from the repo root. These are stale copies from before the code was restructured into source/packages/.

This fixes the Joomla install error:

JInstaller: File does not exist [ROOT][TMP]/install_.../mokosuitebackup/src
Plugin Update: Could not copy files from the source.

The root manifest still referenced <folder>src</folder> but that directory was removed in PR #82. The actual webservices plugin lives at source/packages/plg_webservices_mokosuitebackup/ with its own manifest and intact src/ directory.

Test Plan

  • Package installs cleanly on Joomla without "File does not exist" error
  • Webservices plugin functions correctly (API endpoints respond)
## Summary Removes orphaned `mokosuitebackup.xml` and `mokosuitebackup.php` from the repo root. These are stale copies from before the code was restructured into `source/packages/`. **This fixes the Joomla install error:** ``` JInstaller: File does not exist [ROOT][TMP]/install_.../mokosuitebackup/src Plugin Update: Could not copy files from the source. ``` The root manifest still referenced `<folder>src</folder>` but that directory was removed in PR #82. The actual webservices plugin lives at `source/packages/plg_webservices_mokosuitebackup/` with its own manifest and intact `src/` directory. ## Test Plan - [ ] Package installs cleanly on Joomla without "File does not exist" error - [ ] Webservices plugin functions correctly (API endpoints respond)
jmiller added 2 commits 2026-06-21 23:55:37 +00:00
feat: backup type filter + path traversal protection (#68, #72)
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Blocked by required conditions
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Blocked by required conditions
Joomla: Extension CI / PHPStan Analysis (pull_request) Blocked by required conditions
Joomla: Extension CI / Build RC Pre-Release (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 25s
Universal: Build & Release / Promote to RC (pull_request) Successful in 28s
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 4s
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 7s
Universal: PR Check / Secret Scan (pull_request) Successful in 5s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 11s
3328d7cf19
#68: Add backup type filter dropdown to backups list view
- filter_backups.xml: full/database/files/differential options
- BackupsModel: backup_type filter in getListQuery()
- Language string: COM_MOKOJOOMBACKUP_FILTER_TYPE_ALL

#72: Path traversal protection in RestoreEngine and MokoRestore
- RestoreEngine::extractArchive(): validate ZIP entries before extractTo()
- RestoreEngine::extractTarGz(): validate PharData entries before extractTo()
- MokoRestore standalone script: same validation in generated PHP code
- Rejects entries containing ../ or starting with / or \

Closes #68, closes #72
fix: remove orphaned root-level webservices plugin files
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Blocked by required conditions
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Blocked by required conditions
Joomla: Extension CI / PHPStan Analysis (pull_request) Blocked by required conditions
Joomla: Extension CI / Build RC Pre-Release (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Failing after 5s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 5s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 8s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 8s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 14s
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 26s
57bfb37be1
The root mokosuitebackup.xml and mokosuitebackup.php are stale
copies from before the code was restructured into source/packages/.
The webservices plugin lives at source/packages/plg_webservices_mokosuitebackup/
with its own manifest and src/ directory.

The root manifest still referenced <folder>src</folder> but that
directory was removed in PR #82, causing Joomla installer to fail
with "File does not exist [ROOT][TMP]/.../mokosuitebackup/src".
jmiller merged commit cdb54f6a3e into main 2026-06-21 23:56:04 +00:00
jmiller deleted branch fix/remove-orphaned-root-files 2026-06-21 23:56:05 +00:00
Sign in to join this conversation.
No Reviewers
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteBackup#87