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: filter pins by status #848

Merged
merged 41 commits into from
Jan 26, 2022
Merged

Commits on Nov 23, 2021

  1. feat(pinning-api): add skeleton and validation for pinning apis

    * feat: add pinning endpoints
    
    * feat: add tests
    
    * feat: add validation for endpoints and refactor error messages
    
    * fix: validation bug
    
    * feat: add tests for get and delete endpoints
    
    * fix: test assertions
    
    * feat: add replace pin api endpoint
    
    * chore: rollback type changes for now
    
    Co-authored-by: Paolo <paolo@potatolondon.com>
    alexandrastoica and flea89 authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    4deeda2 View commit details
    Browse the repository at this point in the history
  2. feat(pinning-apis): work on db to support new pinning apis

    * chore: rename PinsUpsertInput to PinUpsertInput
    
    * chore: fix PinUpsertInput type
    
    * chore: use PinUpsertInput where required
    
    * chore(refactor types): refactor pinItem
    
    * chore(refactor types): Use location with other types
    
    * chore(refactor types): fix some type errors in db client
    
    * chore(refactor types): rename PinItemOutput to PinItemNormalized
    
    * chore(refactor types): Pin item should have an _id field
    
    * Rename PinItemOutput back
    
    * feat(pinning-api-db): create pinning table and update reset.sql
    
    * feat(pinning-api-db): create initial types
    
    * feat(pinning-api-db): create db client signatures
    
    * feat(pinning-api-db): updat types
    
    * feat(pinning-api-db): write first intial add pin spec
    
    * feat(pinning-api-db): first implementation of create and get pinRequest
    
    * feat(pinning-api-db): get pin data for request
    
    * feat(pinning-api-db): housekeeping
    
    * feat(pinning-api-db): get pin request tests
    
    * feat(pinning-api-db): housekeeping
    
    * feat: add types to db data types
    
    * feat(pinning-api-db): create content function
    
    * feat(pinning-api-db): remove duplicated type
    
    * feat(pinning-api-db): housekeeping
    
    * feat(pinning-api-db): update types
    
    * feat(pinning-api-db): update documentation
    flea89 authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    a3d69f4 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Add endpoint and logic to our api service (#702)

    * feat(pinning-apis): get request endpoint work
    
    * chore: remove logging
    
    * chore: improve validation get /pin/requestId
    
    * chore: better integer validation
    
    * fix: requestId conditional
    
    * fix: remove extra bracket
    
    Co-authored-by: Alexandra Stoica <alexandra.stoica@potatolondon.com>
    flea89 and Alexandra Stoica authored Nov 29, 2021
    Configuration menu
    Copy the full SHA
    915edbf View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. feat(pinning-apis): POST /pin endpoint

    * wip: create pin request
    
    * feat: add async task
    
    * chore: merge feature branch
    
    * feat: code improvements
    
    * chore: add todo
    
    * feat: add comments and some small fixes
    
    * fix: pass token id
    
    * fix: normalized cid vs source cid
    
    * fix: minor fix and tests updates
    
    * fix: update return of get user mock
    
    Co-authored-by: Paolo <paolo@potatolondon.com>
    alexandrastoica and flea89 authored Dec 1, 2021
    Configuration menu
    Copy the full SHA
    4e28252 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a039a33 View commit details
    Browse the repository at this point in the history
  3. chore: make standard happier

    flea89 committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    708676a View commit details
    Browse the repository at this point in the history
  4. fix: fix token referemce

    flea89 committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    6ce3450 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Configuration menu
    Copy the full SHA
    cff11e9 View commit details
    Browse the repository at this point in the history
  2. fix: merge conflict issue

    flea89 committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    3c5ce63 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

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

Commits on Dec 14, 2021

  1. feat : delete and replace pin requests endpoints

    * wip: delete pin request
    
    * feat: add db definitions
    
    * feat: wip replace pin endpoint
    
    * chore: update mocks
    
    * fix: do not list deleted requests
    
    * feat: add delete db tests
    
    * fix: tests
    
    * fix: improve validation
    
    * feat: tests
    
    * chore: update comments
    
    * fix: replace pin bugs and tests
    
    * fix: coerce to number using parseInt
    
    * chore: disable tests for now
    
    Co-authored-by: Paolo <paolo@potatolondon.com>
    alexandrastoica and flea89 authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    f44e02c View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. feat: GET /pins endpoint

    * feat: wip list pin requests
    
    * feat: list pinning requests
    
    * chore: renaming test descriptions
    
    * chore: filter for list pins
    
    * chore: fixing tests
    
    * chore: list pins tests
    
    * feat: db and api tests for list pins
    
    * chore: reorder list test
    
    * fix: correct count in list response
    
    * fix: avoid double query on list
    
    * feat: PR feedback
    
    * feat: add todo for future improv
    
    * fix: typos, use new URL in test, improve Date test
    
    * feat: don't skip test
    
    * fix: update tests and more fixes
    
    * fix: take back the todo
    
    Co-authored-by: Gary Homewood <gary@potatolondon.com>
    flea89 and GaryHomewood authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    d205fa8 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Configuration menu
    Copy the full SHA
    5a3c396 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Refactor Pin APIs and PR feedback (#810)

    chore: pinning apis refactoring and feedback
    
    * feat: update sql and db client logic
    
    * feat: update tests and minor fixes
    
    * feat: more updates/fixes to db package
    
    * feat: refactor pin creation flow and refactor car upload as well
    
    * feat: pinning, fix tests and add more
    
    * fix: rename table, functions and types
    
    * chore: PR feedback
    
    * fix: rename types
    
    * chore: rename requestedCid to sourceCid
    
    * fix: delete should not return a body and status should be 202
    
    * chore: add some documentation to waitOkPins
    
    * chore: delete stale mock
    flea89 authored Jan 13, 2022
    Configuration menu
    Copy the full SHA
    ae65ae3 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Configuration menu
    Copy the full SHA
    9ebdd94 View commit details
    Browse the repository at this point in the history
  2. chore: remove comment

    flea89 committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    f16ac88 View commit details
    Browse the repository at this point in the history
  3. chore: refactor createPin

    flea89 committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    56ee61e View commit details
    Browse the repository at this point in the history
  4. chore: linting

    flea89 committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    2f5365e View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2022

  1. Configuration menu
    Copy the full SHA
    51d4e1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    586b994 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Configuration menu
    Copy the full SHA
    0aace90 View commit details
    Browse the repository at this point in the history
  2. Get request id by user token (#863)

    * fix: get pin req ids by user token
    
    * fix: update tests
    
    * fix: rest api types
    
    * fix: update function params
    
    * fix: type name
    
    * feat: add test
    
    * fix: tests
    
    * fix: merge conflict
    
    * fix: merge
    
    * fix: rename authToken id
    alexandrastoica authored Jan 17, 2022
    Configuration menu
    Copy the full SHA
    9d967ea View commit details
    Browse the repository at this point in the history
  3. fix: requestedCid to sourceCid

    flea89 committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    bd558a0 View commit details
    Browse the repository at this point in the history
  4. chore: clean up fixtures

    flea89 committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    a44babd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9509330 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47463ed View commit details
    Browse the repository at this point in the history
  7. chore: use chromium for tests

    flea89 committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    1163c69 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. Configuration menu
    Copy the full SHA
    a097faf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e3b9dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aae8442 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Add metadata to API (#881)

    * feat: add metadata to psa pin req
    
    * feat: add metadata to api
    
    * feat: add metadata tests
    
    * chore: feedback
    alexandrastoica authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    db5a551 View commit details
    Browse the repository at this point in the history
  2. feat: added pinning service request issue mailto link/github button (#…

    …879)
    
    * feat: added pinning service request issue mailto link/github button
    
    * chore: new line
    LeslieOA authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    e7cc298 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Configuration menu
    Copy the full SHA
    ef2407c View commit details
    Browse the repository at this point in the history
  2. Fix test

    flea89 committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    3eea898 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbb9745 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    47e1e87 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Configuration menu
    Copy the full SHA
    4d2737b View commit details
    Browse the repository at this point in the history
  2. fix: lint error

    GaryHomewood committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    b6a9a5b View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Configuration menu
    Copy the full SHA
    615cfe4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c822b9b View commit details
    Browse the repository at this point in the history