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

Create incidents endpoint and tests #355

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Commits on Mar 10, 2024

  1. added create_incident tests

    hrauniya committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7147de0 View commit details
    Browse the repository at this point in the history
  2. fix format

    hrauniya committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d037299 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. PR review changes

    hrauniya committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    7436e12 View commit details
    Browse the repository at this point in the history
  2. Style fix

    hrauniya committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    2dc32a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. removing redundant code

    hrauniya committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    1c6d646 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    df48772 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bc368c View commit details
    Browse the repository at this point in the history
  3. Frontend: React Query Installation for API Integration (codeforboston…

    …#349)
    
    * Install necessary dependencies for API integration:
    
    @tanstack/react-query
    @tanstack/react-query-devtools
    react-hot-toast (for displaying results of API calls)
    
    * Add React Query/react-hot-toast setup in app providers
    
    * Update test snapshots & jest config
    
    Add dependencies to `esmNodeModules` for Jest to transform
    Update snapshots to include react-hot-toast toast wrapper div
    
    * Update @TanStack dependencies (to 4.36.1)
    joshua-rdrgz authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    5e677a5 View commit details
    Browse the repository at this point in the history
  4. update python and dependencies

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    001eec3 View commit details
    Browse the repository at this point in the history
  5. additional fixes

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a242d4b View commit details
    Browse the repository at this point in the history
  6. handle psycopg.errors.DuplicateDatabase

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    69df8a8 View commit details
    Browse the repository at this point in the history
  7. fix tests

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    18656ae View commit details
    Browse the repository at this point in the history
  8. update pandas and postgresql

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    b36d558 View commit details
    Browse the repository at this point in the history
  9. update alembic

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    7515e9f View commit details
    Browse the repository at this point in the history
  10. update psycopg2 for windows deps

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    9d607f8 View commit details
    Browse the repository at this point in the history
  11. add psycopg 3 dependency

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    951a6f1 View commit details
    Browse the repository at this point in the history
  12. fix python image names in docker compose

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    8e0f7cd View commit details
    Browse the repository at this point in the history
  13. rebase & minor updates

    zganger authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    f111cc0 View commit details
    Browse the repository at this point in the history
  14. Officer Table Overhaul (codeforboston#358)

    * Officer Table Overhaul (In Progress)
    - Adding tests for Officer API endpoints
    - Creating association objects for:
        - Accusation (Officer/Perpetrator)
        - Employment (Officer/Agency)
    
    * Officer Model Updates
    
    * Add additional officer endpoints and tests
    - Get officer by id
    - Get all officers
    - Create officer
    
    * Style Corrections
    
    * Officer search error fix
    DMalone87 authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    98138fb View commit details
    Browse the repository at this point in the history
  15. Fix SA Warning (codeforboston#359)

    * Fixes a warning about
    `Attorney.legal_case_plaintiff` and
    `Attorney.legal_case_defendant` being created improperly.
    
    * Convert relationships to strings in the
    legal_case model.
    
    * Set User email column to `cache_ok` = true
    
    * This time, with feeling...
    DMalone87 authored and hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    dfc8f9d View commit details
    Browse the repository at this point in the history
  16. adding update incident tests

    hrauniya committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    982e21d View commit details
    Browse the repository at this point in the history