Commit Graph

250 Commits (0006169f38f757e35c61169cb0a5da051ff696fe)

Author SHA1 Message Date
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 1 year ago
wxiaoguang 18f26cfbf7
Improve queue and logger context (#24924) 2 years ago
Brecht Van Lommel 2d3ebe889e
Merge message template support for rebase without merge commit (#22669) 2 years ago
Zettat123 e7c2231dee
Support for status check pattern (#24633) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231) 2 years ago
wxiaoguang cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
sillyguodong 35cb786ca1
[Patch] Fix closed PR also triggers Webhooks and actions (#23782) 2 years ago
sillyguodong 0d7cf7b768
Disable sending email after push a commit to a closed PR (#23462) 2 years ago
Brecht Van Lommel d647e74502
Improve squash merge commit author and co-author with private emails (#22977) 2 years ago
Brecht Van Lommel 8bdc0acf97
Fix pull request update showing too many commits with multiple branches (#22856) 2 years ago
wxiaoguang 542cec98f8
Refactor merge/update git command calls (#23366) 2 years ago
zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
wxiaoguang 188c8c12c2
Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2 years ago
sillyguodong 2f49b55c19
Fix cannot reopen after pushing commits to a closed PR (#23189) 2 years ago
Brecht Van Lommel 0268ee5c37
Do not create commit graph for temporary repos (#23219) 2 years ago
Jason Song c8c2a31818
Add force_merge to merge request and fix checking mergable (#23010) 2 years ago
wxiaoguang dc9cebdf45
Use `--message=%s` for git commit message (#23028) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
Brecht Van Lommel bdd2c9d2ef
Fix update by rebase being wrongly disabled by protected base branch (#22825) 2 years ago
John Olheiser 4dd7d61ac8
Load issue before accessing index in merge message (#22822) 2 years ago
Jason Song c18a62279a
Fix time to NotifyPullRequestSynchronized (#22650) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
zeripath 3c5655ce18
Improve trace logging for pulls and processes (#22633) 2 years ago
Lunny Xiao 4e946e5a7d
Small refactor for loading PRs (#22652) 2 years ago
zeripath 78e6b21c1a
Improve checkIfPRContentChanged (#22611) 2 years ago
Brecht Van Lommel c8139c0f64
Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 2 years ago
zeripath 4199d28053
When updating by rebase we need to set the environment for head repo (#22535) 2 years ago
Brecht Van Lommel aa87b36900
Fix 500 error viewing pull request when fork has pull requests disabled (#22512) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Jason Song 47efba78ec
Support template for merge message description (#22248) 2 years ago
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 2 years ago
zeripath d6b96627c1
Add setting to disable the git apply step in test patch (#22130) 2 years ago
zeripath cdc43454a4
Correctly handle moved files in apply patch (#22118) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
kolaente 085f717529
feat: notify doers of a merge when automerging (#21553) 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