brewlog/src/infrastructure/repositories
copilot-swe-agent[bot] e710c6dc62
refactor: improve code quality and add comprehensive documentation
Code Quality Improvements:
- Fix hex literal grouping in ID generator (0xB10C_1D -> 0x00B1_0C1D)
- Rename ListQuery::default() to default_query() to avoid confusion with Default trait
- Use div_ceil() instead of manual ceiling division
- Remove unnecessary borrows in auth token generation and hashing
- Simplify nested if statements in error handling

Documentation:
- Add comprehensive authentication section to README
- Document environment variables for server and CLI
- Add security best practices and considerations
- Document password hashing (Argon2id), token storage (SHA-256), and session management
- Include step-by-step authentication setup guide
- Add production deployment recommendations

All 70 tests pass (8 unit + 46 server + 16 CLI) 

Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com>
2025-11-25 16:28:51 +00:00
..
mod.rs fix(security): validate session tokens against database 2025-11-25 16:28:48 +00:00
roasters.rs feat: bootstrap brewlog platform 2025-11-24 11:44:12 +00:00
roasts.rs refactor: improve code quality and add comprehensive documentation 2025-11-25 16:28:51 +00:00
sessions.rs fix(security): validate session tokens against database 2025-11-25 16:28:48 +00:00
timeline_events.rs feat: add pagination/infinite scroll to timeline 2025-11-24 21:45:59 +00:00
tokens.rs refactor: improve code quality and add comprehensive documentation 2025-11-25 16:28:51 +00:00
users.rs feat(api): add authentication middleware and token management routes 2025-11-25 16:28:10 +00:00