Commit Graph

2 Commits

Author SHA1 Message Date
Peterino2 9dd11c3011 Offer desktop client downloads and let a proxy end Lore's gRPC TLS
- scripts/build-desktop-dist.sh cross-compiles the desktop client for
  Linux (glibc 2.39) and Windows with Zig and Cargo, bundles liblore
  from the pinned release, and writes the archives, SHA256SUMS and BUILD
  to run/downloads/.
- lore-forge serves them to signed-in users at /download and
  /downloads/{file} (LORE_FORGE_DOWNLOADS_DIR), with a Desktop tab in
  the nav and a panel on the home page. Only plain names of known types
  are served; download and downloads are reserved names.
- fetch-lore.sh takes LORE_TARGET for --liblore and unpacks the Windows
  zip.
- loreserver-config --grpc-tls-at-proxy (LORE_GRPC_TLS_AT_PROXY=1 for
  start.sh) gives the certificate to QUIC only, for a proxy that ends
  TLS on TCP 41337 and relays to loreserver over a private link.
- shell.nix: an FHS shell with Rust, protoc, Zig and the other build
  tools, for NixOS.
2026-11-27 04:16:36 +00:00
Peterino ab8555c65f Build phase 1 and the read-only repository browser
lore-forge now runs beside an unmodified loreserver as its token
issuer, user directory and repository registry, with a server-rendered
UI in the desktop client's pixel style.

Accounts and sign-in: first-run setup, password sign-in with rate
limiting, signup modes and invite links, GitHub, Discord and Google
sign-in by explicit linking (tested against a fake provider), sessions
and CLI logins with revocation, API tokens, and service accounts.

Issuer: device code, refresh with rotation and reuse detection, token
exchange to repository-scoped tokens, API-token login, the client
credentials grant for service accounts, revocation, and signing key
rotation from the admin page or the rotate-signing-key command.

Access: user and organisation namespaces, members, teams, role
presets with extra actions, per-repository grants, and the admin pages.

Repository browser: FILES, GRAPH and TREE tabs and a revision page
with diffs, read from loreserver as the viewer with a one-minute
read-only token per page view. File diffs are computed here because
Lore's ContentDiff is unimplemented.

scripts/e2e-lore.sh checks all of this against the pinned Lore
v0.14.0 release, including a branch and a merge. The design documents
record what was verified in Lore's source and what is still assumed.
2026-11-25 19:09:42 -07:00