Commit Graph
8 Commits
Author SHA1 Message Date
Gabriel20xxandClaude Sonnet 5 7c4a903f59 Learn AuthGuard/CarrierNode URLs from ProjectConfigurator's push
Tests / Go backend (push) Successful in 42s
Docker / Docker Build & Push (push) Successful in 3m37s
Lint / Lint (push) Successful in 39s
Tests / Dashboard checks (push) Successful in 46s
Adds the receiving end of ProjectConfigurator's core-services push
(PUT /api/core-services/internal, X-Internal-Auth-gated) via the shared
coreconfig package, so this service's AUTHGUARD_URL/CARRIERNODE_URL env
vars become just the bootstrap/fallback value instead of the permanent
source of truth. authclient.Client gains a concurrency-safe SetBaseURL
so a later push retargets it in place with no restart.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 11:56:17 +02:00
Gabriel20xxandClaude Sonnet 5 f84907eb9b Change default server port from 3000 to 8080
Docker / Docker Build & Push (push) Successful in 4m45s
Lint / Lint (push) Successful in 45s
Tests / Go backend (push) Successful in 52s
Tests / Dashboard checks (push) Successful in 50s
Updates the default PORT across backend, Dockerfile, README docs, the
Android client's fallback URLs/placeholders, and the frontend dev proxy.
Touched files also pick up line-ending normalization (CRLF->LF) with no
other content changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-08 17:05:34 +02:00
Gabriel20xxandClaude Sonnet 5 bbf5d8bb05 Add self-info endpoint for ProjectConfigurator discovery, sync shared updates
Lint / Lint (push) Successful in 1m5s
Docker / Docker Build & Push (push) Failing after 2m1s
Tests / Dashboard checks (push) Successful in 49s
Tests / Go backend (push) Successful in 46s
GET /api/info reports name/tabs/mount types (empty - state lives in Postgres,
no shared file mounts) so ProjectConfigurator's Projects workspace can
register this instance from just a URL.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 15:07:02 +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
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 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 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 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