46 Commits (25233a9bdcfd8d74c803be7712bdaed72eb41455)

Author SHA1 Message Date
  Jack Hay 18de83b2a3
Redesign Scoped Access Tokens (#24767) 1 year ago
  wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 1 year ago
  John Olheiser 5e36024105
Require repo scope for PATs for private repos and basic authentication (#24362) 1 year ago
  wxiaoguang 9219534447
Fix incorrect CORS response in Http Git handler (#24303) 1 year ago
  Jason Song 04347eb810
Use context parameter in services/repository (#23186) 1 year ago
  yp05327 f1bde2fe00
Return 404 instead of 403 if user can not access the repo (#23155) 1 year ago
  yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
  wxiaoguang 50111c71c3
Refactor legacy strange git operations (#22756) 1 year ago
  wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 1 year ago
  Jason Song 4011821c94
Implement actions (#21937) 1 year ago
  Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 1 year ago
  parnic 27789908d8
Use request timeout for git service rpc (#20689) 1 year ago
  Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 2 years ago
  Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 2 years ago
  6543 06e4687cec
more context for models (#19511) 2 years ago
  wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
  wxiaoguang b877504b03
Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 2 years ago
  KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 2 years ago
  wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
  wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 2 years ago
  KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
  zeripath 704bdf89a2
Don't report signal: killed errors in serviceRPC (#18850) 2 years ago
  6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
  Gusted c2e13fb763
Fix partial cloning a repo (#18373) 2 years ago
  Lunny Xiao 35fdefc1ff
Always use git command but not os.Command (#18363) 2 years ago
  6543 54e9ee37a7
format with gofumpt (#18184) 2 years ago
  zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 2 years ago
  Lunny Xiao de8e3948a5
Refactor auth package (#17962) 2 years ago
  wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 2 years ago
  Lunny Xiao 5723240490
Some repository refactors (#17950) 2 years ago
  Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 2 years ago
  zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2 years ago
  Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 2 years ago
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 2 years ago
  Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 2 years ago
  Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 2 years ago
  Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 2 years ago
  6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2 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) 3 years ago
  zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 3 years ago
  Lunny Xiao d37a89ed05
don't record error when request a non-exist user (#15819) 3 years ago
  Lunny Xiao 92c09a90f7
Fix bug clone wiki (#15499) 3 years ago