arbret/backend
counterweight 280c1e5687
Move slot expansion logic to ExchangeService
- Add get_available_slots() and _expand_availability_to_slots() to ExchangeService
- Update routes/exchange.py to use ExchangeService.get_available_slots()
- Remove all business logic from get_available_slots endpoint
- Add AvailabilityRepository to ExchangeService dependencies
- Add Availability and BookableSlot imports to ExchangeService
- Fix import path for validate_date_in_range (use date_validation module)
- Remove unused user_repo variable and import from routes/invites.py
- Fix mypy error in ValidationError by adding proper type annotation
2025-12-25 18:42:46 +01:00
..
repositories Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
routes Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
services Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
tests Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
utils refactors 2025-12-25 18:27:59 +01:00
auth.py refactors 2025-12-25 00:59:57 +01:00
database.py Extract duplicated DATABASE_URL parsing to database.py 2025-12-21 23:16:29 +01:00
date_validation.py refactor(backend): extract date range validation utilities 2025-12-22 00:02:41 +01:00
env.example reviewed 2025-12-20 22:38:39 +01:00
exceptions.py Move slot expansion logic to ExchangeService 2025-12-25 18:42:46 +01:00
invite_utils.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
main.py fix: Remove agreed_price from price API response 2025-12-23 10:36:18 +01:00
mappers.py refactors 2025-12-25 18:27:59 +01:00
models.py lots of stuff 2025-12-23 17:03:51 +01:00
pagination.py refactor(backend): extract pagination utilities 2025-12-22 00:00:24 +01:00
price_fetcher.py feat: add explicit 30 second timeout for Bitfinex API requests 2025-12-22 16:07:33 +01:00
pyproject.toml fast back 2025-12-25 00:33:05 +01:00
pytest.ini tests passing 2025-12-18 22:08:31 +01:00
schemas.py refactors 2025-12-25 00:59:57 +01:00
seed.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
shared_constants.py Add Lightning amount threshold validation 2025-12-23 14:46:03 +01:00
validate_constants.py Update constants validation to check bitcoinTransferMethods and lightningMaxEur 2025-12-23 14:26:24 +01:00
validation.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
words.txt first implementation 2025-12-20 11:12:11 +01:00