18 Commits (v1.21.10)

Author SHA1 Message Date
  Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 9 months ago
  Peter c6f5029708
Preserve file size when creating attachments (#23406) 1 year ago
  KN4CK3R 3c59d31bc6
Add API management for issue/pull and comment attachments (#21783) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 1 year ago
  delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 1 year ago
  Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 1 year ago
  Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
  Lunny Xiao b8911fb456
Use a struct as test options (#19393) 2 years ago
  Gusted ff2fd08228
Simplify parameter types (#18006) 2 years ago
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 2 years ago
  wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 2 years ago
  wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 2 years ago
  KN4CK3R f99d50fc9f
Read expected buffer size (#17409) 2 years ago
  zeripath 9302eba971
DBContext is just a Context (#17100) 2 years ago
  Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 2 years ago
  Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958) 2 years ago