Commit Graph

151 Commits

Author SHA1 Message Date
Calcium-Ion
5a4eb4e023 Merge pull request #14 from luxlzz6/main
绘画列表显示统一了风格 添加了渠道
2023-11-23 18:55:18 +08:00
luxl
b0fae6b39d 绘图列表更新 2023-11-23 18:18:03 +08:00
AIASS Group
745ba3cea7 fix the issue of model repetition 2023-11-23 15:36:07 +08:00
CaIon
0f8e24897e 修复可用模型显示已禁用模型 2023-11-22 23:02:43 +08:00
CaIon
f88b65c11f 修复可用model重复显示bug 2023-11-21 16:58:31 +08:00
CaIon
3eb7843b2e 完善个人中心 2023-11-21 16:35:51 +08:00
CaIon
a7bac4f1fd Merge branch 'main' into latest 2023-11-15 21:07:37 +08:00
CaIon
28fe74d76c try to fix email 2023-11-15 18:27:42 +08:00
luxl
b2dd63f9a0 Update token.go 2023-11-14 16:41:19 +08:00
CaIon
04fe42c634 修复余额不足邮件提醒bug 2023-11-12 18:51:26 +08:00
CaIon
2390c2cb71 完全移除近似估算token功能 2023-11-11 01:55:19 +08:00
CaIon
1f6fbbd406 fix log bug 2023-11-10 01:59:16 +08:00
CaIon
4994a4a6fd 修复令牌bug 2023-11-10 00:46:17 +08:00
CaIon
4c1a23d65a 完善兑换码界面 2023-11-10 00:10:41 +08:00
CaIon
8c5fd7b7ee 适配dall-e-3 2023-11-09 17:08:32 +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
63bd941d99 feat: able to delete all disabled channels 2023-10-14 17:25:48 +08:00
JustSong
2a99fae102 fix: fix request count not updated correctly when using batch update 2023-10-14 15:04:52 +08:00
CaIon
87fe0c4efc fix bug 2023-10-11 21:47:59 +08:00
CaIon
abb82a0b11 feat: 新增充值分组倍率设置 2023-10-11 14:58:09 +08:00
JustSong
cfd3093b95 feat: able to delete all manually disabled channels (close #539) 2023-10-02 13:06:27 +08:00
JustSong
5ad4bcea7f chore: add database migration prompt 2023-10-02 12:13:30 +08:00
JustSong
5557335639 chore: sync database indices with pro version 2023-10-02 12:11:02 +08:00
JustSong
e159737938 chore: sync model schema 2023-09-29 18:13:57 +08:00
JustSong
51db57677e chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
CaIon
7b4f42f4fb feat: 优先优先级排序渠道 2023-09-27 01:17:43 +08:00
CaIon
7c8f8da385 feat: 优先用优先级排序渠道 2023-09-27 01:03:53 +08:00
CaIon
cba411ee9e feat: 渠道新可选是否自动禁用功能 2023-09-25 18:44:10 +08:00
CaIon
4199979c01 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	model/log.go
2023-09-24 12:34:29 +08:00
igophper
1b3bc7a74c fix: sum null to 0 (#541)
Co-authored-by: igophper <admin@jialilgu.cn>
2023-09-19 22:39:54 +08:00
Calcium-Ion
01059f9265 Merge branch 'songquanpeng:main' into main 2023-09-18 23:41:12 +08:00
JustSong
1016ef75b4 fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:11:37 +08:00
JustSong
489eeff433 fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:07:59 +08:00
Calcium-Ion
7188dedd27 Merge branch 'songquanpeng:main' into main 2023-09-18 22:52:10 +08:00
JustSong
0de79e31d7 fix: add default value for base url 2023-09-18 22:49:05 +08:00
JustSong
3935c70cd9 fix: fix random selection is not working when directly using database 2023-09-18 22:39:10 +08:00
JustSong
1661d34f7b fix: fix unable to set zero value for base url & model mapping 2023-09-18 22:07:17 +08:00
JustSong
ebdab831e6 fix: fix priority not updated & random choice not working 2023-09-18 21:43:45 +08:00
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
39328d65c2 feat: able to delete logs now (close #486) 2023-09-17 17:09:56 +08:00
JustSong
315d7e8692 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
CaIon
2a961f1cbc feat: 渠道支持指定组织 2023-09-15 17:59:01 +08:00
CaIon
3b780e33fd feat: 改为转发的方式获取midjourney图片 2023-09-12 03:57:03 +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