Commit graph

  • 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
  • 1f5824ac49
    Spliting out server code, adding unit test for server Collin Duncan 2022-11-27 15:59:20 +01:00
  • 90a1f00f3d
    Moving around some files so that it is a bit more clear and using ts-jest for jest Collin Duncan 2022-11-21 19:07:43 +01:00
  • 4f3c0e9938
    Changing error message on route not found Collin Duncan 2022-11-21 18:53:42 +01:00
  • 5cdbc3ebb0
    Adding some docker setup for local testing Collin Duncan 2022-11-21 18:50:59 +01:00
  • e039c3d5a8
    Removing redundant file Collin Duncan 2022-11-07 12:41:32 +01:00
  • 2319cdce18
    Updating node version, improving build process and adding required modules to dev dependencies Collin Duncan 2022-11-07 11:44:57 +01:00
  • 8f69d13a26
    Moving server file Collin Duncan 2022-11-04 14:59:41 +01:00
  • 819013fb2f
    Removing babel and upgrading rollup to v3 Collin Duncan 2022-11-04 14:59:23 +01:00
  • f0061827c9
    Updating snapshot and running prettier on tests Collin Duncan 2022-11-04 14:16:11 +01:00
  • 317c0cbdb0
    Updating some outdated deps Collin Duncan 2022-10-23 12:02:54 +02:00
  • c7d9bef9f0
    Fixing some errors due to changing reservation requests Collin Duncan 2022-10-23 12:02:44 +02:00
  • 3247ca5315
    Lots of changes to project structure First integration of requester and scheduler workers Added password hashing functions Adding initial database integration Collin Duncan 2022-10-23 11:55:47 +02:00
  • 5b1416d789
    Adding a simple diagram so I don't forget what I'm doing later Collin Duncan 2022-10-23 11:54:59 +02:00
  • b8ff324d05
    Adding some new packages for password/database features; updating old packages Collin Duncan 2022-10-23 11:54:35 +02:00
  • 38fd802087
    Removing some terraform artifacts Collin Duncan 2022-10-23 11:51:26 +02:00
  • 236d696025
    Bump minimist from 1.2.5 to 1.2.6 Collin Duncan 2022-03-29 20:42:29 +00:00
  • 98bd540130
    Updating runner to change to next month if needed; Added some more logging; Cleaning up some scripts Collin Duncan 2022-03-29 22:41:44 +02:00
  • 767a5930a6
    some naming/organization changes Collin Duncan 2022-02-11 13:20:15 +01:00
  • 2b9fa53c5f
    removing traces of aws and cleaning up workers/tests Collin Duncan 2022-02-10 17:27:35 +01:00
  • 2c953cbc57
    👋 tf Collin Duncan 2022-02-10 16:48:25 +01:00