forgejo/routers
Giteabot c2f2fed57a
Fix pull request check list is limited (#26179) (#26245)
Backport #26179 by @CaiCandong

In the original implementation, we can only get the first 30 records of
the commit status (the default paging size), if the commit status is
more than 30, it will lead to the bug #25990. I made the following two
changes.
- On the page, use the ` db.ListOptions{ListAll: true}` parameter
instead of `db.ListOptions{}`
- The `GetLatestCommitStatus` function makes a determination as to
whether or not a pager is being used.

fixed #25990

Co-authored-by: caicandong <50507092+CaiCandong@users.noreply.github.com>
(cherry picked from commit 060026995a)
2023-08-21 07:22:15 +02:00
..
api Fix handling of plenty Nuget package versions (#26075) (#26173) 2023-07-30 07:46:18 +02:00
common [BRANDING] Use forgejo binary name 2023-07-17 00:25:56 +02:00
install [BRANDING] Rebrand default config settings for new installs (#140) 2023-07-17 00:25:55 +02:00
private [CLI] implement forgejo-cli actions register (squash) no private 2023-07-16 23:21:45 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix pull request check list is limited (#26179) (#26245) 2023-08-21 07:22:15 +02:00
init.go [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00