0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 18:04:04 -05:00
forgejo/templates
Gennady Kovshenin fd2d5f06b0
Add stat to ToCommit function for speed (#21337)
Calls to ToCommit are very slow due to fetching diffs, analyzing files.
This patch lets us supply `stat` as false to speed fetching a commit
when we don't need the diff.

/v1/repo/commits has a default `stat` set as true now. Set to false to
experience fetching thousands of commits per second instead of 2-5 per
second.
2022-10-06 11:21:04 +08:00
..
admin Fix template bug of admin monitor (#21208) 2022-09-19 20:53:39 -04:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Remove extra space from title element (#21345) 2022-10-05 20:24:21 +01:00
custom
explore Add whitespace removal inside template curly brackes (#20853) 2022-08-25 17:55:52 -04:00
mail Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
org Skip dirty check for team forms (#21154) 2022-09-14 13:24:39 +02:00
package Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
repo Tag list should include draft releases with existing tags (#21263) 2022-10-03 20:05:53 +08:00
shared Do not add links to Posters or Assignees with ID < 0 (#20577) 2022-09-03 10:33:34 +01:00
status Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
swagger Add stat to ToCommit function for speed (#21337) 2022-10-06 11:21:04 +08:00
user Fix linked account translation (#21331) 2022-10-04 07:51:07 -05:00
home.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
install.tmpl Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00