Commit Graph

66 Commits (58c634b8549fb279aec72cecd6a48511803db067)

Author SHA1 Message Date
wxiaoguang afa8dd45af
Make git push options accept short name (#32245) 1 month ago
techknowlogick d9a7748cdc
bump to go 1.23 (#31855) 2 months ago
Lunny Xiao ac34449747
Prevent update pull refs manually and will not affect other refs update (#31931) 3 months ago
Lunny Xiao ebf0c96940
Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 7 months ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
Lunny Xiao 263a716cb5
Performance optimization for git push (#30104) 8 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
wxiaoguang 047c69bd85
Improve CLI code and descriptions (#28482) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
wxiaoguang d0dbe52e76
Refactor to use urfave/cli/v2 (#25959) 1 year ago
wxiaoguang 65d3e1161b
Fix sub-command log level (#25537) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
wxiaoguang f4538791f5
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 4b5a6e5ef0
Fix typos (#21947) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 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 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) 3 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 3 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 3 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) 5 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