forgejo/services/issue
Gusted 15c64122a6
[BUG] Don't fire notification for comment of pending review
- When a comment was updated or deleted and was part of an
pending/ongoing review, it would have triggered a notification, such as
a webhook.
- This patch checks if the comment is part of a pending review and then
does not fire a notification and, in the case of updating a comment,
does not save the content history because this is not necessary if it is
still a "draft" comment given it is a pending comment (there is no need
to see my embarrassing typos).
- Adds integration tests.
- Resolves https://codeberg.org/forgejo/forgejo/issues/4368
2024-08-18 17:04:00 +02:00
..
assignee.go
assignee_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
comments.go [BUG] Don't fire notification for comment of pending review 2024-08-18 17:04:00 +02:00
comments_test.go [BUG] Don't fire notification for comment of pending review 2024-08-18 17:04:00 +02:00
commit.go
commit_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
content.go Prevent simultaneous editing of comments and issues (#31053) 2024-06-02 16:26:54 +02:00
issue.go
issue_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
label.go
label_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
main_test.go [BUG] Don't fire notification for comment of pending review 2024-08-18 17:04:00 +02:00
milestone.go
milestone_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pull.go
reaction.go
status.go
template.go