forkjo/models/issues
Earl Warren f9a59b940a
[GITEA] enable system users for comment.LoadPoster
System users (Ghost, ActionsUser, etc) have a negative id and may be
the author of a comment, either because it was created by a now
deleted user or via an action using a transient token.

The GetPossibleUserByID function has special cases related to system
users and will not fail if given a negative id.

Refs: https://codeberg.org/forgejo/forgejo/issues/1425
(cherry picked from commit 97667e06b3)
(cherry picked from commit 8ef73a09c9)
(cherry picked from commit fa8a00d264)
(cherry picked from commit 2ada2074b5)
2023-10-09 20:44:24 +02:00
..
assignees.go
assignees_test.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
comment.go [GITEA] enable system users for comment.LoadPoster 2023-10-09 20:44:24 +02:00
comment_code.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
comment_list.go Add logs for data broken of comment review (#27326) 2023-09-29 02:31:36 +00:00
comment_test.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
content_history.go
content_history_test.go
dependency.go
dependency_test.go
issue.go [v1.22] [FEAT] allow setting the update date on issues and comments 2023-10-09 19:11:03 +02:00
issue_index.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
issue_label.go Don't let API add 2 exclusive labels from same scope (#27433) 2023-10-05 03:37:36 +00:00
issue_label_test.go Don't let API add 2 exclusive labels from same scope (#27433) 2023-10-05 03:37:36 +00:00
issue_list.go
issue_list_test.go
issue_lock.go
issue_project.go
issue_search.go Fix review request number and add more tests (#27104) 2023-09-21 13:59:50 +02:00
issue_stats.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
issue_test.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
issue_update.go [v1.22] [FEAT] allow setting the update date on issues and comments 2023-10-09 19:11:03 +02:00
issue_user.go
issue_user_test.go
issue_watch.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
issue_watch_test.go
issue_xref.go [v1.22] [FEAT] allow setting the update date on issues and comments 2023-10-09 19:11:03 +02:00
issue_xref_test.go
label.go
label_test.go
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
milestone.go [v1.22] [FEAT] allow setting the update date on issues and comments 2023-10-09 19:11:03 +02:00
milestone_list.go
milestone_test.go
pull.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
pull_list.go
pull_test.go
reaction.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
reaction_test.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
review.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
review_list.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
review_test.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
stopwatch.go
stopwatch_test.go
tracked_time.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
tracked_time_test.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00