Commit graph

98 commits

Author SHA1 Message Date
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
Collin Duncan
d1faef35d2
Changing logger to loggerService 2023-07-29 14:58:48 +02:00
Collin Duncan
e7503e3074
More work on reservation waiting list support: adding waiting list module and connecting to email queue 2023-07-29 10:49:44 +02:00
Collin Duncan
56dda6fd28
Adding beginning support for email listening 2023-07-28 19:50:04 +02:00
Collin Duncan
33e19d38c5
Adding waitListed property to reservations 2023-07-28 19:49:06 +02:00
Collin Duncan
014e47e5cf
Changing logger service to be default scope 2023-07-28 19:48:40 +02:00
Collin Duncan
91271cdc4b
Deleting old controller 2023-07-28 19:48:17 +02:00
Collin Duncan
582f79eb27
Removing migrations from nestjs code and relying on typeorcli 2023-06-29 15:20:18 +02:00
Collin Duncan
4f15521afe
Fixing nestjs dependency injection 2023-06-29 13:16:11 +02:00
Collin Duncan
1a57f8e2e9
Correcting entity and adding migration 2023-06-29 10:39:27 +02:00
Collin Duncan
699b8445ff
Adding recurring reservations and updating some linting/formatting rules 2023-06-29 10:32:09 +02:00
Collin Duncan
8a1da9925f
Fixing some transformation and logging sensitive data issues 2023-06-28 21:40:29 +02:00
Collin Duncan
d947ad488f
Adding back some missing errors from flow 2023-06-28 16:53:28 +02:00
Collin Duncan
bdcf1b753f
Adding some error logging when selecting day 2023-06-28 16:25:40 +02:00
Collin Duncan
714f74cf63
Changing BullModule to require redis host and port env vars 2023-06-28 15:17:49 +02:00
Collin Duncan
4710b1026f
Injecting configService into async configs 2023-06-28 14:32:31 +02:00
Collin Duncan
65d12a266d
Adding import of config module to TypeORM async config 2023-06-28 12:31:40 +02:00
Collin Duncan
962644fb3a
Changing env vars to use config service 2023-06-28 11:26:17 +02:00
Collin Duncan
a4076796af
Adding debug log to creation of reservation 2023-06-28 09:41:24 +02:00
Collin Duncan
e0671749bd
Adding some debug logs 2023-06-28 09:28:24 +02:00
Collin Duncan
c8e311d38d
Fixing loading of TypeORM entities 2023-06-28 09:06:21 +02:00
Collin Duncan
0cdfb63db2
More data source typeorm changes 2023-06-27 17:17:13 +02:00
Collin Duncan
d6616bc33c
Attempting to add some typeorm migrations 2023-06-27 17:06:58 +02:00
Collin Duncan
a2ab3e8c3c
Adding repl 2023-06-27 16:38:00 +02:00
Collin Duncan
9da2d5e2f2
Formatting fixes 2023-06-27 16:06:19 +02:00
Collin Duncan
1e2933e780
Adding some changes to dockerfile to use env vars for ports and redis config 2023-05-26 16:34:50 -05:00
Collin Duncan
1def4de40c
Big ole refactor to using nestjs for some practice 2023-05-26 15:43:14 -05:00
Collin Duncan
eb9991895a
Properly setting session when logging in or out 2023-05-23 15:09:18 -05:00
Collin Duncan
fa99ad7941
Changing how sessions are started and handled to fix issues with multiple reservation requests 2023-05-23 15:09:18 -05:00
Collin Duncan
364f1db9d0
Changing runner test to use headless version of puppeteer 2023-05-23 15:09:18 -05:00
Collin Duncan
300ebe9e98
Updating reservation to round day diff down to allow for reservations up to 7.99 days (e.g. performing a reservation at 21.00 at 07.00 the week before) 2023-05-23 15:09:17 -05:00
Collin Duncan
7e3457cce3
Removing some default args I had recently changed due to an error when launching chromium 2023-05-23 15:09:17 -05:00
Collin Duncan
a8927c655a
Dockerfile was incorrect, trying to fix this and expose a testing method on server as I am having issues with M1 processor with puppeteer as well 2023-05-23 15:09:17 -05:00
Collin Duncan
0f0acd064e
Making the DB debug log a bit more concise 2023-05-23 15:09:17 -05:00
Collin Duncan
d1580028cf
Fixing tz issue. SQLite uses UTC only so converting local time to UTC before saving 2023-05-23 15:09:17 -05:00
Collin Duncan
257595c565
Changing reservation to return results in ascending order 2023-05-23 15:09:16 -05:00
Collin Duncan
f84928a35b
Fixing mismatching database paths 2023-05-23 15:09:16 -05:00
Collin Duncan
3bef2a8819
Updating path to sqlite db file 2023-05-23 15:09:16 -05:00
Collin Duncan
6257ce0d38
Updating log to show formatted date 2023-05-23 15:09:16 -05:00
Collin Duncan
462a163082
Changing fetchByDate query to use the date of the reservation 2023-05-23 15:09:16 -05:00
Collin Duncan
76b887faba
Fixing fetchByDate query 2023-05-23 15:09:16 -05:00
Collin Duncan
caf6370727
Converting date function from MySQL to SQLite syntax 2023-05-23 15:09:16 -05:00
Collin Duncan
763d8b3833
Removing logger from dayjs wrapper 2023-05-23 15:09:16 -05:00
Collin Duncan
fb817610e6
Adding log to custom dayjs wrapper 2023-05-23 15:09:16 -05:00
Collin Duncan
5edf0eac68
Adding database debug log for database queries 2023-05-23 15:09:15 -05:00
Collin Duncan
1d5c75b252
Fixing issue with scheduler sending single reservation 2023-05-23 15:09:15 -05:00
Collin Duncan
3ae0e0b782
Logging out date query parameter 2023-05-23 15:09:15 -05:00
Collin Duncan
3219256961
Adding some additional logic to support multiple reservations during one runner request and allowing fetching reservations by date. Also changed cron to only run once at 7.00 and fetch all available reservations at that date 2023-05-23 15:09:15 -05:00
Collin Duncan
878006271f
Prettier fixes 2023-05-23 15:09:15 -05:00