Files
SnapOtter/apps/api/drizzle/meta/_journal.json
T
Siddharth Kumar Sah 432cc92471 feat: harden auth, security headers, SVG sanitization, and pipeline ownership
- Add password strength validation (8+ chars, uppercase, lowercase, number)
- Add username validation rules
- Optimize API key lookup with SHA-256 prefix (O(1) vs O(n) scan)
- Require password change on default admin first login
- Revoke API keys on password change
- Add session cleanup cron (hourly expired session purge)
- Add Permissions-Policy, HSTS, and CSP security headers in production
- Strengthen SVG sanitizer: block XInclude, foreignObject, processing
  instructions, javascript/data/file URI schemes
- Add userId ownership to pipelines with authorization checks
- Add keyPrefix column to api_keys table
- Update integration tests for new auth behavior
2026-03-24 21:38:06 +08:00

27 lines
501 B
JSON

{
"version": "7",
"dialect": "sqlite",
"entries": [
{
"idx": 0,
"version": "6",
"when": 1774119039901,
"tag": "0000_clammy_madelyne_pryor",
"breakpoints": true
},
{
"idx": 1,
"version": "6",
"when": 1774125684700,
"tag": "0001_amusing_omega_red",
"breakpoints": true
},
{
"idx": 2,
"version": "6",
"when": 1774357742003,
"tag": "0002_pale_silver_sable",
"breakpoints": true
}
]
}