Commit Graph
241 Commits
Author SHA1 Message Date
Gabriel20xxandClaude Sonnet 5 51e0a4217b Don't show the create-account form once AuthGuard already has an account
Lint / Lint (push) Successful in 49s
Tests / Dashboard checks (push) Successful in 1m0s
Tests / Go backend (push) Successful in 46s
Docker / Docker Build & Push (push) Successful in 4m11s
Accounts are centralized in AuthGuard now, so this project's own "first
launch, create the admin account" flow needs to know whether AuthGuard
already has one - not just whether *this* project's local setup has been
claimed. A fresh instance pointed at an AuthGuard that already has a
superadmin (created via AuthGuard's own web UI, or a sibling project's
setup) was incorrectly still showing its own create-account form.

Both the status check and the setup/registration handler now also consult
AuthGuard's GET /api/setup-status (via the vendored authclient's new
SetupStatus method) before deciding: if AuthGuard already has an account,
show the login screen instead, and reject a setup attempt that reaches the
handler anyway (e.g. a stale page) the same way an already-claimed local
setup is rejected.

Also updates the vendored shared/backend/authclient to add PublicUser's
totp_enabled field (AuthGuard has reported it for a while; the client
just hadn't picked it up).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 10:32:55 +02:00
Gabriel20xxandClaude Sonnet 5 4e39b5ac67 Remove local admin reset now that AuthGuard owns that recovery flow
Tests / Go backend (push) Successful in 56s
Lint / Lint (push) Successful in 42s
Tests / Dashboard checks (push) Successful in 1m5s
Docker / Docker Build & Push (push) Successful in 4m14s
This project's own "break glass" admin reset never actually touched the
centralized AuthGuard account - it only printed a local one-time code and,
on confirm, wiped this project's local "setup completed" flag so its own
setup screen reappeared, leaving the real AuthGuard account untouched and
orphaned from this project's perspective. AuthGuard now has its own proper
superadmin reset in its web UI, which is where this recovery path belongs
going forward - having every integrated project also show a "Reset admin
account" link that does something different and doesn't actually solve
"I forgot my AuthGuard password" was confusing and redundant.

Removes the backend reset handlers, their routes, the local ResetManager
field/init, any local cleanup method that only existed to serve them, and
the frontend API calls plus the onRequestReset/onConfirmReset wiring that
made the shared AuthPage component's reset link appear.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 08:51:22 +02:00
Gabriel20xx ec4bdd6ac7 Sync shared snapshot from db733a6
Docker / Docker Build & Push (push) Successful in 3m20s
2026-09-01 21:51:45 +02:00
Gabriel20xx 94f7a794d8 Sync shared snapshot from bdcdfc2
Docker / Docker Build & Push (push) Successful in 1m11s
2026-09-01 17:39:18 +02:00
Gabriel20xx 0315387fe8 Sync shared snapshot from a245481
Docker / Docker Build & Push (push) Successful in 1m38s
2026-09-01 16:13:12 +02:00
Gabriel20xxandClaude Sonnet 5 e0aba40321 Rewrite README for consistency and accuracy across the workspace
Brings this repo's README in line with a shared house style (Tech
Stack table, Repository Layout, Configuration table, Quick Start,
Development, Testing, CI/CD) and fixes staleness accumulated since it
was last written - outdated auth model descriptions, stale directory
names, dead references to removed code, and CI details that no longer
matched the actual workflow files.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 16:11:46 +02:00
Gabriel20xx f1c5648c5c Sync shared snapshot from 170076e
Docker / Docker Build & Push (push) Successful in 1m20s
2026-09-01 11:21:47 +02:00
Gabriel20xx ad3b6a2297 Sync shared snapshot from 43d77dd 2026-09-01 11:18:01 +02:00
Gabriel20xx 8d6437800c Sync shared snapshot from 43d77dd 2026-09-01 09:57:08 +02:00
Gabriel20xx fd32419371 Sync shared snapshot from 43d77dd
Docker / Docker Build & Push (push) Successful in 3m34s
2026-09-01 08:44:09 +02:00
Gabriel20xxandClaude Sonnet 5 9a6ec940f7 Migrate auth to AuthGuard, retiring local Postgres-backed accounts
Lint / Lint (push) Failing after 32s
Tests / Dashboard checks (push) Successful in 51s
Tests / Go backend (push) Successful in 54s
Docker / Docker Build & Push (push) Successful in 5m14s
Same pattern as GameStream (commit 6a46007), adapted for CollabTable
being genuinely multi-user (not single-admin): admin user management
(list/create/update/delete, role reassignment, superadmin protection)
is fully proxied to AuthGuard, which already enforces the same rules
CollabTable checked locally. Cookie forwarding, no local session token,
AUTHGUARD_URL optional (unset = auth fully disabled), transport
failures always surface as errAuthGuardUnavailable rather than ever
letting a request through - proven with live tests against a closed
socket.

