brewlog/tests/server
Jon Seager 000f20eab7
feat(server): auto-enable insecure cookies for localhost defaults
Default BREWLOG_RP_ID to "localhost" and BREWLOG_RP_ORIGIN to
"http://localhost:3000". When these localhost defaults are active,
insecure cookies are enabled automatically so local dev works without
setting BREWLOG_INSECURE_COOKIES. A warning is logged at startup when
insecure cookies are active.

The insecure_cookies flag is now threaded through AppState instead of
reading the env var at cookie-set time.
2026-02-09 17:23:09 +00:00
..
auth_api.rs test(auth): update tests for passkey migration 2026-02-05 11:00:20 +00:00
backup.rs feat(brews): add brew time field 2026-02-07 11:24:07 +00:00
bags_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
brews_api.rs feat(brews): add brew time field 2026-02-07 11:24:07 +00:00
cafes_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
checkin_api.rs test: add coverage for homepage, check-in, scan, and AI extraction 2026-02-05 19:19:05 +00:00
cups_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
datastar.rs feat(detail): add roast detail page, simplify lists and actions 2026-02-08 17:48:49 +00:00
extraction_api.rs test: add coverage for homepage, check-in, scan, and AI extraction 2026-02-05 19:19:05 +00:00
gear_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
helpers.rs feat(server): auto-enable insecure cookies for localhost defaults 2026-02-09 17:23:09 +00:00
main.rs feat(stats): add pre-computed stats cache with background recomputation 2026-02-08 15:20:01 +00:00
nearby_api.rs feat(nearby): add city-based search via Foursquare near param 2026-02-03 20:36:59 +00:00
pages.rs refactor: rename Account to Admin across filenames, routes, and docs 2026-02-08 09:39:37 +00:00
roasters_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
roasts_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
scan_api.rs feat(scan): show cards for existing roasters/roasts during bag scan 2026-02-06 12:27:25 +00:00
stats_api.rs feat(stats): add pre-computed stats cache with background recomputation 2026-02-08 15:20:01 +00:00
test_macros.rs feat(detail): add roast detail page, simplify lists and actions 2026-02-08 17:48:49 +00:00
timeline.rs feat(detail): add roast detail page, simplify lists and actions 2026-02-08 17:48:49 +00:00