Commit Graph

139 Commits

Author SHA1 Message Date
ckt1031
47db16954f Merge remote-tracking branch 'upstream/main' 2023-10-02 14:40:42 +08:00
JustSong
8d34b7a77e feat: able to delete all manually disabled channels (close #539) 2023-10-02 13:06:27 +08:00
JustSong
cbd62011b8 chore: add database migration prompt 2023-10-02 12:13:30 +08:00
JustSong
4701897e2e chore: sync database indices with pro version 2023-10-02 12:11:02 +08:00
ckt1031
d499f790ef Merge remote-tracking branch 'upstream/main' 2023-09-30 22:56:30 +08:00
JustSong
53b2cace0b chore: sync model schema 2023-09-29 18:13:57 +08:00
JustSong
f9b748c2ca chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
ckt1031
6d2d0c8557 Merge remote-tracking branch 'upstream/main' 2023-09-20 23:28:55 +08:00
igophper
8651451e53
fix: sum null to 0 (#541)
Co-authored-by: igophper <admin@jialilgu.cn>
2023-09-19 22:39:54 +08:00
JustSong
1c5bb97a42 fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:11:37 +08:00
JustSong
de868e4e4e fix: fix gorm expression
Co-authored-by: 初音控灬 <xyfacai@gmail.com>
2023-09-18 23:07:59 +08:00
JustSong
1d258cc898 fix: add default value for base url 2023-09-18 22:49:05 +08:00
JustSong
37e09d764c fix: fix random selection is not working when directly using database 2023-09-18 22:39:10 +08:00
JustSong
159b9e3369 fix: fix unable to set zero value for base url & model mapping 2023-09-18 22:07:17 +08:00
JustSong
a5647b1ea7 fix: fix priority not updated & random choice not working 2023-09-18 21:43:45 +08:00
ckt1031
d956ee5a6b Merge remote-tracking branch 'upstream/main' 2023-09-17 22:36:25 +08:00
Xyfacai
ecf8a6d875
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
328aa68255 feat: able to delete logs now (close #486) 2023-09-17 17:09:56 +08:00
JustSong
42451d9d02 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
ckt1031
cd3d1b9f1b Merge remote-tracking branch 'upstream/main' 2023-09-04 14:57:40 +08:00
JustSong
621eb91b46 chore: pass through error out 2023-09-03 21:31:58 +08:00
JustSong
c3dc315e75 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
JustSong
9db93b9d43 fix: update cache immediately after cache get
Co-authored-by: chikasaki <1347283135@qq.com>
Co-authored-by: Cruel <157922018@qq.com>
2023-08-19 13:33:38 +08:00
JustSong
86c2627c24 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
ckt1031
8195619037 Merge remote-tracking branch 'upstream/main' into refactor-main 2023-08-13 17:55:21 +08:00
JustSong
cac61b9f66 Revert "fix: add lock when update quota (close #399)"
This reverts commit eae9b6e607.
2023-08-13 00:51:48 +08:00
igophper
4ef5e2020c
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
e0b4f96b5b feat: support PostgreSQL now 2023-08-12 19:20:12 +08:00
JustSong
eae9b6e607 fix: add lock when update quota (close #399) 2023-08-12 18:25:18 +08:00
JustSong
7bddc73b96 perf: flush response after response handled (close #364) 2023-08-12 18:10:15 +08:00
JustSong
466005de07 fix: set connection limits for database 2023-08-12 10:05:25 +08:00
ckt1031
0305444c8e Merge branch 'support-postgres-sql' into refactor-main 2023-07-31 18:08:23 +08:00
ckt1031
3b7c0cee15 fix: cmd var 2023-07-31 18:05:56 +08:00
ckt
f49aca8177 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-31 18:05:56 +08:00
ckt1031
167cb35637 Merge remote-tracking branch 'upstream/main' into refactor-main 2023-07-30 18:28:10 +08:00
ckt
3fca6ff534
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
ckt1031
18655fed08 Merge branch 'support-postgres-sql' into refactor-main 2023-07-27 14:51:23 +08:00
ckt1031
bba49c959e feat: support postgres 2023-07-27 14:47:45 +08:00
ckt1031
c7c3b9d326 fix: backstick for postgres 2023-07-27 11:07:08 +08:00
ckt1031
0d6163a9fb feat: support PG-SQL 2023-07-27 00:10:08 +08:00
ckt1031
04110d4b01 Merge branch 'support-google-oauth' into refactor-main 2023-07-25 12:22:04 +08:00
ckt1031
438daea433 fix: google id 2023-07-25 12:14:41 +08:00
ckt1031
c6c070b8bd Merge branch 'channel-stream-mode' into refactor-main 2023-07-24 22:05:54 +08:00
ckt1031
13b3bfee2a fix: channel issue 2023-07-24 22:05:21 +08:00
ckt1031
f37e41eb1d Merge branch 'support-google-oauth' into refactor-main 2023-07-24 21:31:45 +08:00
ckt1031
c144c64fff feat: support Google OAuth 2023-07-24 20:09:52 +08:00
ckt1031
8956e2fd60 Merge branch 'channel-stream-mode' into refactor-main 2023-07-24 18:12:53 +08:00
ckt1031
30187cebe8 fix: use int instead of bool 2023-07-24 18:12:16 +08:00
ckt1031
00d3a78bef Merge branch 'channel-stream-mode' into refactor-main 2023-07-24 15:35:16 +08:00
ckt1031
a588241515 feat: allow toggling stream mode of channels 2023-07-24 15:30:08 +08:00