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.
gitea/modules/markup
Adam Majer d68a613ba8
Add support for sha256 repositories (#23894)
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: #13794
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: #28138

<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>
1 year ago
..
asciicast Support asciicast files as new markup (#22448) 2 years ago
common Make `user-content-* ` consistent with github (#26388) 2 years ago
console Add context when rendering labels or emojis (#23281) 2 years ago
csv Add context when rendering labels or emojis (#23281) 2 years ago
external Rework markup link rendering (#26745) 1 year ago
markdown Rework markup link rendering (#26745) 1 year ago
mdstripper Implement FSFE REUSE for golang files (#21840) 2 years ago
orgmode Rework markup link rendering (#26745) 1 year ago
camo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
camo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
html.go Add support for sha256 repositories (#23894) 1 year ago
html_internal_test.go Add support for sha256 repositories (#23894) 1 year ago
html_test.go Rework markup link rendering (#26745) 1 year ago
renderer.go Rework markup link rendering (#26745) 1 year ago
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` (#22877) 2 years ago
sanitizer.go Use restricted sanitizer for repository description (#28141) 1 year ago
sanitizer_test.go Use restricted sanitizer for repository description (#28141) 1 year ago