App: / leads to the back office; lannadesk.com is the website now
lannadesk.com is Lanna Desk's own static website (B4L/lannadesk-web, cnx-network-clan PR #163, deployed), and this app is app.lannadesk.com. The landing page the app served at `/` goes (templates/landing.html, static/landing.css): `/` now redirects to the back office, /desk. The logo files in static/brand/ stay, the website copies them. The public URL in README, PLAN, config.rs, the agreement PDF's comment and the release notes is app.lannadesk.com. Checks: fmt, clippy, 109 unit and 57 integration tests (`/` leads to /desk, signed in or not).
This commit is contained in:
1 parent
eafe918bcc
commit
39980694f6
11 files changed
+29
-397
No files matched your search
@@ -13,9 +13,10 @@ an agency whose staff see all records, so it can grow into the internal tool
|
||||
of the visa agency planned in `grabowski/julia`. [docs/PLAN.md](docs/PLAN.md)
|
||||
holds the decisions, the deadline rules, the data model and the phases.
|
||||
|
||||
`/` is lannadesk.com's public page: what Lanna Desk does, how a client
|
||||
starts, and the contact address `contact@lannadesk.com`. The back office
|
||||
starts at `/desk`, behind the sign-in. Signing out ends the session at
|
||||
The app runs at https://app.lannadesk.com, the back office of Lanna Desk,
|
||||
the legal side of buildfor.life. Lanna Desk's public website, lannadesk.com,
|
||||
is a static site of its own (B4L/lannadesk-web). The back office starts at
|
||||
`/desk`, behind the sign-in, and `/` leads there. Signing out ends the session at
|
||||
id.cnx.network as well (Kanidm's `/ui/logout`), so the next sign-in asks for
|
||||
the password again. The logo and its variants are in `static/brand/`, made
|
||||
by `scripts/gen_logo.py` from Sarabun (SIL Open Font License, in
|
||||
@@ -145,7 +146,7 @@ files or systemd credentials and never from a variable's value.
|
||||
| Variable | Meaning |
|
||||
| -------------------------------- | --------------------------------------------------------------- |
|
||||
| `VISA_LISTEN` | address to listen on, default `127.0.0.1:8040` |
|
||||
| `VISA_PUBLIC_URL` | `https://lannadesk.com`, for the login's redirect |
|
||||
| `VISA_PUBLIC_URL` | `https://app.lannadesk.com`, for the login's redirect |
|
||||
| `VISA_DATABASE_URL` | `postgres://visa@host/visa` |
|
||||
| `VISA_DATABASE_PASSWORD_FILE` | the role's password; else the credential `db-password` |
|
||||
| `VISA_OIDC_ISSUER` | `https://id.cnx.network/oauth2/openid/visa-web` |
|
||||
@@ -182,8 +183,8 @@ from that directory.
|
||||
Since November 17, 2026 the app runs on cnx01 in the office, like proplan and
|
||||
lampbench-web: the database `visa` on cnx01's PostgreSQL, the documents in the
|
||||
bucket `visa-documents` of cnx01's Garage, backups by borg, and bkk01
|
||||
publishing https://lannadesk.com (its first name, visa.buildfor.life,
|
||||
redirects there with the path). Passport data stays on B4L's own
|
||||
publishing https://app.lannadesk.com (its first name, visa.buildfor.life,
|
||||
and its paths on lannadesk.com redirect there with the path). Passport data stays on B4L's own
|
||||
servers. The fleet's module is `modules/visa` in cnx-network-clan, with its
|
||||
runbook in `docs/src/visa.md` there. Only members of the Kanidm group `visa`
|
||||
get in; members are set in the fleet's `identity/people.nix`.
|
||||
@@ -202,8 +203,8 @@ fake provider, adds a person and checks the audit log on the real
|
||||
PostgreSQL module.
|
||||
|
||||
Which commit runs: every page's footer names it, with a link to it, and
|
||||
https://lannadesk.com/version answers with the full hash, without a
|
||||
login, so `curl https://lannadesk.com/version` tells whether a release
|
||||
https://app.lannadesk.com/version answers with the full hash, without a
|
||||
login, so `curl https://app.lannadesk.com/version` tells whether a release
|
||||
is live, and `visa --version` prints the release and the commit. A Nix
|
||||
build takes the commit from the flake's source, CI from `VISA_COMMIT`, a
|
||||
build in a checkout from git.
|
||||
Reference in new issue
Block a user