Commit Graph

47 Commits (5aceedc7fda39546a1e9fda423eb51a8286f86a7)

Author SHA1 Message Date
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 3 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
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
zeripath 3dcb3e9073
Second attempt at preventing zombies (#16326) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 4 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 4 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
zeripath 2d75d6f664
Move update-server-info to hooks (#12826) 4 years ago
zeripath d257485bc0
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 4 years ago
John Olheiser 43a397ce9a
Initial support for push options (#12169) 4 years ago
zeripath 8730b091e3
Add debug option to hooks (#11624) 5 years ago
zeripath c58bc4bf80
Prevent timer leaks in Workerpool and others (#11333) 5 years ago
zeripath 65baacf227
Make hook status printing configurable with delay (#9641) 5 years ago
zeripath 4acca9d2e8
Properly enforce gitea environment for pushes (#9501) 5 years ago
zeripath 154424623a
Remove unnecessary loading of settings in update hook (#9496) 5 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602) 5 years ago
zeripath 3e166bd055 Add debug option to serv to help debug problems (#9492) 5 years ago
zeripath dd1beee2ef
Enforce Gitea environment for pushes (#8982) 5 years ago
zeripath 0bfe5eb10b
Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
zeripath def84840db Attempt to fix hook problem (#7854) 5 years ago
zeripath 3563650bdb #6946 Run hooks on merge/edit and cope with protected branches (#6961) 6 years ago
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993) 6 years ago
James E. Blair 488d34691a Ignore non-standard refs in git push (#6758) 6 years ago
zeripath 8d0d7bc28d Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
mrsdizzie ca46385637 Clean up various use of escape/unescape functions for URL generation (#6334) 6 years ago
Lunny Xiao 7fd34c0517
fix lfs version check warning log when using ssh protocol (#5501) 6 years ago
Lunny Xiao af6bce3ad5 fix detect force push failure on deletion of protected branches (#5522) 6 years ago
Lunny Xiao 0ba57949e4 remove unused db init on commands serv, update, hooks (#5225) 6 years ago
Lunny Xiao a2ee2a3c67 fix showing pull request link when delete a branch (#5166) 6 years ago
Julien Tant dea3d849e1 Give user a link to create PR after push (#4716) 6 years ago
Morgan Bazalgette 2b52f77e1b General refactor of the cmd package (#3328) 7 years ago
Lunny Xiao 9ddbbd9d5a improve force push detect when push (#2798) 7 years ago
Lunny Xiao 1739e84ac0 improve protected branch to add whitelist support (#2451) 7 years ago
Lunny Xiao 1773e88643 Drop db operations from hook commands (#1514) 8 years ago
Lunny Xiao cfdc62e7fa Comment force push detect to fix bug #1073 (#1077) 8 years ago
Lunny Xiao 9084bdd863 fix push (#1076) 8 years ago
Lunny Xiao cd1821a7e2 Move push update to post-receive and protected branch check to pre-receive (#1030) 8 years ago
Lunny Xiao 0e6b9ea786 Take back control of hooks (#1006) 8 years ago