991 Commits

Author SHA1 Message Date
3aa2a2583d Merge pull request #110 from brendan-ch/claude/apollo-router-migration-research-y8oVn
claude/apollo-router-migration-research-y8oVn
2026-03-27 18:35:47 -07:00
5b441b3698 Fix remaining npm audit issues 2026-03-27 18:15:33 -07:00
Claude
e45a94f260 Upgrade Apollo Server 4 to 5
@apollo/server v4 reached end-of-life on January 26, 2026. This bumps
to v5 (resolves to 5.5.0) and raises the graphql peer requirement to
^16.11.0 as required by AS5. No application code changes were needed
since the project already used the AS5-compatible patterns (separate
@as-integrations/express5 package, context in expressMiddleware options).

https://claude.ai/code/session_015DcGUmHQtHQRt2QUSefXga
2026-03-27 15:36:15 +00:00
c088f1003b Merge pull request #109 from brendan-ch/chore/remove-docker-host-in-deploy
chore/remove-docker-host-in-deploy
2026-03-24 16:13:42 -07:00
e0e4092218 Add Docker host and runtime directory exports 2026-03-24 16:12:28 -07:00
893274ca6a Remove DOCKER_HOST export in deploy.yml
Remove Docker host export from deployment script.
2026-03-24 16:08:12 -07:00
0601d9e6a0 Merge pull request #108 from brendan-ch/chore/remove-tailscale-for-deploy
chore/remove-tailscale-for-deploy
2026-03-24 16:01:33 -07:00
91f5f4ba7c Remove Tailscale connection from deploy workflow
Removed Tailscale connection step from deployment workflow.
2026-03-24 15:57:38 -07:00
4764ee6af0 Merge pull request #106 from brendan-ch/claude/add-initial-region-loading-jfNcI 2026-03-23 15:23:47 -07:00
Claude
44d2da45d1 Update Chapman region to wider campus bounds
https://claude.ai/code/session_0162emnCi1KxW5FkTNn2ZrvH
2026-03-23 22:08:57 +00:00
Claude
fe649c81eb Change region to use top-left and bottom-right coordinates
Replace center+delta region representation with a bounding box defined
by topLeft and bottomRight coordinate pairs, which maps more directly
to the visible map area.

https://claude.ai/code/session_0162emnCi1KxW5FkTNn2ZrvH
2026-03-23 22:05:57 +00:00
Claude
946f8dd342 Add initial region loading for supported systems
Expose an initialRegion field on the System GraphQL type so the app can
display the correct campus area on first load instead of a zoomed-out
default map view. Chapman University is configured with coordinates
centered on campus.

