Commit Graph

4 Commits

Author SHA1 Message Date
cnbugs bdb3ca856f feat: add DNS credential management with Web UI
- New config/credential_store.go: persistent credential storage (credentials.json)
- New API: CRUD for DNS credentials + credential-types endpoint
- Certificate model now supports credential_id reference
- Create certificate auto-resolves credential_id to DNS config
- New Vue page: Credentials.vue for managing saved DNS keys
- CertCreate.vue: select existing credential or manual input + save as new
- Secrets masked in API responses, never exposed in list
2026-07-24 18:56:03 +08:00
cnbugs b1fd3a8b9b fix: include frontend dist assets in repo, fix deploy.sh syntax
- Remove .gitignore exclusion for dist/assets/ and frontend/dist/
- Fix deploy.sh: add missing quote on echo line
- Fix deploy.sh: correct ADMIN_PASSWORD=*** syntax
- Make deploy.sh auto-detect go/npm availability
2026-07-23 16:35:57 +08:00
cnbugs bbf09fbc8d feat: add Web UI for notification config (feishu + email)
- New config/notify_store.go: persistent notification config (notify.json)
- New API: GET/PUT /api/notify/config, POST /api/notify/test-feishu, POST /api/notify/test-email
- New Vue page: NotifyConfig.vue with feishu webhook and SMTP settings
- Updated cron/init to read from persistent store instead of env vars
- Password masked as ******** in API responses, preserved on updates
2026-07-23 16:31:04 +08:00
cnbugs 2d70a15307 feat: add login authentication and certificate expiry notifications
- JWT-based login with ADMIN_USER/ADMIN_PASSWORD env config
- Login page with auth guard for Vue frontend
- Feishu bot webhook notification for expiring certificates
- SMTP email notification for expiring certificates
- Daily 8:00 AM cron for expiry checks
- Startup health check notification
2026-07-23 16:25:02 +08:00