Commit Graph

35 Commits (cf5d4a7230e716f77a54a1591e90b34b21b2a7b8)

Author SHA1 Message Date
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
zeripath ba6efb105a
Quote references to the user table in consistency checks (#18072) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand (#17533) 3 years ago
Lunny Xiao 63c0dc89ef
Rename db Engines related functions (#17481) 3 years ago
zeripath e8574f2f7d
Nicely handle missing user in collaborations (#17049) 3 years ago
zeripath b5856c4437
Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Lunny Xiao e2f0ab3343
Add doctor dbconsistency check for release and attachment (#16978) 3 years ago
Lunny Xiao a807031a30
Fix storage Iterate bug and Add storage doctor to delete garbage attachments (#16971) 3 years ago
zeripath 1ce4fb256f
Restore creation of git-daemon-export-ok files (#16508) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
John Olheiser 2f65c6b2f0
Add err to log (#15813) 4 years ago
KN4CK3R ee3fb92419
Delete references if repository gets deleted (#15681) 4 years ago
KN4CK3R 2e85165349
Delete protected branch if repository gets removed (#15658) 4 years ago
6543 a3a65137ba
Delete Labels & IssueLabels on Repo Delete too (#15039) 4 years ago
zeripath dace0ce1b1
Prevent addition of labels from outside the repository or organisation in issues (#14912) 4 years ago
zeripath 070c57867d
Fix postgres ID sequences broken by recreate-table (#15015) 4 years ago
zeripath f82b1dd7c3
Prevent adding nil label to .AddedLabels or .RemovedLabels (#14623) 4 years ago
6543 0e0424c8ec
Add Doctor FixWrongUserType (#14522) 4 years ago
zeripath 4569339a4b
Refactor doctor (#12264) 4 years ago