feat: added location data to buildings.json and add endpoint to maps config #115

Merged
NikhilR merged 26 commits from rhsen-housing into main 2026-10-31 21:01:23 +00:00
Member

takes on #101

takes on #101
fix: corrected typos in buildings.json
Some checks failed
PR title / lint (pull_request) Successful in 0s
PR size / size (pull_request) Has been skipped
kennel/build build succeeded
kennel/deploy provisioning declared resource 'postgres' failed: psql failed [GRANT CREATE ON DATABASE "kennel_019eaa84_574f_7af2_965e_4f872de9e728_pr_101" TO "kennel_019eaa84_574f_7af2_965e_4f872de9e728_pr_101_owner"]: ERROR: database "kennel_019eaa84_574f_7af2_965e_4f872de9e728_pr_101" does not exist
CI / check (pull_request) Has been cancelled
CI / check-1 (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / check-openapi (pull_request) Has been cancelled
2ac2f26199
fix: corrected typos in buildings.json
Some checks failed
PR size / size (pull_request) Has been skipped
kennel/build build succeeded
kennel/deploy provisioning declared resource 'postgres' failed: psql failed [GRANT CREATE ON DATABASE "kennel_019eaa84_574f_7af2_965e_4f872de9e728_pr_101" TO "kennel_019eaa84_574f_7af2_965e_4f872de9e728_pr_101_owner"]: ERROR: database "kennel_019eaa84_574f_7af2_965e_4f872de9e728_pr_101" does not exist
CI / check-openapi (pull_request) Successful in 1m9s
CI / check-1 (pull_request) Failing after 14s
CI / build (pull_request) Failing after 15s
PR title / lint (pull_request) Successful in 0s
CI / check (pull_request) Failing after 0s
f4b4c23fb2
feat: added endpoint to fetch maps config
Some checks failed
PR size / size (pull_request) Has been skipped
kennel/build build succeeded
kennel/deploy secret resolution failed for service 'backend': Secret 'GOOGLE_MAPS_API_KEY' is required but not set
CI / check-openapi (pull_request) Failing after 1m8s
CI / check-1 (pull_request) Failing after 14s
CI / build (pull_request) Failing after 15s
CI / check (pull_request) Failing after 0s
PR title / lint (pull_request) Successful in 0s
a33ee883c6
Merge branch 'main' of ssh://git.cmu.dev/rhsen/housing
Some checks failed
PR size / size (pull_request) Has been skipped
kennel/build build succeeded
kennel/deploy deployment healthy
PR title / lint (pull_request) Successful in 0s
CI / check (pull_request) Has been cancelled
CI / check-openapi (pull_request) Has been cancelled
CI / check-1 (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
05dd99c862
Merge branch 'main' of ssh://git.cmu.dev/rhsen/housing
Some checks failed
PR size / size (pull_request) Has been skipped
kennel/build build succeeded
kennel/deploy deployment healthy
CI / check-openapi (pull_request) Failing after 1m13s
CI / check-1 (pull_request) Failing after 16s
CI / build (pull_request) Failing after 14s
CI / check (pull_request) Failing after 0s
PR title / lint (pull_request) Successful in 0s
763643ea83
chore: updated openapi
Some checks failed
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 2m25s
PR size / size (pull_request) Successful in 4s
PR title / lint (pull_request) Successful in 0s
CI / check-openapi (pull_request) Failing after 1m15s
kennel/build build succeeded
CI / check-1 (pull_request) Successful in 1m54s
kennel/deploy deployment healthy
7d83dd9504
gostmeaper left a comment

Currently as it is written the endpoint for the map is public and will return the API key. This is because it is used before we do sessionAuth route. So anyone can fetch it before any authentication. We want to move it after sessionAuth route:

  1. use .use(sessionAuth) in mapsRoute and make the requisite 401 error response
  2. then just rerun the open api generation
Currently as it is written the endpoint for the map is public and will return the API key. This is because it is used before we do sessionAuth route. So anyone can fetch it before any authentication. We want to move it after sessionAuth route: 1. use `.use(sessionAuth)` in mapsRoute and make the requisite 401 error response 2. then just rerun the open api generation
@ -0,0 +18,4 @@
() => {
const apiKey = Deno.env.get("GOOGLE_MAPS_API_KEY");
if (!apiKey || !mapId) {
Author
Member

!mapId

Why are we checking if mapId exists? This is a useless check considering we hard coded it as a const above...

`!mapId` Why are we checking if mapId exists? This is a useless check considering we hard coded it as a const above...
Member

mapId wasn't hardcoded at first, forgot to remove the check.

mapId wasn't hardcoded at first, forgot to remove the check.
Author
Member

@rhsen please see the above comments as requested changes.

PS your changes were moved to a branch on the actual housing repo so you'll need to abandon the fork and work on this branch off main.

@rhsen please see the above comments as requested changes. PS your changes were moved to a branch on the actual housing repo so you'll need to abandon the fork and work on this branch off main.

Kennel Deployments

Torn down at 2026-10-31 21:01:25 UTC.

<!-- kennel-deployment --> ### Kennel Deployments Torn down at 2026-10-31 21:01:25 UTC.
fix: removed unneccessary tests
Some checks failed
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
kennel/build build succeeded
kennel/deploy deployment healthy
PR size / size (pull_request) Successful in 4s
CI / check-openapi (pull_request) Failing after 2m0s
CI / check-1 (pull_request) Successful in 2m17s
CI / build (pull_request) Successful in 3m59s
CI / check (pull_request) Successful in 0s
PR title / lint (pull_request) Successful in 0s
a453d08304
fix: refresh openapi
Some checks failed
PR title / lint (pull_request) Successful in 0s
PR size / size (pull_request) Successful in 5s
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
kennel/build build succeeded
kennel/deploy deployment healthy
CI / check-1 (pull_request) Failing after 6m10s
CI / build (pull_request) Failing after 6m50s
CI / check (pull_request) Failing after 0s
CI / check-openapi (pull_request) Successful in 7m0s
3aa0667eab
revert 8203cb24a5
Signed-off-by: Anish Pallati <i@anish.land>
This will fix our open api check fail.

Reviewed-on: #121
feat(frontend): add dorm review form
Some checks failed
PR title / lint (pull_request) Successful in 0s
nixbot/nix-eval evaluation succeeded
nixbot/nix-build 0 attributes built
PR size / size (pull_request) Successful in 7s
CI / check (pull_request) Has been cancelled
CI / check-1 (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / check-openapi (pull_request) Has been cancelled
kennel/build build succeeded
6c37f3f2d5
Merge branch 'main' into rhsen-housing
All checks were successful
nixbot/nix-eval evaluation succeeded
nixbot/nix-build 0 attributes built
PR title / lint (pull_request) Successful in 0s
PR size / size (pull_request) Successful in 7s
CI / check-openapi (pull_request) Successful in 51s
kennel/build build succeeded
kennel/deploy deployment healthy
CI / check-1 (pull_request) Successful in 1m8s
CI / build (pull_request) Successful in 2m16s
CI / check (pull_request) Successful in 0s
963ab4bda8
NikhilR approved these changes 2026-10-31 20:46:28 +00:00
NikhilR deleted branch rhsen-housing 2026-10-31 21:01:23 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/housing!115
No description provided.