You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models
Lunny Xiao 3f26fe2fa2
Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990)
This PR uses `db.ListOptions` instead of `Paginor` to make the code
simpler.
And it also fixed the performance problem when viewing /pulls or
/issues. Before the counting in fact will also do the search.

---------

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: silverwind <me@silverwind.io>
11 months ago
..
actions Cancel previous runs of the same PR automatically (#29961) 11 months ago
activities Performance improvements for pull request list page (#29900) 11 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 1 year ago
asymkey Fix some pending problems (#29985) 11 months ago
auth remove util.OptionalBool and related functions (#29513) 12 months ago
avatars Replace 10 more gt- classes with tw- (#29945) 11 months ago
db Partially enable MSSQL case-sensitive collation support (#29238) 12 months ago
dbfs make writing main test easier (#27270) 1 year ago
fixtures Fix template error when comment review doesn't exist (#29888) 11 months ago
git Sync branches to DB immediately when handle git hook calling (#29493) 12 months ago
issues Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 11 months ago
migrations Do some performance optimize for issues list and view issue/pull (#29515) 12 months ago
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 11 months ago
packages Fix incorrect relative/absolute URL usages (#29531) 12 months ago
perm Add user blocking (#29028) 12 months ago
project Partially enable MSSQL case-sensitive collation support (#29238) 12 months ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Do some performance optimize for issues list and view issue/pull (#29515) 12 months ago
secret Make runs-on support variable expression (#29468) 12 months ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 1 year ago
unittest Workaround to clean up old reviews on creating a new one (#28554) 1 year ago
user Fix user id column case (#29863) 11 months ago
webhook Store webhook event in database (#29145) 12 months ago
error.go Add merge style `fast-forward-only` (#28954) 1 year ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
org.go Add user blocking (#29028) 12 months ago
org_team.go Add user blocking (#29028) 12 months ago
org_team_test.go Add user blocking (#29028) 12 months ago
org_test.go Add user blocking (#29028) 12 months ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go Add user blocking (#29028) 12 months ago