Commit Graph

28 Commits (b41925cee3d67a1fe546c7a219174e4a8b2302b7)

Author SHA1 Message Date
6543 2c48733afe
Fix inperformant query on retrifing review from database. (#28552) 11 months ago
Nanguan Lin 966dcb99e3
Fix 500 when deleting a dismissed review (#27903) 1 year ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Nanguan Lin 15a504cb9f
Fix the approval count of PR when there is no protection branch rule (#27272) 1 year ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 1 year ago
sebastian-sauer 70647bd04c
Use yellow if an approved review is stale (#26312) 1 year ago
Lunny Xiao 01c04607c7
Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) 1 year ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
sebastian-sauer 25455bc670
Show outdated comments in files changed tab (#24936) 1 year ago
Cory Todd 179704695c
Fix duplicate Reviewed-by trailers (#24796) 1 year ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
silverwind ae0fa64ef6
Review fixes and enhancements (#24526) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 2 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 2 years ago
Jimmy Praet fe519d8633
Restore previous official review when an official review is deleted (#22449) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
6543 c0f5111fea
Dismiss prior pull reviews if done via web in review dismiss (#20197) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao 89b9d42f08
Fix broken of team create (#19288) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Jimmy Praet 25a2000787
Fix unwanted team review request deletion (#17257) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago