Commit Graph

954 Commits

Author SHA1 Message Date
c244a4b037 Merge pull request #77 from brendan-ch/chore/add-ordered-stops-to-route
chore/add-ordered-stops-to-route
2025-09-23 10:38:23 -07:00
e7b5f034f3 Add orderedStops property to the Route type 2025-09-23 10:15:42 -07:00
529f4e5869 Merge pull request #75 from brendan-ch/chore/dependency-updates
chore/dependency-updates
2025-09-13 18:44:15 -07:00
ca14fa6939 Update dependencies to latest minor/patch versions
- express-rate-limit: 8.0.1 → 8.1.0
- @types/node: 22.16.0 → 22.18.3
- ts-jest: 29.4.0 → 29.4.1
- typescript: 5.8.3 → 5.9.2

All tests pass (205 tests, 20 suites)
No security vulnerabilities found

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 18:34:41 -07:00
4830a449a1 Merge pull request #69 from brendan-ch/chore/improved-redis-handling
chore/improved-redis-handling
2025-09-01 12:40:53 -07:00
f49113e67b Document the REDIS_URL environment variable 2025-09-01 12:14:47 -07:00
72b77c3b60 Add a reconnection interval constant 2025-09-01 12:06:23 -07:00
051f6c12e7 Add error logging for unexpected Redis disconnections 2025-09-01 11:58:27 -07:00
6901f6d45b Merge pull request #68 from brendan-ch/chore/rate-limits
chore/rate-limits
2025-08-26 17:30:31 -07:00
5a183b632c Export the same variables from mocks 2025-08-26 17:12:27 -07:00
07ccd05734 Add environment variables to control settings 2025-08-26 17:09:25 -07:00
2c3d0a9fd4 Swap express-rate-limit for express-slow-down 2025-08-26 17:05:08 -07:00
8438d44ac3 Use the Express.js rate limiter middleware if not disabled 2025-08-26 11:34:29 -07:00
9856719e38 Change the server setup to use Express.js for hosting 2025-08-26 11:02:03 -07:00
8b8aae3ff9 Remove the app integration testing support 2025-08-26 10:49:46 -07:00
627cb87d34 Install express.js and express-rate-limit 2025-08-26 10:49:14 -07:00
125081f40b Configure docker-compose.yml and environment.ts to add rate limit toggle 2025-08-26 09:46:02 -07:00
5b9f0b9dea Merge pull request #67 from brendan-ch/chore/test-coverage-artifacts
chore/test-coverage-artifacts
2025-08-25 11:00:19 -07:00
798350caed Only run the test workflow on pull requests 2025-08-25 10:57:35 -07:00
eb8730de2a Update test workflow to upload coverage and post comment 2025-08-25 10:49:31 -07:00
3b5a554b2f Merge pull request #65 from brendan-ch/chore/update-dependencies
chore/update-dependencies
2025-08-13 14:23:26 -04:00
07b739cdde Fix security vulnerabilities 2025-08-13 13:58:53 -04:00
eeb09dca5b Merge pull request #64 from brendan-ch/chore/move-tests
chore/move-tests
2025-08-01 17:21:29 -07:00
7063f79647 Fix the critical security vulnerability 2025-08-01 17:19:33 -07:00
33927f940f Merge branch 'main' into chore/move-tests 2025-08-01 17:16:57 -07:00
b745d58ce0 Ensure that test and mock directories are excluded when compiling 2025-07-31 22:49:36 -04:00
14fbdc7408 Move testHelpers directory up one level 2025-07-31 22:41:05 -04:00
b7299b8359 Move all tests to subdirectories underneath code to be tested 2025-07-31 22:35:49 -04:00
5614fcae97 Merge pull request #63 from brendan-ch/feat/parking-statistics-data-in-graphql
feat/parking-statistics-data-in-graphql
2025-07-21 19:49:24 -04:00
0fd8de13f9 Add controls for minimum interval and maximum timespan to example .env 2025-07-21 19:46:31 -04:00
6444251649 Implement mocking of environment file 2025-07-21 19:42:28 -04:00
321e7a7fa9 Enable automatic reset of mock state 2025-07-21 19:41:45 -04:00
883dc9ef6e Create a src-level environment.ts file for all environment variables 2025-07-21 19:35:04 -04:00
b737cd0fa5 Add errors to the parking structure resolvers 2025-07-21 19:16:38 -04:00
2f46a0b07c Remove correctness test, to be reimplemented at a later time 2025-07-21 19:08:53 -04:00
cc03803a3c Change schema to accept a float for the average spots available 2025-07-21 19:08:22 -04:00
e78982538e Add implementation and tests for ParkingStructureResolvers.ts 2025-07-21 19:06:00 -04:00
ee7b5eefda Rename query interface for historical data 2025-07-19 13:14:39 -04:00
52a0133107 Add system ID to parking structure 2025-07-19 12:55:36 -04:00
09ee17874d Update test case naming for ParkingRepositorySharedTests.test.ts to clarify scope of test 2025-07-19 12:50:39 -04:00
0a5a71d78f Add basic test case for ParkingStructureResolvers 2025-07-19 12:50:27 -04:00
182587596c Change properties to match GraphQL input and query result 2025-07-19 12:15:41 -04:00
8ee1f1522e Change ParkingStructureCountOptions and HistoricalParkingAverageQueryResult to use Date objects
This matches the behavior of `updatedTime` on shuttle objects. When returning API data, dates are converted into milliseconds since Epoch by the DateTime scalar implementation.
2025-07-19 12:12:08 -04:00
ed037cf2d2 Move repositories into folders. 2025-07-19 11:58:45 -04:00
3302822bf8 Add a placeholder implementation of ParkingStructureResolvers 2025-07-19 11:55:51 -04:00
a76601d8cf Update schema with historical average data for parking structure. 2025-07-19 11:50:58 -04:00
a543f37f77 Merge pull request #61 from brendan-ch/chore/remove-integration-testing-mode
Remove support for integration testing mode
2025-07-18 17:00:33 -04:00
5486046c24 Remove support for integration testing mode
- Remove app-integration-test service from Docker Compose
- Remove references to integration testing mode from documentation
- Clean up CLAUDE.md to reflect current Docker services

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 16:53:29 -04:00
de3519f120 Merge pull request #59 from brendan-ch/chore/update-dependencies
chore/update-dependencies
2025-07-08 00:08:32 -04:00
e7488ee739 Update dependencies to latest compatible versions
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 00:05:21 -04:00