Commit Graph
13 Commits
Author SHA1 Message Date
Gabriel20xx 97c237be80 feat(sync): paginate Android sync with change tokens
Lint / Lint (push) Successful in 1m8s
Tests / Go backend (push) Failing after 1m23s
Tests / Dashboard checks (push) Failing after 38s
Docker / Docker Build & Push (push) Failing after 6m29s
2026-10-20 15:27:53 +00:00
Gabriel20xxandClaude Sonnet 5 6e13364ebd Migrate CollabTable's AuthGuard proxy onto shared/backend/auth
Lint / Lint (push) Successful in 38s
Tests / Go backend (push) Successful in 1m9s
Tests / Dashboard checks (push) Successful in 1m25s
Docker / Docker Build & Push (push) Successful in 4m32s
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>
2026-09-13 21:11:53 +02:00
Gabriel20xxandClaude Sonnet 5 df94fc6d8b Fix CollabTable brand color not applying outside the app shell
Tests / Go backend (push) Successful in 32s
Tests / Dashboard checks (push) Successful in 49s
Lint / Lint (push) Successful in 26s
Docker / Docker Build & Push (push) Successful in 3m14s
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>
2026-09-11 11:24:56 +02:00
Gabriel20xxandClaude Sonnet 5 80cf207d37 fix: remove AdminDialog and admin option from header profile dropdown
Docker / Docker Build & Push (push) Successful in 2m13s
Lint / Lint (push) Successful in 51s
Tests / Go backend (push) Successful in 44s
Tests / Dashboard checks (push) Successful in 43s
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>
2026-09-05 12:08:12 +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
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 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 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 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 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 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