-
- Downloads
Add object_attributes.action for note webhooks
After !127169 note webhooks now also fire when a note is updated, as well as created. The `object_attributes.action` property can be used to determine which of the two events triggered the webhook. !127169 (comment 1822611315) Changelog: added
Showing
- app/services/concerns/integrations/project_test_data.rb 1 addition, 1 deletionapp/services/concerns/integrations/project_test_data.rb
- app/services/notes/post_process_service.rb 1 addition, 1 deletionapp/services/notes/post_process_service.rb
- app/services/notes/update_service.rb 1 addition, 1 deletionapp/services/notes/update_service.rb
- app/views/shared/web_hooks/_form.html.haml 2 additions, 2 deletionsapp/views/shared/web_hooks/_form.html.haml
- doc/user/project/integrations/webhook_events.md 18 additions, 3 deletionsdoc/user/project/integrations/webhook_events.md
- lib/gitlab/data_builder/note.rb 12 additions, 8 deletionslib/gitlab/data_builder/note.rb
- locale/gitlab.pot 2 additions, 2 deletionslocale/gitlab.pot
- spec/lib/gitlab/data_builder/note_spec.rb 23 additions, 6 deletionsspec/lib/gitlab/data_builder/note_spec.rb
- spec/models/integrations/base_chat_notification_spec.rb 2 additions, 2 deletionsspec/models/integrations/base_chat_notification_spec.rb
- spec/models/integrations/hangouts_chat_spec.rb 4 additions, 4 deletionsspec/models/integrations/hangouts_chat_spec.rb
- spec/models/integrations/microsoft_teams_spec.rb 4 additions, 4 deletionsspec/models/integrations/microsoft_teams_spec.rb
- spec/services/integrations/group_mention_service_spec.rb 1 addition, 1 deletionspec/services/integrations/group_mention_service_spec.rb
- spec/support/shared_examples/models/chat_integration_shared_examples.rb 1 addition, 1 deletion...hared_examples/models/chat_integration_shared_examples.rb
- spec/support/shared_examples/models/concerns/integrations/base_slack_notification_shared_examples.rb 2 additions, 2 deletions...s/integrations/base_slack_notification_shared_examples.rb
- spec/support/shared_examples/models/concerns/integrations/slack_mattermost_notifier_shared_examples.rb 5 additions, 5 deletions...integrations/slack_mattermost_notifier_shared_examples.rb
Loading
Please register or sign in to comment