Commit graph

61 commits

Author SHA1 Message Date
Collin Duncan
94ddf55639
Making end date inclusive for schedulable reservations 2025-04-15 08:54:32 +02:00
Collin Duncan
afb733608d
Only get pending reservations when looking for schedulable reservations 2025-04-09 12:53:04 +02:00
Collin Duncan
f0d4207880
Changing waiting list query to only look at dateRangeStart 2025-04-02 13:18:10 +02:00
Collin Duncan
25efd61c99
Adding status to query params of reservations controller endpoints 2025-03-11 10:46:15 +01:00
Collin Duncan
671084dc7b
Adding status to reservations and stopping deletion on booking 2025-03-11 10:39:12 +01:00
Collin Duncan
9e9b0194da
Moving some dayjs stuff to common folder to be able to re-use it 2025-02-12 13:49:14 +01:00
Collin Duncan
32c82d1ae6
Removing unused group for plainToInstance of reservation 2024-06-24 10:35:21 +02:00
Collin Duncan
0a3e712838
Expanding the reservations job payload to dictate if it should run in speedy mode or not as waiting lists are actually hindered by speedy mode 2024-06-20 13:51:42 +02:00
Collin Duncan
6dfe776b14
Checking number of hours in the future for reservations instead of days 2024-05-15 20:31:23 +02:00
Collin Duncan
c4fcb38df8
Adding speedy mode for reservations 2024-04-30 10:27:10 +02:00
Collin Duncan
c09532f89a
Revert "Removing monitor and screenshotting from flow for now"
This reverts commit c7e500ad6f.
2024-04-16 09:52:49 +02:00
Collin Duncan
c7e500ad6f
Removing monitor and screenshotting from flow for now 2024-04-16 09:17:52 +02:00
Collin Duncan
d23358e5d8
Making screenshots on error only happen in non-time sensitive flows and switching back to using a queue 2024-04-11 11:46:25 +02:00
Collin Duncan
2f9549adef
Changing some logs from log to debug level 2024-04-11 09:54:23 +02:00
Collin Duncan
95019a86cf
Fixing some issues with the cron job waiting until 7 and adding a unit test for it 2024-04-10 11:30:51 +02:00
Collin Duncan
9e8f2598f5
Fixing expression to check for 7AM 2024-04-10 08:57:17 +02:00
Collin Duncan
e7bff228c6
Adding a warmup and changing daily reservations to utilize this warmup + busy loop to be faster in the morning 2024-04-09 23:19:57 +02:00
Collin Duncan
73b32402d3
Adding feature to add multiple people to a reservation 2024-04-09 16:49:01 +02:00
Collin Duncan
ca3e374d19
Adding a delay to the monitoring during court reservation 2024-04-04 18:05:05 +02:00
Collin Duncan
c61f75cb02
Changing monitor to view 1 week in advance when no reservations are required 2024-03-27 09:30:51 +01:00
Collin Duncan
28f730cf81
Fixing monitors and migrating them to use strings instead of blobs 2024-03-26 14:05:33 +01:00
Collin Duncan
7a022fccc1
Adding endpoint to force performing a reservation 2024-03-22 20:14:14 +01:00
Collin Duncan
67c5374832
Fixing adding to waiting list in reservations worker to save waiting list id 2024-03-22 19:04:58 +01:00
Collin Duncan
3a88831148
Implementing multiple attempts or failing early if courts are full 2024-03-20 20:43:37 +01:00
Collin Duncan
90ddea4bb5
Allowing monitoring of reservations even if no daily reservations are found and updating some types for better constraints 2024-03-14 12:27:47 +01:00
Collin Duncan
9bed0e21f1
Adding monitoring queue 2024-03-12 13:02:45 +01:00
Collin Duncan
533080b0ad
Changing daily reservations to have 2 attempts and then finally go to waitlist 2024-02-23 07:39:44 -06:00
Collin Duncan
4bb532b281
Accidentally disabled the queue! Whoopsies 2023-10-16 15:26:56 +02:00
Collin Duncan
d8370ee4b8
Updating controllers to use separate req class for transformation and validation 2023-10-10 11:51:03 +02:00
Collin Duncan
a7c955a18d
Adding ability to reserve for others and to filter out shitty courts 2023-10-06 11:56:34 +02:00
Collin Duncan
16d62f5613
Changing all queue-related services and modules to use async provider. Changed email jobs to not be named which was preventing processing 2023-09-23 23:04:50 +02:00
Collin Duncan
d9ed2f22c1
Changing how retrieving schedulable reservations works 2023-09-20 09:37:57 +02:00
Collin Duncan
c2bb21d55a
Changing to use global validation pipes and introducing query params validation for reservations controller 2023-09-20 09:34:40 +02:00
Collin Duncan
3ede46abe2
Changing schedulable to not return past reservations 2023-09-14 10:01:50 +02:00
Collin Duncan
82bfe43bbb
Changed to use strings when querying by date 2023-09-14 09:59:21 +02:00
Collin Duncan
36fc5d3745
Awaiting a promise and adding a ntfy client error 2023-09-13 21:29:45 +02:00
Collin Duncan
62a4b8c9e6
Completing ntfy module and adding to other modules 2023-09-13 21:08:37 +02:00
Collin Duncan
f8699080a8
Adding parsing pipes and converting dayjs to strings before using in db 2023-09-13 21:08:21 +02:00
Collin Duncan
8dd435a950
Debugging some issues with schedulable reservations 2023-09-13 12:01:06 +02:00
Collin Duncan
9dc55e09cf
Adding query param to fetch schedulable reservations 2023-09-12 09:47:23 +02:00
Collin Duncan
1da322ed05
Changing how cron fetches available reservations to schedule 2023-09-07 10:00:32 +02:00
Collin Duncan
29ec45e690
Injecting ReservationsCronService within module... 2023-09-05 09:13:13 +02:00
Collin Duncan
8f4b6bca44
Adding clean-up of waiting list entries when deleting a reservation that has been wait-listed 2023-08-31 11:30:15 +02:00
Collin Duncan
135b9930f6
Adding new database logger for logging database related things 2023-08-29 10:44:12 +02:00
Collin Duncan
8ca3fe0644
Changing how errors are logged to show correct details 2023-08-10 13:34:39 +02:00
Collin Duncan
56d1095f1f
Changing creation of reservation to always save a reservation and instead delete when it has been reserved 2023-08-10 13:34:23 +02:00
Collin Duncan
714b1da735
Adding some custom errors for waiting list flow and changing number of attempts to 1 for all jobs for now 2023-07-31 15:18:08 +02:00
Collin Duncan
7002b44936
Changing how getting reservations by date works to not assume 7d in past 2023-07-29 16:30:06 +02:00
Collin Duncan
839c162f1f
Adding cron to clean up expired reservations 2023-07-29 15:23:13 +02:00
Collin Duncan
89948e79f4
Deleting/waitlisting reservations on result 2023-07-29 15:23:04 +02:00