60 Commits (main)

Author SHA1 Message Date
Lunny Xiao d9c0f86de8
Fix incorrect pull request counter (#35819) 2 months ago
Lunny Xiao 7bf2972379
Move GetDiverging functions to gitrepo (#35524) 3 months ago
6543 57b8441745
Refactor smal code snippeds in models/issues/pull.go (#35301) 4 months ago
Lunny Xiao 65cd3f5309
Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 5 months ago
Lunny Xiao 8ee96039aa
Fix some missed GitHeadRefName when renaming (#35102) 5 months ago
Lunny Xiao 37958e486a
Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 5 months ago
Lunny Xiao 224aa64cd9
Replace update repository function in some places (#34566) 6 months ago
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779) 8 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
Lunny Xiao 67aeb1f896
Add missed transaction on setmerged (#33079) 11 months ago
Lunny Xiao 98637fe76e
Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 12 months ago
Lunny Xiao d45456b1b5
Move SetMerged to service layer (#33045) 12 months ago
wxiaoguang 9bfa9f450d
Refactor "string truncate" (#32984) 12 months ago
Lunny Xiao 98d9a71ffe
Trim title before insert/update to database to match the size requirements of database (#32498) 1 year ago
wangjingcun 3d6ccbac3f
chore: fix some function names in comment (#32300) 1 year ago
Zettat123 f4b8f6fc40
Fix the logic of finding the latest pull review commit ID (#32139) 1 year ago
Lunny Xiao e2f365b55c
Display head branch more comfortable on pull request view (#32000) 1 year ago
Edip Emre Bodur 94cca8846e
Fix null requested_reviewer from API (#31773) 1 year ago
yp05327 e0a408e6f3
Add permission check when creating PR (#31033) 1 year ago
Lunny Xiao 352a2cae24
Performance improvements for pull request list API (#30490) 2 years ago
André Rosenhammer 14f6105ce0
Make gitea webhooks openproject compatible (#28435) 2 years ago
silverwind 9b2536b78f
Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 2 years ago
Lunny Xiao 277f90d416
Fix codeowner detected diff base branch to mergebase (#29783) 2 years ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2 years ago
qwerty287 65952417a8
Add API to get PR by base/head (#29242) 2 years ago
qwerty287 0a426cc575
Add API to get merged PR of a commit (#29243) 2 years ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 2 years ago
Adam Majer d68a613ba8
Add support for sha256 repositories (#23894) 2 years ago
Jimmy Praet 5d3fdd1212
Add branch protection setting for ignoring stale approvals (#28498) 2 years ago
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues (#28536) 2 years 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) 2 years ago
Nanguan Lin 881806a50b
Replace -1 with GhostUserID (#27703) 2 years ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 2 years ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 2 years ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 2 years ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 2 years ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 2 years ago
Lunny Xiao 01c04607c7
Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) 2 years ago
yp05327 22a39bb961
Fix profile render when the README.md size is larger than 1024 bytes (#25131) 3 years ago
Cory Todd 179704695c
Fix duplicate Reviewed-by trailers (#24796) 3 years ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 3 years ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 3 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 3 years ago
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231) 3 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 3 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 3 years ago
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 3 years ago
zeripath 3c5655ce18
Improve trace logging for pulls and processes (#22633) 3 years ago
Jason Song 4011821c94
Implement actions (#21937) 3 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 3 years ago