Commit Graph

146 Commits

Author SHA1 Message Date
MartialBE
89a84e2386
️ improve: Prohibit users from deleting accounts (#132) 2024-03-30 19:49:42 +08:00
Buer
a58e538c26
♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
Martial BE
48efdbc7df
🐛 fix: balancer remove illogical 2024-03-25 10:54:38 +08:00
Buer
71171c63f5
feat: support configuration file (#117)
* ♻️ refactor: move file directory

* ♻️ refactor: move file directory

* ♻️ refactor: support multiple config methods

* 🔥 del: remove unused code

* 💩 refactor: Refactor channel management and synchronization

* 💄 improve: add channel website

*  feat: allow recording 0 consumption
2024-03-20 14:12:47 +08:00
Martial BE
3aae5d262c
🐛 fix: Update channel results in data loss (#108) 2024-03-13 18:34:37 +08:00
Martial BE
0b62ffab17
🐛 fix: fix fields where channels can't save null characters(#103) 2024-03-13 14:43:10 +08:00
Buer
d8d880bf85
️ feat: channel support plugin settings (#89) 2024-03-08 14:49:33 +08:00
Buer
dd3e79a20d
feat: channel support weight (#85)
*  feat: channel support weight

* 💄 improve: show version

* 💄 improve: Channel add copy operation

* 💄 improve: Channel support batch add
2024-03-06 18:01:43 +08:00
Buer
fab465e82a
🐛 fix: fix some issues (#77)
* 🐛 fix: Incorrect word spelling

* ♻️ refactor: split function

* 🐛 fix: Delete the disabled channels without deleting the abilities table
2024-02-29 11:26:02 +08:00
Buer
6b8ba36213
优化项目 (#75)
* 💄 improve: channel search

* 💄 improve: channel Table

* 💄 improve: add channel batch
2024-02-26 19:06:18 +08:00
Buer
e90f4c99fc
feat: add telegram bot (#71) 2024-02-23 18:24:25 +08:00
Buer
57cd68e7e3
feat: support paging / sorting (#64)
*  feat: support paging / sorting

* 🔥 del: delete unused files
2024-02-08 03:41:51 +08:00
Buer
332b6fd397
feat: add admin statistics (#59) 2024-02-01 18:45:53 +08:00
Buer
705804e6dd
feat: MiniMax support (#50) 2024-01-22 12:25:55 +08:00
Buer
2cc120f35b
🐛 fix: proxy bug (#49) 2024-01-20 13:26:11 +08:00
Martial BE
45fd814d77 🔀 sync: sync upstream 2024-01-19 03:27:57 +08:00
Martial BE
3b8ae9a6cd feat: auto update new model ratio to database 2024-01-03 16:35:58 +08:00
MartialBE
a214371a0a
🚀 feature: Add request duration 2023-12-30 00:37:14 +08:00
Martial BE
9c0a49b97a
add custom test model 2023-12-29 16:23:25 +08:00
Martial BE
72983ac734
Model list return by group 2023-12-28 15:48:20 +08:00
Martial BE
fb24d024a7
add channel proxy 2023-12-26 18:42:39 +08:00
MartialBE
be613883a1 🐛 Fix statistics error in SQLite 2023-12-22 20:54:37 +08:00
Martial BE
43d8bedbb4
Merge branch 'songquanpeng' into sync_upstream 2023-12-21 15:36:01 +08:00
Martial BE
c60f755715
🐛 support mysql of statistics 2023-12-21 10:24:07 +08:00
Martial BE
ffa4e491ea
更换web界面 2023-12-20 19:27:27 +08:00
Calcium-Ion
7d6a169669
feat: able to set sqlite busy_timeout (#818)
* add sqlite busy_timeout=3000

* chore: update impl

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-17 19:17:00 +08:00
Martial BE
365744a040
🐛 fix sum select statements 2023-12-05 15:08:42 +08:00
Tillman Bailee
a3f80a3392
feat: enable channel when test succeed (#771)
* 增加功能: 渠道 - 测试所有通道; 设置 - 运营设置 - 监控设置 - 成功时自动启用通道

* refactor: update implementation

---------

Co-authored-by: liyujie <29959257@qq.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-03 20:10:57 +08:00
Martial BE
902c2faa2c
♻️ refactor: split relay 2023-11-28 18:32:26 +08:00
Dafei Zhao
58bb3ab6f6
fix: fix channel_id column name (#681, close #688) 2023-11-10 21:50:52 +08:00
Bryan
a398f35968
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
JustSong
824444244b feat: able to delete all disabled channels 2023-10-14 17:25:48 +08:00
JustSong
f073592d39 fix: fix request count not updated correctly when using batch update 2023-10-14 15:04:52 +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
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
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
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
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