dailz
7c374f4fd5
refactor(handler,server): disable SubmitApplication endpoint, replaced by POST /tasks
...
- Comment out SubmitApplication handler method
- Comment out route registration in server.go (interface + router + placeholder)
- Comment out related handler tests
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-16 15:15:55 +08:00
dailz
3f8a680c99
feat(handler): add TaskHandler endpoints and register task routes
2026-04-15 21:31:11 +08:00
dailz
2298e92516
feat(handler): add upload, file, and folder handlers with routes
...
Add UploadHandler (5 endpoints), FileHandler (4 endpoints), FolderHandler (4 endpoints) with Gin route registration in server.go.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-15 09:23:17 +08:00
dailz
a114821615
feat(server): add streaming response helpers for file download
...
Add ParseRange, StreamFile, StreamRange for full and partial content delivery.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-15 09:22:58 +08:00
dailz
dd8d226e78
refactor: remove JobTemplate production code
...
Remove all JobTemplate model, store, handler, migrations, and wiring. Replaced by Application Definition system.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-13 17:07:46 +08:00
dailz
1784331969
feat: 添加应用骨架,配置化 zap 日志贯穿全链路
...
- cmd/server/main.go: 使用 logger.NewLogger(cfg.Log) 替代 zap.NewProduction()
- internal/app: 依赖注入组装 DB/Slurm/Service/Handler,传递 logger
- internal/middleware: RequestLogger 请求日志中间件
- internal/server: 统一响应格式和路由注册
- go.mod: module 更名为 gcy_hpc_server,添加 gin/zap/lumberjack/gorm 依赖
- 日志初始化失败时 fail fast (os.Exit(1))
- GormLevel 从配置传递到 NewGormDB,支持 YAML 独立配置
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 08:40:16 +08:00