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
comments.go
comments_test.go
commit.go
commit_test.go
content.go
issue.go
issue_test.go
label.go
label_test.go
main_test.go
milestone.go
milestone_test.go
pull.go
reaction.go
status.go
template.go