forgejo/templates
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
..
admin Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
explore Change join_on translation to joined_on and include placeholder for the date (#24550) 2023-05-06 18:10:30 +08:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Revert "Prevent a user with a different email from accepting the team invite" (#24531) 2023-05-05 15:59:12 +08:00
package Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
projects Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
repo Attach a tooltip to the action control button (#24595) 2023-05-08 23:59:59 +00:00
shared Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
status Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
swagger Filters for GetAllCommits (#24568) 2023-05-09 09:06:05 +08:00
user Add goto issue id function (#24479) 2023-05-07 23:44:16 +08:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00