Commit Graph

36 Commits (d7c7a789947080be76d94f28f3f7f8788a545f7d)

Author SHA1 Message Date
Henry Goodman 12cb1d2998
Allow force push to protected branches (#28086) 5 months ago
Lunny Xiao ebf0c96940
Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 7 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 2 years ago
Brecht Van Lommel bdd2c9d2ef
Fix update by rebase being wrongly disabled by protected base branch (#22825) 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 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 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
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 0724ca451e
Prevent 500 is head repo does not have PullRequest unit in IsUserAllowedToUpdate (#20839) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 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 f034ee6cf0
PullService lock via pullID (#19520) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 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
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 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
zeripath e4e411821d
Abort merge if head has been updated before pressing merge (#18032) 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
a1012112796 cbf05c3f79
Add option to update pull request by `rebase` (#16125) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 3 years ago
6543 11229ca539
IsUserAllowedToUpdate ignore igonre if user is nil (#14885) 4 years ago
6543 84bcb3451a
Check Push permissions on IsUserAllowedToUpdate (#11448) 5 years ago
6543 a291a0eddc
Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 5 years ago
zeripath 875c5e1305 Only check for conflicts/merging if the PR has not been merged in the interim (#10132) 5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784) 5 years ago