CalciumIon
4fc1fe318e
refactor: migrate group ratio and user usable groups logic to new setting package
...
- Replaced references to common.GroupRatio and common.UserUsableGroups with corresponding functions from the new setting package across multiple controllers and services.
- Introduced new setting functions for managing group ratios and user usable groups, enhancing code organization and maintainability.
- Updated related functions to ensure consistent behavior with the new setting package integration.
2024-12-25 19:31:12 +08:00
CalciumIon
a7e1d17c3e
feat: Introduce settings package and refactor constants
...
- Added a new `setting` package to replace the `constant` package for configuration management, improving code organization and clarity.
- Moved various configuration variables such as `ServerAddress`, `PayAddress`, and `SensitiveWords` to the new `setting` package.
- Updated references throughout the codebase to use the new `setting` package, ensuring consistent access to configuration values.
- Introduced new files for managing chat settings and midjourney settings, enhancing modularity and maintainability of the code.
2024-12-22 17:24:29 +08:00
seefs001
046f859d92
feat: integrate Linux DO OAuth authentication
2024-11-10 23:56:22 +08:00
1808837298@qq.com
89ddf83b44
feat: 弃用旧的聊天配置
2024-10-12 21:09:59 +08:00
CalciumIon
052bc2075b
feat: 令牌分组
2024-09-18 05:19:49 +08:00
CalciumIon
03b130f2b5
feat: 允许设置是否检测mj任务已完成才可进行action操作 ( close #349 )
2024-07-08 16:48:10 +08:00
Xiangyuan Liu
c993ab2746
feat: suno api 支持
...
feat: 调试 suno
feat: 补充suno 文档
2024-06-13 10:35:48 +08:00
1808837298@qq.com
099068f543
feat: 支持设置worker访问请求中的图片地址
2024-05-28 17:59:53 +08:00
CaIon
e8800415b8
feat: 支持自定义特殊模型补全倍率
2024-05-12 20:15:56 +08:00
1808837298@qq.com
cad380eb16
feat: able to set AccountFilter
2024-05-01 01:37:47 +08:00
CaIon
1162683b4d
feat: 可设置是否转发上游mj图片地址
2024-04-18 18:02:09 +08:00
CaIon
818bd824da
feat: 前端不显示敏感信息
2024-04-18 17:52:18 +08:00
iszcz
5961de03e7
清除--mode
2024-04-06 23:08:50 +08:00
CaIon
257cfc2390
fix: email whitelist check
2024-04-06 17:50:47 +08:00
CaIon
44a8ade4ba
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
5c39f54040
feat: able to set smtp ssl
2024-03-28 12:18:11 +08:00
CaIon
6eb30ec3e6
fix: 模型倍率和价格无法设置
2024-03-23 23:24:17 +08:00
CaIon
0b3520e3c8
fix: 修复默认模型倍率未显示
2024-03-23 23:21:14 +08:00
CaIon
67332bc8df
fix: 模型固定价格为空时错误使用默认价格
2024-03-23 17:19:29 +08:00
CaIon
2db4282666
feat: 保留功能
2024-03-20 20:15:32 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
4917e5a92f
feat: 允许开关mj回调
2024-03-14 21:21:37 +08:00
Ehco
02d5a5f16d
Merge branch 'main' into telegram-login
2024-03-03 19:42:06 +08:00
1808837298@qq.com
72194bda98
feat: 可自定义支付回调地址及最低购买数量
2024-03-02 22:07:32 +08:00
1808837298@qq.com
a8f0c5dab2
feat: 可设置默认折叠侧边栏
2024-03-02 02:12:02 +08:00
Ehco1996
690d2e6ba2
Add Telegram OAuth support
2024-03-01 21:54:24 +08:00
Ehco1996
140e843d93
Add Telegram bot token and name
2024-03-01 20:39:28 +08:00
CaIon
5c8f8b4901
feat: 添加成功时自动启用通道功能, close #27
2024-02-01 18:52:39 +08:00
GuoRuqiang
e8db0a2c72
增加了一个超链聊天跳转
...
在“运营设置里面”增加了“聊天页面2链接”,方便将项目(https://github.com/Dooy/chatgpt-web-midjourney-proxy) 替换掉原来的AMA问天。
Changes to be committed:
modified: common/constants.go
modified: controller/misc.go
modified: model/option.go
modified: web/src/App.js
modified: web/src/components/OperationSetting.js
modified: web/src/components/TokensTable.js
2024-01-16 18:15:55 +00:00
CaIon
00306aa142
perf: 数据看板支持选择时间粒度
2024-01-13 00:33:52 +08:00
CaIon
bf8794d257
feat: 新增数据看板
2024-01-07 18:31:14 +08:00
CaIon
3475643257
支持设置模型按次计费
2023-12-21 20:14:04 +08:00
CaIon
46930bc890
完全移除近似估算token功能
2023-11-11 01:55:19 +08:00
CaIon
a4e269262b
feat: 新增充值分组倍率设置
2023-10-11 14:58:09 +08:00
CaIon
01a66ff33c
修复充值bug
2023-09-09 05:04:49 +08:00
CaIon
9ab4f7a271
移除不必要的功能
2023-09-09 03:11:42 +08:00
CaIon
c0f0201f5f
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
8f2119e410
add epay
2023-08-14 22:16:32 +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
JustSong
35cfebee12
feat: retry on failed ( close #112 )
2023-07-15 19:06:51 +08:00
JustSong
701aaba191
feat: able to approximate token ( close #207 )
2023-07-04 19:54:13 +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
00151a0124
chore: format logs
2023-06-22 10:59:01 +08:00
JustSong
b179c2f208
feat: able to display quota in dollar
2023-06-20 20:09:17 +08:00
JustSong
d97640374c
feat: able to add chat page link now ( close #70 )
2023-06-17 23:51:56 +08:00
JustSong
c5837c3bb7
feat: support aff now ( close #75 )
2023-06-17 18:12:58 +08:00
JustSong
593e1926e9
feat: able to disable quota consumption recording ( close #156 )
2023-06-15 16:32:16 +08:00
JustSong
596446dba4
feat: able to set group ratio now ( close #62 , close #142 )
2023-06-11 11:08:16 +08:00
JustSong
2d39a135f2
feat: now slave server can sync options with master server ( close #88 )
2023-05-18 12:48:20 +08:00
JustSong
4d6172a242
feat: able to set pre consumed quota now
2023-05-16 13:57:01 +08:00