Commit Graph

39 Commits (37458bffbf4d9ee79fe7861f13bb9b68b1a9872e)

Author SHA1 Message Date
Ing. Jaroslav Šafka 92a43d577d
Fix checks in PR for empty commits (#20290) (#20352) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
6543 f034ee6cf0
PullService lock via pullID (#19520) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
6543 d8905cb623
Dont overwrite err with nil & rename PullCheckingFuncs to reflect there usage (#19572) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Gusted 5e68fe7d37
Don't allow merging PR's which are being conflict checked (#19357) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 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
zeripath a82fd98d53
Pause queues (#15928) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 4a57c9ea17
Fix some lints (#17337) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao 8d7704b5a2
Fix dump and restore respository (#16698) 3 years ago
Lunny Xiao 5fef041079
Remove unnecessary goroutine (#16080) 4 years ago
a1012112796 a5279b74b6
Make manual merge autodetection optional and add manual merge as merge method (#12543) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
赵智超 dfa7291f8f
[Enhancement] Allow admin to merge pr with protected file changes (#12078) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath 408bc2c8b5
Only update merge_base in checker if not already merged (#10908) 5 years ago
zeripath 4a2b76d9c8
Update mergebase in pr checker (#10586) 5 years ago
zeripath 875c5e1305 Only check for conflicts/merging if the PR has not been merged in the interim (#10132) 5 years ago
zeripath 2c903383b5
Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 5 years ago
6543 06cd3e03a2 [refactor] notify remove unused praram (#9804) 5 years ago
Lunny Xiao 8878cfa4a1
Fix lint (#9688) 5 years ago
zeripath 17b844a3ec Move Errored PRs out of StatusChecking (#9675) 5 years ago
Lunny Xiao 59d6401486
Use ioutil.TmpDir for new created temp directory (#9368) 5 years ago
Lunny Xiao 67b316a954 Refactor comment (#9330) 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 5 years ago
Lunny Xiao 82e0383d21 Move some pull request functions from models to services (#9266) 5 years ago