Commit Graph
28 Commits
Author SHA1 Message Date
kone 8f1881ae9a fix(ci): extract binary from Docker image instead of building with Go 2026-06-09 15:25:34 +08:00
kone d702f74582 fix: add binary release assets to CI and update download allowlist
- Build linux_amd64 binary in CI and upload to Gitea release assets
- Add checksums.txt for integrity verification
- Update allowed download hosts to Gitea domain/IP
2026-06-09 01:13:48 +08:00
kone 0984773711 fix(gemini): skip token cache when expires_at is within refresh window
When a Gemini OAuth account receives a 401, ratelimit_service sets
expires_at=now() to force a refresh. Previously GetAccessToken would
return the stale cached token before checking expires_at, causing
repeated 401s until the cache TTL expired.

Fix: check needsRefresh before attempting cache lookup.
2026-06-09 01:00:11 +08:00
kone 4eb9877082 fix: use Gitea API for version check instead of GitHub 2026-06-06 04:29:48 +08:00
kone 88ccd0ecbb feat: add registration abuse prevention
- Silently block verification code for IPs with 2+ registered accounts
- Silently block Gmail alias emails (containing + or . in local part)
- Add CountByRegistrationIP to UserRepository interface
- Pass client IP to SendVerifyCodeAsync for abuse detection

Both checks return fake success to prevent enumeration attacks.
2026-06-06 04:07:07 +08:00
koneandClaude Opus 4 ba5a09862f fix: remove hardcoded default update proxy URL
The default socks5 proxy (172.16.32.16:3389) was unreachable for most
deployments, causing version check to timeout after 30 seconds.

Setting the default to empty string allows direct connection to the
Gitea API, which is the expected behavior for most users.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-06-06 03:43:13 +08:00
kone a1b75400a6 ci: use go module proxy for gitea build 2026-06-04 00:53:13 +08:00
kone 711aab05e4 ci: use alpine mirror for gitea image build 2026-06-04 00:49:41 +08:00
kone 7fb962474b ci: pin pnpm for gitea image build 2026-06-04 00:39:07 +08:00
kone b1d837d800 ci: support manual gitea image release dispatch 2026-06-04 00:36:44 +08:00
kone dbf3278ba3 ci: add gitea image release workflow 2026-06-04 00:25:46 +08:00
kone 6f4a680156 release: prepare v0.1.140
Release / update-version (push) Has been cancelled
Release / build-frontend (push) Has been cancelled
Release / release (push) Has been cancelled
Release / sync-version-file (push) Has been cancelled
CI / test (push) Has been cancelled
CI / frontend (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
2026-06-03 23:52:28 +08:00
kone d1b574bcad release: prepare v0.1.139 2026-06-03 00:15:27 +08:00
kone 6f1dd6b473 release: prepare v0.1.138 2026-05-17 06:52:06 +08:00
kone b866c0fd27 fix: satisfy backend lint 2026-05-17 06:45:35 +08:00
kone 3afb4afeda test: update gateway service constructor usage 2026-05-17 06:33:26 +08:00
kone dd2b08d875 release: prepare v0.1.137 2026-05-17 06:19:56 +08:00
kone f4055c773c release: prepare v0.1.136 2026-05-17 02:00:12 +08:00
kone ebb03dc91c fix: improve kiro usage token accounting 2026-05-17 01:25:37 +08:00
kone 4a06371bba release: prepare v0.1.134 2026-05-16 15:31:08 +08:00
kone 89080b4c5a Merge remote-tracking branch 'pr/2131' into release/v0.1.133
# Conflicts:
#	backend/cmd/server/wire_gen.go
#	backend/internal/config/config.go
#	backend/internal/service/gateway_service.go
#	backend/internal/service/pricing_service.go
#	backend/internal/service/wire.go
#	deploy/config.example.yaml
#	frontend/src/views/admin/AccountsView.vue
2026-05-16 01:55:39 +08:00
kone 042cfd448c release: prepare v0.1.133 2026-05-15 23:06:59 +08:00
kone b430cd4aa9 release: prepare v0.1.132 2026-05-15 22:33:43 +08:00
kone 41e60b20d6 release: prepare v0.1.131 2026-05-14 05:18:31 +08:00
kone 066ceb823e chore: prepare 0.1.130 release 2026-05-13 19:22:11 +08:00
kone 6461356047 feat: add OpenClaw key usage config 2026-05-12 05:25:28 +08:00
kone 908715ae9b chore: prepare 0.1.128 release 2026-05-12 04:47:16 +08:00
kone d81bc52547 chore: prepare 0.1.127 release 2026-05-12 04:31:07 +08:00