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
ckt1031
4908a9eddc
feat: add Discord OAuth
2023-07-24 12:20:52 +08:00
JustSong
889af8b2db
fix: fix redemption can be used multiple times in some cases
2023-07-23 19:34:23 +08:00
JustSong
4eea096654
chore: do not hardcode cache time ( close #302 )
2023-07-23 19:26:37 +08:00
JustSong
35cfebee12
feat: retry on failed ( close #112 )
2023-07-15 19:06:51 +08:00
JustSong
d17bdc40a7
fix: use transaction to protect redeem process
2023-07-07 21:26:45 +08:00
JustSong
701aaba191
feat: able to approximate token ( close #207 )
2023-07-04 19:54:13 +08:00
JustSong
0cea9e6a6f
fix: fix channel search is not working with MySQL
2023-06-29 21:46:13 +08:00
JustSong
aabc546691
fix: fix the wrong message when channel is deleted
2023-06-29 11:27:34 +08:00
JustSong
737672fb0b
fix: update cached user quota after post-consuming ( close #204 )
2023-06-27 19:22:58 +08:00
JustSong
0941e294bf
feat: support model remap now
2023-06-27 13:42:45 +08:00
mrhaoji
f0dc7f3f06
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
JustSong
3ce982d8ee
feat: able to query token with admin user
2023-06-24 19:13:33 +08:00
JustSong
cccf5e4a07
feat: able to query logs now ( close #144 )
2023-06-24 15:28:11 +08:00
JustSong
7edc2b5376
feat: able to display token billing stat via billing api ( close #186 )
2023-06-23 20:14:53 +08:00
JustSong
ad1049b0cf
feat: support search channels by key ( close #185 )
2023-06-22 21:19:43 +08:00
JustSong
00151a0124
chore: format logs
2023-06-22 10:59:01 +08:00
JustSong
b86de464b5
chore: print more logs
2023-06-22 01:12:28 +08:00
JustSong
567916bd80
fix: only master node can migrate database
2023-06-22 00:52:27 +08:00
JustSong
6d961064d2
feat: do not access database before response return ( close #158 )
2023-06-21 17:26:26 +08:00