- Add PostgreSQL-backed backend and frontend tests to CI
- Harden Android API logging and disable app backups
- Update the performance report with resolved findings
Replaces the ~1044-line bespoke session/login/TOTP/admin-user proxy
(backend/auth.go, built directly on authclient) with
sharedauth.NewWithStore, the same shared engine GameStream and
OmniLogger already migrated onto. A tiny collabTableAuthStore adapter
delegates the local one-time setup-claim flag to the existing
collabtable_setup_state table/queries; CollabTable never had a
"require login" toggle, so LoginRequired always reports true and
SetLoginRequired is a no-op.
The local authguard_totp_cache (GetCachedTOTPEnabled/
SetCachedTOTPEnabled) is retired: the shared engine reads TOTP status
live from AuthGuard's GET /api/me. Its table is left in place, same as
the already-dormant auth_users/auth_sessions tables.
URL paths and HTTP methods are unchanged; only response shapes
changed to the shared engine's standardized ones (nested `user: {...}`,
`data: {...}` for TOTP setup/enable/disable). Updated
frontend/src/lib/api.js to translate these back into the shapes the
rest of the frontend already expects, and AppShell.svelte's
saveProfile to always send the current username/email (UpdateMe
requires a non-empty email on every call).
Known behavior differences: POST /api/auth/setup now returns 201
instead of 200; PUT/PATCH /api/auth/users/{id} now returns the updated
user instead of {"ok":true}; POST /api/auth/credentials no longer
forces re-login after a successful change (no bulk session-invalidation
call exists in the shared engine, only single-session Logout).
The separate device/sync API bearer-token scheme (requireAPIToken,
handleTokenStatus/handleTokenRegenerate) is untouched other than
resolving the caller's identity via sharedauth.UserFromContext instead
of local session lookups.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The previous commit's edit tool wrote these two files with CRLF endings,
turning a 4-line content change into a full-file diff. Convert back to
LF to match the rest of the codebase; no content change.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The local shadcn-style button (default h-9, sm h-8, icon h-9) and select
trigger (h-9) rendered shorter than the search input elsewhere, and
shorter than the shared design system's 2.5rem controls. Collapse all
size variants to h-10 (2.5rem), keeping their padding/font-size
differences.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Swaps the custom paginator.svelte (used on the lists overview and list
detail pages) for the shared @gabriel20xx/web-ui Pagination component,
matching the workspace-wide pagination policy. Data fetching and
client-side slicing logic are unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The shared component library's --sc-primary/--sc-accent/--sc-ring tokens
were only remapped onto CollabTable's own brand color inside AppShell's
.collabtable-shell scope, so anything rendered outside it (the login/setup
AuthPage, the Settings/Profile dialogs) fell back to the shared library's
generic default blue instead of this project's own blue brand. Move that
bridge to app.css so it applies globally, with high-specificity `html`
selectors so it reliably wins over shared-styles.css regardless of import
order.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Background, surface, border, text, secondary, danger, success, and warning
tokens now reference the shared --sc-* custom properties (Core/shared's
design-tokens palette) instead of hardcoded hex, so this project's neutrals
stay consistent with the rest of the workspace. Primary/accent/ring keep
this project's own brand color, unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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>
Adds a persisted per-browser preference to widen page content to full
browser width, alongside the existing theme switcher and language
selector reachable from the header profile dropdown's Settings entry.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Shared web-ui package already dropped this in a prior sync; this app's
layout was still wiring up the removed onAdmin prop and AdminDialog.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Remove the outer horizontal padding insetting cards away from the
title card's edges on both pages, and wrap the overview page's
search/sort/view toolbar and paginator in cards to match the rest
of the app.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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>
- 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>
- 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.
- 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.
- 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.