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/routers/api/v1
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.
2 years ago
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2 years ago
admin Improve template system and panic recovery (#24461) 2 years ago
misc Improve template system and panic recovery (#24461) 2 years ago
notify Move `convert` package to services (#22264) 2 years ago
org Fix admin team access mode value in team_unit table (#24012) 2 years ago
packages Add RPM registry (#23380) 2 years ago
repo Filters for GetAllCommits (#24568) 2 years ago
settings Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger Add API for gitignore templates (#22783) 2 years ago
user Add activity feeds API (#23494) 2 years ago
utils Add user webhooks (#21563) 2 years ago
api.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago