forgejo/models
singuliere b536b65189
GetFeeds must always discard actions with dangling repo_id (#19598)
* GetFeeds must always discard actions with dangling repo_id

See https://discourse.gitea.io/t/blank-page-after-login/5051/12
for a panic in 1.16.6.

* add comment to explain the dangling ID in the fixture

* loadRepoOwner must not attempt to use a nil action.Repo

* make fmt

Co-authored-by: Loïc Dachary <loic@dachary.org>
2022-05-05 11:39:26 -04:00
..
admin
appstate
asymkey
auth
avatars
db Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
fixtures GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
foreignreference
issues
migrations
organization
packages
perm
project
repo Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
unit
unittest GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
user
webhook
access.go
access_test.go
action.go GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
action_list.go GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
action_test.go GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
branches.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
branches_test.go
commit.go
commit_status.go
commit_status_test.go
consistency.go
consistency_test.go
engine_test.go
error.go
fixture_generation.go
fixture_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
issue_dependency_test.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_lock.go
issue_project.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
issue_xref_test.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
lfs.go
lfs_lock.go
main_test.go
migrate.go
migrate_test.go
notification.go
notification_test.go
org.go
org_team.go
org_team_test.go
org_test.go
protected_tag.go
protected_tag_test.go
pull.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
pull_list.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
pull_test.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
release.go
repo.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
repo_activity.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go
repo_generate_test.go
repo_list.go
repo_list_test.go
repo_permission.go Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
repo_permission_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go
review.go
review_test.go
statistic.go
task.go Only check for non-finished migrating task (#19601) 2022-05-04 12:09:42 +02:00
token.go
token_test.go
upload.go
user.go
user_heatmap.go
user_heatmap_test.go
user_test.go
userlist.go
userlist_test.go