Suspend and resume hosting account services #68

Merged
parkel merged 2 commits from feature/account-suspension into main 2026-11-21 19:01:21 +01:00
Owner

Summary

  • Add operator controls for suspending and resuming hosting services. Show the requested state, the last confirmed restriction and errors per target, and an operator history. A retry runs the failed steps from the previous request.
  • Block Apache content and new SFTP, MariaDB, and mailbox logins. Keep customer panel access, incoming mail, authoritative DNS, and the shared Certbot challenge directory available.
  • Preserve website files, database contents, mailbox data, credentials, certificates, and quotas. Retain any existing MariaDB account lock on resume.
  • Apply mailbox restrictions through the existing local socket or remote mail relay.

Related issue

Closes #56

Verification

  • Ran 370 Django tests, Ruff, and the migration consistency check.
  • Checked the full panel workflow in Ubuntu with Apache over HTTP and HTTPS, a website alias, an ACME challenge, SFTP, MariaDB, Postfix, Dovecot, and BIND. Confirmed that the original credentials worked on resume and that a pre-existing MariaDB account lock stayed in place.
  • Used two isolated Ubuntu guests to pause and resume a mailbox through the existing SSH relay. Verified that DNS continued to resolve and that a second mailbox on the shared node kept its authentication entry.
## Summary - Add operator controls for suspending and resuming hosting services. Show the requested state, the last confirmed restriction and errors per target, and an operator history. A retry runs the failed steps from the previous request. - Block Apache content and new SFTP, MariaDB, and mailbox logins. Keep customer panel access, incoming mail, authoritative DNS, and the shared Certbot challenge directory available. - Preserve website files, database contents, mailbox data, credentials, certificates, and quotas. Retain any existing MariaDB account lock on resume. - Apply mailbox restrictions through the existing local socket or remote mail relay. ## Related issue Closes #56 ## Verification - Ran 370 Django tests, Ruff, and the migration consistency check. - Checked the full panel workflow in Ubuntu with Apache over HTTP and HTTPS, a website alias, an ACME challenge, SFTP, MariaDB, Postfix, Dovecot, and BIND. Confirmed that the original credentials worked on resume and that a pre-existing MariaDB account lock stayed in place. - Used two isolated Ubuntu guests to pause and resume a mailbox through the existing SSH relay. Verified that DNS continued to resolve and that a second mailbox on the shared node kept its authentication entry.
parkel added this to the v0.3.0 - Day-to-day hosting administration milestone 2026-11-21 18:57:43 +01:00
parkel added 2 commits 2026-11-21 18:57:43 +01:00
Manage hosting service suspension in the panel
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
296401a436
parkel added the area/databasearea/hostingarea/mailarea/panel
kind
feature
labels 2026-11-21 18:57:43 +01:00
parkel merged commit 9bef23b5e4 into main 2026-11-21 19:01:21 +01:00
parkel deleted branch feature/account-suspension 2026-11-21 19:01:21 +01:00
Sign in to join this conversation.