Commit Graph

217 Commits (eb62dea91e516e36e4c347667366b5aff5755867)

Author SHA1 Message Date
Jason Song 90982bffa5
Add force_merge to merge request and fix checking mergable (#23010) (#23032) 2 years ago
wxiaoguang c50d4202ef
Use `--message=%s` for git commit message (#23028) (#23029) 2 years ago
Lunny Xiao 1d191f9b5a
some refactor about code comments(#20821) (#22707) 2 years ago
zeripath e4238583db
Improve trace logging for pulls and processes (#22633) (#22812) 2 years ago
John Olheiser 68b908d92a
Load issue before accessing index in merge message (#22822) (#22830) 2 years ago
zeripath a9ba7379fe
Improve checkIfPRContentChanged (#22611) (#22644) 2 years ago
zeripath 3c531d3957
When updating by rebase we need to set the environment for head repo (#22535) (#22536) 2 years ago
John Olheiser 63e5db5d7a
Fix 500 error viewing pull request when fork has pull requests disabled (#22512) (#22515) 2 years ago
Jason Song e9bc2c77c3
Use complete SHA to create and query commit status (#22244) (#22257) 2 years ago
zeripath 198342efe4
Add setting to disable the git apply step in test patch (#22130) (#22170) 2 years ago
zeripath dd2343d01f
Correctly handle moved files in apply patch (#22118) (#22135) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
zeripath 4a23212102
Do DB update after merge in hammer context (#21401) 2 years ago
zeripath 0724ca451e
Prevent 500 is head repo does not have PullRequest unit in IsUserAllowedToUpdate (#20839) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
zeripath 7a428fae4b
Ensure that all unmerged files are merged when conflict checking (#20528) 2 years ago
6543 c0f5111fea
Dismiss prior pull reviews if done via web in review dismiss (#20197) 2 years ago
Ing. Jaroslav Šafka 8420c1bf4c
Fix checks in PR for empty commits #19603 (#20290) 2 years ago
Lunny Xiao 184a7d4195
Check if project has the same repository id with issue when assign project to issue (#20133) 3 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 3 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
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 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
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
parnic cdab46220d
Add commit status popup to issuelist (#19375) 3 years ago
Gusted ebe569a268
Set correct PR status on 3way on conflict checking (#19457) 3 years ago
Gusted 5e68fe7d37
Don't allow merging PR's which are being conflict checked (#19357) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 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
zeripath 1eebbf23f0
When conflicts have been previously detected ensure that they can be resolved (#19247) 3 years ago
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago