59 Commits (v1.21.9)

Author SHA1 Message Date
  Giteabot b78f5fc60f
Only log error when tag sync fails (#29295) (#29327) 4 months ago
  Giteabot 2048363f9e
Don't remove all mirror repository's releases when mirroring (#28817) (#28939) 5 months ago
  Giteabot fc7d3f7315
Another round of `db.DefaultContext` refactor (#27103) (#27262) 9 months ago
  KN4CK3R c766140dad
Add `RemoteAddress` to mirrors (#26952) 9 months ago
  Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 9 months ago
  Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
  Lunny Xiao 3d1fda737b
Use git command instead of the ini package to remove the `origin` remote (#25066) 1 year ago
  wxiaoguang de4a21fcb4
Refactor INI package (first step) (#25024) 1 year ago
  Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
  Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 1 year ago
  KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 1 year ago
  Jason Song 7adc2de464
Use context parameter in models/git (#22367) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 1 year ago
  Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 1 year ago
  zeripath 158b088ec3
Adjust clone timeout error to suggest increasing timeout (#21769) 1 year ago
  delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 1 year ago
  KN4CK3R 0e57ff7eee
Add generic set type (#21408) 1 year ago
  Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 1 year ago
  Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
  Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
  6543 8d34c2fab9
fix #19545 (#19563) 2 years ago
  wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
  Peter Gardfjäll e28cc79c92
Improve sync performance for pull-mirrors (#19125) 2 years ago
  6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 2 years ago
  zeripath 889a8c268c
Use full output of git show-ref --tags to get tags for PushUpdateAddTag (#19235) 2 years ago
  Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 2 years ago
  wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
  zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 2 years ago
  zeripath 75eb6cc9c1
Improve SyncMirrors logging (#19045) 2 years ago
  6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 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
  6543 ff00b8688b
Fix NPE on try to get tag reference via API (#18245) 2 years ago
  Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 2 years ago
  Lunny Xiao a666829a37
Move user related model into models/user (#17781) 2 years ago
  wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 2 years ago
  Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 2 years ago
  Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 2 years ago
  zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 2 years ago
  Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 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
  6543 77f604a928
Add skip and limit to git.GetTags (#16897) 2 years ago
  Lunny Xiao f9acad82ca
Add proxy settings and support for migration and webhook (#16704) 2 years ago
  KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
  KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 3 years ago
  Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163) 3 years ago
  6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792) 3 years ago
  6543 6c61f498ea
On Migration respect old DefaultBranch (#12843) 3 years ago