Improve panel navigation, invitations, themes, and account setup
This commit is contained in:
1 parent
570addf37a
commit
ddec53170b
46 files changed
+1856
-199
No files matched your search
@@ -308,6 +308,11 @@ in with their password and enters the code to set up a replacement.
|
||||
|
||||
### Configure email delivery and customer password recovery
|
||||
|
||||
On a new installation with local mail, the installer configures the panel
|
||||
to use Postfix on the loopback interface. The installation check verifies
|
||||
that Postfix accepts an outbound SMTP envelope. Verify delivery to an inbox
|
||||
you control before inviting customers.
|
||||
|
||||
Set `COULOBRE_SMTP_HOST`, `COULOBRE_SMTP_PORT`, and
|
||||
`COULOBRE_EMAIL_FROM` in the panel environment. Add the relay's username
|
||||
and password if it requires authentication. The default uses STARTTLS on
|
||||
@@ -491,6 +496,28 @@ connected. Follow their logs with `journalctl`.
|
||||
sudo journalctl -u coulobre-panel -u coulobre-worker -u coulobre-beat
|
||||
```
|
||||
|
||||
## Select a panel theme
|
||||
|
||||
The panel follows the browser's light or dark preference on the first visit.
|
||||
The sun and moon button stores an explicit choice in the current browser.
|
||||
This choice applies to the sign-in screens as well as the signed-in panel.
|
||||
|
||||
To select a different theme, install a directory such as
|
||||
`docs/examples/coast-theme/` under `/etc/coulobre/themes/`. Give the panel
|
||||
service read access and reserve write access for administrators. Set
|
||||
`COULOBRE_PANEL_THEME=coast-theme` in `/etc/coulobre/panel.env` and restart
|
||||
`coulobre-panel.service`. An unavailable or incompatible theme falls back to
|
||||
the bundled appearance. Use `COULOBRE_PANEL_THEME_DIRECTORY` to choose a
|
||||
different local theme directory.
|
||||
|
||||
A version 1 theme contains a `theme.json` manifest with a name and
|
||||
`"version": 1`, plus a `theme.css` stylesheet. Use a directory name made of
|
||||
lowercase letters, digits, and hyphens, starting with a letter. The variables
|
||||
declared at the top of the bundled `hosting/panel.css` define the palette,
|
||||
components, typography, and spacing. Override these values in `:root` and
|
||||
`:root[data-appearance="dark"]`. Keep theme assets self-contained and review
|
||||
third-party styles before installing them.
|
||||
|
||||
## Upgrade an existing panel
|
||||
|
||||
Download and unpack the new source release. Back up the panel database and
|
||||
@@ -546,6 +573,50 @@ sudo systemctl daemon-reload
|
||||
sudo systemctl start coulobre-panel.service coulobre-worker.service coulobre-beat.service
|
||||
```
|
||||
|
||||
### Upgrade from v0.9 to v0.10
|
||||
|
||||
Use the in-place procedure above with the v0.10 source release. Keep a copy
|
||||
of the v0.9 release and a matching database and configuration backup for
|
||||
rollback. The upgrade adds tables for invitations and customer manager
|
||||
profiles, and initializes the new web setup flags without running
|
||||
provisioning for existing accounts.
|
||||
|
||||
To enable invitations on an upgraded single-server deployment, verify that
|
||||
the existing Postfix configuration permits relay from loopback. Add these
|
||||
settings to `/etc/coulobre/panel.env`, using your actual panel and mail
|
||||
hostnames. For a separate SMTP relay, use its connection settings instead.
|
||||
|
||||
```ini
|
||||
COULOBRE_PASSWORD_RESET_ORIGIN=https://panel.example.net
|
||||
COULOBRE_SMTP_HOST=127.0.0.1
|
||||
COULOBRE_SMTP_PORT=25
|
||||
COULOBRE_SMTP_STARTTLS=0
|
||||
COULOBRE_EMAIL_FROM=panel@mail.example.net
|
||||
```
|
||||
|
||||
Restart the panel and the general worker after editing the environment.
|
||||
Sign in with an existing privileged account and an existing customer.
|
||||
Check an existing website, its PHP runtime, a DNS zone, and a mailbox before
|
||||
creating a test customer. Verify that the invitation arrives and that the
|
||||
recipient can set a password and sign in. Test mail delivery using an inbox
|
||||
you control.
|
||||
|
||||
### Set defaults for new hosting accounts
|
||||
|
||||
Set `COULOBRE_HOSTING_PUBLIC_ADDRESSES` to the IPv4 and IPv6 addresses
|
||||
that serve hosted sites, and `COULOBRE_HOSTING_NAMESERVERS` to the
|
||||
authoritative nameservers for new Coulobre zones. Separate values with
|
||||
commas. If a nameserver is inside a hosted zone, the zone must include
|
||||
its address records. Apply the environment changes to the panel workers.
|
||||
|
||||
When creating an account, select the services it should use. The website
|
||||
option queues the Apache configuration. A fresh, empty web root can receive
|
||||
a starter page. Coulobre DNS can publish the apex, `www`, and a wildcard
|
||||
record. The panel provides copyable web records for third-party DNS.
|
||||
When [managed mail DNS](#check-and-provision-mail-dns) is enabled, the
|
||||
zone includes MX, SPF and a monitoring DMARC policy. Provisioning the
|
||||
first mailbox adds the signing key's public DKIM record.
|
||||
|
||||
## Verify a new installation
|
||||
|
||||
Use a test hosting plan, account, and domain for these checks. Enable the
|
||||
|
||||
Reference in new issue
Block a user