Commit Graph

51 Commits (074759286580bd40837a9370314f6345770b8582)

Author SHA1 Message Date
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
mrsdizzie ea1ed802a3
Fix emoji detection in certain cases (#12320) 4 years ago
silverwind 2447ffc74a
Disable all typographic replacements in markdown renderer (#11871) 5 years ago
mrsdizzie 4c1ff57f1a
Update emoji regex (#11584) 5 years ago
mrsdizzie 4563eb873d
Support unicode emojis and remove emojify.js (#11032) 5 years ago
techknowlogick d00ebf445b
upgrade to most recent bluemonday (#11007) 5 years ago
zeripath 154b137b6d
Relax sanitization as per https://github.com/jch/html-pipeline (#10527) 5 years ago
John Olheiser 7d7ab1eeae Issue/PR Context Popups (#9822) 5 years ago
zeripath 27757714d0 Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
Lauris BH 086a46994a Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go-org (#8560) 5 years ago
guillep2k cea8ea5ae6 Support inline rendering of CUSTOM_URL_SCHEMES (#8496) 5 years ago
Gary Kim 7eed11e5e9 Check commit message hashes before making links (#7713) 5 years ago
Christian Muehlhaeuser 54d96c79b5 Removed unnecessary conversions (#7557) 5 years ago
mrsdizzie 0064535ad2 Fix domain name pattern in email regex (#6739) 6 years ago
mrsdizzie 1bce1894f5 Use ctx.metas for SHA hash links (#6645) 6 years ago
silverwind 8e949db3b5 Render SHA1 links as code blocks (#6546) 6 years ago
mrsdizzie 6293736d02 Use stricter boundaries for auto-link detection (#6522) 6 years ago
mrsdizzie c8650aef0a Change order that PostProcess Processors are run (#6445) 6 years ago
mrsdizzie f2de5dc8c8 Replace linkRegex with xurls library (#6261) 6 years ago
mrsdizzie 020075e12f Remove visitLinksForShortLinks features (#6257) 6 years ago
mrsdizzie 4a2e92bcd1 Modify linkRegex to require http|https (#6171) 6 years ago
Antoine GIRARD 23ba5c870f markup: escape short wiki link (#4091) 7 years ago
Chaz Reid 69ea5e4385 Fix wiki inter-links with cases and add tests for this case (#3560) 7 years ago
Morgan Bazalgette 535445c32e Rework special link parsing in the post-processing of markup (#3354) 7 years ago
Ethan Koenig 7b104f0cd0 Populate URL field of API commits (#3546) 7 years ago
Christian Köberl e9e2a9cdcc Allow square brackets in external issue patterns (#3408) 7 years ago
Lauris BH a0c397df08
Recognize more characters in crossreferenced repo name (#3413) 7 years ago
Ethan Koenig 5481be0ac5 Fix issue link rendering in commit messages (#2897) 7 years ago
Lunny Xiao 0d80af649a Add init support of orgmode document type on file view and readme (#2525) 7 years ago