Commit Graph

20 Commits (87141b908d4a03ce27af3ce042dc417da925b84f)

Author SHA1 Message Date
Lunny Xiao 35fdefc1ff
Always use git command but not os.Command (#18363) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 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 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 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
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 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
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Lunny Xiao da057996d5
Fix http path bug (#16117) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
zeripath 0e56e9c9d9
Restore token authentication for git http when 2FA active (#15915) 4 years ago
zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 4 years ago
Lunny Xiao d37a89ed05
don't record error when request a non-exist user (#15819) 4 years ago
Lunny Xiao 92c09a90f7
Fix bug clone wiki (#15499) 4 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 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 25f937f99b
Add git command error directory on log (#13194) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
zeripath a722dd72db
Set setting.AppURL as GITEA_ROOT_URL environment variable during pushes (#12752) 4 years ago
zeripath d257485bc0
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
William Hilton 3a46d1ef58
Enable cloning via Git Wire Protocol v2 over HTTP (#12170) 4 years ago
赵智超 ac2304f7a0
fix a small nit (#11834) 4 years ago
Cirno the Strongest 02fa329a7c
Fix missing authorization check on pull for public repos of private/limited org (#11656) 5 years ago
zeripath 41f05588ed
Prevent clones and pushes to disabled wiki (#11131) 5 years ago
zeripath 7c48085ff4
Remove check on username if AccessToken authentication (#11015) 5 years ago
bobemoe cca13ae2ac add remote ip to the invalid credentials error message (#9918) 5 years ago
John Olheiser 176e7fb5d5 Fix push-to-create (#9772) 5 years ago
John Olheiser 6715677b2b Push to create repo (#8419) 5 years ago
zeripath 60c5339042 Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
QuaSoft 7b4d2f7a2a Add single sign-on support via SSPI on Windows (#8463) 5 years ago
Lunny Xiao d5261b9aab Move HttpBackend function to Http to reduce function calls when git smart http requests (#9057) 5 years ago
zeripath 0bfe5eb10b
Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
Lunny Xiao b16be15803 Display error as string but not bytes (#7780) 5 years ago
zeripath c236ba35ca
use 403 instead of 401 for ErrUserProhibitLogin (#7591) 5 years ago