brewlog/src/application/routes
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.rs fix(auth): redirect login and logout to homepage instead of timeline 2026-02-04 17:14:56 +00:00
backup.rs feat(backup): expose backup/restore via authenticated API endpoints 2026-02-04 19:38:49 +00:00
bags.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
brews.rs refactor: simplify overly nested and duplicated code across five modules 2026-02-04 19:25:35 +00:00
cafes.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
checkin.rs feat(nav): add check-in icon to navigation bar 2026-02-04 17:14:52 +00:00
cups.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
gear.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
home.rs feat(home): limit open bags to 3 most recently updated 2026-02-04 17:19:26 +00:00
macros.rs refactor(routes): extract form option helpers and fragment renderer macro 2026-02-03 16:49:36 +00:00
mod.rs feat(backup): expose backup/restore via authenticated API endpoints 2026-02-04 19:38:49 +00:00
roasters.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
roasts.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
scan.rs feat(scan): optionally open a bag when scanning coffee 2026-02-04 17:41:53 +00:00
support.rs refactor(support): add signal response helpers for Datastar 2026-02-04 14:36:28 +00:00
timeline.rs refactor: require OpenRouter and Foursquare API keys at startup 2026-02-04 16:13:04 +00:00
tokens.rs feat: improved trace logging 2025-11-26 12:01:53 +00:00