Commit graph

269 commits

Author SHA1 Message Date
Collin Duncan
4e23288cbd
Adding status check for cron job 2023-05-23 15:09:15 -05:00
Collin Duncan
921aa9c65c
Adding some routers to http server that handle more requests to /reservations and /cron 2023-05-23 15:09:15 -05:00
Collin Duncan
6dfa37272e
Updating errors and logging in a lot of places. Changing some static methods of Reservation to instance methods 2023-05-23 15:09:15 -05:00
Collin Duncan
983c785029
Changing $ to ? for SQL prepared statement 2023-05-23 15:09:15 -05:00
Collin Duncan
b2ccbc2f7d
Deleting reservation after successful run 2023-05-23 15:09:15 -05:00
Collin Duncan
4d56881d12
Removing unique constraint from username column 2023-05-23 15:09:14 -05:00
Collin Duncan
9ef3009cc2
Changing logger to show url and method of route 2023-05-23 15:09:14 -05:00
Collin Duncan
ef013d4744
Adding label for GHCR image 2023-05-23 15:09:14 -05:00
Collin Duncan
eb90dcac93
Slowing down cron for now to run every ten minutes 2023-05-23 15:09:14 -05:00
Collin Duncan
18a643034a
Adding some more error logging and handling as well as a circuit breaker to stop cron from continuously fucking up 2023-05-23 15:09:14 -05:00
Collin Duncan
c027079303
Changing dockerfile to give permissions of workdir to node user sooner 2023-05-23 15:09:14 -05:00
Collin Duncan
449661a3e6
Correcting docker build command 2023-05-23 15:09:14 -05:00
Collin Duncan
0e7f475928
Adding workflow to create container image 2023-05-23 15:09:14 -05:00
Collin Duncan
0c6c9df93f
Switching to use SQLite instead of MySQL 2023-05-23 15:09:14 -05:00
Collin Duncan
dd46f61ecc
Updating SQL for saving reservation to DB 2023-05-23 15:09:14 -05:00
Collin Duncan
bf0852d541
Updating reservation to use UUIDv4 as an id 2023-05-23 15:09:14 -05:00
Collin Duncan
6b197addfb
Changing cron to run at every minute in 7th hour 2023-05-23 15:09:13 -05:00
Collin Duncan
e8336291eb
Renaming unit test for http server to match src file name 2023-05-23 15:09:13 -05:00
Collin Duncan
f8747ea045
Updating logger to display timestamp 2023-05-23 15:09:13 -05:00
Collin Duncan
09e4b3a1b8
Adding dayjs module to allow timezone handling by default and replaced node_module with this module 2023-05-23 15:09:13 -05:00
Collin Duncan
5653d98161
Updating Dockerfile to work properly with puppeteer 2023-05-23 15:09:13 -05:00
Collin Duncan
a18a9ca34d
Prettiering 2023-05-23 15:09:13 -05:00
Collin Duncan
dfcb1f25a1
Removing rollup and relying on tsc to make builds. Also updated Docker to have a working development version 2023-05-23 15:09:13 -05:00
Collin Duncan
9f59e60901
Fixing SQL issues with table creation query 2023-05-23 15:09:13 -05:00
Collin Duncan
c47d7aa0f5
Passing in MYSQL_HOST during MySQL connection configuration 2023-05-23 15:09:13 -05:00
Collin Duncan
02327fc734
Changing logger to work with AsyncLocalStorage to propagate logger to callee functions 2023-05-23 15:09:13 -05:00
Collin Duncan
420aa5ed78
Fix issue with weird semicolon thing 2023-05-23 15:09:12 -05:00
Collin Duncan
69249a11dc
Adding cron job for running reservations; changing how the runner worked to only instantiate one runner and reuse it; lots of tests! 2023-05-23 15:09:12 -05:00
Collin Duncan
a765df3530
Removing the weird semicolon-infront-of-typed-variable thing! 2023-05-23 15:09:12 -05:00
Collin Duncan
0fe86542a1
Splitting tests into unit and integration tests 2023-05-23 15:09:12 -05:00
Collin Duncan
a97fb5df2f
Obfuscating password from logs 2023-05-23 15:09:12 -05:00
Collin Duncan
34107e3d58
Consolidating usage of test/it in tests 2023-05-23 15:09:12 -05:00
Collin Duncan
1f5824ac49
Spliting out server code, adding unit test for server 2023-05-23 15:09:12 -05:00
Collin Duncan
90a1f00f3d
Moving around some files so that it is a bit more clear and using ts-jest for jest 2023-05-23 15:09:12 -05:00
Collin Duncan
4f3c0e9938
Changing error message on route not found 2023-05-23 15:09:12 -05:00
Collin Duncan
5cdbc3ebb0
Adding some docker setup for local testing 2023-05-23 15:09:12 -05:00
Collin Duncan
e039c3d5a8
Removing redundant file 2023-05-23 15:09:12 -05:00
Collin Duncan
2319cdce18
Updating node version, improving build process and adding required modules to dev dependencies 2023-05-23 15:09:11 -05:00
Collin Duncan
8f69d13a26
Moving server file 2023-05-23 15:09:11 -05:00
Collin Duncan
819013fb2f
Removing babel and upgrading rollup to v3 2023-05-23 15:09:11 -05:00
Collin Duncan
f0061827c9
Updating snapshot and running prettier on tests 2023-05-23 15:09:11 -05:00
Collin Duncan
317c0cbdb0
Updating some outdated deps 2023-05-23 15:09:11 -05:00
Collin Duncan
c7d9bef9f0
Fixing some errors due to changing reservation requests 2023-05-23 15:09:11 -05:00
Collin Duncan
3247ca5315
Lots of changes to project structure
First integration of requester and scheduler workers
Added password hashing functions
Adding initial database integration
2023-05-23 15:09:11 -05:00
Collin Duncan
5b1416d789
Adding a simple diagram so I don't forget what I'm doing later 2023-05-23 15:09:11 -05:00
Collin Duncan
b8ff324d05
Adding some new packages for password/database features; updating old packages 2023-05-23 15:09:11 -05:00
Collin Duncan
38fd802087
Removing some terraform artifacts 2023-05-23 15:09:11 -05:00
Collin Duncan
236d696025
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 15:09:11 -05:00
Collin Duncan
98bd540130
Updating runner to change to next month if needed; Added some more logging; Cleaning up some scripts 2023-05-23 15:09:10 -05:00
Collin Duncan
767a5930a6
some naming/organization changes 2023-05-23 15:09:10 -05:00