Commit Graph
11 Commits
Author SHA1 Message Date
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 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 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 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 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 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 652e81dacb feat(auth): enhance authentication flow with TOTP and admin reset features
Docker / Docker Build & Push (push) Failing after 56s
Lint / Lint (push) Successful in 25s
Tests / Go backend (push) Failing after 19s
Tests / Dashboard checks (push) Successful in 24s
- Added TOTP setup, enable, and disable functions to the API.
- Implemented admin reset request and confirmation functionalities.
- Updated AuthPage to handle new reset functionalities and TOTP inputs.
- Enhanced auth store to manage user creation, deletion, and listing.
- Improved AppShell and SettingsDialog to support user management features.
- Refactored API calls for better organization and clarity.
2026-08-05 14:58:07 +02:00
Gabriel20xx ac08be0248 Migrate shared UI and backend components
Lint / Lint (push) Failing after 7s
Tests / Go backend (push) Failing after 6s
Tests / Dashboard checks (push) Failing after 4s
Docker / Docker Build & Push (push) Failing after 10s
2026-08-04 17:05:37 +02:00
Gabriel20xx 64d22d0aac refactor: reorganize project structure and update paths for backend and frontend
Docker / Docker Build & Push (push) Successful in 7m52s
Lint / Lint (push) Successful in 15s
Tests / Go backend (push) Successful in 19s
Tests / Dashboard checks (push) Successful in 18s
2026-08-03 22:40:08 +02:00
Gabriel20xx 6c1ea2da47 feat: add user credentials management and health monitoring features
Docker / Docker Build & Push (push) Failing after 28s
Lint / Lint (push) Failing after 6s
Tests / Go backend (push) Failing after 4s
Tests / Dashboard checks (push) Failing after 6s
- Implemented CredentialsDialog for updating user credentials.
- Created auth store with functions for managing authentication state.
- Added HealthWidget to display server health status.
- Introduced health monitoring functionality with polling.
- Developed AppShell layout to manage authentication and loading states.
- Added SettingsDialog for user preferences including theme and language.
- Created utility functions for list management and data fetching.
- Implemented dashboard view mode preferences.
- Integrated search functionality for filtering lists.
- Established theme management with local storage support.
- Added utility functions for class name management.
- Configured SvelteKit for static site generation with fallback.
- Set up Vite for development with proxy support for API calls.
- Created About and List detail pages with data fetching and display.
- Added favicon and updated project configuration files.
2026-08-03 22:38:45 +02:00