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: upload server side pagination #1699

Closed
wants to merge 42 commits into from
Closed

Commits on May 27, 2022

  1. fix: add initial offset param for GET user/uploads to support pag…

    …ination. Add removed `after` filtering parameter to the endpoint. Document `sortBy`, `sortOrder`, `after` & `offset` in the swagger docs. Set `Size` param default to 10 from 25.
    joshJarr committed May 27, 2022
    Configuration menu
    Copy the full SHA
    aef6ca1 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

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

Commits on Jun 6, 2022

  1. fix: Add tests for pagination to ensure correct link with offset and …

    …size is returned. Add tests for date filtering (before & after) and sorting by date.
    joshJarr committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    e296d4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dfeb70 View commit details
    Browse the repository at this point in the history
  3. fix: Add test for sorting by sortOrder=Asc in the `GET user/uploads…

    …` endpoint in the API.
    joshJarr committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    8a12885 View commit details
    Browse the repository at this point in the history
  4. fix: Fix linting

    joshJarr committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    f497d20 View commit details
    Browse the repository at this point in the history
  5. fix: Adds count, size, offset, and Prev_link to header respon…

    …se for get user/uploads to allow for pagination. Renames `Link` to `Next_link` in header to be more descriptive.
    joshJarr committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    f807bec View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Configuration menu
    Copy the full SHA
    b7ed26b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc62d68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db5e0f7 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. fix: Address PR feedback on tests, use .ok over .notStrictEqual t…

    …o prevent comparing to message string. Remove .only.
    joshJarr committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    5deba87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0099fe View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Configuration menu
    Copy the full SHA
    e80a473 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:web3-storage/web3.storage into fix/…

    …get-upload-pagination
    joshJarr committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    5341db7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Configuration menu
    Copy the full SHA
    4821c0a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:web3-storage/web3.storage into fix/…

    …get-upload-pagination
    joshJarr committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    6bcb182 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Configuration menu
    Copy the full SHA
    7342533 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    543de10 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. fix: Add indexes on the upload table for name and inserted_at to …

    …optimise `sortBy` queries on the `GET user/uploads` endpoint.
    joshJarr committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    ac04c13 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:web3-storage/web3.storage into fix/…

    …get-upload-pagination
    joshJarr committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    0dd8579 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    d8ac530 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7053bd7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a4f683 View commit details
    Browse the repository at this point in the history
  4. fix: Add validation for sortOrder in the uploads API. Remove url en…

    …coding of variables for header links.
    joshJarr committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    1777110 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. feat: update api

    flea89 committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    0e42730 View commit details
    Browse the repository at this point in the history
  2. feat: some initial refactoring

    flea89 committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    e8b6ba2 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. feat: more work on table

    flea89 committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    bafd161 View commit details
    Browse the repository at this point in the history
  2. feat: refactor renderers

    flea89 committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    f46efb3 View commit details
    Browse the repository at this point in the history
  3. feat: table row selection

    flea89 committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    050b2db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8086c46 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

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

Commits on Aug 3, 2022

  1. feat: move throw api

    flea89 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    da8109e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8f37bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3a424a View commit details
    Browse the repository at this point in the history
  4. Some tidy up

    flea89 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    6c309b0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be16d83 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    be177cd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8a6f575 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Configuration menu
    Copy the full SHA
    107158f View commit details
    Browse the repository at this point in the history
  2. chore: tidy up types

    flea89 committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    7b18aed View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

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

Commits on Sep 8, 2022

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