Commit Graph

68 Commits (2c92c7c5226e29636a1d47a277130f477fa2037b)

Author SHA1 Message Date
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
Kemal Zebari 242b331260
Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 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
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
Jimmy Praet 2e33671f2c
Add attachment support for code review comments (#29220) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 1 year ago
Lunny Xiao 6945918d34
Fix bug for ctx usage (#26762) 1 year ago
caicandong 6151e69d95
Delete `issue_service.CreateComment` (#26298) 1 year ago
Lunny Xiao 01c04607c7
Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
wxiaoguang cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
wxiaoguang 188c8c12c2
Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
6543 c0f5111fea
Dismiss prior pull reviews if done via web in review dismiss (#20197) 2 years ago
Lunny Xiao 184a7d4195
Check if project has the same repository id with issue when assign project to issue (#20133) 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 fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 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
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 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
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
KN4CK3R ebf253b841
Add attachments for PR reviews (#16075) 3 years ago
zeripath 3d8b5ad5f3
Fix a couple of CommentAsPatch issues. (#14804) 4 years ago
a1012112796 ac701637b4
Add dismiss review feature (#12674) 4 years ago
Jimmy Praet e6acce649b
Send notifications for mentions in pulls, issues, (code-)comments (#14218) 4 years ago
Jimmy Praet e7a77d32cc
Fix correct diff view for PR review comments in PR view page (#14002) 4 years ago
zeripath b091c994b5
Comments on review should have the same sha (#13448) 4 years ago
Lunny Xiao 35cc82abbf
Revert "Replies to outdated code comments should also be outdated (#13217)" (#13439) 4 years ago
zeripath 3cab3bee57
Replies to outdated code comments should also be outdated (#13217) 4 years ago