zijiren and xzy
cd17c2ebe7
feat(ci): service build on docker and arm runner ( #6608 )
...
feat(ci): service build on docker and arm runner (#6596 )
* feat: service build on docker and arm runner
* fix: build context
* fix: go mod downlaod cache
* fix: go build main pachage
* fix: hubble build main package
* fix: remote jsoniter tag
* fix: configure ReadHeaderTimeout for minio http server (#129 )
---------
Co-authored-by: xzy <nowinkey@tom.com >
2026-01-27 15:52:56 +08:00
github-actions[bot] and Jiahui
48d3887382
fix(account-service): fix mod ( #6610 )
...
fix(account-service): fix mod (#6561 )
fix mod
Co-authored-by: Jiahui <4543bxy@gmail.com >
2026-01-27 15:15:05 +08:00
Jiahui
aedfe6c6e7
feat(release): release v5.1 patch limit user ( #6563 )
...
feat(license): suppor limit user count (#6556 )
* Add a prompt for detecting the number of users exceeding the active license
Multiple Active licenses only use the latest License for restriction detection
init
# Conflicts:
# controllers/user/api/v1/user_webhook.go
# controllers/user/controllers/user_controller.go
* fix rebase conflict
* fix ci lint
(cherry picked from commit d6d0845643 )
2026-01-21 20:28:49 +08:00
Jiahui
d8507d08c9
fix(account): Manual copy to avoid copy() issues with complex types ( #6480 )
2026-01-05 11:54:23 +08:00
Jiahui
1a6c135432
feat(account): support reload account config api ( #6458 )
...
* support reload account config api
* set account ingress with apply
2026-01-04 16:44:32 +08:00
github-actions[bot] and Bearix
6f2452d4de
feat(service): vlogs service add database log query. ( #6298 )
...
feat(service): vlogs service add database log query. (#6273 )
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
* add database logs query.
Co-authored-by: Bearix <2669184984@qq.com >
2025-12-05 09:59:06 +08:00
cuisongliu and Bearix
207a1da13c
feat(vlogs): cherry-pick from ( #6202 ) ( #6181 ) ( #6203 )
...
* feat(vlogs): add vlogs keywords escape. (#6181 )
* fix vlogs keywords.
* add vlogs keywords escape.
* add vlogs keywords escape.
* add vlogs keywords escape.
* add vlogs keywords escape.
* add vlogs keywords escape.
* add vlogs keywords escape.
* add vlogs keywords escape.
* fix ci lint.
* fix ci lint.
* add decolor .
* add decolor .
* add decolor .
* add decolor .
* add esacpe ut.
(cherry picked from commit d4486468e2 )
* feat(vlogs): Remove the decolor query. (#6202 )
* add esacpe ut.
* add esacpe ut.
(cherry picked from commit 4b8de1d803 )
---------
Co-authored-by: Bearix <2669184984@qq.com >
2025-11-17 11:46:22 +08:00
Bearix
0796e3018c
fix(service): fix launchpad metrics query logic. ( #6133 )
...
fix launchpad metrics query logic.
2025-10-31 18:25:53 +08:00
Jiahui
ea8e5cf0a9
feat(account): Add workspace subscription plan ( #6103 )
...
* initialize the data structure
* Initialize the lifecycle management of workspace subscriptions
* fix index
* add workspace subscription debt
* optimize parse period & init workspace subscription & fix subscription create bug
* remove quota controller
* add user notify framework:
content_generator:content generation
service:event notification service
providers:vms/sms/email ... provider implementation
types: core structure type definition
* optimize struct & adjust the database to obtain data
* Implement the initialization of subscriptions and the implementation of subscription traffic packages
* service implement the database layer
* auto add column payment.stripe
* add stripe pay interface
* add workspace subscription service
* add the usercr tag for subscription based spaces, Add delete workspace subscription operator & Add api interfaces related to obtaining workspace costs
* optimize interface
* overall adjustment and repair
* optimize traffic early warning notifications
* optimize traffic early warning notifications
* optimize
* optimize & add deletion account api
* optimize log
* add get payment status api && support workspace subscription AI quota package
* optimize
* Fixed the issue where traffic was not distributed after renewing the subscription package
* fix
* fix workspace subscription transaction process add ai quota package
* fix ci lint
* fix controller/account ci lint
* fix controller/pkg ci lint
* fix controller/account ci lint
* fix controller/pkg ci lint
* add admin add workspace subscription
* fix upgrade workspace subscription
* add get workspace subscription plans api
* add get workspace subscription plans api
* fix ci lint
* fix ci lint
* fix ci lint
2025-10-26 16:15:52 +08:00
zijiren
608b8478dc
feat(service): add zombie detoctor service ( #6104 )
2025-10-17 16:55:32 +08:00
zijiren
627131c2ed
feat(service): add iamge monitor to watch pull image error and slow pull ( #6100 )
...
* feat(service): add iamge monitor to watch pull image error and slow pull
* fix: replace request
* fix: ci lint
* fix: comments convert to en
2025-10-17 14:36:21 +08:00
0f45368708
fix(alerts): update ns alert ( #6098 )
...
* fix ns alerts
* fix ns alerts
* fix ns alerts
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update service/exceptionmonitor/helper/monitor/database_monitor.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: cuisongliu <cuisongliu@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-16 15:42:40 +08:00
Bearix and Copilot
11341f4593
feat(service): Add launchpad PVC query function and bug fix ( #6063 )
...
* change monitor cpu mem query logic.
* change monitor cpu mem query logic.
* change monitor cpu mem query logic.
* change monitor cpu mem query logic.
* change monitor cpu mem query logic.
* change monitor pvc query logic.
* change monitor pvc query logic.
* Update service/pkg/api/req.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-09 17:12:43 +08:00
cuisongliu
bf284a8c85
fix(deploy): add optional payment secret to account manager deployment ( #6031 )
...
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-09-23 16:30:13 +08:00
Bearix
23b2514428
feat(vlogs): change vlogs query logic ( #6029 )
...
change vlogs query logic.
2025-09-23 15:12:27 +08:00
cuisongliu
7928ccc232
refactor(deploy): migrate Hubble deployment to Helm charts ( #6024 )
...
* refactor(deploy): migrate Hubble deployment to Helm charts
Signed-off-by: cuisongliu <cuisongliu@qq.com > directory
Signed-off-by: cuisongliu <cuisongliu@qq.com >
* refactor(workflows): remove save-sealos job and update sealos installation
Signed-off-by: cuisongliu <cuisongliu@qq.com >
---------
Signed-off-by: cuisongliu <cuisongliu@qq.com > directory
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-09-22 15:50:55 +08:00
cuisongliu
ce6e127325
fix(deploy): add namespace to cluster role binding in deploy manifest ( #6020 )
...
fix(deploy): add namespace to service account in deploy manifest
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-09-22 10:27:00 +08:00
Bearix
0aee8fd447
feat(service): change hubble redis deploy logic. ( #5999 )
...
change hubble redis deploy logic.
2025-09-18 18:16:44 +08:00
Bearix and Copilot
837dc6ff50
feat(vlogs service): fix stderr handling and improve number logic validation. ( #5859 )
...
* fix stderr and number logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix(vlogs service): change time query logic.
fix ci lint.
bug fix.
bug fix.
bug fix.
* Update service/vlogs/server/query.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* bug fix.
* bug fix.
* bug fix.
* bug fix.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 16:33:14 +08:00
Bearix
056bcaf6bc
feat(service): add Hubble service to enhance observability ( #5729 )
...
feat(service): add Hubble service to enhance observability.
2025-09-15 10:28:27 +08:00
cuisongliu
c1f9824504
fix(build): add platform validation for amd64 and arm64 builds in Makefile ( #5976 )
...
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-09-12 20:51:22 +08:00
cuisongliu
a567f0388b
fix(deploy): update configMap reference for devbox environment ( #5949 )
...
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-09-08 14:44:16 +08:00
cuisongliu
56dad3c40b
fix(images): improve logging and streamline command execution ( #5946 )
...
* feat(chart): add initial configuration files and update entrypoint script
Signed-off-by: cuisongliu <cuisongliu@qq.com >
* fix(init.sh): improve logging and streamline command execution
Signed-off-by: cuisongliu <cuisongliu@qq.com >
---------
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-09-07 18:45:51 +08:00
Jiahui
837a49529b
fix(account): fix remove account service smtp config verification ( #5917 )
...
remove smtp config verification
2025-09-02 15:27:11 +08:00
cuisongliu
c4eb60be44
fix(security): add non-root user to Dockerfile and update TLS configuration in req.go ( #5818 )
...
Signed-off-by: cuisongliu <cuisongliu@qq.com >
2025-08-13 11:00:47 +08:00
Jiahui and wj
d5cfcd2c19
Corporate ( #5726 )
...
* support_pay_refund
* corporate
---------
Co-authored-by: wj <3638877@qq.com >
2025-07-31 17:17:44 +08:00
Jiahui
879796199e
fix ( #5678 )
2025-07-21 14:21:07 +08:00
谢金虎
a68968392d
update debt code ( #5699 )
...
* update debt code
2025-07-16 18:04:17 +08:00
Jiahui
19e63bd413
Fix/skip terminal ns ( #5675 )
...
* fix skip namespace terminating status
* processUsersInParallel semaphore to 1000
2025-07-03 11:42:14 +08:00
Jiahui
6eb28db0ee
support the suspension and resumption of export network services ( #5629 )
...
* support the suspension and resumption of export network services
* support recording user traffic to the database: `UserTimeRangeTraffic` Table.
* network suspend/resume annotation value to upper
* add suspend/resume user traffic api
* optimize monitor user traffic process
* realize the automatic refresh of traffic usage
* add test
2025-06-06 11:07:03 +08:00
Jiahui
68a2a9fae9
fix skip abnormal user subscriptions ( #5623 )
2025-05-30 11:23:57 +08:00
Jiahui
4e70494a70
optimize sendFlushQuotaRequest log & fix create or update quota ( #5609 )
...
* optimize sendFlushQuotaRequest log & fix create or update quota
* optimize: user remove the watching AnnotationChangedPredicate
* optimize initialize the account data
2025-05-27 17:04:30 +08:00
yy and jiahui
4cc740443a
upgrade: controller runtime version ( #5597 )
...
* upgrade: controller runtime version
* Upgrade k8s.io/client-go version v0.28.3 => v0.32.1; Upgrade golang version v1.22 => 1.24 to be compatible with client-go v0.32.1
* fix ci
* fix ci
* skip md5 semgrep check
---------
Co-authored-by: jiahui <bxy4543@gmail.com >
2025-05-14 14:48:42 +08:00
Jiahui
30ec4f9b17
Compatible with pgsql syntax: current_timestamp() => current_timestamp ( #5586 )
...
* delete repeated update time
* add namespace reconcile status & add final delete job & app resource
* remove the useless lock & optimize GetCreditsInfo api speed
* add KYC process enabled env
2025-05-13 16:20:45 +08:00
Jiahui
8c2db08fd4
Support subscriptions, atom payments, credits, and optimize debt systems ( #5545 )
...
* add credits
* create table
* change name & add table name
* optimize interface
* print result err log
* fix
* add credits for debt
* creditsTransaction add region
* refactor debt status:
Normal\LowBalance\CriticalBalance\Debt\DebtDeletion\Final Period.
* refactor debt status:
Normal\LowBalance\CriticalBalance\Debt\DebtDeletion\Final Period.
* add retry transaction
* optimize determine status
* support card pay & subscription plan & operator service
* add pay notify & redirect url
* fix
* optimize
* add error test log
* fix req time
* fix
* fix
* add subscription payment api
* only processes the `CAPTURE_RESULT` notify type
* fix
* fix
* fixed notify structure parsing
* fix
* fix
* init a Free initial subscription plan √/ Initialize credits Create √
* init resourcequota wiht subscription
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix card type
* fix
* Subscribe controller: real-time monitoring subscriptionTransaction processing created/upgrade/downgrade
* fix
* fix
* fix
* determine current debt status with subscription
* optimize pay api resp
* process subscription auto renewal
* optimize log
* fix
* fix
* add GetAppResourceCosts api
* fix
* add GetLastSubscriptionTransaction api
* add GetSubscriptionUpgradeAmount api
* add /subscription/flush-quota api
* fix
* add remote flush subscription quota
* go mod tidy
* fix
* add retry flush subscription quota
* add custom debt status send email body
* fix
* fix
* fix
* fix
* fix
* add free process subscription
* fix
* add default pay expire time
* optimize
* support kyc & optimize
* optimiz
* add descributed lock with gorm db
* optimize debt reconcile
* optimize send email
* optimize split sms vms code map; handler failure reflush debt status.
* optimize
* add email username
* optimize
* skip zero user
* optimize flush svc
* add convert test func
* fix
* optimize log
* use the k8s client with cache
* fix golang ci lint
2025-05-06 16:56:25 +08:00
Jiahui
470f8e1de5
add simple health check for account svc ( #5553 )
2025-04-24 14:26:20 +08:00
Jiahui
c672e3750c
optimize recharge discount step ( #5552 )
2025-04-23 10:52:48 +08:00
zijiren
5301ae078b
repo: mv aiproxy to labring/aiproxy ( #5458 )
...
* repo: mv aiproxy to labring/aiproxy
* fix: delete aiproxy gowork
2025-03-11 11:35:50 +08:00
zijiren
4885d224a0
feat: aiproxy feishu notify ( #5445 )
...
* feat: get balance notify
* feat: balance notify
* feat: auto test bannel channel notify
* feat: notify lock limit
* feat: notify throttle
* fix: claude think token
* feat: azure support and mode string
* feat: feishu notify
* fix: banned notify
* fix: lint
* feat: notify note
* feat: notify note
* fix: do not expire banned
* fix: default disable auto update channel balance
* feat: beyond threshold notify
* feat: notify error detial
* fix: add request script
* feat: sync service error notify
* feat: baidu error code handler
* feat: baidu error code handler
* fix: unsupported mode info
* refactor: relay error handler
* feat: auto reload channel and model config
* feat: ollama support
* fix: lint
* chore: error log message
* chore: sync notify throttle
* fix: redis script key expire
* feat: no permission channel notify
* feat: get channel with error rate priority
* feat: retry log filed
* fix: lint
* fix: group and token update sql double where id condition
* feat: async batch process usage
* fix: rate limit overlimit count
* fix: rate limit count
* fix: no permission error message
* fix: ban expiry
* feat: mem model monitor
* feat: mem monitor cleanup
* feat: guess model type cache
* fix: get priority
* fix: do not unban when error rate reduce
* chore: docker image add curl cli
* fix: model not exist status code
* fix: error code
* fix: record consume notify and clean log batch size
* chore: batch record
* fix: clean log error notify throttle
* chore: rename notify env name
2025-03-10 15:26:23 +08:00
zijiren
8c67cc619a
feat: doc2x parse pdf support ( #5441 )
...
* feat: doc2x parse pdf support
* feat: pdf build with string builder
* feat: conv pdf html to md
* feat: relay retry request at least once for an authorized channel
* fix: lint
* feat: parse pdf model from query
* test: add table to md test cases
2025-03-06 11:57:33 +08:00
谢金虎
1285f895d2
send exception email ( #5408 )
...
* send exception email
* send exception email
2025-03-05 14:58:30 +08:00
zijiren
00534036bd
feat: sonic replaces json ( #5438 )
...
* feat: sonic replaces json
* feat: get model bench
2025-03-04 16:05:55 +08:00
zijiren
feb5f9d7f2
feat: relay retry ignore forbidden channel ( #5435 )
...
* feat: relay retry ignore forbidden channel
* fix: dont reuse meta
2025-03-03 16:41:09 +08:00
zijiren
8f45b6f9fb
feat: async clean log ( #5434 )
...
* chore: unify the start index to page
* feat: async clean log
* feat: to limit offset utils
2025-03-03 14:42:20 +08:00
zijiren
2d3431901a
feat: impl disable billing ( #5431 )
2025-03-02 22:48:55 +08:00
zijiren
050a861b99
feat: global log index ( #5430 )
2025-03-02 19:36:38 +08:00
zijiren
9c0513fa81
fix: relay retry delay ( #5429 )
...
* fix: relay retry delay
* fix: relay retry delay
* fix: relay retry delay
2025-02-28 19:19:12 +08:00
zijiren
9b6b3e40f5
feat: model cost rank and ali tts ( #5428 )
...
* feat: model cost rank api
* fix: ali stt
2025-02-28 17:30:37 +08:00
zijiren
288c4fba19
fix: empty subnet ( #5426 )
2025-02-28 00:17:55 +08:00
zijiren
c6f9542f69
feat: token and group model update ( #5419 )
...
* feat: update token model
* feat: update group
2025-02-27 17:27:23 +08:00