90 Commits (2360c7ec6cdddc337a9b4964a64d2e1640c69dad)

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
  JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 9 months ago
  Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 9 months ago
  Chongyi Zheng 43652746f2
Move `modules/mirror` to `services` (#26737) 9 months ago
  Lunny Xiao 45ac90eb54
Sync branches when mirroring (#25722) 11 months ago
  silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 11 months ago
  Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
  wxiaoguang 6f9c278559
Rewrite queue (#24505) 1 year ago
  Jason Song 7b9e23cc1d
Fill head commit to in payload when notifying push commits for mirroring (#23215) 1 year ago
  Gusted 1cb8d14bf7
Use proxy for pull mirror (#22771) 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
  KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 1 year ago
  wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 1 year ago
  Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 1 year ago
  Mohamed Sekour 0e61a74e5a
Add new API endpoints for push mirrors management (#19841) 1 year ago
  Chongyi Zheng 49f9d43afe
Implement sync push mirror on commit (#19411) 1 year ago
  Gusted f0ce5470e5
Always try to fetch repo for mirrors (#19975) 2 years ago
  Lunny Xiao ce3dd04c63
Fix some mirror bugs (#18649) 2 years ago
  Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
  zeripath e32ab429ff
Prevent NPE on update mirror settings (#19864) 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
  wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 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
  zeripath d2ca021df0
Touch mirrors on even on fail to update (#19217) 2 years ago
  Lunny Xiao c29fbc6d23
Hide sensitive content on admin panel progress monitor (#19218) 2 years ago
  wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
  zeripath 75eb6cc9c1
Improve SyncMirrors logging (#19045) 2 years ago
  Gusted a14b6f3aae
Refactor mirror code & fix `StartToMirror` (#18904) 2 years ago
  Lunny Xiao b75ad7b87f
Improve mirror iterator (#18928) 2 years ago
  Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 2 years ago
  zeripath df44017328
Restart zero worker if there is still work to do (#18658) 2 years ago
  6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
  zeripath a82fd98d53
Pause queues (#15928) 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 5723240490
Some repository refactors (#17950) 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
  zeripath 188fd2dd1a
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568) 2 years ago
  wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 2 years ago
  Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 2 years ago
  Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 2 years ago
  zeripath 053b2f4dce
Handle broken references in mirror sync (#17013) 2 years ago
  zeripath 7117c7774a
Make the Mirror Queue a queue (#17326) 2 years ago
  zeripath 9302eba971
DBContext is just a Context (#17100) 2 years ago