32 Commits (v1.21.10)

Author SHA1 Message Date
  Giteabot f13a294b47
More `db.DefaultContext` refactor (#27265) (#27347) 8 months ago
  Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 8 months ago
  Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 1 year ago
  wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 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
  wxiaoguang d98c5db58f
alternative to PR "improve code quality" (#21464) 1 year ago
  Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
  Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
  Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 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
  Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 2 years ago
  6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
  zeripath 76e3111596
Collaborator trust model should trust collaborators (#18539) 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
  Gusted ff2fd08228
Simplify parameter types (#18006) 2 years ago
  qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 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
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 2 years ago
  Lunny Xiao 4a57c9ea17
Fix some lints (#17337) 2 years ago
  Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 2 years ago
  Lunny Xiao a3c4c57b7c
Fix bug on commit graph (#15517) 3 years ago
  6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 3 years ago
  zeripath c05a8abc76
Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 3 years ago
  zeripath 2c1ae6c82d
Render the git graph on the server (#12333) 3 years ago
  zeripath 3bcc6e7a9e
Ensure that git commit tree continues properly over the page (#12142) 3 years ago
  Lunny Xiao 11208f3381
Move git graph from models to modules/graph (#9027) 4 years ago