Commit Graph

32 Commits

Author SHA1 Message Date
CalciumIon
966cdc1f7f refactor: user cache logic 2024-12-29 16:50:26 +08:00
CalciumIon
0d1ba65592 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
7e8adb5b34 feat: Enhance logging functionality with group support
- Added a new 'group' parameter to various logging functions, including RecordConsumeLog, GetAllLogs, and GetUserLogs, to allow for more granular log tracking.
- Updated the logs table component to display group information, improving the visibility of log data.
- Refactored related functions to accommodate the new group parameter, ensuring consistent handling across the application.
- Improved the initialization of the group column for PostgreSQL compatibility.
2024-12-24 14:48:11 +08:00
CalciumIon
69c590d439 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
1808837298@qq.com
07fa9205cb feat: playground 2024-09-26 00:59:09 +08:00
CalciumIon
a1284e4a58 chore: 优化自动禁用代码 2024-08-03 17:32:28 +08:00
kakingone
442a2f0f4d addupload 2024-07-31 15:48:51 +08:00
CalciumIon
a7351b72b1 feat: 允许设置是否检测mj任务已完成才可进行action操作 (close #349) 2024-07-08 16:48:10 +08:00
CalciumIon
60c9ce37f2 fix: midjourney channel auto ban 2024-07-06 01:44:30 +08:00
CalciumIon
d8118961a3 feat: log mj task id 2024-07-05 17:22:36 +08:00
CalciumIon
6d705a735e fix: mj auto ban 2024-06-26 17:39:52 +08:00
阳光里海的声音
b9dce382ef Midjourney Proxy Plus无实例账号自动禁用该渠道 2024-06-07 00:16:54 +08:00
1808837298@qq.com
893dafb89f feat: 支持设置worker访问请求中的图片地址 2024-05-28 17:59:53 +08:00
1808837298@qq.com
f723ff9ba0 feat: 增加重置模型倍率功能 (close #62) 2024-05-24 15:28:16 +08:00
CaIon
0fe4c98b3f feat: dalle系列改为使用模型固定价格计费 2024-05-13 16:04:02 +08:00
CaIon
391f0404a5 feat: 日志详情展示模型价格 2024-05-12 15:35:57 +08:00
CaIon
d8b4805bc6 feat: 可设置是否转发上游mj图片地址 2024-04-18 18:02:09 +08:00
Xiangyuan Liu
a602db436c fix: 支持 /mj-{mode} 路径 2024-03-29 16:58:19 +08:00
CaIon
859697f2b6 fix: fix image-seed error 2024-03-14 22:17:03 +08:00
CaIon
bf439f01af refactor: 修改超时时间 2024-03-14 18:19:22 +08:00
CaIon
afa1748591 feat: support InsightFace (close #60) 2024-03-14 18:09:57 +08:00
CaIon
71858f953b feat: support image-seed (close #86) 2024-03-14 18:09:56 +08:00
CaIon
8a632b7825 feat: 兼容自定义变焦,完善modal操作 2024-03-14 16:42:37 +08:00
CaIon
da55c56c54 fix: "Inpaint" code error 2024-03-13 23:17:12 +08:00
CaIon
5659e5720f feat: 将操作拆分成单独的模型 2024-03-13 21:19:48 +08:00
CaIon
f1f1e1c184 feat: 操作细分 2024-03-13 18:26:16 +08:00
CaIon
62bca310e3 feat: support shorten 2024-03-13 17:46:34 +08:00
CaIon
fc07acd90f feat: 兼容变焦功能 2024-03-13 16:29:27 +08:00
CaIon
1d335c39e2 feat: 请求超时处理 2024-03-13 16:19:22 +08:00
CaIon
259c7fcdb0 feat: 初步兼容midjourney-proxy-plus 2024-03-13 15:37:01 +08:00
1808837298@qq.com
436afe925e feat: 初步重构完成 2024-02-29 16:21:25 +08:00
1808837298@qq.com
1735981217 feat: 初步重构 2024-02-29 01:08:18 +08:00