Install WordPress and provision site administrators #238

Merged
parkel merged 1 commits from feature/wordpress-management into main 2026-12-02 01:13:51 +01:00
Owner

Refs #234

New features

  • Add a WordPress page under Websites for eligible hosting accounts. Select an active website and detect an existing WordPress installation.
  • Install a new site with a dedicated database and its first WordPress administrator. Publish verified files over an empty document root or the unchanged Coulobre starter page.
  • Let authorized hosting users create an additional WordPress administrator and see whether WordPress accepted the password setup email.

Security

  • Limit operations to the selected hosting account and run WP-CLI under the site's Unix identity with its PHP series. Recheck account access and the site before a queued operation runs.
  • Use HTTPS for account changes, keep the generated database password out of command arguments and job records, and keep WordPress passwords out of email. Create WordPress's native password setup link through the site's mail configuration.
  • Preserve the existing document root during preparation and recover the original starter file if publication fails.

Verification

  • 662 Django tests ran, with one environment-dependent skip. Ruff, migration consistency, and Git whitespace checks passed.
  • A network-isolated Ubuntu 26.04 VM exercised real WP-CLI, PHP and MariaDB for fresh installation, discovery, administrator creation, duplicate rejection and local capture of a native password setup link. The VM used a pre-downloaded WordPress release and fixture HTTPS status. The live download and public HTTPS path still need an end-to-end release test.

Setup and remaining scope

  • Apply the migration and enable WordPress management after installing verified WP-CLI and PHP's MariaDB extension on the web node.
  • Keep #234 open for selected updates with Core backups and staging from live. WordPress import is tracked in #235.
Refs #234 ## New features - Add a WordPress page under Websites for eligible hosting accounts. Select an active website and detect an existing WordPress installation. - Install a new site with a dedicated database and its first WordPress administrator. Publish verified files over an empty document root or the unchanged Coulobre starter page. - Let authorized hosting users create an additional WordPress administrator and see whether WordPress accepted the password setup email. ## Security - Limit operations to the selected hosting account and run WP-CLI under the site's Unix identity with its PHP series. Recheck account access and the site before a queued operation runs. - Use HTTPS for account changes, keep the generated database password out of command arguments and job records, and keep WordPress passwords out of email. Create WordPress's native password setup link through the site's mail configuration. - Preserve the existing document root during preparation and recover the original starter file if publication fails. ## Verification - 662 Django tests ran, with one environment-dependent skip. Ruff, migration consistency, and Git whitespace checks passed. - A network-isolated Ubuntu 26.04 VM exercised real WP-CLI, PHP and MariaDB for fresh installation, discovery, administrator creation, duplicate rejection and local capture of a native password setup link. The VM used a pre-downloaded WordPress release and fixture HTTPS status. The live download and public HTTPS path still need an end-to-end release test. ## Setup and remaining scope - Apply the migration and enable WordPress management after installing verified WP-CLI and PHP's MariaDB extension on the web node. - Keep #234 open for selected updates with Core backups and staging from live. WordPress import is tracked in #235.
parkel added this to the v1.2.0 - WordPress and mail diagnostics milestone 2026-12-02 01:06:19 +01:00
parkel added 1 commit 2026-12-02 01:06:19 +01:00
Install WordPress and provision site administrators
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
e1f1a3c86e
parkel merged commit b4e2187bf8 into main 2026-12-02 01:13:51 +01:00
parkel deleted branch feature/wordpress-management 2026-12-02 01:13:51 +01:00
Sign in to join this conversation.