Front ends: a page for where inbuxa Admin and the webmail are served #259

Merged
jcoffey-dev merged 1 commits from feat/front-ends-page into main 2026-11-21 07:23:21 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev e11246de68 Front ends: a page for where inbuxa Admin and the webmail are served
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 18s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m44s
Settings › Network › Web › Front ends edits inbuxa:FrontEnds (contract
C-4), until now only set by `inbuxa join` or the server's environment:
the console's address, the webmail's address and client secret, and
further origins allowed to call the server from a browser.

- The webmail's secret is made here (48 URL-safe characters), shown once
  with a copy button and the webmail variable it goes in, and never read
  back; the server keeps only a hash. When the node takes it from
  INBUXA_WEBMAIL_CLIENT_SECRET, the page says so and offers none.
- What each node's environment says (INBUXA_ADMIN_URL,
  INBUXA_WEBMAIL_URL) is shown beside the stored value, since both are
  used.
- Saving sends only what changed. An origin typed but not yet added is
  saved too, rather than dropped.
- The server rebuilds its cross-origin allowlist on every save, so taking
  out the address this console runs from would cut it off: the page says
  so and asks for a confirmation first.
- What the server would refuse (a webmail without a secret, a short
  secret, a bad address) is caught before saving.
- Read-only without sysHttpUpdate and sysOAuthClientUpdate.

The menu link comes from the server's schema (inbuxa-server
console/front-ends-link); without it the page stays hidden.
2026-11-21 00:19:50 -07:00