Commit Graph

118 Commits

Author SHA1 Message Date
CaIon
23d9554415 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/log.go
#	controller/relay-audio.go
#	controller/relay-image.go
#	controller/relay-text.go
#	controller/relay.go
#	middleware/distributor.go
#	model/log.go
#	web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
Xyfacai
ead3b915ca feat: supprt channel priority now & record channel id in log (#484)
* feat: 支持设置渠道优先级 & 日志中显示使用的渠道ID

* fix: 设置渠道优先级未更新 ability

* chore: update implementation

---------

Co-authored-by: Xiangyuan Liu <xiangyuan.liu@ui.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-09-17 19:18:16 +08:00
JustSong
128a7d2255 fix: fix url not passing when using custom chat_link 2023-09-17 17:19:12 +08:00
JustSong
39328d65c2 feat: able to delete logs now (close #486) 2023-09-17 17:09:56 +08:00
JustSong
ab4fd3b1ca chore: update channel test prompt 2023-09-17 11:34:06 +08:00
CaIon
ac97409a3e Merge remote-tracking branch 'origin/main'
# Conflicts:
#	web/src/components/PersonalSetting.js
2023-09-15 18:01:06 +08:00
JustSong
8c779729c7 fix: fix oauth2 state not checking 2023-09-15 00:24:20 +08:00
CaIon
3b780e33fd feat: 改为转发的方式获取midjourney图片 2023-09-12 03:57:03 +08:00
CaIon
06fc41d9a0 feat: add midjourney log 2023-09-12 03:17:26 +08:00
CaIon
57edbac346 feat: 删除无用功能 2023-09-10 01:13:12 +08:00
CaIon
ff8df45f95 修复充值bug 2023-09-09 05:04:49 +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
CaIon
f73ecc57c2 移除不必要的功能 2023-09-09 03:11:42 +08:00
JustSong
3cb7892864 fix: fix log table use created_at as key instead of id
Co-authored-by: 13714733197 <13714733197@163.com>
2023-08-30 21:43:01 +08:00
CaIon
46d817ab64 merge 2023-08-25 01:03:45 +08:00
CaIon
e60239c93d Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay-text.go
#	go.mod
#	web/src/components/PersonalSetting.js
#	web/src/components/TokensTable.js
#	web/src/pages/Home/index.js
2023-08-25 00:51:02 +08:00
Benny
92e34fa0c5 feat: show total quota consumption only when user click (#448)
* feat: add toggleable visibility for total quota using an eye icon

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-19 17:08:50 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
igophper
27b290c578 fix: fix baidu's embedding api (#398)
* fix:judge baidu embeddings input type

* chore: add back update all channels balance

* chore: update default configuration for sql connection

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-13 00:45:04 +08:00
Yolo°
f9c3f3761e feat: improve frontend (#387)
* fork

* fork

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 10:49:30 +08:00
Yolo°
4e11fcd795 feat: add chat button for each token (#363)
* fork

* fork

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-06 22:02:58 +08:00
JustSong
618e3b4c88 chore: update domain 2023-08-06 18:14:13 +08:00
Miniers
7c3a1e90f1 feat: able to copy scheme of ama, opencat & chatgpt next web (#343)
* Token Adds Option to Quickly Copy AMA and OpenCat URL Scheme

* feat: add ChatGPT Next Web

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-06 13:56:59 +08:00
ckt
a8acca398f feat: support email domain whitelist (#337)
* feat: support email domain restriction

* fix(SMTPToken): disable password auto complete

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-30 12:44:41 +08:00
JustSong
716af5231a chore: adjust ui 2023-07-29 19:32:06 +08:00
JustSong
04b8b4124a fix: fix blank screen after refresh 2023-07-23 17:59:30 +08:00
ckt
9412966b2c feat: able to delete account by self (#294)
* feat: support account deletion

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-23 13:37:32 +08:00
Yolo°
866012535f chore: optimize frontend (#293)
* main

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-23 13:25:28 +08:00
JustSong
8a0f707d64 feat: retry on failed (close #112) 2023-07-15 19:06:51 +08:00
JustSong
1158a8c364 revert: do not enable turnstile check on login 2023-07-15 16:06:01 +08:00
ckt
caace6a291 feat: add turnstile for login form (#263) 2023-07-15 12:41:21 +08:00
mrhaoji
c92d2a3c72 fix: restore display_name/username that deleted before (#268)
which happend in commit # 2c91f73
2023-07-12 22:43:54 +08:00
JustSong
16b6ace078 feat: able to approximate token (close #207) 2023-07-04 19:54:13 +08:00
mrhaoji
2c91f73a92 chore: remove email in UsersTable to make room for other fields (#246)
* chore: remove email in UsersTable to make room for others

* fix: fix not working properly

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-04 18:57:44 +08:00
Cross Fire
3b247077d2 feat: support balance query for CloseAI (#240)
* 增加CloseAI余额查询功能

* 去除debug代码

* fix: bug fix

* docs: update README

---------

Co-authored-by: sudongyang <sudongyang@xiaomi.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-07-03 20:43:42 +08:00
JustSong
e782962a31 fix: fix refresh not working properly (close #229) 2023-07-02 15:55:49 +08:00
Alone88
244ca0351f feat: support channel type AIGC2D (#220)
* feat: add AIGC2D Channel

* chore: remove console logging & update balance rendering

---------

Co-authored-by: Alone88 <im@aloen88.cn>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-29 21:34:17 +08:00
JustSong
580de07735 fix: fix AutomaticDisableChannelEnabled option not ignored (close #217) 2023-06-29 15:54:12 +08:00
quzard
fc85539222 fix: fix log sorting (#195) 2023-06-24 21:34:20 +08:00
JustSong
8b8645af45 fix: do not reuse state variable directly 2023-06-24 19:45:18 +08:00
JustSong
536cbe4c8b fix: reset page number after query 2023-06-24 19:32:46 +08:00
JustSong
baab9c71ac feat: able to query token with admin user 2023-06-24 19:13:33 +08:00
JustSong
d3706ea65a chore: adjust table width 2023-06-24 15:42:16 +08:00
JustSong
e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +08:00
JustSong
e873c305f3 feat: show used quota in token table 2023-06-23 21:42:31 +08:00
JustSong
24bdbe117a feat: able to display token billing stat via billing api (close #186) 2023-06-23 20:14:53 +08:00
JustSong
aaafbe0adf chore: use notice to show password (#107) 2023-06-23 10:42:47 +08:00
JustSong
d36a887ffc feat: support search channels by key (close #185) 2023-06-22 21:19:43 +08:00
quzard
b90b8a9d8c fix: fix channel table's sorting problem (#188) 2023-06-21 23:42:55 +08:00
JustSong
cded36439e chore: update prompt 2023-06-21 00:20:48 +08:00