Commit graph

223 commits

Author SHA1 Message Date
Collin Duncan
3e6f7473b4
Fixing isAvailableForReservation function and adding unit tests
Some checks are pending
Push to main / test (push) Waiting to run
Push to main / build-image (push) Blocked by required conditions
ci/woodpecker/push/test Pipeline was successful
2025-04-22 12:56:28 +02:00
Collin Duncan
01a6013093
Fixing incorrect inequality when fetching schedulable reservations
Some checks are pending
Push to main / test (push) Waiting to run
Push to main / build-image (push) Blocked by required conditions
2025-04-22 09:23:27 +02:00
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
82633908a4
Adding some unit tests for getting court slots based on date 2025-04-03 16:44:11 +02:00
Collin Duncan
5b109226e6
Changing the DayjsTransformer to transform from plain date string to dayjs in correct timezone 2025-04-03 16:15:40 +02:00
Collin Duncan
f0d4207880
Changing waiting list query to only look at dateRangeStart 2025-04-02 13:18:10 +02:00
Collin Duncan
b6e2ea4c5a
Changing court priorities 2025-03-11 10:48:47 +01: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
25fb2c9bdc
Fixing monitors to have proper createdAt 2025-02-12 14:18:26 +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
0e0fc68d7d
Fixing linting discrepancy with IDE 2025-01-14 11:10:33 +01:00
Collin Duncan
c6429c6d3d
Adding a retry to warmup 2025-01-14 10:54:55 +01:00
Collin Duncan
791b270213
Excluding /health from logger middleware 2024-10-15 09:54:37 +02:00
Collin Duncan
509462e118
Removing some ntfy logs and adding more error handling for 4xx+ errors 2024-09-19 13:05:20 +02:00
Collin Duncan
2c6e275f4c
Adding some logs for ntfy module 2024-09-19 12:51:21 +02:00
Collin Duncan
6dd515e8eb
Updating health controller to throw 503 if unhealthy 2024-09-19 12:02:47 +02:00
Collin Duncan
4fc6748821
Adding a health module to use for podman healthchecks 2024-09-19 11:49:35 +02:00
Collin Duncan
3b41a75bb4
Improving the email client to support reconnecting 2024-09-19 11:49:25 +02:00
Collin Duncan
4a94d280cb
Removing old password service 2024-09-19 11:35:30 +02:00
Collin Duncan
50eb6174e0
Changing default priorities of ntfy messages 2024-07-08 16:01:51 +02:00
Collin Duncan
a0405e7027
Decreasing priority of court 2 because team reserves it :sad: 2024-06-28 10:43:04 +02: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
d4eb34057c
Changing priorities of courts 2024-06-19 12:16:46 +02:00
Collin Duncan
696aa590ab
Changing speedy reservation to use court ranking and adding some tests for selection of court 2024-05-22 11:09:59 +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
10da5b1120
Fixing speedy reservation from attempting to find selectors that will never be present 2024-05-13 09:40:12 +02:00
Collin Duncan
1a6fa08f6d
Do not select opponents during speedy reservation 2024-05-07 13:15:26 +02:00
Collin Duncan
bfc72f2cfb
Properly retrying speedy reservations and speeding up searching for opponents 2024-05-07 11:47:44 +02:00
Collin Duncan
feb3c4b8d0
Adding endpoint to update recurring reservations 2024-05-03 11:23:21 +02:00
Collin Duncan
360acfb63b
Prevent booking all available courts and throw error in case we need to waitlist 2024-05-02 11:13:22 +02:00
Collin Duncan
c4fcb38df8
Adding speedy mode for reservations 2024-04-30 10:27:10 +02:00
Collin Duncan
1fcd49af2a
Removing monitor from flow as it adds a substantial delay 2024-04-18 09:44:11 +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
00ffff7d6a
Changing default log levels for app 2024-04-11 10:49:52 +02:00
Collin Duncan
2f9549adef
Changing some logs from log to debug level 2024-04-11 09:54:23 +02:00
Collin Duncan
45bc15eee5
Decreasing screenshot quality to decrease time taken for screenshot 2024-04-11 09:49:23 +02:00
Collin Duncan
327065f3e3
Changing database logging to only fire on error and warn 2024-04-11 09:46:38 +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
bac0e3971d
Changing event listener to only register once when deleting waiting list entries 2024-04-02 14:15:01 +02:00
Collin Duncan
7d6b45032b
Fixing DST issues for recurring reservations 2024-03-28 18:02:33 +01:00
Collin Duncan
11dc49e865
Adding some good-ole unit tests to CI 2024-03-28 17:59:12 +01:00