Commit Graph

79 Commits (main)

Author SHA1 Message Date
wxiaoguang 5eebe1dc5f
Fix and refactor markdown rendering (#32522) 6 days ago
wxiaoguang 3f9c3e7bc3
Refactor render system (#32492) 1 week ago
wxiaoguang 145e266987
Support quote selected comments to reply (#32431) 2 weeks ago
Zettat123 2010fbe060
Fix raw wiki links (#31825) 3 months ago
Sergey Sharybin 49b8716c40
Support relative paths to videos from Wiki pages (#31061) 5 months ago
wxiaoguang 21783a5752
Fix rendered wiki page link (#31398) 5 months ago
wxiaoguang 5a7376c060
Refactor markup code (#31399) 5 months ago
wxiaoguang 9000811118
Make pasted "img" tag has the same behavior as markdown image (#31235) 6 months ago
wxiaoguang a4275951ba
Split sanitizer functions and fine-tune some tests (#31192) 6 months ago
Lunny Xiao 015efcd8bf
Use repo as of renderctx's member rather than a repoPath on metas (#29222) 6 months ago
wxiaoguang c7bb3aa034
Fix markdown URL parsing for commit ID (#30812) 7 months ago
Rafael c1f76aea45
Use raw Wiki links for non-renderable Wiki files (#30273) 8 months ago
KN4CK3R 85c59d6c21
Use relative links for commits, mentions, and issues in markdown (#29427) 8 months ago
wxiaoguang e71eb8930a
Refactor some Str2html code (#29397) 9 months ago
wxiaoguang 6130522aa8
Refactor markup rendering to accept general "protocol:" prefix (#29276) 9 months ago
KN4CK3R 637451a45e
Rework markup link rendering (#26745) 10 months ago
Brecht Van Lommel 12c0487e01
Make cross-reference issue links work in markdown documents again (#28682) 11 months ago
Yarden Shoham 1c0566f66d
Render email addresses as such if followed by punctuation (#27987) 1 year ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
Earl Warren 87f70979cf
Do not highlight `#number` in documents (#26365) 1 year ago
wxiaoguang 2cdf260f42
Refactor path & config system (#25330) 1 year ago
Lunny Xiao 377a0a20f0
Merge setting.InitXXX into one function with options (#24389) 2 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 2 years ago
Jonathan Tran 4de80392bc
Add context when rendering labels or emojis (#23281) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath 93df41f506
Fix slight bug in katex (#21171) 2 years ago
Kyle D c8ded77680
Kd/ci playwright go test (#20123) 2 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
Lunny Xiao b01dce2a6e
Allow render HTML with css/js external links (#19017) 2 years ago
Alexander Neumann fd273b05b9
Correctly link URLs to users/repos with dashes, dots or underscores (#18890) 3 years ago
Gusted 72256c16a8
Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
wxiaoguang 6d4172987e
Fix markdown URL parsing (#17924) 3 years ago
zeripath 5fbccad906
Fix NPE in fuzzer (#16680) 3 years ago
6543 91162bbaea
Update bluemonday to v1.0.15 (#16379) 3 years ago
zeripath 32fd11395b
Fix relative links in postprocessed images (#16334) 3 years ago
6543 65548359cc
Add custom emoji support (#16004) 3 years ago
KN4CK3R c9c7afda1a
Add sanitizer rules per renderer (#16110) 3 years ago
zeripath 0db1048c3a
Run processors on whole of text (#16155) 3 years ago
KN4CK3R 21cde5c439
Fix data URI scramble (#16098) 4 years ago
silverwind d4f28fd4ad
Fix URL of gitea emoji (#15770) 4 years ago
Lunny Xiao 9d99f6ab19
Refactor renders (#15175) 4 years ago
zeripath b9ed3cbc26
Upgrade to bluemonday 1.0.7 (#15379) 4 years ago
zeripath 172229966c
Prevent panic on fuzzer provided string (#14405) 4 years ago
Nuno Silva 44ff1d6a1e
Render links for commit hashes followed by comma (#14224) 4 years ago
Lunny Xiao 11555d850b
Fix bug of link query order on markdown render (#14156) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
silverwind ee047312a1
Fix emoji replacements, make emoji images consistent (#12567) 4 years ago