- 22 Feb, 2022 1 commit
-
-
Colin Woodbury authored
-
- 19 Feb, 2022 1 commit
-
-
Kevin Morris authored
In addition, treat package search by keywords as lowercase. Closes #296, #297, #298, #301 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 08 Feb, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 07 Feb, 2022 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
...took this opportunity to use the new options.max_search_results tunable for a PP upper-bound. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 05 Feb, 2022 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 14 Jan, 2022 1 commit
-
-
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 <kevr@0cost.org>
-
- 06 Jan, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 25 Dec, 2021 1 commit
-
-
Kevin Morris authored
- Use queries more closely aligned to PHP's implementation; removes the need for separate vote/notification queries. - Default sort by popularity Closes #214 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 31 Oct, 2021 1 commit
-
-
Kevin Morris authored
This commit introduces a PackageSearch-derivative class: `RPCSearch`. This derivative modifies callback behavior of PackageSearch to suit RPC searches, including [make|check|opt]depends `by` types. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 30 Oct, 2021 1 commit
-
-
Kevin Morris authored
In this case, package search should return orphaned packages. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 17 Oct, 2021 1 commit
-
-
Kevin Morris authored
Closes: #133 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 19 Sep, 2021 1 commit
-
-
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 project 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 possible. * Some input names and values were modified to comply with FastAPI Forms: (IDs[<id>]) -> (IDs, <id>). Signed-off-by:
Kevin Morris <kevr@0cost.org>
-