feat(instance): make the status page URL configurable (#1159)

This commit is contained in:
Tarek authored and GitHub committed 2026-09-16 15:20:37 +02:00
1 parent 7412ec3395
commit f753659899
58 files changed
+1192 -904

No files matched your search

@@ -374,7 +374,7 @@ Branding, setup state, legal documents, and registration fields a client reads b
## Public branding object
The instance identity a client renders: its name, its images, and its theme colour. The image URLs customise browser metadata, install metadata, and link previews.
The instance identity a client renders: its name, its images, its theme colour, and its status page links. The image URLs customise browser metadata, install metadata, and link previews.
### Structure
@@ -387,6 +387,8 @@ The instance identity a client renders: its name, its images, and its theme colo
| wordmark_url | ?string | Application wordmark URL, or null |
| favicon_url | ?string | Browser favicon URL, or null |
| theme_color | ?string | Browser theme colour, or null |
| status_page_url | ?string | Public status page URL, or null |
| status_page_incident_history_url | ?string | Status page incident history URL, or null |
## Public setup state object
@@ -1243,6 +1243,14 @@ Default empty. The favicon. Its origin is added to the CSP by `app-proxy`.
Default empty. The theme colour.
#### `FLUXER_APP_STATUS_PAGE_URL`
Default empty. The public status page. The web app links to it when loading stalls, and polls its Instatus `summary.json` and `components.json` for incidents and maintenance. Empty removes the link and stops the polling. `app-proxy` does not add this origin to the CSP, so a status page off `fluxerstatus.com` also needs it in `FLUXER_CSP_EXTRA_CONNECT_SRC`.
#### `FLUXER_APP_STATUS_PAGE_INCIDENT_HISTORY_URL`
Default empty. The incident history page of the status page.
#### `FLUXER_INSTANCE_SETUP_CONFIGURED`
Default `false`. Whether setup is marked complete. The stored `app_public_config` row wins whenever its `setup.configured` is a boolean. This variable supplies the default only while no such row exists, and only on a self-hosted instance. Off a self-hosted instance the state is always true whatever this says.