Commit Graph

24 Commits

Author SHA1 Message Date
Haitao Pan
5bf93d1d3f feat: add user management APIs for management page
- Add ListUsers to Store interface and implementations
- Add user listing API endpoint (GET /api/users)
- Add role management endpoints (POST/DELETE /api/auth/admin/users/:userId/role)
- Add GeneratePublicToken to TokenService for OAuth callback
- Add CancelSubscription to Store interface
- Update go.mod with oauth2 dependencies
2026-01-30 08:59:55 +08:00
Haitao Pan
29ee491acf reset accounts.svc.plus repo 2026-01-23 23:16:37 +08:00
google-labs-jules[bot]
f4ec90bbfd Fix Cloud Run build and stunnel startup support
- Downgrade Go version from 1.25.1 to 1.24.0 in go.mod and Dockerfile to resolve build failure (Go 1.25 is not yet released).
- Add `netcat-openbsd` to Dockerfile runtime image to ensure `nc` command is available for health checks.
- Update `entrypoint.sh` to robustly wait for `stunnel` to start using `nc` loop, preventing app startup failure when DB TLS is enabled.
- Add explicit error handling in `entrypoint.sh` if `stunnel` fails to start within timeout.
2026-01-21 07:57:08 +00:00
Haitao Pan
ee6e1a6363 feat: move account service to repo root
# Conflicts:
#	account/Makefile
#	account/go.mod
#	docs/account-admin-settings.md
#	docs/account-svc-plus.md
2026-01-16 16:15:23 +08:00
Haitao Pan
eaa1412bcb build: ensure Go init runs before binary compilation 2025-12-04 23:20:47 +08:00
Haitao Pan
0b3fab7d28 cleanup(auth): remove test/docs files from internal/auth
- Deleted non-essential files from rag-server/account internal/auth:
  - Removed: test files, docs (README, IMPLEMENTATION), cache/client modules
  - Kept: core JWT auth middleware and token_service only
- Simplified to JWT service-to-service authentication
- Claims retain UserID/Email/Roles business info
2025-11-05 22:58:39 +08:00
shenlan
2a945adb6f Add SSH-based account sync utility (#602) 2025-10-30 14:07:53 +08:00
shenlan
0a8ff47c12 feat(account): add migratectl CLI and golang-migrate workflows (#460) 2025-10-08 21:56:50 +08:00
shenlan
e7a8b9738a feat(account): add admin settings matrix management (#445) 2025-10-07 09:24:00 +08:00
shenlan
bd85f0fbfd feat(server): add admin settings matrix management (#440) 2025-10-07 08:48:15 +08:00
dependabot[bot]
08b37b4f3f chore(deps): bump github.com/gin-contrib/cors from 1.5.0 to 1.6.0 (#384)
Bumps [github.com/gin-contrib/cors](https://github.com/gin-contrib/cors) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/gin-contrib/cors/releases)
- [Changelog](https://github.com/gin-contrib/cors/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/cors
  dependency-version: 1.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 12:29:30 +08:00
shenlan
d7bd4147ae Add CORS middleware to account service (#382) 2025-10-03 00:33:58 +08:00
shenlan
2123809f27 docs: update account service mfa guidance (#366) 2025-10-02 14:06:07 +08:00
shenlan
8f8a069481 Connect account registration to Postgres store (#336) 2025-10-01 10:05:31 +08:00
Haitao Pan
ea5b851768 chore(make): simplify build/run targets and set local PG DSNs 2025-09-30 21:03:54 +08:00
shenlan
abf7642701 Use UUID identifiers for account users (#323) 2025-09-30 18:42:10 +08:00
shenlan
ecebcb6d64 docs: detail Milestone 2 subtasks 2025-08-12 22:32:45 +08:00
shenlan
9c04f05ceb refactor: migrate server and cli to cobra 2025-08-10 11:00:26 +08:00
shenlan
9d1f345d0d feat: add optional proxy support 2025-08-09 15:54:27 +08:00
shenlan
ac65f98fbf feat: add RAG ingestion pipeline 2025-08-09 10:53:24 +08:00
shenlan
9f6da286ba feat: add config and logging 2025-08-07 23:13:44 +08:00
shenlan
907461c8e8 server: implement rag system modules 2025-08-05 09:26:07 +08:00
shenlan
a179339d05 Move AI KB to modules directory 2025-07-25 09:37:15 +08:00
shenlan
e207c35bb7 Fix UI embedding 2025-06-04 16:31:42 +08:00