Commit Graph

93 Commits (079ef568247f9216a6e66c7e6038e11cc2bdd5f5)

Author SHA1 Message Date
Jimmy Praet 4ce32c9e93
Detect encoding changes while parsing diff (#16330) 3 years ago
6543 3ef23d5411
Use gitea logging module for git module (#16243) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 3 years ago
Loutro 34b21625c2
Display specific message if diff is not displayed because of too long line (#15611) 4 years ago
Lunny Xiao 9d99f6ab19
Refactor renders (#15175) 4 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
zeripath a351b22dc0
Prevent NPE in CommentMustAsDiff if no hunk header (#15199) 4 years ago
KN4CK3R 0c6137617f
Add Tabular Diff for CSV files (#14661) 4 years ago
zeripath 46782d53bc
Place wrapper around comment as diff to catch panics (#15085) 4 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
vnkmpf 487f2ee41c
Whitespace in commits (#14650) 4 years ago
zeripath 236e70f135
Fix escaping issue in diff (#14153) 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
zeripath 327f18c3b2
Fix initial commit page & binary munching problem (#13249) 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
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 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
Gjergji Ramku 0c9eb468e9
Fix typos (#12542) 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
zeripath 2f6aadffa8
Git 2.28 no longer permits diff with ... on unrelated branches (#12364) 4 years ago
mrsdizzie 9542b7317d
Fix Syntax highlight for token change in added/deleted code (#12238) 4 years ago
mrsdizzie 8d081950e6
Ensure syntax highlighting is the same inside diffs (#12205) 4 years ago
mrsdizzie a6168fa25d
Make copy/paste work for source code (#12191) 4 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047) 4 years ago
zeripath 6e4480835f
Fix issue with DiffIndex on initial commit (#11677) 5 years ago
zeripath 5cb201dc93
Fix numbr of files, total additions, and deletions (#11614) 5 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
Lauris BH 3185a13ea5
Check if diff actually contains sections when rendering (#9926) 5 years ago
zeripath 60c5339042 Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
Lunny Xiao ef9a0370ca
Fix panic when diff (#9187) 5 years ago
Benno 149a9df9e8 Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
Lunny Xiao c03d75fbd5 Move git diff codes from models to services/gitdiff (#7889) 5 years ago