Commit Graph

274 Commits (047c69bd85bc5579ce6f352d7edf7fb950d84b80)

Author SHA1 Message Date
6543 84bcb3451a
Check Push permissions on IsUserAllowedToUpdate (#11448) 5 years ago
6543 c52d48aae4
Prevent merge of outdated PRs on protected branches (#11012) 5 years ago
6543 f7ecc2bee7
fix (#11066) 5 years ago
6543 10e2f29144
Cache PullRequest Divergence (#10914) 5 years ago
6543 bc362ea3c6
remove package code.gitea.io/gitea/modules/git import out of models (#11025) 5 years ago
6543 d21b974f6c
Load pr Issue Poster on API too (#11033) 5 years ago
j.yao.SUSE b40107c416
[suggest] change merge strategy: do not check write access if user in merge white list (#10951) 5 years ago
zeripath 97eb37e823
Fix rebase conflict detection in git 2.26 (#10929) 5 years ago
zeripath 57cca44c5e
Generate Diff and Patch direct from Pull head (#10936) 5 years ago
6543 a291a0eddc
Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 5 years ago
zeripath 408bc2c8b5
Only update merge_base in checker if not already merged (#10908) 5 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854) 5 years ago
Lunny Xiao a5281895c7
Fix bug on pull view when required status check no ci result (#10648) 5 years ago
zeripath 4a2b76d9c8
Update mergebase in pr checker (#10586) 5 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516) 5 years ago
zeripath 089ccb0c80
Handle push rejection message in Merge & Web Editor (#10373) 5 years ago
zeripath cadec9bc22
Prevent panic on merge to PR (#10403) 5 years ago
zeripath 13c6681a07
Prevent nil pointer in GetPullRequestCommitStatusState (#10342) 5 years ago
zeripath e96f3542d0
Set the initial commit status to Success otherwise it will always be Pending (#10317) 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
Lunny Xiao 107a694fd6
Fix IsErrPullClosed (#10093) 5 years ago
zeripath 797e6f8f4c
PRs: Move to use a temporary repo for pushing new prs (#10009) 5 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 5 years ago
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 5 years ago
Lunny Xiao 81daf26878
Fix wrong hint when status checking is running on pull request view (#9886) 5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784) 5 years ago
David Svantesson 18e0447b3f Fix admin handling at merge of PR (#9749) 5 years ago
6543 06cd3e03a2 [refactor] notify remove unused praram (#9804) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago
Lunny Xiao 5765212c6d
Add owner_name column for table repository for maintaince reason (#9717) 5 years ago
David Svantesson 32fb813133 Allow repo admin to merge PR regardless of review status (#9611) 5 years ago
guillep2k 705b1e49a8 Don't attempt to close issue if already closed (#9696) 5 years ago
Lunny Xiao 8878cfa4a1
Fix lint (#9688) 5 years ago
zeripath 17b844a3ec Move Errored PRs out of StatusChecking (#9675) 5 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
zeripath 0d515474b8
Remove stray printf (#9631) 5 years ago
zeripath 4acca9d2e8
Properly enforce gitea environment for pushes (#9501) 5 years ago
Mario Lubenka 61db834904 Change target branch for pull request (#6488) 5 years ago
Lunny Xiao 59d6401486
Use ioutil.TmpDir for new created temp directory (#9368) 5 years ago
Lunny Xiao 43ada65571
remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
Lunny Xiao 67b316a954 Refactor comment (#9330) 5 years ago
zeripath 3abe17f9e0
Sign protected branches (#8993) 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352) 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
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago
Lunny Xiao 2011a5b818 Extract createComment (#9125) 5 years ago