Commit Graph
248 Commits
Author SHA1 Message Date
Gabriel20xx 6e70b7e8c1 Sync shared snapshot from 4b0566e
Docker / Docker Build & Push (push) Successful in 3m10s
2026-09-16 11:51:21 +02:00
Gabriel20xx dc04ac4360 Sync shared snapshot from b012d58 2026-09-16 10:54:57 +02:00
Gabriel20xx eb67f251d8 Handle missing SECRET in auth flow
Lint / Lint (push) Successful in 44s
Tests / Go backend (push) Successful in 39s
Docker / Docker Build & Push (push) Successful in 3m30s
Tests / Dashboard checks (push) Successful in 46s
2026-09-15 23:27:42 +02:00
Gabriel20xx 07e25a3cf3 feat: migrate project secrets and user-scoped colors
Lint / Lint (push) Successful in 25s
Tests / Go backend (push) Successful in 34s
Tests / Dashboard checks (push) Successful in 48s
Docker / Docker Build & Push (push) Successful in 3m29s
2026-09-15 13:22:50 +02:00
Gabriel20xxandClaude Sonnet 5 f723afa369 Add AUTH_DISABLED opt-out for sharedauth's new pending mode
Docker / Docker Build & Push (push) Successful in 5m39s
Lint / Lint (push) Successful in 51s
Tests / Go backend (push) Successful in 1m12s
Tests / Dashboard checks (push) Successful in 1m11s
sharedauth.NewWithStore now treats an empty AUTHGUARD_URL as "pending"
(still gated, failing closed) rather than permanently disabled, so a
ProjectConfigurator-registered CollabTable no longer needs
AUTHGUARD_URL set at all. Add AUTH_DISABLED (default false) to opt
into the old fully-open behavior explicitly via sharedauth.Disabled(),
and update both READMEs/.env.example to document the three resulting
states.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 14:12:34 +02:00
Gabriel20xx a018f3da4c Sync shared snapshot from dcfdb3d
Docker / Docker Build & Push (push) Successful in 6m0s
2026-09-14 09:36:48 +02:00
Gabriel20xx 8d7c2f69ff Sync shared snapshot from c099571
Docker / Docker Build & Push (push) Successful in 1m58s
2026-09-13 21:28:53 +02: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
Gabriel20xx aae8d3807d Sync shared snapshot from f585792 2026-09-13 21:09:52 +02:00
Gabriel20xxandClaude Sonnet 5 803c3ab3ce Remove accidentally committed build binary; ignore *.exe
Lint / Lint (push) Successful in 30s
Tests / Go backend (push) Successful in 32s
Docker / Docker Build & Push (push) Successful in 1m46s
Tests / Dashboard checks (push) Successful in 43s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 19:00:58 +02:00
Gabriel20xxandClaude Sonnet 5 f34887abf3 go mod tidy: pick up chi/v5 now transitively required by shared/backend/auth
Tests / Go backend (push) Successful in 51s
Lint / Lint (push) Successful in 35s
Tests / Dashboard checks (push) Successful in 42s
Docker / Docker Build & Push (push) Successful in 3m43s
shared/backend/auth (the mediaauth merge) imports github.com/go-chi/chi/v5
directly now; go.sum needs an entry for it even though this project never
uses chi itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 18:59:55 +02:00
Gabriel20xx da15c3a7b7 Sync shared snapshot from 5364588
Docker / Docker Build & Push (push) Failing after 2m3s
2026-09-13 18:43:52 +02:00
Gabriel20xx 899223270a Sync shared snapshot from c9737d1
Docker / Docker Build & Push (push) Successful in 3m18s
2026-09-13 12:30:47 +02:00
Gabriel20xx 5b18c38fc0 Sync shared snapshot from a5eb37a
Docker / Docker Build & Push (push) Successful in 1m46s
2026-09-13 12:21:33 +02:00
Gabriel20xx b1412a9016 Sync shared snapshot from 663d498
Docker / Docker Build & Push (push) Successful in 3m0s
2026-09-13 12:18:24 +02:00
Gabriel20xxandClaude Sonnet 5 1d99f0272d Restore LF line endings on the two files touched for the height fix
Lint / Lint (push) Successful in 30s
Docker / Docker Build & Push (push) Successful in 3m21s
Tests / Go backend (push) Successful in 30s
Tests / Dashboard checks (push) Successful in 38s
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>
2026-09-13 11:01:32 +02:00
Gabriel20xxandClaude Sonnet 5 b9dd2ffde6 Normalize local UI kit button/select/input heights to 2.5rem
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>
2026-09-13 11:00:24 +02:00
Gabriel20xx 8327214942 Sync shared snapshot from 6ac2fce
Docker / Docker Build & Push (push) Successful in 3m24s
2026-09-13 10:47:35 +02:00
Gabriel20xx 2593fd67dc Sync shared snapshot from d4d2c49
Docker / Docker Build & Push (push) Successful in 3m59s
2026-09-12 23:04:02 +02:00
Gabriel20xxandClaude Sonnet 5 f8c05d9e90 Fix pagination page-size dropdown showing blank on load
Docker / Docker Build & Push (push) Successful in 4m49s
The select's value was coerced to a string via String(pageSize) while
the <option> values are numbers. Svelte 5 matches a non-bound <select>
value against each option's stored value with Object.is, so "24"
never matched 24 and the dropdown rendered with no option selected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-12 16:29:05 +02:00
Gabriel20xx 1b05b7ea54 Sync shared snapshot from a675899
Docker / Docker Build & Push (push) Successful in 3m45s
2026-09-12 15:49:23 +02:00
Gabriel20xx aea883cb77 Sync shared snapshot from a998844
Docker / Docker Build & Push (push) Successful in 3m8s
2026-09-11 23:40:39 +02:00
Gabriel20xxandClaude Sonnet 5 a5dfd3dc5a Replace bespoke paginator with shared web-ui Pagination component
Tests / Go backend (push) Successful in 45s
Tests / Dashboard checks (push) Successful in 1m0s
Lint / Lint (push) Successful in 34s
Docker / Docker Build & Push (push) Successful in 4m19s
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>
2026-09-11 23:33:24 +02:00
Gabriel20xxandClaude Sonnet 5 cfa06cd466 Fix card grid gap to match design system standard (gap-4)
Lint / Lint (push) Successful in 34s
Tests / Go backend (push) Successful in 47s
Tests / Dashboard checks (push) Successful in 57s
Docker / Docker Build & Push (push) Successful in 3m49s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 23:28:17 +02:00
Gabriel20xx 8987d765a3 Sync shared snapshot from 965910e 2026-09-11 23:26:00 +02:00
Gabriel20xx 439ef02496 Sync shared snapshot from 097442f
Docker / Docker Build & Push (push) Successful in 3m20s
2026-09-11 11:57:31 +02:00
Gabriel20xx a2a96f6a46 Sync shared snapshot from 9f78995
Docker / Docker Build & Push (push) Successful in 3m45s
2026-09-11 11:38:44 +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
Gabriel20xx fc4400b118 Sync shared snapshot from 87ac5ed
Docker / Docker Build & Push (push) Successful in 4m12s
2026-09-11 09:16:56 +02:00
Gabriel20xxandClaude Sonnet 5 379022e446 Sync background/status color tokens with the shared design-tokens palette
Tests / Dashboard checks (push) Successful in 59s
Lint / Lint (push) Successful in 19s
Tests / Go backend (push) Successful in 48s
Docker / Docker Build & Push (push) Successful in 3m8s
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>
2026-09-10 16:26:52 +02:00
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
Gabriel20xx 20e9461d46 Sync shared snapshot from 3131937
Docker / Docker Build & Push (push) Successful in 4m1s
2026-09-09 22:25:06 +02:00
Gabriel20xx fc24ae2f60 Sync shared snapshot from 8d7d6ee 2026-09-09 20:49:41 +02:00
Gabriel20xx e3e32f239d Sync shared snapshot from 56e2f60
Docker / Docker Build & Push (push) Successful in 4m15s
2026-09-09 16:53:20 +02:00
Gabriel20xx 878ac92948 Retry Docker Hub login on handshake timeout
Wrap docker/login-action with nick-fields/retry (3 attempts, 15s backoff)
so transient DockerHub TLS handshake timeouts do not fail the build.
2026-09-08 22:36:06 +02:00
Gabriel20xx 69dc5cf7a6 Sync shared snapshot from ae792cb
Docker / Docker Build & Push (push) Successful in 1m34s
2026-09-08 17:13:05 +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
Gabriel20xx 84a32fe6b4 Sync shared snapshot from 992fbda
Docker / Docker Build & Push (push) Successful in 1m5s
2026-09-07 16:21:03 +02:00
Gabriel20xx 5f0524ed3c Sync shared snapshot from c5c3ec3
Docker / Docker Build & Push (push) Successful in 5m6s
2026-09-07 16:00:55 +02:00
Gabriel20xx fdf415cc8b Sync shared snapshot from d1a02a8
Docker / Docker Build & Push (push) Successful in 3m15s
2026-09-07 15:08:58 +02:00
Gabriel20xxandClaude Sonnet 5 32104550cb Add wide-page layout toggle to Settings
Tests / Dashboard checks (push) Successful in 56s
Lint / Lint (push) Successful in 29s
Tests / Go backend (push) Successful in 51s
Docker / Docker Build & Push (push) Successful in 3m50s
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>
2026-09-06 22:56:25 +02:00
Gabriel20xx 81b62cdc26 Sync shared snapshot from 2e6baaa 2026-09-06 22:51:07 +02:00
Gabriel20xxandClaude Sonnet 5 5ea8551d60 Fix stale MediaServant project entry surviving the CarrierNode rename
Docker / Docker Build & Push (push) Successful in 1m24s
The configured_central/main rename to CarrierNode only ran when both
lists were still empty, so an already-populated list kept the old
MediaServant entry and gained a duplicate CarrierNode one. Also
migrate the per-project JSON blobs (labels, login, mounts, tab meta)
keyed by the old name so their data isn't orphaned.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 21:59:45 +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
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
Gabriel20xx 557a61b4ee Sync shared snapshot from 07cf330 2026-09-04 09:44:04 +02:00
Gabriel20xxandClaude Sonnet 5 cd0db77208 Fix ruff formatting in authclient test_authclient.py
Docker / Docker Build & Push (push) Successful in 3m50s
Reformat the new scheme-detection test cases with `ruff format` (line
length) so `ruff format --check .` passes in consumers that lint the
whole repo, e.g. Heretic/HordeWorker's CI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-03 22:22:50 +02:00
Gabriel20xxandClaude Sonnet 5 40578f5392 Auto-detect scheme for AUTHGUARD_URL instead of always assuming https
A bare host:port (e.g. a LAN AuthGuard reachable only over plain HTTP)
was always defaulting to https, so a TLS handshake against a plain-HTTP
AuthGuard failed at the transport level. Now a loopback, RFC1918/RFC4193
private, or link-local host (or a .local name) defaults to http instead;
an explicit http:// or https:// is still always honored as-is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-03 21:48:08 +02:00
Gabriel20xxandClaude Sonnet 5 c29520fcd3 Align overview/list-detail cards and card-wrap the toolbar and paginator
Lint / Lint (push) Successful in 22s
Tests / Go backend (push) Successful in 37s
Tests / Dashboard checks (push) Successful in 37s
Docker / Docker Build & Push (push) Successful in 3m27s
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>
2026-09-03 20:17:25 +02:00
Gabriel20xx 1b8191a68e Sync shared snapshot from 730bf04
Docker / Docker Build & Push (push) Successful in 4m30s
2026-09-03 19:57:23 +02:00