1. 22 Feb, 2022 1 commit
  2. 19 Feb, 2022 1 commit
  3. 08 Feb, 2022 1 commit
  4. 07 Feb, 2022 2 commits
  5. 05 Feb, 2022 2 commits
  6. 14 Jan, 2022 1 commit
    • Kevin Morris's avatar
      fix(rpc): improve type=search performance · b4495a49
      Kevin Morris authored
      This patch brings in the use of .with_entities on our
      RPC search query. This primarily fixes performance issues
      we were seeing with large queries.
      That being said, we do see a bit of a slowdown on
      large record count rpc queries, but it's quite negligible
      at this point.
      We still do aim to perform better than the older PHP
      implementation, so this is not a finishing patch by
      any means.
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
  7. 06 Jan, 2022 1 commit
  8. 25 Dec, 2021 1 commit
  9. 31 Oct, 2021 1 commit
  10. 30 Oct, 2021 1 commit
  11. 17 Oct, 2021 1 commit
  12. 19 Sep, 2021 1 commit
    • Kevin Morris's avatar
      feat(FastAPI): add /packages (get) search · 5cf70620
      Kevin Morris authored
      In terms of performance, most queries on this page win over
      PHP in query times, with the exception of sorting by Voted or
      Notify (archlinux/aurweb#102
      Otherwise, there are a few modifications: described below.
      * Pagination
          * The `paginate` Python module has been used in the FastAPI
            here to implement paging on the packages search page. This
            changes how pagination is displayed, however it serves the
            same purpose. We'll take advantage of this module in other
            places as well.
      * Form action
          * The form action for actions now use `POST /packages` to
            perform. This is currently implemented and will be
            addressed in a follow-up commit.
      * Input names and values
          * Input names and values have been modified to satisfy the
            snake_case naming convention we'd like to use as much as
          * Some input names and values were modified to comply with
            FastAPI Forms: (IDs[<id>]) -> (IDs, <id>).
      Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>