Commit Graph

313 Commits (08c963c921ad05640890be0fe95711bc36264e9e)

Author SHA1 Message Date
Zettat123 f4b8f6fc40
Fix the logic of finding the latest pull review commit ID (#32139) 2 months ago
Lunny Xiao 2da2000413
Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 3 months ago
Zettat123 725a3ed9ad
Handle "close" actionable references for manual merges (#31879) 3 months ago
Lunny Xiao df7f1c2ead
Fix protected branch files detection on pre_receive hook (#31778) 4 months ago
yp05327 e0a408e6f3
Add permission check when creating PR (#31033) 4 months ago
Henry Goodman 12cb1d2998
Allow force push to protected branches (#28086) 5 months ago
Brecht Van Lommel b88e5fc72d
Fix slow patch checking with commits that add or remove many files (#31548) 5 months ago
wxiaoguang 84cbb6c4d2
Fix duplicate sub-path for avatars (#31365) 5 months ago
silverwind fc2d75f86d
Enable `unparam` linter (#31277) 6 months ago
Max Wipfli da4bbc4247
Allow including `Reviewed-on`/`Reviewed-by` lines for custom merge messages (#31211) 6 months ago
yp05327 f7d2f695a4
Fix misspelling of mergable (#30896) 7 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
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 7 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
Kemal Zebari dd301cae1c
Prevent allow/reject reviews on merged/closed PRs (#30686) 7 months ago
silverwind 9b2536b78f
Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
sebastian-sauer 07bcfc171b
Commit-Dropdown: Show Author of commit if available (#30272) 8 months ago
Kemal Zebari 242b331260
Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 8 months ago
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697) 8 months ago
Lunny Xiao f8ab9dafb7
Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 8 months ago
Lunny Xiao 62f8174aa2
Performance improvements for pull request list page (#29900) 8 months ago
Jimmy Praet 17d7ab5ad4
Notify reviewers added via CODEOWNERS (#29842) 8 months ago
Lunny Xiao 277f90d416
Fix codeowner detected diff base branch to mergebase (#29783) 8 months ago
Lunny Xiao 3c6fc25a77
Use repo object format name instead of detecting from git repository (#29702) 9 months ago
charles 0c273f12e0
Fix commit_status problem when testing (#29672) 9 months ago
charles 7cf7a499be
Fixing the issue when status check per rule matches multiple actions (#29631) 9 months ago
KN4CK3R c337ff0ec7
Add user blocking (#29028) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Jimmy Praet 2e33671f2c
Add attachment support for code review comments (#29220) 9 months ago
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 9 months ago
Markus Amshove a11ccc9fcd
Disallow merge when required checked are missing (#29143) 9 months ago
Chris Copeland 47b5965862
Add merge style `fast-forward-only` (#28954) 10 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Viktor Kuzmin 49eb168677
Retarget depending pulls when the parent branch is deleted (#28686) 10 months ago
Earl Warren aa4d78431f
Concatenate error in `checkIfPRContentChanged` (#28731) 11 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Lunny Xiao eeb1e0242b
Fix poster is not loaded in get default merge message (#27657) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow (#27578) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Eng Zer Jun 13d5d2e711
Remove redundant `len` check around loop (#27464) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago