Commit Graph

36 Commits (d4c789dfc1c341413b77a2f21fe7339982102bed)

Author SHA1 Message Date
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
赵智超 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