Commit Graph

29 Commits (225044e6563e4ed2b41d1aed8b3967755c064fbb)

Author SHA1 Message Date
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
wxiaoguang b877504b03
Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 704bdf89a2
Don't report signal: killed errors in serviceRPC (#18850) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
Gusted c2e13fb763
Fix partial cloning a repo (#18373) 3 years ago
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