-
Notifications
You must be signed in to change notification settings - Fork 119
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
Pinning APIs #726
Pinning APIs #726
Commits on Nov 23, 2021
-
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>
Configuration menu - View commit details
-
Copy full SHA for 4deeda2 - Browse repository at this point
Copy the full SHA 4deeda2View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a3d69f4 - Browse repository at this point
Copy the full SHA a3d69f4View commit details
Commits on Nov 29, 2021
-
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>
Configuration menu - View commit details
-
Copy full SHA for 915edbf - Browse repository at this point
Copy the full SHA 915edbfView commit details
Commits on Dec 1, 2021
-
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>
Configuration menu - View commit details
-
Copy full SHA for 4e28252 - Browse repository at this point
Copy the full SHA 4e28252View commit details -
Configuration menu - View commit details
-
Copy full SHA for a039a33 - Browse repository at this point
Copy the full SHA a039a33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 708676a - Browse repository at this point
Copy the full SHA 708676aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ce3450 - Browse repository at this point
Copy the full SHA 6ce3450View commit details
Commits on Dec 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cff11e9 - Browse repository at this point
Copy the full SHA cff11e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c5ce63 - Browse repository at this point
Copy the full SHA 3c5ce63View commit details
Commits on Dec 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dba8c41 - Browse repository at this point
Copy the full SHA dba8c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for b463a62 - Browse repository at this point
Copy the full SHA b463a62View commit details
Commits on Dec 14, 2021
-
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>
Configuration menu - View commit details
-
Copy full SHA for f44e02c - Browse repository at this point
Copy the full SHA f44e02cView commit details
Commits on Dec 16, 2021
-
* 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>
Configuration menu - View commit details
-
Copy full SHA for d205fa8 - Browse repository at this point
Copy the full SHA d205fa8View commit details
Commits on Jan 13, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for ae65ae3 - Browse repository at this point
Copy the full SHA ae65ae3View commit details
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9ebdd94 - Browse repository at this point
Copy the full SHA 9ebdd94View commit details -
Configuration menu - View commit details
-
Copy full SHA for f16ac88 - Browse repository at this point
Copy the full SHA f16ac88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ee61e - Browse repository at this point
Copy the full SHA 56ee61eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f5365e - Browse repository at this point
Copy the full SHA 2f5365eView commit details
Commits on Jan 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0aace90 - Browse repository at this point
Copy the full SHA 0aace90View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9d967ea - Browse repository at this point
Copy the full SHA 9d967eaView commit details
Commits on Jan 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a097faf - Browse repository at this point
Copy the full SHA a097fafView commit details
Commits on Jan 20, 2022
-
* feat: add metadata to psa pin req * feat: add metadata to api * feat: add metadata tests * chore: feedback
Configuration menu - View commit details
-
Copy full SHA for db5a551 - Browse repository at this point
Copy the full SHA db5a551View commit details -
feat: added pinning service request issue mailto link/github button (#…
…879) * feat: added pinning service request issue mailto link/github button * chore: new line
Configuration menu - View commit details
-
Copy full SHA for e7cc298 - Browse repository at this point
Copy the full SHA e7cc298View commit details
Commits on Jan 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ef2407c - Browse repository at this point
Copy the full SHA ef2407cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eea898 - Browse repository at this point
Copy the full SHA 3eea898View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbb9745 - Browse repository at this point
Copy the full SHA fbb9745View commit details
Commits on Jan 24, 2022
-
fix: use uuid for psaPinRequests ids
* feat: set search_path to public for uuid function, use uuid as pk on pin_request * feat: reinstated pin_request and updated psa_pin_request * bug: resolve merge conflicts * chore: typos and linting * bug: pinrequestid type string * fix: types * fix: update code to use strings for psa request ids Co-authored-by: Paolo <paolo@potatolondon.com>
Configuration menu - View commit details
-
Copy full SHA for 420a6e1 - Browse repository at this point
Copy the full SHA 420a6e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e224ef1 - Browse repository at this point
Copy the full SHA e224ef1View commit details