Use readable defaults for new database names #228

Merged
parkel merged 1 commits from feature/readable-database-names into main 2026-12-01 13:04:02 +01:00
Owner

Closes #209.

Improvements

  • Preview the exact MariaDB name while entering an application name. New databases use a short account label and the account ID, for example example_a42_wordpress.
  • Use the same naming rule for new DirectAdmin imports. Replaying a previous import reports the original database names.
  • Match component restores to the exact database identity from the backup.

Compatibility and upgrade

  • The additive migration preserves existing database names and credentials. Existing database manifests and backups still work. An account or domain rename leaves database names stable.
  • New database manifests require the updated Coulobre database tools. For an existing phpMyAdmin integration, replace the manually deployed coulobre-signon.php before using single sign-on for newly named databases. The updated bridge accepts both naming formats.

Verification

  • Django suite, migration check, Ruff and JavaScript syntax check.
  • Chromium checked the preview and submission on desktop and at 320 pixels, plus the server-side preview with JavaScript disabled.
  • An Ubuntu 26.04 test VM verified migration from 1.0.0rc6, the original MariaDB login, restore from a pre-upgrade dump, a combined backup and restore with both naming formats, and creation at the new length limit.
  • PHP syntax and bridge name validation passed for both supported formats.
Closes #209. ## Improvements - Preview the exact MariaDB name while entering an application name. New databases use a short account label and the account ID, for example `example_a42_wordpress`. - Use the same naming rule for new DirectAdmin imports. Replaying a previous import reports the original database names. - Match component restores to the exact database identity from the backup. ## Compatibility and upgrade - The additive migration preserves existing database names and credentials. Existing database manifests and backups still work. An account or domain rename leaves database names stable. - New database manifests require the updated Coulobre database tools. For an existing phpMyAdmin integration, replace the manually deployed `coulobre-signon.php` before using single sign-on for newly named databases. The updated bridge accepts both naming formats. ## Verification - Django suite, migration check, Ruff and JavaScript syntax check. - Chromium checked the preview and submission on desktop and at 320 pixels, plus the server-side preview with JavaScript disabled. - An Ubuntu 26.04 test VM verified migration from 1.0.0rc6, the original MariaDB login, restore from a pre-upgrade dump, a combined backup and restore with both naming formats, and creation at the new length limit. - PHP syntax and bridge name validation passed for both supported formats.
parkel added 1 commit 2026-12-01 12:58:13 +01:00
Use readable account-based names for new databases
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
37128b245f
parkel merged commit 26bb2fa4b8 into main 2026-12-01 13:04:02 +01:00
parkel deleted branch feature/readable-database-names 2026-12-01 13:04:02 +01:00
Sign in to join this conversation.