Commit Graph

48 Commits (4578288ea3736083b194ffcc48199b288ce3e585)

Author SHA1 Message Date
Giteabot b4f0eed969
Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) (#33128) 2 months ago
Lunny Xiao 98d9a71ffe
Trim title before insert/update to database to match the size requirements of database (#32498) 3 months ago
wangjingcun 3d6ccbac3f
chore: fix some function names in comment (#32300) 4 months ago
Zettat123 f4b8f6fc40
Fix the logic of finding the latest pull review commit ID (#32139) 5 months ago
Lunny Xiao e2f365b55c
Display head branch more comfortable on pull request view (#32000) 5 months ago
Edip Emre Bodur 94cca8846e
Fix null requested_reviewer from API (#31773) 7 months ago
yp05327 e0a408e6f3
Add permission check when creating PR (#31033) 7 months ago
Lunny Xiao 352a2cae24
Performance improvements for pull request list API (#30490) 9 months ago
André Rosenhammer 14f6105ce0
Make gitea webhooks openproject compatible (#28435) 9 months ago
silverwind 9b2536b78f
Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
Lunny Xiao 277f90d416
Fix codeowner detected diff base branch to mergebase (#29783) 11 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 12 months ago
qwerty287 65952417a8
Add API to get PR by base/head (#29242) 1 year ago
qwerty287 0a426cc575
Add API to get merged PR of a commit (#29243) 1 year ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 1 year ago
Adam Majer d68a613ba8
Add support for sha256 repositories (#23894) 1 year ago
Jimmy Praet 5d3fdd1212
Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues (#28536) 1 year 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) 1 year ago
Nanguan Lin 881806a50b
Replace -1 with GhostUserID (#27703) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year 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) 2 years ago
Cory Todd 179704695c
Fix duplicate Reviewed-by trailers (#24796) 2 years ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 2 years ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231) 2 years ago
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2 years ago
zeripath 3c5655ce18
Improve trace logging for pulls and processes (#22633) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 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
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2 years ago
Ing. Jaroslav Šafka 8420c1bf4c
Fix checks in PR for empty commits #19603 (#20290) 3 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
Ondřej Čertík 8720f876c7
Make WIP prefixes case insensitive, e.g. allow `Draft` as a WIP prefix (#19780) 3 years ago