Commit Graph

78 Commits (4691e598280bbfcb1c8e494e2e74b6ece796c36c)

Author SHA1 Message Date
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
techknowlogick 0b15a729cf
rm .sample hooks which aren't used (#19101) 3 years ago
zeripath 4482f62a26
Prevent dangling GetAttribute calls (#18754) 3 years ago
Viktor Suprun 4d939845d2
Added auto-save whitespace behavior if it changed manually (#15566) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
Gusted c2e13fb763
Fix partial cloning a repo (#18373) 3 years ago
Lunny Xiao 35fdefc1ff
Always use git command but not os.Command (#18363) 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
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs (#17562) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 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 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 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
Richard Mahn 40c8451b7d
Properly determine CSV delimiter (#17459) 3 years ago
Richard Mahn 98f7013756
Prevent NPE in CSV diff rendering when column removed (#17018) 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
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 248b96d8a3
Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 3 years ago
zeripath 0767fe0d80
Prevent panic on diff generation (#16950) 3 years ago
6543 bb4cc876b1
Repare and Improve GetDiffRangeWithWhitespaceBehavior (#16894) 3 years ago
zeripath f5b0e2c9d2
Simplify split diff view generation and remove JS dependency (#16775) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
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) 4 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