Commit Graph

99 Commits (aaa109466350c531b9238a61115b2877daca57d3)

Author SHA1 Message Date
wxiaoguang 56ae853ca0
Simplify template helper functions (#24570) 2 years ago
silverwind 8dc6eabbc0
Update go tool dependencies, restructure lint targets (#24239) 2 years ago
wxiaoguang 6886706f5a
Fix broken code editor diff preview (#23307) 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
silverwind eec1c71880
Show syntax lexer name in file view/blame (#21814) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
delvh 6a0330979f
Ignore error when retrieving changed PR review files (#21487) 2 years ago
zeripath 3ccebf7f40
Stop logging CheckPath returns error: context canceled (#21064) 2 years ago
silverwind ec0a06e52c
Upgrade chroma to v2.3.0 (#21259) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
zeripath 99efa02edf
Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
wxiaoguang 3310dd1d19
Improve code diff highlight, fix incorrect rendered diff result (#19958) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
Lunny Xiao d91d4db344
Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654) 3 years ago
delvh 5ca224a789
Allow to mark files in a PR as viewed (#19007) 3 years ago
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