Commit Graph

16 Commits (5bc3fbd51173dc983b15e77291fda8111c4040d6)

Author SHA1 Message Date
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 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
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224) 3 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 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
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
zeripath 931d0cf854
Enable show more files in diff for git <2.31 (#17733) 3 years ago
a1012112796 6cf97df9fd
remove duplicate define of CheckAttribute() (#14837) 4 years ago
a1012112796 f19da14c34
enhancement: add signoff option in commit form (#14516) 4 years ago
Cirno the Strongest 2c9dd71140
Standardize Co-Authored-By / Reviewed-By strings (#14097) 4 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234) 4 years ago
zeripath edfebe65b1
Finally fix diff names (#13136) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
6543 bc11caff94
[Vendor] Switch go-version lib (#12719) 4 years ago
zeripath 5cb201dc93
Fix numbr of files, total additions, and deletions (#11614) 5 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854) 5 years ago
zeripath 089ccb0c80
Handle push rejection message in Merge & Web Editor (#10373) 5 years ago
zeripath 54c2854cd2 Give the stdout on temp_repo error (#9871) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago
6543 40e99ea010 [API] Extend contents with dates (#9464) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
zeripath 74bb292fe3
Migrate temp_repo.go to use git.NewCommand (#8918) 5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
zeripath 5e759b60cc Restore functionality for early gits (#7775) 5 years ago
Lunny Xiao c03d75fbd5 Move git diff codes from models to services/gitdiff (#7889) 5 years ago
zeripath a4b7a4f2f8 Correct wrong datetime format for git (#7689) 5 years ago
Lunny Xiao edc94c7041 Monitor all git commands; move blame to git package and replace git as a variable (#6864) 5 years ago
zeripath ce8de35334 Remove local clones & make hooks run on merge/edit/upload (#6672) 6 years ago
Filip Navara 2af67f6044 Improve listing performance by using go-git (#6478) 6 years ago
Richard Mahn 2262811e40 Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 6 years ago
zeripath 296814e887 Refactor editor upload, update and delete to use git plumbing and add LFS support (#5702) 6 years ago