172 Commits (67b457dd00a874eff751caeb7caeec6aa4b2e714)

Author SHA1 Message Date
Lunny Xiao 1463426a27
Use merge tree to detect conflicts when possible (#36400) 3 days ago
wxiaoguang 3a09d7aa8d
Refactor git command stdio pipe (#36422) 1 week ago
wxiaoguang 9ea91e036f
Refactor git command context & pipeline (#36406) 1 week ago
wxiaoguang 72be55f7d3
Refactor git command stderr handling (#36402) 2 weeks ago
Lunny Xiao fafd1db19e
Some refactors about GetMergeBase (#36186) 2 weeks ago
Lunny Xiao 07ac29da32
Fix bug when compare in the pull request (#36363) 2 weeks ago
Lunny Xiao 426bb491c0
Move assign project when creating pull request to the same database transaction (#36244) 4 weeks ago
Lunny Xiao 776e406363
Refactor compare router param parse (#36105) 1 month ago
Lunny Xiao 24b81ac8b9
Use gitrepo's clone and push when possible (#36093) 2 months ago
Zettat123 f4e38e6367
Fix Actions `pull_request.paths` being triggered incorrectly by rebase (#36045) 2 months ago
Zettat123 ed977d9702
Use GitHub-style commit message for squash merge (#35987) 2 months ago
Lunny Xiao 397d666432
Fix review request webhook bug (#35339) (#35723) 3 months ago
Lunny Xiao 731d803d19
Creating push comments before invoke pull request checking (#35647) 4 months ago
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 4 months ago
Lunny Xiao 17c8aa6587
Add rebase push display wrong comments bug (#35560) 4 months ago
Lunny Xiao 1f32170060
Move some functions to gitrepo package (#35503) 4 months ago
Lunny Xiao 7bf2972379
Move GetDiverging functions to gitrepo (#35524) 4 months ago
Lunny Xiao 198f37e33c
Move updateref and removeref to gitrepo and remove unnecessary open repository (#35511) 4 months ago
Lunny Xiao 9332ff291b
Move git command to git/gitcmd (#35483) 5 months ago
Lunny Xiao b9efbe9fe6
Fix push commits comments when changing the pull request target branch (#35386) 5 months ago
Lunny Xiao d2e994db2c
Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file (#35151) 5 months ago
Lunny Xiao 84d31bc842
A small refactor to use context in the service layer (#35179) 6 months ago
Lunny Xiao 37958e486a
Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 7 months ago
Lunny Xiao 4e471487fb
Remove unnecessary duplicate code (#34552) 8 months ago
Lunny Xiao 688da55f54
Split GetLatestCommitStatus as two functions (#34535) 8 months ago
Lunny Xiao 44d7d2973a
Fix wrong review requests when updating the pull request (#34286) 9 months ago
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779) 9 months ago
Lunny Xiao c27d87a9ac
Refactor Branch struct in package modules/git (#33980) 10 months ago
Lunny Xiao 0056fdb942
Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 11 months ago
Lunny Xiao 1e7248047c
Pull request updates will also trigger code owners review requests (#33744) 11 months ago
TheFox0x7 ae3a18e01a
Remove context from git struct (#33793) 11 months ago
Lunny Xiao 5cbdf83f70
Use pullrequestlist instead of []*pullrequest (#33765) 11 months ago
Lunny Xiao 39d51e7c82
Automerge supports deleting branch automatically after merging (#32343) 1 year ago
Lunny Xiao 67aeb1f896
Add missed transaction on setmerged (#33079) 1 year ago
a1012112796 a7b2707be9
Fix Agit pull request permission check (#32999) 1 year ago
Lunny Xiao 5feb1a6bff
Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 1 year ago
Lunny Xiao 751fe8b714
Move some errors to their own sub packages (#32880) 1 year ago
Calvin K 18aeca5320
Add reviewers selection to new pull request (#32403) 1 year ago
Zettat123 f4b8f6fc40
Fix the logic of finding the latest pull review commit ID (#32139) 1 year ago
Lunny Xiao 2da2000413
Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 1 year ago
yp05327 e0a408e6f3
Add permission check when creating PR (#31033) 2 years ago
silverwind 9b2536b78f
Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 2 years ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 2 years ago
sebastian-sauer 07bcfc171b
Commit-Dropdown: Show Author of commit if available (#30272) 2 years ago
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697) 2 years ago
Lunny Xiao f8ab9dafb7
Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2 years ago
Jimmy Praet 17d7ab5ad4
Notify reviewers added via CODEOWNERS (#29842) 2 years ago
Lunny Xiao 277f90d416
Fix codeowner detected diff base branch to mergebase (#29783) 2 years ago
Lunny Xiao 3c6fc25a77
Use repo object format name instead of detecting from git repository (#29702) 2 years ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 2 years ago