release: promote dev → main (installer + admin-menu + UI fixes) #224
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promote the validated dev line to stable. All changed PHP
php -lclean; verified end-to-end on the dev channel.What's included
Installer / update reliability
PREPARE/EXECUTE/DEALLOCATE(error 1295) — legacy remote-column purge moved to PHP inscript.php(dropLegacyRemoteColumns, INFORMATION_SCHEMA-gated plainALTER);02.56.01.sqlneutralised.com_component-mokosuitebackupremoved in preflight + postflight (record, menu, schemas, folder).ensureSubmenuItems()recreates the top-level "Backup" menu if missing; menu label uses the short constantCOM_MOKOJOOMBACKUP_SHORT. Restores the cPanel module + MokoSuiteClient detection.UI
.container-fluidpadding frame, CSS via the Web Asset Manager (media/+joomla.asset.json), no inline styles.Behaviour
Merging cuts the stable release.
https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i
Fallout of the duplicate-component element bug: - Preflight now runs removeOrphanedComponent() BEFORE the component install recreates its menu, so the orphan's "Backup" menu (alias "backup") no longer collides ("The alias backup is already being used by the Backup menu item"). - ensureSubmenuItems() recreates the top-level "Backup" menu when it is missing (via new createTopMenu()) instead of bailing out — so a failed install that deleted the parent menu no longer leaves Backup gone from the admin menu (which also broke the cPanel module and MokoSuiteClient component detection). - The top-level menu label now uses the short constant COM_MOKOJOOMBACKUP_SHORT (manifest <menu> + enforced/normalized in the script). Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i- Move component admin CSS to the Joomla Web Asset Manager: new media/com_mokosuitebackup/css/admin.css + media/joomla.asset.json, a <media> entry in the manifest, and useStyle('com_mokosuitebackup.admin') in the profile edit view. Removes the inline <style> block (no more inline CSS). - Remove the profile-level "Keep local copy" field/"Remote" fieldset from forms/profile.xml — it is now per remote destination (modal remoteKeepLocal). - Clean up the Add/Edit Destination modal padding/margins (in admin.css). Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i