forgejo/models/issues
Earl Warren 5aad8a6918
[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)
2023-09-12 11:02:07 +02:00
..
assignees.go
assignees_test.go
comment.go [GITEA] enable system users for comment.LoadPoster 2023-09-12 11:02:07 +02:00
comment_code.go
comment_list.go
comment_test.go
content_history.go
content_history_test.go
dependency.go
dependency_test.go
issue.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
issue_index.go
issue_label.go
issue_list.go Improve loadprojects for issue list (#25468) (#25493) 2023-06-26 02:06:58 +00:00
issue_list_test.go Fix empty project displayed in issue sidebar (#25802) (#25854) 2023-07-12 19:07:03 +02:00
issue_lock.go
issue_project.go Fix empty project displayed in issue sidebar (#25802) (#25854) 2023-07-12 19:07:03 +02:00
issue_search.go Fix wrong review requested number (#26784) (#26880) 2023-09-08 08:09:18 +02:00
issue_stats.go Fix project filter bugs (#26490) (#26558) 2023-08-21 07:27:20 +02:00
issue_test.go [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
issue_update.go [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
issue_user.go Fix bug with sqlite load read (#26305) (#26339) 2023-08-21 07:22:16 +02:00
issue_user_test.go Fix bug with sqlite load read (#26305) (#26339) 2023-08-21 07:22:16 +02:00
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
label.go
label_test.go
main_test.go
milestone.go
milestone_test.go
pull.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
pull_list.go
pull_test.go
reaction.go [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
reaction_test.go [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
review.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
review_list.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
review_test.go Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
stopwatch.go
stopwatch_test.go
tracked_time.go
tracked_time_test.go