forkjo/modules/templates
Adam Majer d68a613ba8
Add support for sha256 repositories ()
Currently only SHA1 repositories are supported by Gitea. This adds
support for alternate SHA256 with the additional aim of easier support
for additional hash types in the future.

Fixes: 
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: 

<img width="776" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/5448c9a7-608e-4341-a149-5dd0069c9447">

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-19 17:05:02 +01:00
..
eval
scopedtmpl Replace interface{} with any () 2023-07-04 18:36:08 +00:00
vars
base.go Replace util.SliceXxx with slices.Xxx () 2023-09-07 09:37:47 +00:00
dynamic.go
helper.go Rework markup link rendering () 2024-01-15 08:49:24 +00:00
helper_test.go
htmlrenderer.go Upgrade to golangci-lint@v1.55.0 () 2023-10-24 02:54:59 +00:00
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go
util_avatar.go Use template context function for avatar rendering () 2023-08-10 11:19:39 +08:00
util_dict.go Use Set[Type] instead of map[Type]bool/struct{}. () 2023-08-30 06:55:25 +00:00
util_json.go
util_misc.go Improve feed icons and feed merge text color () 2023-10-07 23:26:27 +00:00
util_render.go Rework markup link rendering () 2024-01-15 08:49:24 +00:00
util_render_test.go Rework markup link rendering () 2024-01-15 08:49:24 +00:00
util_slice.go
util_string.go Add support for sha256 repositories () 2024-01-19 17:05:02 +01:00
util_test.go