CollabTable's device-sync API token feature (separate from browser
sessions) is deliberately left local-only regardless of AUTHGUARD_URL,
keyed by a new currentUserID helper (AuthGuard's id when enabled, the
shared placeholder id 0 when disabled) - a real, functional token
either way, not faked data.

Real bug found and fixed: api_tokens.user_id had a hard FK into the
local auth_users table, which would reject new tokens once accounts
stop being written locally. Dropped the now-invalid FK.

Known, accepted gap (same as GameStream): self-service profile editing
for non-admin accounts is lost, since AuthGuard only exposes an admin
endpoint, no self-edit. TOTP QR issuer branding now comes from AuthGuard
rather than CollabTable.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 01:34:48 +02:00
Gabriel20xx a1c29728f0 Sync shared snapshot from 94af6d7 2026-08-31 17:18:21 +02:00
Gabriel20xx fe34285170 Remove About tab from header nav
Docker / Docker Build & Push (push) Successful in 4m21s
Lint / Lint (push) Successful in 36s
Tests / Go backend (push) Successful in 38s
Tests / Dashboard checks (push) Successful in 47s
About is still reachable from the profile dropdown via the default aboutHref.
2026-08-31 16:57:46 +02:00
Gabriel20xx 71e6f1e149 Sync shared snapshot from fa69e6e
Docker / Docker Build & Push (push) Successful in 3m35s
2026-08-29 12:58:52 +02:00
Gabriel20xx e2f7620d58 Sync shared snapshot from 91f3726
Docker / Docker Build & Push (push) Successful in 2m0s
2026-08-29 12:43:55 +02:00
Gabriel20xx 0379dc475d Standardize container gaps to 16px
Lint / Lint (push) Successful in 38s
Tests / Go backend (push) Successful in 47s
Tests / Dashboard checks (push) Successful in 1m0s
Docker / Docker Build & Push (push) Successful in 4m14s
Syncs the shared package (16px AppShell title-to-content gap) and
fixes the stat-card row gap on the home page (12px -> 16px).
2026-08-29 12:34:39 +02:00
Gabriel20xx ba7dfeac31 Merge branch 'main' of https://repos.gfranz.ch/Gabriel20xx/CollabTable
Docker / Docker Build & Push (push) Successful in 3m30s
2026-08-27 13:44:16 +02:00
Gabriel20xx c5450a72d6 feat: add notification stack component and integrate into AppShell 2026-08-27 13:44:04 +02:00
Gabriel20xx a37acb1133 fix: standardize authentication error messages
Lint / Lint (push) Successful in 20s
Tests / Go backend (push) Successful in 39s
Tests / Dashboard checks (push) Successful in 38s
Docker / Docker Build & Push (push) Successful in 2m49s
- Capitalize messages and add terminal punctuation
- Clarify reset-code and authenticator-code errors
2026-08-25 19:20:18 +00:00
Gabriel20xx c4b40a9c36 Sync shared snapshot from e8a9b25
Docker / Docker Build & Push (push) Successful in 4m53s
2026-08-23 22:19:15 +02:00
Gabriel20xx 4a37006069 fix: update API endpoint for tech stack information
Tests / Dashboard checks (push) Successful in 58s
Lint / Lint (push) Successful in 53s
Tests / Go backend (push) Successful in 51s
Docker / Docker Build & Push (push) Successful in 3m34s
2026-08-22 17:33:59 +02:00
Gabriel20xx bef338556f Sync shared snapshot from 4227293
Docker / Docker Build & Push (push) Successful in 2m57s
2026-08-20 17:03:43 +02:00
Gabriel20xxandClaude Sonnet 5 395b7d0e79 feat: add admin dialog and move user management out of settings/profile modals
Tests / Dashboard checks (push) Successful in 37s
Lint / Lint (push) Successful in 25s
Tests / Go backend (push) Successful in 32s
Docker / Docker Build & Push (push) Successful in 2m54s
- Sync shared web-ui AdminDialog and header/profile/settings dialog updates
- Add a dedicated admin entry to the header profile dropdown, admin-only
- Move user-management settings from SettingsDialog/ProfileDialog into AdminDialog

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-20 14:04:12 +02:00
Gabriel20xx f1b52a4fa6 fix: remove double top spacing and match shared theme to app palette
Lint / Lint (push) Successful in 42s
Tests / Dashboard checks (push) Successful in 42s
Docker / Docker Build & Push (push) Successful in 3m4s
Tests / Go backend (push) Successful in 32s
- The dashboard and list-detail page roots' own p-4 stacked on top of
  the shared page title box's margin-bottom (padding never collapses
  with margin) - drop the top half so there's a single, consistent gap.
