Commit Graph

53 Commits

Author SHA1 Message Date
1808837298@qq.com
a50d2e6836 fix: error user role 2024-09-24 17:49:57 +08:00
CalciumIon
1dfa18ab9a fix: email login 2024-07-09 21:36:31 +08:00
CalciumIon
ea72b9c960 feat: able to use email to login (close #343,#348) 2024-07-08 16:28:56 +08:00
1808837298@qq.com
2fed1a1506 fix: update user (#230) 2024-05-08 16:46:06 +08:00
CaIon
03f26006a1 fix: update user 2024-04-24 19:40:29 +08:00
iszcz
e00a468464 用户管理页新增分组查询 2024-04-20 02:13:11 +08:00
CaIon
b26e53bcd4 feat: update cache 2024-04-18 20:30:17 +08:00
CaIon
dac6849603 feat: update cache #204 2024-04-18 20:23:44 +08:00
CaIon
40a6db6797 fix: user update error 2024-04-04 11:10:41 +08:00
CaIon
f18a83c181 fix: update user quote (close #161) 2024-04-03 23:51:25 +08:00
CaIon
130d275107 fix: SearchUsers (close #160) 2024-03-29 22:49:08 +08:00
sljeff
a3bab7537b feat: telegram login and bind 2024-03-02 17:15:52 +08:00
Ehco1996
1ca7829161 Update makefile and user model, add Telegram integration 2024-03-01 22:33:30 +08:00
CaIon
f111777fc3 fix: user group size 2024-01-11 22:06:30 +08:00
CaIon
5eaa5bf050 chore: cache username 2024-01-11 18:40:44 +08:00
CaIon
e0234a677c 更新用户时刷新缓存数据 2023-12-29 00:00:23 +08:00
CaIon
61bfde5e00 修复不能删除注销用户的问题 2023-12-27 16:46:18 +08:00
CaIon
16e1b559d2 Revert "fix delete user"
This reverts commit acd4315d
2023-12-27 15:31:28 +08:00
CaIon
53deed8ce4 fix delete user 2023-12-27 15:15:07 +08:00
CaIon
acd4315d43 fix delete user 2023-12-27 14:36:19 +08:00
CaIon
b38ba50e3f 用户注销后禁止再次注册 2023-12-27 00:19:11 +08:00
CaIon
3eb7843b2e 完善个人中心 2023-11-21 16:35:51 +08:00
Calcium-Ion
f439c4d553 Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +08:00
Bryan
58b6c88f7b fix: fix postgresql support (#606)
* fix postgresql support

fixes #517

* fix: fix pg support

* chore: delete useless code

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-22 18:38:29 +08:00
CaIon
ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
2a99fae102 fix: fix request count not updated correctly when using batch update 2023-10-14 15:04:52 +08:00
CaIon
57edbac346 feat: 删除无用功能 2023-09-10 01:13:12 +08:00
CaIon
c0636950c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
JustSong
fa0fedff5c chore: pass through error out 2023-09-03 21:31:58 +08:00
JustSong
cf0ae05d50 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
393443dd16 Revert "fix: add lock when update quota (close #399)"
This reverts commit 7216aabedc.
2023-08-13 00:51:48 +08:00
JustSong
7216aabedc fix: add lock when update quota (close #399) 2023-08-12 18:25:18 +08:00
JustSong
e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +08:00
JustSong
b7a89340e1 chore: format logs 2023-06-22 10:59:01 +08:00
JustSong
a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong
f123eaf379 feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
JustSong
0b3efe574b feat: record used quota & request count (close #102, #165) 2023-06-16 15:20:06 +08:00
JustSong
0b237f3642 chore: add more log types 2023-06-10 16:31:40 +08:00
JustSong
cbf339284c feat: support group now (close #17, close #72, close #85, close #104, close #136)
Co-authored-by: quzard <1191890118@qq.com>
2023-06-07 23:26:00 +08:00
JustSong
8a7f597048 feat: able to manage user's quota now 2023-05-21 10:01:02 +08:00
JustSong
bcb4862a19 refactor: bind quota to account instead of token (close #64, #31) 2023-05-16 11:26:09 +08:00
JustSong
93b00d62a6 feat: able to test all enabled channels (#59) 2023-05-15 12:36:55 +08:00
JustSong
7bd4c0e490 fix: return quota to user when delete token (close #37) 2023-05-04 10:20:39 +08:00
JustSong
f820158ee5 fix: check user status when validating token (#23) 2023-04-27 15:05:33 +08:00
JustSong
a751f30316 fix: specify type for token (close #23) 2023-04-27 09:32:20 +08:00
JustSong
9c529f9674 feat: able to set initial quota for new user (close #22) 2023-04-26 21:40:56 +08:00
JustSong
5a9fb6238b feat: able to manage system vai access token (close #12) 2023-04-26 20:54:39 +08:00
JustSong
56231eea66 fix: prevent common user from specifying channel id (#12) 2023-04-26 14:49:27 +08:00
JustSong
12aa6c352b Relay done but not working 2023-04-23 18:24:11 +08:00