Commit Graph

11 Commits

Author SHA1 Message Date
yw1573 9366c9210e feat: add Docker deployment configuration
添加 Docker 部署支持:
- Dockerfile: 多阶段构建,包含 ffmpeg 依赖
- docker-compose.yml: 配置端口映射和持久化目录
- .dockerignore: 优化构建上下文

Co-Authored-By: AI
2026-04-09 10:26:22 +08:00
yw1573 e8f71b04ac feat(task): add batch delete and cancel API support
支持批量删除和取消任务的接口:
- deleteTask 接口支持 POST 方式传入 ids 数组
- cancelTask 接口支持 POST 方式传入 ids 数组
- 前端批量操作改为调用批量接口,减少请求数量

Co-Authored-By: AI
2026-04-07 17:38:52 +08:00
yw1573 aa59a4559f feat: add batch select and operations for task list
- Add checkbox for each task item
- Add select all checkbox in toolbar
- Add batch cancel button for selected running/waiting tasks
- Add batch delete button for selected completed/failed tasks
- Show selected count in toolbar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 17:05:48 +08:00
yw1573 8fb1aa36ca fix: increase createTask timeout to 60 seconds
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 16:50:57 +08:00
yw1573 81df437b2c feat: add task cancellation support
- Add CancelTask function to cancel running/waiting tasks
- Add /api/cancelTask endpoint
- Add cancel button in task list for running/waiting tasks
- Check cancellation status during download and merge operations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 16:40:27 +08:00
yw1573 1b23d813a8 perf: optimize createTask by moving GetCurrentFolder outside loop
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 16:16:49 +08:00
yw1573 576b543c9b refactor: remove duplicate shutdown button from settings
Keep only one shutdown button in header, remove duplicate from settings page

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 16:02:23 +08:00
yw1573 ca6d6db708 fix: create download directory before starting task
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 15:30:53 +08:00
yw1573 eb662a8b66 feat: add FFmpeg status check and shutdown button
- FFmpeg check no longer blocks server startup
- Add /api/checkFFmpeg endpoint to query FFmpeg availability
- Add /api/shutdown endpoint to gracefully stop the server
- Add FFmpeg status indicator in web header
- Add shutdown button in web interface
- Move static files output to cmd/bilidown/static for embedding
- Update .gitignore to exclude cmd/bilidown/static

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 15:27:55 +08:00
yw1573 dd8eaef97d refactor: restructure project to standard Go layout
- Reorganize code into cmd/bilidown and internal/ packages
- Rename client/ to web/ for frontend source
- Remove systray dependency for headless web service
- Embed static files into binary using go:embed
- Update import paths to use internal/ prefix
- Update .gitignore with common patterns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 17:21:49 +08:00
yw1573 4facf82956 init: git clone https://github.com/iuroc/bilidown.git 2026-04-02 15:16:34 +08:00