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/convert
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
..
activity.go Add activity feeds API (#23494) 1 year ago
attachment.go Move `convert` package to services (#22264) 2 years ago
convert.go add admin API email endpoints (#22792) 1 year ago
git_commit.go Filters for GetAllCommits (#24568) 1 year ago
git_commit_test.go Move `convert` package to services (#22264) 2 years ago
issue.go Add API to manage issue dependencies (#17935) 1 year ago
issue_comment.go Add context cache as a request level cache (#22294) 1 year ago
issue_test.go Move `convert` package to services (#22264) 2 years ago
main_test.go Move `convert` package to services (#22264) 2 years ago
mirror.go Fix SyncOnCommit always return false in API of push_mirrors (#23088) 1 year ago
notification.go Move `convert` package to services (#22264) 2 years ago
package.go Add context cache as a request level cache (#22294) 1 year ago
pull.go Add context cache as a request level cache (#22294) 1 year ago
pull_review.go Add context cache as a request level cache (#22294) 1 year ago
pull_test.go Move `convert` package to services (#22264) 2 years ago
release.go Add context cache as a request level cache (#22294) 1 year ago
repository.go Display when a repo was archived (#22664) 1 year ago
status.go Add context cache as a request level cache (#22294) 1 year ago
user.go Add context cache as a request level cache (#22294) 1 year ago
user_test.go Add context cache as a request level cache (#22294) 1 year ago
utils.go Move `convert` package to services (#22264) 2 years ago
utils_test.go Rewrite queue (#24505) 1 year ago
wiki.go Make wiki title supports dashes and improve wiki name related features (#24143) 1 year ago