https://claude.ai/code/session_0162emnCi1KxW5FkTNn2ZrvH
2026-03-23 22:02:42 +00:00
690b2e1559 Merge pull request #105 from brendan-ch:chore/update-caddy-config
chore/update-caddy-config
2026-02-25 16:42:23 -08:00
78f20fa925 Remove the Caddyfile and expose port 4000 locally 2026-02-25 16:40:43 -08:00
90d993736d Merge pull request #104 from brendan-ch/chore/patch-deploy-workflow-1
chore/patch-deploy-workflow
2026-02-23 12:40:31 -08:00
4d79b842f5 Set Docker host for deployment workflow 2026-02-23 12:39:59 -08:00
5cd2e0cc59 Merge pull request #103 from brendan-ch/chore/add-self-hosted-deploy-script
chore/add-self-hosted-deploy-workflow
2026-02-23 12:35:20 -08:00
12951c96cb Add self-hosted deploy workflow 2026-02-23 12:32:04 -08:00
da1a57ba70 Merge pull request #102 from brendan-ch/chore/setup-self-hosted
chore/setup-self-hosted
2026-02-23 12:12:29 -08:00
b1420cfa7e Add REDIS_USE_TLS environment variable to configure TLS for Redis 2026-02-23 12:06:10 -08:00
ecc9cdd747 Add Docker Compose file which uses Caddy 2026-02-23 12:01:28 -08:00
471121aa0f Add Caddyfile 2026-02-23 12:00:49 -08:00
f3cc9ec4f5 Merge pull request #99 from brendan-ch/hotfix/use-in-memory-shuttle-and-eta-repositories
hotfix/use-in-memory-shuttle-and-eta-repositories
2025-12-06 09:31:42 -08:00
4e35498be7 Switch to using in-memory shuttle and ETA repositories
This is to improve performance until Redis is migrated to the same memory space as the server.
2025-12-06 09:22:24 -08:00
91bdb7d0e3 Merge pull request #96 from brendan-ch:feat/next-stop-eta-lock
feat/next-stop-eta-lock
2025-11-23 20:38:37 -08:00
298bf229f8 Mark shuttle as not at stop when removing a shuttle 2025-11-23 20:29:50 -08:00
19cdbec42b Refactor all Redis keys to use variables, and add clearing of shuttle isAtStop set on shuttle clear 2025-11-23 20:29:06 -08:00
8d2dd60cfb Remove the unsupported shuttleStopNearbyDegreeDelta option from InterchangeSystemBuilderArguments 2025-11-22 18:21:22 -08:00
ee10daf957 Rename getArrivedStopIfExists to getArrivedStopIfNextStop, and add more documentation 2025-11-21 11:42:42 -08:00
715bef163c Add stopgap ETA of 1 second when the shuttle has arrived at a stop 2025-11-21 11:33:22 -08:00
6c199e38a8 Test previously failing case for SHUTTLE_WILL_LEAVE_STOP 2025-11-21 11:10:10 -08:00
413443a162 Update the method to accept a canReturnShuttleCurrentStop flag instead 2025-11-21 11:07:47 -08:00
8c341e91e0 Call getArrivedStopIfExists based on different parameter 2025-11-21 10:57:04 -08:00
712e311006 Update getArrivedStopIfExists method to take an argument returnNextStopOnly 2025-11-21 10:51:38 -08:00
c2f1a67a70 Remove unused ETA code from RedisShuttleRepository 2025-11-21 10:39:08 -08:00
f34f78aaea Remove the delta argument in ShuttleGetterRepository.getArrivedStopIfExists 2025-11-20 19:07:30 -08:00
37fbc3ef45 Make checkIfShuttleIsAtStop part of the ShuttleGetterRepository interface 2025-11-20 17:48:49 -08:00
ddab9b96ff Remove SHUTTLE_IS_NEAR_NEXT_STOP event and placeholder tests 2025-11-20 17:47:13 -08:00
22322e5f0a Add a separate tsconfig for excluding tests/mocks from builds, while leaving them for type checks 2025-11-20 16:52:56 -08:00
a9db9b5d5c Pass down the new arguments into the shuttle repositories 2025-11-20 16:47:50 -08:00
645fe1055b Add createRedisClientForRepository method to deduplicate default Redis client in constructor 2025-11-20 16:41:14 -08:00
b202189ad6 Fix typo in "shuttle" 2025-11-20 16:29:28 -08:00
1d98e8450e Update InterchangeSystemBuilderArguments with new properties for controlling event emitter degree delta 2025-11-20 16:26:25 -08:00
fb01406a29 Add placeholder test cases for SHUTTLE_IS_NEAR_NEXT_STOP event 2025-11-19 11:51:58 -08:00
2ff71b0dd1 Define a new event to indicate shuttle is near a stop 2025-11-19 11:48:22 -08:00
dbcc882a18 Only update ETAs in shuttle repository loader if repository was injected 2025-11-19 11:43:04 -08:00
545eaef74a Add implementation and test for leaving stop event 2025-11-19 11:31:13 -08:00
b8c3f17510 Add test for ETA clearing 2025-11-19 10:57:27 -08:00
83671e2b22 Add logic to fire the SHUTTLE_WILL_LEAVE_STOP event 2025-11-18 21:06:10 -08:00
c8c5aa28c6 Add a method to mark a shuttle as not at a stop 2025-11-18 20:42:06 -08:00