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 Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
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 Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
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 [Port] gitea#29999: Fix Add/Remove WIP on pull request title failure 2024-03-29 12:21:51 +01:00
issue_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
label.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
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 [FEAT] allow setting the update date on issues and comments 2024-02-05 14:44:33 +01:00
milestone_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pull.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
reaction.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
status.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
template.go [FEAT] support .forgejo dir for issue and PR templates 2024-02-06 10:22:32 +01:00