Commit Graph

47 Commits (6551847aa8a7b2d363e9fbfe7509b679be5c0a71)

Author SHA1 Message Date
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
sebastian-sauer 25455bc670
Show outdated comments in files changed tab (#24936) 1 year ago
silverwind 8dc6eabbc0
Update go tool dependencies, restructure lint targets (#24239) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
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