37 Commits (2cc3a6381cab34113fd2dc2c24ef0efc22c4336d)

Author SHA1 Message Date
  Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 1 year ago
  Jason Song 7adc2de464
Use context parameter in models/git (#22367) 1 year ago
  Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 1 year ago
  Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 1 year ago
  wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 1 year ago
  wxiaoguang c08e42c47e
Refactor parseTreeEntries, speed up tree list (#21368) 1 year ago
  Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 1 year ago
  Gusted 692707f145
Add latest commit's SHA to content response (#20398) 1 year ago
  6543 0a97480934
Add "X-Gitea-Object-Type" header for GET `/raw/` & `/media/` API (#20438) 1 year ago
  wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
  Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
  wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
  Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
  KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654) 2 years ago
  Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 2 years ago
  kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 2 years ago
  6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 2 years ago
  Lunny Xiao b8911fb456
Use a struct as test options (#19393) 2 years ago
  wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
  6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 2 years ago
  zeripath e69b7a92ed
Allow API to create file on empty repo (#19224) 2 years ago
  KN4CK3R 5b0cdd6155
Set is_empty in fixtures (#18869) 2 years ago
  Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 2 years ago
  zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902) 2 years ago
  6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
  zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 2 years ago
  zeripath 6b0a71230d
Stop trimming preceding and suffixing spaces from editor filenames (#18334) 2 years ago
  zeripath 851b54ba9f
Correctly upload LFS files (#18316) 2 years ago
  Gusted ff2fd08228
Simplify parameter types (#18006) 2 years ago
  Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 2 years ago
  Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 2 years ago
  mscherer 34b5436ae1
Refactor various strings (#17784) 2 years ago
  zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2 years ago
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 2 years ago