brewlog/tests/server
Jon Seager 50a372015c
feat(backup): expose backup/restore via authenticated API endpoints
- Add GET /api/v1/backup and POST /api/v1/backup/restore endpoints
  behind AuthenticatedUser
- Add BackupService to AppState and BackupClient for HTTP access
- Update CLI backup/restore to use API instead of direct DB access
- Remove --database-url flag from backup and restore commands
- Increase body limit to 50MB for restore endpoint
- Add API and CLI tests for auth, export, restore, and round-trip
- Update README to document auth requirement and API endpoints
2026-02-04 19:38:49 +00:00
..
auth_api.rs feat!: use numeric, database-generated IDs throughout 2025-11-25 18:21:04 +00:00
backup.rs feat(backup): expose backup/restore via authenticated API endpoints 2026-02-04 19:38:49 +00:00
bags_api.rs fix: ensure bags are closed properly and closures are on the timeline 2025-11-27 14:42:38 +00:00
brews_api.rs test(brews): add filter paper coverage to brew API tests 2026-02-03 12:50:33 +00:00
cafes_api.rs refactor(cafes): remove notes field from Cafe entity 2026-02-03 21:02:37 +00:00
cups_api.rs refactor(cafes,cups): remove notes field from Cafe and Cup entities 2026-02-03 21:09:34 +00:00
datastar.rs refactor(roasters): remove notes field from Roaster entity 2026-02-03 21:18:48 +00:00
gear_api.rs refactor(gear): remove notes field from Gear entity 2026-02-02 16:16:54 +00:00
helpers.rs feat(backup): expose backup/restore via authenticated API endpoints 2026-02-04 19:38:49 +00:00
main.rs test(cups): add integration tests for cups API 2026-02-03 16:36:40 +00:00
nearby_api.rs feat(nearby): add city-based search via Foursquare near param 2026-02-03 20:36:59 +00:00
roasters_api.rs refactor(roasters): remove notes field from Roaster entity 2026-02-03 21:18:48 +00:00
roasts_api.rs feat!: use numeric, database-generated IDs throughout 2025-11-25 18:21:04 +00:00
timeline.rs refactor(roasters): remove notes field from Roaster entity 2026-02-03 21:18:48 +00:00