Commit graph

  • 33e19d38c5
    Adding waitListed property to reservations Collin Duncan 2023-07-28 19:49:06 +02:00
  • 014e47e5cf
    Changing logger service to be default scope Collin Duncan 2023-07-28 19:48:40 +02:00
  • 91271cdc4b
    Deleting old controller Collin Duncan 2023-07-28 19:48:17 +02:00
  • 9407f2df2f
    Cleaning up github workflow Collin Duncan 2023-07-28 19:46:50 +02:00
  • f916ce112c
    Bump word-wrap from 1.2.3 to 1.2.4 dependabot[bot] 2023-07-19 05:32:41 +00:00
  • 0baf1af51e
    Bump semver from 6.3.0 to 6.3.1 dependabot[bot] 2023-07-11 07:31:37 +00:00
  • 582f79eb27
    Removing migrations from nestjs code and relying on typeorcli Collin Duncan 2023-06-29 15:20:18 +02:00
  • 4f15521afe
    Fixing nestjs dependency injection Collin Duncan 2023-06-29 13:16:11 +02:00
  • 1a57f8e2e9
    Correcting entity and adding migration Collin Duncan 2023-06-29 10:39:27 +02:00
  • 699b8445ff
    Adding recurring reservations and updating some linting/formatting rules Collin Duncan 2023-06-29 10:32:09 +02:00
  • 8a1da9925f
    Fixing some transformation and logging sensitive data issues Collin Duncan 2023-06-28 21:40:29 +02:00
  • d947ad488f
    Adding back some missing errors from flow Collin Duncan 2023-06-28 16:53:28 +02:00
  • bdcf1b753f
    Adding some error logging when selecting day Collin Duncan 2023-06-28 16:25:40 +02:00
  • 714f74cf63
    Changing BullModule to require redis host and port env vars Collin Duncan 2023-06-28 15:17:49 +02:00
  • 4710b1026f
    Injecting configService into async configs Collin Duncan 2023-06-28 14:32:31 +02:00
  • 65d12a266d
    Adding import of config module to TypeORM async config Collin Duncan 2023-06-28 12:31:40 +02:00
  • 962644fb3a
    Changing env vars to use config service Collin Duncan 2023-06-28 11:26:17 +02:00
  • a4076796af
    Adding debug log to creation of reservation Collin Duncan 2023-06-28 09:41:24 +02:00
  • e0671749bd
    Adding some debug logs Collin Duncan 2023-06-28 09:28:24 +02:00
  • c8e311d38d
    Fixing loading of TypeORM entities Collin Duncan 2023-06-28 09:06:21 +02:00
  • d32ded1acd
    Adding data-source to copy step of dockerfile Collin Duncan 2023-06-27 17:25:01 +02:00
  • 42f6e8de3d
    Changing migration command in Dockerfile Collin Duncan 2023-06-27 17:20:14 +02:00
  • 9380533518
    Dockerfile fixes Collin Duncan 2023-06-27 17:18:36 +02:00
  • 0cdfb63db2
    More data source typeorm changes Collin Duncan 2023-06-27 17:17:13 +02:00
  • 0ee90855ba
    Adding gitkeep to database/migrations Collin Duncan 2023-06-27 17:09:12 +02:00
  • d6616bc33c
    Attempting to add some typeorm migrations Collin Duncan 2023-06-27 17:06:58 +02:00
  • a2ab3e8c3c
    Adding repl Collin Duncan 2023-06-27 16:38:00 +02:00
  • 9da2d5e2f2
    Formatting fixes Collin Duncan 2023-06-27 16:06:19 +02:00
  • a3a2f12082
    Setting context to workdir and changing file to use relative path Collin Duncan 2023-05-26 16:51:54 -05:00
  • 37bd1fea52
    Changing build context of docker to match docker dir Collin Duncan 2023-05-26 16:50:50 -05:00
  • e50356fbac
    Removing checkout and specifying correct location of dockerfile Collin Duncan 2023-05-26 16:49:36 -05:00
  • 550637f483
    Adding checkout step again because Dockerfile was not found Collin Duncan 2023-05-26 16:47:28 -05:00
  • 8ad2eb5000
    Fixing docker image tag Collin Duncan 2023-05-26 16:46:06 -05:00
  • e1eeb8d75d
    Fixing username and password for GHCR Collin Duncan 2023-05-26 16:44:33 -05:00
  • 3546dc6f89
    Changing pipeline to setup docker buildx correctly Collin Duncan 2023-05-26 16:43:32 -05:00
  • 6866bc9ca7
    Attempting to speed up pipeline by using docker action Collin Duncan 2023-05-26 16:40:01 -05:00
  • 1e2933e780
    Adding some changes to dockerfile to use env vars for ports and redis config Collin Duncan 2023-05-26 16:34:50 -05:00
  • 1def4de40c
    Big ole refactor to using nestjs for some practice Collin Duncan 2023-05-26 15:43:14 -05:00
  • eb9991895a
    Properly setting session when logging in or out Collin Duncan 2023-04-17 12:23:58 +02:00
  • fa99ad7941
    Changing how sessions are started and handled to fix issues with multiple reservation requests Collin Duncan 2023-02-20 11:08:56 +01:00
  • 26953c6c13
    Reoptimization of docker (perhaps) Collin Duncan 2023-02-13 15:49:48 +01:00
  • 364f1db9d0
    Changing runner test to use headless version of puppeteer Collin Duncan 2023-02-13 15:18:15 +01:00
  • 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) Collin Duncan 2023-02-13 11:14:29 +01:00
  • 7e3457cce3
    Removing some default args I had recently changed due to an error when launching chromium Collin Duncan 2023-02-13 10:12:50 +01:00
  • 0879ec7333
    Reverting optimizations to Dockerfile Collin Duncan 2023-02-13 10:02:33 +01:00
  • 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 Collin Duncan 2023-02-13 09:13:39 +01:00
  • c0a8e61187
    Updating dockerfile to ensure that chromium is part of app image Collin Duncan 2023-02-13 08:25:58 +01:00
  • 2eafe06d32
    Readme updates for anyone who will read it (future me) Collin Duncan 2023-02-10 23:51:41 +01:00
  • 07d008aa3a
    More docker optimizations! (hopefully) Collin Duncan 2023-02-10 23:41:49 +01:00
  • 0f0acd064e
    Making the DB debug log a bit more concise Collin Duncan 2023-02-10 23:25:28 +01:00
  • d1580028cf
    Fixing tz issue. SQLite uses UTC only so converting local time to UTC before saving Collin Duncan 2023-02-10 23:14:42 +01:00
  • 377f8a06be
    Updating docker-compose to use same volume approach as server Collin Duncan 2023-02-10 23:14:19 +01:00
  • 257595c565
    Changing reservation to return results in ascending order Collin Duncan 2023-02-10 23:06:31 +01:00
  • f84928a35b
    Fixing mismatching database paths Collin Duncan 2023-02-10 19:31:29 +01:00
  • 3bef2a8819
    Updating path to sqlite db file Collin Duncan 2023-02-10 19:08:41 +01:00
  • 6257ce0d38
    Updating log to show formatted date Collin Duncan 2023-02-10 19:08:20 +01:00
  • 462a163082
    Changing fetchByDate query to use the date of the reservation Collin Duncan 2023-02-10 15:17:58 +01:00
  • 76b887faba
    Fixing fetchByDate query Collin Duncan 2023-02-10 15:09:34 +01:00
  • 548a393452
    Optimizing dockerfile Collin Duncan 2023-02-10 15:09:27 +01:00
  • caf6370727
    Converting date function from MySQL to SQLite syntax Collin Duncan 2023-02-10 14:54:47 +01:00
  • 763d8b3833
    Removing logger from dayjs wrapper Collin Duncan 2023-02-10 14:44:52 +01:00
  • fb817610e6
    Adding log to custom dayjs wrapper Collin Duncan 2023-02-10 14:35:25 +01:00
  • 5edf0eac68
    Adding database debug log for database queries Collin Duncan 2023-02-10 14:33:04 +01:00
  • 1d5c75b252
    Fixing issue with scheduler sending single reservation Collin Duncan 2023-02-10 14:14:19 +01:00
  • 3ae0e0b782
    Logging out date query parameter Collin Duncan 2023-02-10 14:13:12 +01:00
  • 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 Collin Duncan 2023-02-10 12:24:27 +01:00
  • 878006271f
    Prettier fixes Collin Duncan 2023-02-10 12:22:36 +01:00
  • 69f7f50f5f
    Fixing issue with router expecting a trailing slash for GET /cron Collin Duncan 2023-02-08 13:50:12 +01:00
  • 4e23288cbd
    Adding status check for cron job Collin Duncan 2023-02-08 13:33:42 +01:00
  • 921aa9c65c
    Adding some routers to http server that handle more requests to /reservations and /cron Collin Duncan 2023-01-30 12:39:05 +01:00
  • 6dfa37272e
    Updating errors and logging in a lot of places. Changing some static methods of Reservation to instance methods Collin Duncan 2023-01-30 12:38:42 +01:00
  • 983c785029
    Changing $ to ? for SQL prepared statement Collin Duncan 2023-01-30 08:59:06 +01:00
  • b2ccbc2f7d
    Deleting reservation after successful run Collin Duncan 2023-01-29 23:44:28 +01:00
  • 4d56881d12
    Removing unique constraint from username column Collin Duncan 2023-01-29 19:19:08 +01:00
  • 9ef3009cc2
    Changing logger to show url and method of route Collin Duncan 2023-01-29 17:56:19 +01:00
  • ef013d4744
    Adding label for GHCR image Collin Duncan 2023-01-29 14:46:59 +01:00
  • eb90dcac93
    Slowing down cron for now to run every ten minutes Collin Duncan 2023-01-29 14:35:42 +01:00
  • 18a643034a
    Adding some more error logging and handling as well as a circuit breaker to stop cron from continuously fucking up Collin Duncan 2023-01-29 14:34:39 +01:00
  • c027079303
    Changing dockerfile to give permissions of workdir to node user sooner Collin Duncan 2023-01-28 11:31:55 +01:00
  • 449661a3e6
    Correcting docker build command Collin Duncan 2023-01-28 11:28:46 +01:00
  • 0e7f475928
    Adding workflow to create container image Collin Duncan 2023-01-28 11:26:02 +01:00
  • 0c6c9df93f
    Switching to use SQLite instead of MySQL Collin Duncan 2023-01-28 10:51:46 +01:00
  • dd46f61ecc
    Updating SQL for saving reservation to DB Collin Duncan 2023-01-21 16:01:38 +01:00
  • bf0852d541
    Updating reservation to use UUIDv4 as an id Collin Duncan 2023-01-21 15:17:21 +01:00
  • 6b197addfb
    Changing cron to run at every minute in 7th hour Collin Duncan 2023-01-21 15:14:58 +01:00
  • e8336291eb
    Renaming unit test for http server to match src file name Collin Duncan 2023-01-21 15:14:40 +01:00
  • f8747ea045
    Updating logger to display timestamp Collin Duncan 2023-01-20 15:37:15 +01:00
  • 09e4b3a1b8
    Adding dayjs module to allow timezone handling by default and replaced node_module with this module Collin Duncan 2023-01-20 15:31:04 +01:00
  • 5653d98161
    Updating Dockerfile to work properly with puppeteer Collin Duncan 2023-01-20 12:33:50 +01:00
  • a18a9ca34d
    Prettiering Collin Duncan 2023-01-20 09:52:28 +01:00
  • dfcb1f25a1
    Removing rollup and relying on tsc to make builds. Also updated Docker to have a working development version Collin Duncan 2023-01-20 09:38:50 +01:00
  • 9f59e60901
    Fixing SQL issues with table creation query Collin Duncan 2023-01-20 09:36:37 +01:00
  • c47d7aa0f5
    Passing in MYSQL_HOST during MySQL connection configuration Collin Duncan 2023-01-20 09:35:10 +01:00
  • 02327fc734
    Changing logger to work with AsyncLocalStorage to propagate logger to callee functions Collin Duncan 2022-11-30 11:56:39 +01:00
  • 420aa5ed78
    Fix issue with weird semicolon thing Collin Duncan 2022-11-30 09:58:37 +01:00
  • 69249a11dc
    Adding cron job for running reservations; changing how the runner worked to only instantiate one runner and reuse it; lots of tests! Collin Duncan 2022-11-29 22:51:28 +01:00
  • a765df3530
    Removing the weird semicolon-infront-of-typed-variable thing! Collin Duncan 2022-11-29 22:50:49 +01:00
  • 0fe86542a1
    Splitting tests into unit and integration tests Collin Duncan 2022-11-27 16:14:56 +01:00
  • a97fb5df2f
    Obfuscating password from logs Collin Duncan 2022-11-27 16:09:30 +01:00
  • 34107e3d58
    Consolidating usage of test/it in tests Collin Duncan 2022-11-27 16:09:21 +01:00