forgejo/services
Matthew Walowski 1dd83dbb91
Filters for GetAllCommits (#24568)
The `GetAllCommits` endpoint can be pretty slow, especially in repos
with a lot of commits. The issue is that it spends a lot of time
calculating information that may not be useful/needed by the user.

The `stat` param was previously added in #21337 to address this, by
allowing the user to disable the calculating stats for each commit. But
this has two issues:
1. The name `stat` is rather misleading, because disabling `stat`
disables the Stat **and** Files. This should be separated out into two
different params, because getting a list of affected files is much less
expensive than calculating the stats
2. There's still other costly information provided that the user may not
need, such as `Verification`

This PR, adds two parameters to the endpoint, `files` and `verification`
to allow the user to explicitly disable this information when listing
commits. The default behavior is true.
2023-05-09 09:06:05 +08:00
..
actions Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
agit add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
asymkey Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
attachment Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
auth Update LDAP filters to include both username and email address (#24547) 2023-05-05 14:18:53 -04:00
automerge Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
context Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
convert Filters for GetAllCommits (#24568) 2023-05-09 09:06:05 +08:00
cron Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
externalaccount
forms Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
gitdiff Simplify template helper functions (#24570) 2023-05-07 09:49:46 +00:00
issue Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2023-05-09 01:30:14 +02:00
lfs Fix auth check bug (#24382) 2023-04-27 22:43:27 +02:00
mailer Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
markup
migrations Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
mirror Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
org
packages Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
pull Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
release Delete deleted release attachments immediately from storage (#23913) 2023-04-06 18:01:36 -04:00
repository Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
task Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
user add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
webhook Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
wiki Improve wiki user title test (#24559) 2023-05-06 11:24:18 +00:00