Commit Graph

260 Commits

Author SHA1 Message Date
becomer 5937d5031c fix: only trigger CI/CD on tag push, not on branch push 2026-07-05 15:24:48 +08:00
becomer 63b002d074 feat: announcement system upgrade + user management
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/push/build Pipeline was successful
- Add Source/TargetUserID fields to announcements, support individual push
- Add status (active/disabled) and DisabledReason to SysUser
- Add admin user management API (list, detail, enable/disable)
- Add login disabled check with reason prompt
- Add system-generated invitation notifications
- Allow invite reward amount configurable via system settings
- Frontend: AdminUsers page, update AdminAnnouncements with target user support
v1.1.0
2026-07-05 15:23:42 +08:00
becomer 9036f1fcc6 fix: admin dashboard shows 0% rate when rate is 0 (falsy coalescing bug)
ci/woodpecker/push/build Pipeline was successful
2026-07-03 16:29:16 +08:00
becomer f495ad600b fix: align admin API routes with frontend and set admin rate to 0
ci/woodpecker/push/build Pipeline was successful
2026-07-03 16:27:35 +08:00
becomer 5f2a6279b4 fix: update database credentials to new xiaozhushou database
ci/woodpecker/push/build Pipeline was successful
2026-07-03 16:18:56 +08:00
becomer ed17cc7e7e feat: switch to independent local MySQL database
ci/woodpecker/push/build Pipeline was successful
2026-07-03 16:17:09 +08:00
becomer 407a5dc0f6 fix: add missing config sections (jwt, captcha, cpdaily, agent) to prevent nil pointer panic
ci/woodpecker/push/build Pipeline was successful
2026-07-03 16:13:31 +08:00
becomer 4ede861595 fix: replace heredocs with file-based nginx config in pipeline
ci/woodpecker/tag/build Pipeline was successful
v1.0.0
2026-07-03 16:05:36 +08:00
becomer 4da041ac12 test webhook 2026-07-03 15:54:33 +08:00
becomer 2e2c161770 feat: init cpdaily-xiaozhushou with blue-green deploy
- backed/: Go Fiber backend with cpdaily integration
- frondend/: Vue 3 + Vite frontend
- Dockerfile: multi-stage build (Node → Go → Alpine)
- deploy/docker-compose.yml: production compose file
- .woodpecker/build.yml: CI/CD with blue-green zero-downtime deploy
- /health endpoint for deployment health checks
- Port 8884/8885 blue-green swap via 1Panel OpenResty
2026-07-03 15:37:55 +08:00