Commit Graph
35 Commits
Author SHA1 Message Date
Gabriel20xx 01b18be1e4 feat: ship backend logs to OmniLogger
Lint / Lint (push) Successful in 1m12s
Security / Secrets (gitleaks) (push) Successful in 59s
Security / Dependencies (Trivy) (push) Successful in 49s
Tests / Dashboard checks (push) Successful in 52s
Security / Code (Semgrep) (push) Successful in 1m33s
Tests / Go backend (push) Failing after 1m1s
Docker / Docker Build & Push (push) Failing after 5m16s
2026-11-20 21:42:42 +01:00
Gabriel20xx 7150ebd13e feat: add Android release signing and user remapping
Security / Secrets (gitleaks) (push) Successful in 1m11s
Tests / Dashboard checks (push) Successful in 1m17s
Security / Dependencies (Trivy) (push) Successful in 1m20s
Security / Code (Semgrep) (push) Successful in 3m15s
Lint / Lint (push) Successful in 1m2s
Tests / Go backend (push) Successful in 3m29s
Docker / Docker Build & Push (push) Successful in 8m42s
- Add release signing configuration and static debug-key workflow
- Add a CLI to remap legacy users to AuthGuard accounts
2026-11-01 19:09:06 +01:00
Gabriel20xx f246c4290f chore(deps): update crypto and pin Vite 8.3.3
Lint / Lint (push) Successful in 51s
Security / Secrets (gitleaks) (push) Successful in 51s
Security / Dependencies (Trivy) (push) Successful in 51s
Security / Code (Semgrep) (push) Successful in 1m38s
Tests / Go backend (push) Successful in 1m17s
Tests / Dashboard checks (push) Successful in 45s
Docker / Docker Build & Push (push) Successful in 6m5s
- Document SPA path safety for Semgrep
2026-10-27 07:15:31 +00:00
Gabriel20xx 94d52c7622 chore: clean up backend code and build shared deps in CI
Lint / Lint (push) Successful in 1m5s
Tests / Go backend (push) Failing after 1m17s
Docker / Docker Build & Push (push) Failing after 4m28s
Tests / Dashboard checks (push) Successful in 1m6s
2026-10-20 19:31:16 +00:00
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
Gabriel20xx 0ff94f9b10 ci: expand shared package validation and test coverage
Lint / Lint (push) Successful in 32s
Docker / Docker Build & Push (push) Failing after 2m22s
Tests / Go backend (push) Failing after 1m2s
Tests / Dashboard checks (push) Failing after 35s
- Add lint, formatting, vet, and publish workflow checks
- Run Go database tests with PostgreSQL and add Java tests
- Make consumer sync opt-in; update docs and Go dependency
2026-10-19 21:46:52 +00:00
Gabriel20xx 937f51b4fb fix: address performance and security findings
Lint / Lint (push) Successful in 26s
Tests / Dashboard checks (push) Successful in 52s
Tests / Go backend (push) Failing after 1m14s
Docker / Docker Build & Push (push) Successful in 3m41s
- Add PostgreSQL-backed backend and frontend tests to CI
- Harden Android API logging and disable app backups
- Update the performance report with resolved findings
2026-10-19 21:16:08 +00:00
Gabriel20xxandClaude Haiku 5.5 a84a36349b Fix critical and high audit findings
Fixed findings from the audit reports (SECURITY, QUALITY, PERFORMANCE):
- P-001 · Dashboard re-downloads the entire dataset every 5 seconds

Re-synced the vendored shared/ snapshot from shared commit 199a5ef.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 07:48:07 +00:00
Gabriel20xx 483a1a278b fix: expose keyed overview tab in server info
Lint / Lint (push) Successful in 26s
Tests / Go backend (push) Successful in 39s
Tests / Dashboard checks (push) Successful in 44s
Docker / Docker Build & Push (push) Successful in 2m35s
2026-10-13 21:23:07 +00:00
Gabriel20xx 775a5520b6 fix: restore int64 environment parsing
Docker / Docker Build & Push (push) Successful in 3m32s
Lint / Lint (push) Successful in 27s
Tests / Go backend (push) Successful in 30s
Tests / Dashboard checks (push) Successful in 35s
2026-09-23 06:13:52 +02:00
Gabriel20xx d9e2d64535 fix: standardize startup database retries
Docker / Docker Build & Push (push) Failing after 3m19s
Lint / Lint (push) Successful in 34s
Tests / Dashboard checks (push) Successful in 50s
Tests / Go backend (push) Failing after 50s
2026-09-23 04:56:42 +02:00
Gabriel20xx 407966fc94 feat: honor project login requirement in CollabTable
Tests / Go backend (push) Successful in 1m7s
Docker / Docker Build & Push (push) Successful in 4m17s
Lint / Lint (push) Successful in 24s
Tests / Dashboard checks (push) Successful in 51s
2026-09-17 00:32:46 +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
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 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
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
Gabriel20xx b412ca0f69 Adopt shared authproxy helpers for the AuthGuard-proxy auth service
Lint / Lint (push) Successful in 20s
Tests / Go backend (push) Successful in 1m1s
Docker / Docker Build & Push (push) Successful in 2m37s
Tests / Dashboard checks (push) Successful in 37s
Replaces locally-duplicated session-cookie handling, input
normalization, and AuthGuard-error translation with
shared/backend/authproxy, shared with Bitmagnet/GameStream/media-backend
and others doing the same AuthGuard-proxy pattern.
2026-09-03 08:24:06 +02:00
Gabriel20xxandClaude Sonnet 5 51e0a4217b Don't show the create-account form once AuthGuard already has an account
Lint / Lint (push) Successful in 49s
Tests / Dashboard checks (push) Successful in 1m0s
Tests / Go backend (push) Successful in 46s
Docker / Docker Build & Push (push) Successful in 4m11s
Accounts are centralized in AuthGuard now, so this project's own "first
launch, create the admin account" flow needs to know whether AuthGuard
already has one - not just whether *this* project's local setup has been
claimed. A fresh instance pointed at an AuthGuard that already has a
superadmin (created via AuthGuard's own web UI, or a sibling project's
setup) was incorrectly still showing its own create-account form.

Both the status check and the setup/registration handler now also consult
AuthGuard's GET /api/setup-status (via the vendored authclient's new
SetupStatus method) before deciding: if AuthGuard already has an account,
show the login screen instead, and reject a setup attempt that reaches the
handler anyway (e.g. a stale page) the same way an already-claimed local
setup is rejected.

Also updates the vendored shared/backend/authclient to add PublicUser's
totp_enabled field (AuthGuard has reported it for a while; the client
just hadn't picked it up).

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