Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

## Make Reservations Endpoint

[x] Read request input from the validator output
[x] You cannot make a reservation on a pending or a hidden office
[x] Test you can make a reservation starting next day but cannot make one on same day
[x] Email user & host when a reservation is made
[x] Email user & host on reservation start day
[x] Generate WIFI password for new reservations (store encrypted)
- [x] Read request input from the validator output
- [x] You cannot make a reservation on a pending or a hidden office
- [x] Test you can make a reservation starting next day but cannot make one on same day
- [x] Email user & host when a reservation is made
- [x] Email user & host on reservation start day
- [x] Generate WIFI password for new reservations (store encrypted)

## Cancel Reservation Endpoint

[x] Must be authenticated & email verified
[x] Token (if exists) must allow `reservations.cancel`
[x] Can only cancel their own reservation
[x] Can only cancel an active reservation that has a start_date in the future
- [x] Must be authenticated & email verified
- [x] Token (if exists) must allow `reservations.cancel`
- [x] Can only cancel their own reservation
- [x] Can only cancel an active reservation that has a start_date in the future

## Housekeeping

[x] Filter offices by tag
[x] API should return the full URI of the image so that the consumer can load it easily
[] Test SendDueReservationsNotifications command
- [x] Filter offices by tag
- [x] API should return the full URI of the image so that the consumer can load it easily
- [ ] Test SendDueReservationsNotifications command