brewlog/tests/server
Jon Seager f5fcf69e33 fix: clamp bag remaining to zero instead of rejecting brew with excess coffee
Allow creating a brew when coffee_weight exceeds the bag's remaining
amount — remaining is clamped to 0 rather than returning a 409 error.
Brews against open bags with 0g remaining also succeed, keeping
remaining at 0. Only closed bags are rejected.
2026-05-22 15:37:08 +00:00
..
auth_api.rs test: add integration tests for webauthn, passkeys, and input validation 2026-02-13 13:06:27 +00:00
backup.rs feat: include entity images in backup, restore, and reset 2026-02-10 17:50:23 +00:00
bags_api.rs feat: store bag finished_at as full datetime for correct timeline ordering 2026-02-24 21:38:39 +00:00
brews_api.rs fix: clamp bag remaining to zero instead of rejecting brew with excess coffee 2026-05-22 15:37:08 +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: add integration and E2E tests for edit functionality 2026-02-10 19:42:52 +00:00
datastar.rs test: add integration and E2E tests for edit functionality 2026-02-10 19:42:52 +00:00
extraction_api.rs test: add coverage for homepage, check-in, scan, and AI extraction 2026-02-05 19:19:05 +00:00
form_submissions.rs test: add integration and E2E tests for edit functionality 2026-02-10 19:42:52 +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: sync timeline events with entity edits 2026-02-15 11:11:07 +00:00
images_api.rs test: add integration and e2e tests for image API 2026-02-10 17:50:30 +00:00
main.rs fix: address static assets code review findings 2026-02-13 17:13:02 +00:00
nearby_api.rs refactor: move NearbyCafe to domain layer to fix dependency violation 2026-02-13 16:20:20 +00:00
pages.rs fix: address static assets code review findings 2026-02-13 17:13:02 +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
static_assets.rs fix: address static assets code review findings 2026-02-13 17:13:02 +00:00
stats_api.rs fix: address static assets code review findings 2026-02-13 17:13:02 +00:00
test_macros.rs test: add integration and E2E tests for edit functionality 2026-02-10 19:42:52 +00:00
timeline.rs feat: sync timeline events with entity edits 2026-02-15 11:11:07 +00:00
webauthn_api.rs test: add integration tests for webauthn, passkeys, and input validation 2026-02-13 13:06:27 +00:00