Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add rest and graphql endpoints for study rooms #29

Merged
merged 21 commits into from
Nov 24, 2024

Commits on Nov 12, 2024

  1. added rest and graphql endpoints for study rooms

    Sanskar Mishra authored and Sanskar Mishra committed Nov 12, 2024
    1 Configuration menu
    Copy the full SHA
    fb93afb View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Configuration menu
    Copy the full SHA
    4365276 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1211e8f View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. updated study rooms based on PR comments

    Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    d84f594 View commit details
    Browse the repository at this point in the history
  2. feat(websoc-scraper): only associate primary instructor(s) with section

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    c88d9bc View commit details
    Browse the repository at this point in the history
  3. feat: api key management interface (#22)

    ## Description
    
    Add next app for creating & deleting api keys
    
    ## Related Issue
    
    Closes #10 
    
    ## Motivation and Context
    
    ## How Has This Been Tested?
    
    Tested locally. 
    
    Setup:
    
    ```bash
    docker compose up
    pnpm run users-db:migrate
    ```
    
    * Users cannot create /delete keys when not authed
    * Users cannot create multiple keys
    
    ## Screenshots (if appropriate):
    
    ## Types of changes
    
    <!--- What types of changes does your code introduce? Put an `x` in all
    the boxes that apply: -->
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [x] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing
    functionality to change)
    
    ## Checklist:
    
    <!--- Go over all the following points, and put an `x` in all the boxes
    that apply. -->
    <!--- If you're unsure about any of these, don't hesitate to ask. We're
    here to help! -->
    
    - [ ] My code involves a change to the database schema.
    - [ ] My code requires a change to the documentation.
    andrew-wang0 authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    cf9dd49 View commit details
    Browse the repository at this point in the history
  4. fix: types for keySchema.resources [skip ci]

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    4371ec7 View commit details
    Browse the repository at this point in the history
  5. fix(deps): downgrade to next14, fix versioning issues with authjs

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    aaf2b74 View commit details
    Browse the repository at this point in the history
  6. feat: default light mode for api key management interface (#35)

    <!--- Provide a general summary of your changes in the Title above -->
    
    ## Description
    
    Introduce & default light mode for API Key interface
    
    <!--- Describe your changes in detail -->
    
    ## Related Issue
    
    Closes #34 
    
    <!--- This project only accepts pull requests related to open issues -->
    <!--- If suggesting a new feature or change, please discuss it in an
    issue first -->
    <!--- If fixing a bug, there should be an issue describing it with steps
    to reproduce -->
    <!--- Please link to the issue here: -->
    
    ## Motivation and Context
    
    <!--- Why is this change required? What problem does it solve? -->
    
    ## How Has This Been Tested?
    
    <!--- Please describe in detail how you tested your changes. -->
    <!--- Include details of your testing environment, and the tests you ran
    to -->
    <!--- see how your change affects other areas of the code, etc. -->
    
    ## Screenshots (if appropriate):
    
    ## Types of changes
    
    <!--- What types of changes does your code introduce? Put an `x` in all
    the boxes that apply: -->
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [x] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing
    functionality to change)
    
    ## Checklist:
    
    <!--- Go over all the following points, and put an `x` in all the boxes
    that apply. -->
    <!--- If you're unsure about any of these, don't hesitate to ask. We're
    here to help! -->
    
    - [ ] My code involves a change to the database schema.
    - [ ] My code requires a change to the documentation.
    andrew-wang0 authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    98a08be View commit details
    Browse the repository at this point in the history
  7. feat: deploy key manager to AWS (#36)

    ## Description
    
    Deploy key manager to AWS using SST Ion. DNS is still managed through
    Cloudflare.
    
    This honestly took me way longer than it should have because turns out
    SST won't verify an ACM cert using Cloudflare, so I just gave up and
    manually verified one, and passed in the cert ARN.
    
    Also created a README with remarks on the lack of support for local
    development. Hopefully we'll find a way to fix that soon, but the
    deployment process is just so involved.
    
    ## Motivation and Context
    Cloudflare Workers do not support parts of the Node.js crypto library,
    which Auth.js requires.
    
    ## How Has This Been Tested?
    
    Go to https://dashboard.anteaterapi.com.
    
    ## Screenshots (if appropriate):
    
    ## Types of changes
    
    <!--- What types of changes does your code introduce? Put an `x` in all
    the boxes that apply: -->
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing
    functionality to change)
    
    ## Checklist:
    
    <!--- Go over all the following points, and put an `x` in all the boxes
    that apply. -->
    <!--- If you're unsure about any of these, don't hesitate to ask. We're
    here to help! -->
    
    - [ ] My code involves a change to the database schema.
    - [ ] My code requires a change to the documentation.
    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    b440f2c View commit details
    Browse the repository at this point in the history
  8. feat: add loading styling to api manager (#38)

    <!--- Provide a general summary of your changes in the Title above -->
    
    ## Description
    
    * Add disabled state to create / edit / delete buttons when in progress
    * Add placeholders while pages are loading api key data
    
    ## Related Issue
    
    <!--- This project only accepts pull requests related to open issues -->
    <!--- If suggesting a new feature or change, please discuss it in an
    issue first -->
    <!--- If fixing a bug, there should be an issue describing it with steps
    to reproduce -->
    <!--- Please link to the issue here: -->
    
    Closes #37 
    
    ## Motivation and Context
    
    <!--- Why is this change required? What problem does it solve? -->
    
    Prevents sending multiple requests while in progress
    
    ## How Has This Been Tested?
    
    <!--- Please describe in detail how you tested your changes. -->
    <!--- Include details of your testing environment, and the tests you ran
    to -->
    <!--- see how your change affects other areas of the code, etc. -->
    
    Tested locally
    
    ## Types of changes
    
    <!--- What types of changes does your code introduce? Put an `x` in all
    the boxes that apply: -->
    
    - [x] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing
    functionality to change)
    
    ## Checklist:
    
    <!--- Go over all the following points, and put an `x` in all the boxes
    that apply. -->
    <!--- If you're unsure about any of these, don't hesitate to ask. We're
    here to help! -->
    
    - [ ] My code involves a change to the database schema.
    - [ ] My code requires a change to the documentation.
    
    Co-authored-by: Eddy Chen <[email protected]>
    2 people authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    17ea2ad View commit details
    Browse the repository at this point in the history
  9. fix: websoc endpoint not returning some courses

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    3474cbc View commit details
    Browse the repository at this point in the history
  10. fix: resolve issue with rate limit override

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    18b95fe View commit details
    Browse the repository at this point in the history
  11. fix: aggregate grades returning null on not found

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    5a06686 View commit details
    Browse the repository at this point in the history
  12. fix: websoc scraper final exam date

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    d371c87 View commit details
    Browse the repository at this point in the history
  13. refactor: clean up middleware

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    75ae547 View commit details
    Browse the repository at this point in the history
  14. chore: update wrangler, autogen DO typedef

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    d7fb54d View commit details
    Browse the repository at this point in the history
  15. chore: enable cors on openapi spec

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    85f4bba View commit details
    Browse the repository at this point in the history
  16. revert: cors'd spec not working in prod

    ecxyzzy authored and Sanskar Mishra committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    7048db6 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2024

  1. Configuration menu
    Copy the full SHA
    bf4a68f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0f8b31 View commit details
    Browse the repository at this point in the history