forgejo/modules
Lunny Xiao 9ca245ad96
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>
(cherry picked from commit 3f26fe2fa2c7141c9e622297e50a70f3e0003e4d)
2024-03-30 07:17:29 +01:00
..
actions Merge pull request '[ACTIONS] port scheduled actions from Gitea' (#2826) from earl-warren/forgejo:wip-gitea-schedule into forgejo 2024-03-27 06:23:56 +00:00
activitypub
analyze
assetfs
auth
avatar
base Refactor StringsToInt64s (#29967) 2024-03-26 19:04:26 +01:00
cache
charset
container
csv
emoji
eventsource
generate
git [BUG] Use correct format 2024-03-28 22:27:53 +01:00
gitgraph
gitrepo Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-11 23:36:59 +07:00
graceful Remove unused error in graceful manager (#29871) 2024-03-26 19:04:25 +01:00
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer Use db.ListOptions directly instead of Paginator interface to make it easier to use and fix performance of /pulls and /issues (#29990) 2024-03-30 07:17:29 +01:00
issue/template Extend issue template yaml engine (#29274) 2024-03-06 12:10:47 +08:00
json
label
lfs
log
markup Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
mcaptcha
metrics
migration
nosql
optional migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue workergroup: gracefully exit on close(popItemErr) 2024-03-24 07:12:31 +01:00
recaptcha
references Fix issue link does not support quotes (#29484) (#29487) 2024-03-06 12:10:45 +08:00
regexplru
repository Move generate from module to service (#29465) 2024-03-06 12:10:44 +08:00
secret
session
setting [REFACTOR] simplify checkHookType 2024-03-27 22:26:55 +01:00
sitemap
ssh
storage Add minio bucket lookup type option 2024-03-06 09:38:02 +00:00
structs [REFACTOR] webhook.Handler interface 2024-03-24 10:35:06 +01:00
svg
sync
system
templates Improve QueryEscape helper function (#29768) 2024-03-20 08:46:29 +01:00
test
testlogger [I18N] Add missing translation for more_items 2024-03-26 22:39:46 +05:00
timeutil Remove the time-since class (#29826) 2024-03-20 08:46:30 +01:00
translation log.Error on missing translation 2024-03-24 07:11:18 +01:00
turnstile
typesniffer
updatechecker
uri
user
util Revert "cherry pick only IfZero from (#29755)" 2024-03-28 11:46:41 +00:00
validation
web [REFACTOR] webhook matrix endpoints 2024-03-27 15:38:38 +01:00
webhook Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00