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
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
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
CaIon
c7d1cef7b4
修改stat接口返回值
2023-08-25 00:40:11 +08:00
JustSong
8cfc5eeb97
fix: update cache immediately after cache get
...
Co-authored-by: chikasaki <1347283135@qq.com >
Co-authored-by: Cruel <157922018@qq.com >
2023-08-16 23:40:50 +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
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
JustSong
c563e1ed91
feat: support PostgreSQL now
2023-08-12 19:20:12 +08:00
JustSong
7216aabedc
fix: add lock when update quota ( close #399 )
2023-08-12 18:25:18 +08:00
JustSong
2586fe09eb
perf: flush response after response handled ( close #364 )
2023-08-12 18:10:15 +08:00
JustSong
8a2f1b64ec
fix: set connection limits for database
2023-08-12 10:05:25 +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
5b32f25f51
fix: fix redemption can be used multiple times in some cases
2023-07-23 19:34:23 +08:00
JustSong
819056a8af
chore: do not hardcode cache time ( close #302 )
2023-07-23 19:26:37 +08:00
JustSong
8a0f707d64
feat: retry on failed ( close #112 )
2023-07-15 19:06:51 +08:00
JustSong
7765aa1d3d
fix: use transaction to protect redeem process
2023-07-07 21:26:45 +08:00
JustSong
16b6ace078
feat: able to approximate token ( close #207 )
2023-07-04 19:54:13 +08:00
JustSong
32b74c3ffc
fix: fix channel search is not working with MySQL
2023-06-29 21:46:13 +08:00
JustSong
f158d754ef
fix: fix the wrong message when channel is deleted
2023-06-29 11:27:34 +08:00
JustSong
da94aade10
fix: update cached user quota after post-consuming ( close #204 )
2023-06-27 19:22:58 +08:00
JustSong
1ab01b7eb5
feat: support model remap now
2023-06-27 13:42:45 +08:00
mrhaoji
640cc2df91
fix: InitChannelCache does not filter disabled channels ( #201 )
...
* chore: Show the HTTP status code in the test_time script to determine the success or failure of the request.
* fix: InitChannelCache does not filter disabled channels
* chore: do not hardcode
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-06-25 23:14:15 +08:00