Commit Graph

41 Commits (6f48a36227b7427afd2020aa416afe49d4c81015)

Author SHA1 Message Date
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
wxiaoguang 3310dd1d19
Improve code diff highlight, fix incorrect rendered diff result (#19958) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Jelle Hulter bbd30787d3
Updated Chroma to v0.10.0 (#18270) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 8511eec4d4
Allow Loading of Diffs that are too large (#17739) 3 years ago
zeripath 931d0cf854
Enable show more files in diff for git <2.31 (#17733) 3 years ago
zeripath 3c4724d70e
Add .gitattribute assisted language detection to blame, diff and render (#17590) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Gusted 30515f2df3
Make ParsePatch more robust (#17573) 3 years ago
zeripath a889d0cc8c
Add buttons to allow loading of incomplete diffs (#16829) 3 years ago
zeripath 920608e592
Support direct comparison (git diff a..b) as well merge comparison (a...b) (#16635) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
6543 bb4cc876b1
Repare and Improve GetDiffRangeWithWhitespaceBehavior (#16894) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
6543 3ef23d5411
Use gitea logging module for git module (#16243) 3 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
zeripath 3d8b5ad5f3
Fix a couple of CommentAsPatch issues. (#14804) 4 years ago
zeripath beb2058186
Fix broken spans in diffs (#14678) 4 years ago
zeripath 45ca2e4605
Handle incomplete diff files properly (#13662) 4 years ago
mrsdizzie d7e0983780
Alternative fix for HTML diff entity split (#13425) 4 years ago
zeripath 6b7c199f5f
When creating line diffs do not split within an html entity (#13357) 4 years ago
mrsdizzie f6ee7ce9b6
Add better error checking for inline html diff code (#13239) 4 years ago
mrsdizzie 9fe4b7b692
Fix error in diff html rendering (#13191) 4 years ago
zeripath 6bab678bed
Fix diff skipping lines (#13154) 4 years ago
zeripath edfebe65b1
Finally fix diff names (#13136) 4 years ago
zeripath 96969ddec8
Fix yet another bug with diff file names (#12771) 4 years ago
zeripath 7a8a05cc44
Fix diff path unquoting (#12554) 4 years ago
mrsdizzie 73b155d5f2
Add more tests for diff highlighting (#12467) 4 years ago
mrsdizzie 0171dda728
Improved diff syntax highlighting fix (#12455) 4 years ago
mrsdizzie 9542b7317d
Fix Syntax highlight for token change in added/deleted code (#12238) 4 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047) 4 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 5 years ago
Lunny Xiao f6067a8465 Migrate reviews when migrating repository from github (#9463) 5 years ago
Lunny Xiao ef9a0370ca
Fix panic when diff (#9187) 5 years ago
Lunny Xiao c03d75fbd5 Move git diff codes from models to services/gitdiff (#7889) 5 years ago
zeripath 5908bb1030
Make diff line-marker non-selectable (#7279) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
mrsdizzie 7780ea8890 Fix ParsePatch function to work with quoted diff --git strings (#6323) 6 years ago
Lauris BH 6e64f9db8e Pull request review/approval and comment on code (#3748) 6 years ago
Lunny Xiao 45d1fc03cb
fix go vet error (#3740) 7 years ago
Ethan Koenig b38b61bbc1 Fix import order (#1951) 8 years ago
Bo-Yi Wu 6510e57758 fix gofmt error 8 years ago
Sandro Santilli f6a11e0de1 More MixedCase consts 8 years ago
Unknwon 8bf57be9ba Fix git diff tests 8 years ago