Commit Graph

47 Commits (8f5b2f1ddf8e7dad04958f2190e1d717fdc9c177)

Author SHA1 Message Date
Lunny Xiao 1d191f9b5a
some refactor about code comments(#20821) (#22707) 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) 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 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) 4 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
赵智超 8be3e439c2
Add team support for review request (#12039) 4 years ago
6543 df4bbcd235
Fix error create comment on outdated file (#13041) 4 years ago
zeripath 9c9c3348bb
Prevent NPE on commenting on lines with invalidated comments (with migration) (#12549) 4 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 5 years ago
David Svantesson 25531c71a7 Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
Lunny Xiao 43ada65571
remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
David Svantesson bac4b78e09 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago
Lunny Xiao 2011a5b818 Extract createComment (#9125) 5 years ago
guillep2k d779deef6e Fix show single review comments in the PR page (#9143) 5 years ago
Lunny Xiao dad67cae54
Refactor pull request review (#8954) 5 years ago
guillep2k 8282f26250 Don't send notification on pending reviews (#8943) 5 years ago
Lunny Xiao aaeef295bb
Move pull webhook to notification (#8805) 5 years ago
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue (#8778) 5 years ago
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules (#8747) 5 years ago
John Olheiser 0a004a69cd Improve webhooks (#8583) 5 years ago
John Olheiser 7c4c01c0fd Fix review webhooks (#8570) 5 years ago
Lunny Xiao eb11ca6847
Extract actions on new pull request from models to pulls service and move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218) 5 years ago
Lunny Xiao c021890930
move CreateReview to moduels/pull (#7841) 5 years ago