chore(server): checkpoint deployed services and unfinished forums

User requested a checkpoint and stopped all agents. Deployed artifacts remain the last verified releases; unfinished settings/categories/forums are preserved as WIP. See TODO/roadmap for verification and remaining release/updater work.
This commit is contained in:
Loki 2026-11-01 15:31:20 +01:00
parent d6d406bbf5
commit c18ccadf99
Signed by: boba
GPG key ID: 253067914055423B
96 changed files with 8665 additions and 276 deletions

View file

@ -6,6 +6,36 @@ public email-send/registry/friends/DM endpoints. Sign-in endpoints are GitHub an
is configured, email one-time codes (`hub/AUTH.md`). See `hub/README.md` for exact
capability status. SMTP sender display name is Vnox, address `noreply@loki-code.dev`.
The unverified community directory is now available through `GET/POST /v1/servers`
and owner-only `DELETE /v1/servers/{id}`. It is separate from cryptographic node
registration; see [HTTP contract](../../docs/05-features/hub-server-directory.md).
## Directory deployment: 2026-11-01
- Hub: `d6d406b-directory-7d4ee740d4d9`; static musl binary SHA256
`7d4ee740d4d93bcc738563838f37e81385d7fe9ca47933924639ce691621a7e0`.
- Web: `directory-c885e4689579`, served by the existing Nginx `/servers` fallback.
- Hub source is committed base `d6d406bbf5a50d73d1a5069b1cb57f728ad3e4c5` plus
directory-only changes; `source.tar.gz` and `release.json` are retained beside
the installed binary. Pending account-profile changes were excluded.
- Production migrations: 1, 2, 3, 4, 5, 7. Migration 6 is the unpublished profile
feature; the directory has no dependency on it. Do not renumber applied migrations.
- Private paired backup, taken while Hub was stopped:
`/var/backups/vnox-central/deploy-directory-20261101T112022Z/`.
Issuer identity and email-auth key were preserved. This local snapshot does not
complete the roadmap's off-host backup/retention milestone.
- Verified real public readiness, anonymous session, directory JSON, authenticated
mutation gate (anonymous POST returns 401), desktop/mobile page rendering and
absence of JavaScript errors. Browser mutation QA uses local fixtures; Hub
integration tests verify the persisted authorization and ownership flow.
- `vnox-server.service` remained running throughout the update.
Rollback to the preceding Hub binary must account for SQLx migration 7: the old
binary rejects unknown applied migration versions. Stop Hub and preserve a current
paired snapshot before restoring a compatible database and switching releases.
Restoring the pre-deployment database discards subsequent writes; do not do this
as a routine binary-only rollback.
## Layout
- `/opt/vnox-central/releases/<git-revision>-<binary-hash>/vnox-hub`: immutable release.

View file

@ -1,5 +1,64 @@
# Vnox Central: deployment verification
## Live profile, onboarding and node administration — 2026-11-01
- Current Hub `20261101-live-admin-91595d45652a`; current gateway/voice daemon
`20261101-live-capability-219376accf98`; website
`20261101-names-monsters-ff473f423565`.
- Signed live profile updates are negotiated with `Session.live_profiles`.
Device and account binding are retained; channel visibility is checked at delivery.
- Node administrator UUID is explicitly configured for account `loki`. Creation,
rename and deletion of global channels require the verified account of the exact
session. Guild permissions remain separate. Channel persistence/reload tested.
- New accounts receive a generated `слово_0000` and a one-time optional name prompt;
migration 9 is independent of pending migration 6. Actual versions: 1–5, 7, 8, 9.
Existing account `loki` has no onboarding row and keeps its chosen name.
- Pixel-monster defaults use new immutable `/v1/avatars/default-v2/` URLs. Old v1
URLs remain stable; own uploaded photographs remain authoritative. Public v2 PNG
verified over HTTPS using the desktop User-Agent.
- Final server workspace: 181 tests, Clippy and formatting passed. Website:
28 tests, typecheck/build, formatting and isolated onboarding browser QA passed.
- Paired backup `/var/backups/vnox-central/live-profile-admin-20261101T134328Z`;
capability-only gateway backup
`/var/backups/vnox-central/live-capability-20261101T135637Z`.
Issuer, node identity, TLS and administrator configuration preserved.
## Desktop profile update — 2026-11-01
- Hub release `20261101-desktop-profile-0bc942369c89`, binary SHA256
`0bc942369c8943177814c4495dfac1b6413d9b7b79a74766f724415ca3acb82a`.
- Added enrollment/device-signature authorized avatar upload/delete and display
name mutation. Existing browser account avatar storage is reused.
- 167 workspace tests, 6 desktop-auth tests, formatting and Clippy passed in the
isolated profile-free release workspace. Hub migrations remain 1–5, 7, 8.
- Both public desktop mutation endpoints return 401 without authentication.
Hub readiness and active status verified; gateway stayed running unchanged.
- Private backup `/var/backups/vnox-central/desktop-avatar-20261101T130504Z`;
issuer/email keys preserved.
## Current update — 2026-11-01
- Hub release `20261101-media-presence-75ff65dc3e7b`; SHA256
`75ff65dc3e7b045b617b6214cdeb676506584d7d61a1f898f4bfa8f6e7c14dab`.
- Combined gateway/voice release `20261101-media-presence-d4d98bbc2932`; SHA256
`d4d98bbc2932cb7ef8692e67b11067162e42299451e25e7caed7551f38f502fb`.
- Both services active; gateway health and LNEx v4 version verified. Public
Central `/v1/info` responds over HTTPS. Issuer and node identities preserved.
- Email/GitHub and desktop account authentication, uploaded/generated avatars,
and the public community directory are enabled. Friends, DM and marketplace
remain disabled in Central. Earlier entries below describe historical releases.
- Added signed account/profile metadata, multi-session presence lifecycle and
authenticated channel image attachments. Existing desktop proofs remain valid.
- Paired private SQLite backup:
`/var/backups/vnox-central/media-presence-20261101T123503Z`.
Hub migrations remain 1–5, 7, 8; pending profile migration 6 was not deployed.
- Isolated release workspace: 164 tests passed, formatting and all-target Clippy
passed; both binaries built with the locked musl release configuration.
- Website remains the previously deployed account/directory release. No real
account was created or mail sent during this update.
## Initial deployment (historical)
- Endpoint: https://central.loki-code.dev
- Service: vnox-central (systemd enabled/active, dedicated user).
- Internal listener: 127.0.0.1:37623; external access goes through Nginx443.