- Remap the shared component library's --sc-* tokens onto this app's
  own --color-* palette so the header, page title box, dialogs, and
  buttons all render in-brand instead of the generic default theme.
2026-08-19 16:58:43 +02:00
Gabriel20xx e70779a01f Sync shared snapshot from c94f749
Docker / Docker Build & Push (push) Successful in 1m12s
2026-08-19 13:04:48 +02:00
Gabriel20xx 4e413a5cf6 Sync shared snapshot from a90f4eb
Tests / Go backend (push) Successful in 18s
Tests / Dashboard checks (push) Successful in 28s
Lint / Lint (push) Successful in 19s
Docker / Docker Build & Push (push) Successful in 2m26s
2026-08-19 12:07:39 +02:00
Gabriel20xx 85f02a7327 fix: refine header branding and profile menu icons
Docker / Docker Build & Push (push) Successful in 4m12s
- Simplify the brand logo markup
- Add icons to Profile, Settings, and About menu items
2026-08-14 07:54:29 +00:00
Gabriel20xx 2c069c58cd fix: center mobile menu button in header
Docker / Docker Build & Push (push) Successful in 3m12s
- Align header actions to the right on mobile
2026-08-12 06:56:22 +00:00
Gabriel20xx 2919f28656 Enhance Dockerfile for platform-specific builds and improve comments
Docker / Docker Build & Push (push) Successful in 2m18s
2026-08-10 13:48:56 +02:00
Gabriel20xx 78f2b76ea8 Sync shared snapshot from 8107752
Tests / Go backend (push) Successful in 22s
Tests / Dashboard checks (push) Failing after 25s
Lint / Lint (push) Successful in 26s
Docker / Docker Build & Push (push) Successful in 10m42s
2026-08-10 10:43:14 +02:00
Gabriel20xx 88d1f77d30 Fix shared design-token Docker build
Docker / Docker Build & Push (push) Failing after 19m28s
Tests / Dashboard checks (push) Failing after 14s
Tests / Go backend (push) Successful in 21s
Lint / Lint (push) Successful in 22s
2026-08-09 20:38:49 +02:00
Gabriel20xx 04791770de Update shared web UI
Docker / Docker Build & Push (push) Failing after 1m44s
2026-08-09 12:36:38 +02:00
Gabriel20xx 599351e1c0 Sync shared web UI utilities
Docker / Docker Build & Push (push) Canceled after 1h39m24s
2026-08-09 10:34:06 +02:00
Gabriel20xx 295aa978f9 Fix about-page navigation and content
Docker / Docker Build & Push (push) Successful in 7m22s
Lint / Lint (push) Successful in 20s
Tests / Go backend (push) Successful in 16s
Tests / Dashboard checks (push) Successful in 21s
2026-08-09 02:07:59 +02:00
Gabriel20xx f208697859 Apply shared UI and workflow fixes
Docker / Docker Build & Push (push) Successful in 8m26s
Lint / Lint (push) Failing after 20s
Tests / Go backend (push) Successful in 16s
Tests / Dashboard checks (push) Successful in 23s
2026-08-07 15:22:26 +02:00
Gabriel20xx fb22af5272 Fix Docker builds for shared design tokens
Docker / Docker Build & Push (push) Successful in 9m23s
2026-08-06 17:22:43 +02:00
Gabriel20xx 5f13c2d347 Rename shared snapshot directory
Docker / Docker Build & Push (push) Failing after 56s
Lint / Lint (push) Successful in 13s
Tests / Go backend (push) Successful in 15s
Tests / Dashboard checks (push) Successful in 17s
2026-08-06 16:55:37 +02:00
Gabriel20xx 06efc832ca Sync shared snapshot from df68167 2026-08-06 16:53:48 +02:00
Gabriel20xx 588ef139a6 Sync SharedCode snapshot from df68167
Docker / Docker Build & Push (push) Failing after 1m3s
2026-08-06 16:12:36 +02:00
Gabriel20xx aa19576a50 Sync SharedCode snapshot from dfae1cb 2026-08-06 16:07:51 +02:00
Gabriel20xx efc7aae0aa Sync SharedCode snapshot from dfae1cb 2026-08-06 16:05:34 +02:00
Gabriel20xx 96f3082f39 Sync SharedCode snapshot from dfae1cb 2026-08-06 16:02:34 +02:00
Gabriel20xx 6eb8f4ad60 Vendor SharedCode locally
Docker / Docker Build & Push (push) Failing after 1m19s
Lint / Lint (push) Successful in 15s
Tests / Go backend (push) Successful in 19s
Tests / Dashboard checks (push) Successful in 18s
2026-08-06 15:52:56 +02:00
Gabriel20xx a8c51b8484 Use published shared backend v0.1.1
Docker / Docker Build & Push (push) Failing after 49s
Lint / Lint (push) Successful in 14s
Tests / Go backend (push) Failing after 7s
Tests / Dashboard checks (push) Successful in 17s
2026-08-06 15:00:55 +02:00
Gabriel20xx 7ba0b29dc2 Update source imports for Gitea packages
Docker / Docker Build & Push (push) Failing after 43s
Lint / Lint (push) Successful in 19s
Tests / Go backend (push) Failing after 7s
Tests / Dashboard checks (push) Successful in 18s
2026-08-06 12:27:11 +02:00
Gabriel20xx d4dce959f9 Migrate SharedCode consumers to Gitea packages
Docker / Docker Build & Push (push) Failing after 48s
Lint / Lint (push) Successful in 14s
Tests / Go backend (push) Failing after 15s
Tests / Dashboard checks (push) Successful in 17s
2026-08-06 12:22:44 +02:00
Gabriel20xx a988fdee44 Use versioned shared module and registry credentials
Tests / Go backend (push) Failing after 57s
Tests / Dashboard checks (push) Failing after 55s
Lint / Lint (push) Failing after 55s
Docker / Docker Build & Push (push) Failing after 59s
2026-08-06 09:44:57 +02:00
Gabriel20xx b2ffa39148 fix: use public SharedCode clone URL
Tests / Go backend (push) Failing after 56s
Tests / Dashboard checks (push) Failing after 55s
Docker / Docker Build & Push (push) Failing after 59s
Lint / Lint (push) Failing after 55s
2026-08-06 08:59:28 +02:00
Gabriel20xx d9d31bc921 Make SharedCode available inside Docker builds
Docker / Docker Build & Push (push) Failing after 1m14s
2026-08-06 00:14:11 +02:00
Gabriel20xx bb6a7d0fed Retry SharedCode fetches in Docker builds
Tests / Go backend (push) Failing after 12m24s
Lint / Lint (push) Failing after 12m15s
Tests / Dashboard checks (push) Failing after 12m27s
Docker / Docker Build & Push (push) Failing after 59s
2026-08-05 20:38:48 +02:00