Commit Graph

69 Commits (40687a2160f30f70b5facba6f2d26be1f1a005dd)

Author SHA1 Message Date
KN4CK3R 44b8b07631
Add tag protection (#15629) 3 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 3 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 4 years ago
a1012112796 fec8324026
add a new internal hook to save ssh log (#15787) 4 years ago
zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 4 years ago
Lunny Xiao e5723d6556
Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Chester Liu 632800eda7
Check for 'main' as potential default branch name (#14193) 4 years ago
zeripath 511f6138d4
Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
Eric Lesiuta abb9cffe4a
Log IP on SSH authentication failure for Built-in SSH server (#13150) 4 years ago
Lunny Xiao 5a991ec519
Fix a bug when check if owner is active (#13612) 4 years ago
Lunny Xiao ff7341b994
Prevent git operations for inactive users (#13527) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
Lunny Xiao 38d11eea58
Fix send mail (#13312) 4 years ago
Maxim Zhiburt a1952afc38
Sendmail command (#13079) 4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 4 years ago
Wim 9066d09c57
Add ssh certificate support (#12281) 4 years ago
Lunny Xiao dd1a651b58
Move all push update operations to a queue (#10133) 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
Gjergji Ramku 0c9eb468e9
Fix typos (#12542) 4 years ago
zeripath 2f6aadffa8
Git 2.28 no longer permits diff with ... on unrelated branches (#12364) 4 years ago
zeripath c5b08f6d5a
Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
6543 505e456f26
Protect default branch against deletion (#11115) 5 years ago
zeripath 41f05588ed
Prevent clones and pushes to disabled wiki (#11131) 5 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012) 5 years ago
Lauris BH bbd910ed1b
Allow to set protected file patterns that can not be changed under no conditions (#10806) 5 years ago
Lauris BH 43c09134a9
Migrate to go-git/go-git v5.0.0 (#10735) 5 years ago
John Olheiser de63ac046e
Make PR message on pushes configurable (#10664) 5 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516) 5 years ago
zeripath 90919bb37e
Show Signer in commit lists and add basic trust (#10425) 5 years ago
John Olheiser 95013fde60
Fix push-create SSH bugs (#10145) 5 years ago
Lunny Xiao bf1970d0bd
Improve push update options (#10105) 5 years ago
zeripath c01221e70f
Queue: Make WorkerPools and Queues flushable (#10001) 5 years ago
David Svantesson 18e0447b3f Fix admin handling at merge of PR (#9749) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611) 5 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki (#9355) 5 years ago
David Svantesson ea707f5a77 Add branch protection option to block merge on requested changes. (#9592) 5 years ago
David Svantesson 5748755e8e Remove obsolete file private/push_update.go (#9503) 5 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602) 5 years ago
zeripath 017f314b5a
Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 5 years ago
zeripath d1a49977b0 AuthorizedKeysCommand should not query db directly (#9371) 5 years ago
John Olheiser 6715677b2b Push to create repo (#8419) 5 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago
Lunny Xiao e151674cfa
Move PushUpdateOptions from models to repofiles (#9124) 5 years ago
zeripath 0bfe5eb10b
Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200) 5 years ago