2b3a3f08ef
Fix user default surface by reading JWT from cookie
...
The GET / route has no auth middleware, so user_id was always
empty. Add UserIDFromCookie helper that opportunistically reads
the sb_token cookie and extracts user_id without requiring auth.
Now user preference correctly overrides the global default.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 14:00:09 +00:00
5836ddad21
Feat admin rbac migration ( #1 )
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / build-and-deploy (push) Has been cancelled
CI/CD / test-sqlite (push) Has been cancelled
CI/CD / test-go-pg (push) Has been cancelled
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-26 17:30:36 +00:00
e4b7ee98a5
step 5 (partial): strip dropped packages from production code
...
Removed all references to dropped packages in non-test code.
Zero dropped imports, store refs, or model types remaining.
Major removals:
- scheduler/ package (entire dir) — tasks moved to extension track
- taskutil/ package (entire dir)
- health/ package (entire dir) — provider/tool health
- sandbox/provider_module.go — provider.complete module
- handlers: workflow_entry, workflow_instances, workflow_forms,
workflow_assignments, workflow_monitor, health_admin (6 files)
- auth/session.go, middleware/session_auth.go
- store/{postgres,sqlite}/sessions.go, tasks.go
Rewrites:
- store/{postgres,sqlite}/health.go — kernel-only Prune
(ws_tickets, rate_limit_counters, stale presence)
- handlers/admin.go: 847→467 lines (stripped provider CRUD)
- handlers/teams.go: 520→411 lines (stripped model listing)
- sandbox/runner.go: removed ProviderResolver
- sandbox/workflow_module.go: 216→83 lines (definition-only)
- main.go: 1579→1325 lines (stripped dropped package init)
- pages/pages.go: stripped channel/session lookups
- events/types.go: stripped chat/channel/workspace event routes
- models: stripped stale types, constants, notification types
Store interface cleanup:
- Removed SessionStore, TaskStore from Stores struct
- Stripped workflow assignment methods from WorkflowStore iface
- Stripped assignment methods from PG+SQLite workflow stores
- Updated testhelper.go table list to kernel-only
Migrations: removed 008_tasks.sql (both dialects)
-9665/+69 lines across 51 files.
2026-03-26 04:56:07 -04:00
11fd8c1e57
step 1: rename module chat-switchboard → switchboard-core
...
- go.mod module name
- All 714 import references across 289 Go files
- VERSION: 0.1.0
- CI DB names: switchboard_core_{ci,dev,test}
- Docker image: gobha/switchboard-core
- Test fixtures: JWT issuer, repo names
- .env.example, docker-compose container name
- Compiles clean (go build exit 0)
2026-03-25 19:48:04 -04:00
ed3e9363f2
Changeset 0.33.0 ( #207 )
...
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-19 21:37:32 +00:00
b1266b0d7c
Changeset 0.32.0 ( #206 )
2026-03-19 18:50:27 +00:00
115004a3ab
Changeset 0.29.2 ( #197 )
...
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-17 22:31:34 +00:00
5d637d3a90
Changeset 0.29.0 ( #195 )
2026-03-17 16:28:47 +00:00
128cbb8174
Changeset 0.28.8 ( #194 )
2026-03-15 23:43:36 +00:00
85d5e3cc13
Changeset 0.28.4 ( #190 )
2026-03-14 19:36:33 +00:00
937be26578
Changeset 0.24.3 ( #159 )
2026-03-07 20:49:23 +00:00
ea082e2016
Changeset 0.24.2 ( #158 )
2026-03-07 19:58:43 +00:00
45fe965c32
Changeset 0.22.5 ( #147 )
...
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-03 09:58:23 +00:00
c0d95fd7f5
Changeset 0.8.1 ( #44 )
2026-02-22 01:22:23 +00:00
30d0c11219
Changeset 0.5.0 ( #35 )
2026-02-19 15:03:20 +00:00
2fc4f6980c
Feature user and admin panels ( #30 )
2026-02-16 20:30:36 +00:00
8f10352e7d
Issue 4 jwt ( #24 )
2026-02-15 23:41:48 +00:00
c75f976a2d
[BACKEND] Initialize Go backend structure and dependencies ( #23 )
2026-02-15 22:50:06 +00:00