Commit Graph

144 Commits (050c38ca19cce06040741321e7871121981c76f4)

Author SHA1 Message Date
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
a1012112796 43a22c6a21
show pull link for agit pull request also (#18235) 3 years ago
zeripath 4b4884ce88
Return nicer error if trying to pull from non-existent user (#18288) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 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
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Gusted 4e7ca946da
Use `*PushUpdateOptions` as receiver (#17724) 3 years ago
zeripath 1dbc58f742
More pleasantly handle broken or missing git repositories (#17747) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 849356deaf
Prevent panic in serv.go with Deploy Keys (#17434) 3 years ago
zeripath c1110b8671
Ensure correct SSH permissions check for private and restricted users (#17370) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
zeripath 8de44d1995
Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
Jimmy Praet 3d6cb25e31
Support unprotected file patterns (#16395) 3 years ago
John Olheiser 648464b504
Add bundle download for repository (#14538) 3 years ago
Lunny Xiao 74d75eb69c
Fix spelling of HookProcReceiveResult (#16690) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
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