30 Commits (main)

Author SHA1 Message Date
Brecht Van Lommel aa87b36900
Fix 500 error viewing pull request when fork has pull requests disabled () 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch () 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git () 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions () 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods () 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2 years ago
zeripath 0724ca451e
Prevent 500 is head repo does not have PullRequest unit in IsUserAllowedToUpdate () 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues () 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access () 3 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models () 3 years ago
6543 f034ee6cf0
PullService lock via pullID () 3 years ago
6543 92f139d091
Use for a repo action one database transaction () 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature () 3 years ago
6543 06e4687cec
more context for models () 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" () 3 years ago
6543 54e9ee37a7
format with gofumpt () 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context () 3 years ago
zeripath e4e411821d
Abort merge if head has been updated before pressing merge () 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo () 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user () 3 years ago
a1012112796 cbf05c3f79
Add option to update pull request by `rebase` () 3 years ago
a1012112796 3705168837
Add agit flow support in gitea () 4 years ago
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge () 4 years ago
6543 11229ca539
IsUserAllowedToUpdate ignore igonre if user is nil () 4 years ago
6543 84bcb3451a
Check Push permissions on IsUserAllowedToUpdate () 5 years ago
6543 a291a0eddc
Prevent deadlock in pull_service.GetDiverging(pr) () 5 years ago
zeripath 875c5e1305 Only check for conflicts/merging if the PR has not been merged in the interim () 5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests () 5 years ago