1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 17:05:48 +00:00
gitea/models
Jason Song 066af372e3
Load reviewer for comments when dismissing a review (#24281)
If a comment dismisses a review, we need to load the reviewer to show
whose review has been dismissed.

Related to:

20b6ae0e53/templates/repo/issue/view_content/comments.tmpl (L765-L770)

We don't need `.Review.Reviewer` for all comments, because
"dismissing" doesn't happen often, or we would have already received
error reports.
2023-04-23 11:04:23 -04:00
..
actions Support upload outputs and use needs context on Actions (#24230) 2023-04-22 16:12:41 -04:00
activities Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
admin Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
asymkey Prefer native parser for SSH public key parsing (#23798) 2023-04-11 14:34:28 +08:00
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) 2023-03-31 22:32:18 +08:00
avatars Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
db Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
dbfs Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
fixtures Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
git Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
issues Load reviewer for comments when dismissing a review (#24281) 2023-04-23 11:04:23 -04:00
migrations Support upload outputs and use needs context on Actions (#24230) 2023-04-22 16:12:41 -04:00
organization Add owner team permission check test (#24096) 2023-04-19 19:19:13 -04:00
packages Use ghost user if package creator does not exist (#23822) 2023-04-04 16:14:46 +08:00
perm Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
project Improve GetBoards and getDefaultBoard (#22981) 2023-04-09 22:07:23 +08:00
pull refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
secret Secrets storage with SecretKey encrypted (#22142) 2022-12-20 17:07:13 +08:00
system Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
unit Improve LoadUnitConfig to handle invalid or duplicate units (#23736) 2023-04-03 16:42:38 +08:00
unittest Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
user Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
webhook Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
error.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
fixture_generation.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
fixture_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
migrate_test.go Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00
migrate.go Check primary keys for all tables and drop ForeignReference (#21721) 2022-12-23 19:35:43 +08:00
org_team_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org_team.go Fix internal sever error when visiting a PR that bound to the deleted team (#24127) 2023-04-19 19:50:00 -04:00
org_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_collaboration_test.go Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
repo_collaboration.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_transfer_test.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
repo_transfer.go Always reuse transaction (#22362) 2023-01-08 09:34:58 +08:00
repo.go Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00