Commit Graph

25 Commits (bb393596689ee7c33ecb041806ae2c9e8dc5dfab)

Author SHA1 Message Date
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
Andrey Nering 2772791fda Improve diff highlight (#3390) 8 years ago
Andrey Nering 137a49e834 go fmt models/git_diff_test.go 9 years ago
Andrey Nering 9620f48ed0 Fix test case after 86bce4a2ae. 9 years ago
Andrey Nering 697b0e2aba Fix: now highlights in diff view are getting the correct lines. 9 years ago
Andrey Nering 73474c043b Highlighting differences of lines in the diff view. 9 years ago