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.
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.
1 year ago
..
actions Rewrite queue (#24505) 1 year ago
agit add user rename endpoint to admin api (#22789) 1 year ago
asymkey Add context cache as a request level cache (#22294) 1 year ago
attachment Preserve file size when creating attachments (#23406) 1 year ago
auth Update LDAP filters to include both username and email address (#24547) 1 year ago
automerge Rewrite queue (#24505) 1 year ago
context Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 1 year ago
convert Filters for GetAllCommits (#24568) 1 year ago
cron Add Cargo package registry (#21888) 1 year ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Add RPM registry (#23380) 1 year ago
gitdiff Simplify template helper functions (#24570) 1 year ago
issue Improve Gitea's web context, decouple "issue template" code into service package (#24590) 1 year ago
lfs Fix auth check bug (#24382) 1 year ago
mailer Rewrite queue (#24505) 1 year ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Rewrite queue (#24505) 1 year ago
mirror Rewrite queue (#24505) 1 year ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Add RPM registry (#23380) 1 year ago
pull Rewrite queue (#24505) 1 year ago
release Delete deleted release attachments immediately from storage (#23913) 1 year ago
repository Rewrite queue (#24505) 1 year ago
task Rewrite queue (#24505) 1 year ago
user add user rename endpoint to admin api (#22789) 1 year ago
webhook Rewrite queue (#24505) 1 year ago
wiki Improve wiki user title test (#24559) 1 year ago