Commit Graph

54 Commits

Author SHA1 Message Date
CaIon
5bf1f2f275 refactor: rename InitModelSettings to InitRatioSettings 2025-04-26 17:15:34 +08:00
CaIon
577b18a1a1 feat: enhance file handling and logging in the application 2025-04-11 16:23:54 +08:00
CaIon
ed855e78f7 refactor: Remove duplicate model settings initialization in main function 2025-04-10 00:07:34 +08:00
CaIon
ac06e9a46f feat: Add CheckSetup function call in main to ensure proper initialization #942 2025-04-08 18:14:36 +08:00
CaIon
9dc851d6ef feat: Initialize model settings and improve concurrency control in operation settings 2025-04-07 22:20:47 +08:00
1808837298@qq.com
4ea2556b29 refactor: Replace manual goroutine creation with gopool.Go 2025-02-19 18:38:29 +08:00
1808837298@qq.com
8f3752c423 feat: enhance session store security and configuration
- Add 30-day max age for session cookies
- Enable HttpOnly flag
- Set SameSite to strict mode
2025-02-11 17:06:51 +08:00
1808837298@qq.com
94c10d8def fix: update session store configuration
- Change session cookie path from "/api" to "/"
- Remove HttpOnly flag
2025-02-11 15:53:15 +08:00
1808837298@qq.com
6a9c0fd2c0 feat: configure session store options for API routes
- Set session cookie path to "/api"
- Disable secure flag for local development
- Enable HttpOnly flag for improved security
2025-02-11 15:45:24 +08:00
CalciumIon
6e002a5f0f feat: enhance environment variable handling and security features 2024-12-30 17:24:19 +08:00
CalciumIon
aefd53b683 refactor: token cache logic 2024-12-30 17:10:48 +08:00
CalciumIon
727236e6e7 fix: 渠道标签开启下使用ID排序出错 2024-12-09 20:38:03 +08:00
lianghaoyuan
9076ec5c63 feat: 添加.env配置文件和初始化环境变量 2024-09-24 11:39:02 +08:00
liuzhifei
566e26a8c6 add log db 2024-08-13 10:28:35 +08:00
CalciumIon
fda2fd2e53 feat: 优化Gemini模型版本获取逻辑 2024-08-02 17:23:59 +08:00
CalciumIon
d06018cd3f chore: gopool 2024-07-19 01:07:37 +08:00
CalciumIon
e6de0c0bae feat: add UPDATE_TASK env 2024-07-18 17:26:21 +08:00
CalciumIon
6c4c9d1c08 feat: only update task on master node 2024-06-26 17:23:03 +08:00
Xiangyuan Liu
c724781aac revert: hide web embed 2024-06-13 18:28:47 +08:00
Xiangyuan Liu
05a4646b44 feat: suno api 支持
feat: 调试 suno

feat: 补充suno 文档
2024-06-13 10:35:48 +08:00
CaIon
80695f3c05 feat: vite 2024-03-23 19:09:09 +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
CaIon
a2873b6d67 feat: token缓存逻辑更新(实验性) 2024-01-25 20:09:06 +08:00
CaIon
d82930f7b5 chore: UpdateMidjourneyTaskBulk with SafeGoroutine 2024-01-12 18:38:45 +08:00
CaIon
70ec0682f9 fix: recover panic 2024-01-07 22:25:03 +08:00
CaIon
7f60a91953 fix: 优化数据看板更新逻辑 2024-01-07 18:33:41 +08:00
CaIon
dd0abc9447 feat: 新增数据看板 2024-01-07 18:31:14 +08:00
Xyfacai
65166c1fa9 fix: 优化 mj 获取进度 2023-12-23 23:14:58 +08:00
CaIon
b6726096a5 fix VERSION 2023-12-21 23:11:52 +08:00
Xyfacai
7633ef1ea9 optimize: high cpu 2023-11-23 21:40:17 +08:00
CaIon
580dfd9485 添加pprof性能分析 2023-11-21 18:11:07 +08:00
CaIon
ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
51db57677e chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
CaIon
23d9554415 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/log.go
#	controller/relay-audio.go
#	controller/relay-image.go
#	controller/relay-text.go
#	controller/relay.go
#	middleware/distributor.go
#	model/log.go
#	web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
JustSong
3f9e723ce5 feat: create new log file when too many logs recorded 2023-09-17 16:35:30 +08:00
JustSong
315d7e8692 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
JustSong
437b35e161 fix: only enable cors for relay routers to avoid csrf attack 2023-09-17 11:44:38 +08:00
CaIon
c0636950c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
JustSong
cf0ae05d50 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
JustSong
574be5bd1d perf: initialize all token encoder when starting (close #459, close $460) 2023-08-26 13:02:02 +08:00
CaIon
e60239c93d 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
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
2586fe09eb perf: flush response after response handled (close #364) 2023-08-12 18:10:15 +08:00
JustSong
819056a8af chore: do not hardcode cache time (close #302) 2023-07-23 19:26:37 +08:00
JustSong
b456624a35 refactor: do not use redis to store session 2023-06-26 16:10:59 +08:00
JustSong
6bea2724e4 feat: support automatic channel testing & balance updates (close #11, close #59) 2023-06-22 22:01:03 +08:00
JustSong
b7a89340e1 chore: format logs 2023-06-22 10:59:01 +08:00
JustSong
b220e8e863 feat: use cache to avoid database access (#158) 2023-06-20 19:09:49 +08:00
JustSong
44b9d7a134 feat: now slave server can sync options with master server (close #88) 2023-05-18 12:48:20 +08:00