forgejo-federation/templates
Gusted 692707f145
Add latest commit's SHA to content response (#20398)
* Add latest commit's SHA to content response

- When requesting the contents of a filepath, add the latest commit's
SHA to the requested file.
- Resolves #12840

* Add swagger

* Fix NPE

* Fix tests

* Hook into LastCommitCache

* Move AddLastCommitCache to a common nogogit and gogit file

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Prevent NPE

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-07-30 16:09:04 +08:00
..
admin Add option to purge users (#18064) 2022-07-14 08:22:09 +01:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Add labels to two buttons that were missing them (#20419) 2022-07-26 17:43:13 +02:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add tooltip to repo icons in explore page (#20241) 2022-07-07 22:17:41 +02:00
mail Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
org Fix org members bug (#20489) 2022-07-26 11:13:24 -05:00
package Show hint to link package to repo when viewing empty repo package list (#20504) 2022-07-27 19:58:21 +08:00
repo Add a checkbox to select all issues/PRs (#20177) 2022-07-28 18:25:18 +08:00
shared Display project in issue list (#20434) 2022-07-26 15:42:23 +02:00
status Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
swagger Add latest commit's SHA to content response (#20398) 2022-07-30 16:09:04 +08:00
user Fix i18n for email notifications (#20518) 2022-07-28 17:28:46 +02:00
home.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
install.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00