forgejo/modules/markup
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930)
* clean git support for ver < 2.0

* fine tune tests for markup (which requires git module)

* remove unnecessary comments

* try to fix tests

* try test again

* use const for GitVersionRequired instead of var

* try to fix integration test

* Refactor CheckAttributeReader to make a *git.Repository version

* update document for commit signing with Gitea's internal gitconfig

* update document for commit signing with Gitea's internal gitconfig

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-06-16 23:47:44 +08:00
..
common Update Goldmark to Goldmark 1.4.4 (#18420) 2022-01-29 21:17:21 +08:00
console Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
csv Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
external Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
markdown Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
mdstripper format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
orgmode Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
camo.go Provide configuration to allow camo-media proxying (#12802) 2022-03-29 10:27:37 +02:00
camo_test.go Provide configuration to allow camo-media proxying (#12802) 2022-03-29 10:27:37 +02:00
html.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
html_internal_test.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
html_test.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
renderer.go Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
renderer_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
sanitizer.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
sanitizer_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00