iachat/spec/services
Pranav ee2844877c
fix: Add catch for additional webpush errors (#9662)
Webpush gem throws errors such as `WebPush::ExpiredSubscription`,
`WebPush::InvalidSubscription`, `WebPush::Unauthorized`. We handled only
ExpiredSubscription.

If the SDK threw any other errors, it would pause sending the
notification to all other devices for that user. This change would
update the logic to remove the expired subscription and handle the rest
of the errors gracefully.

Fixes
https://linear.app/chatwoot/issue/CW-3399/webpushinvalidsubscription-host-fcmgoogleapiscom-nethttpnotfound-404
2024-06-21 14:58:36 -07:00
..
agent_bots feat: Add native support for CSML in agent_bot API (#4913) 2022-06-23 19:17:46 +05:30
auto_assignment chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
automation_rules fix: SQL error when rules with missing attributes is triggered (#8673) 2024-01-22 16:09:34 +05:30
contacts feat: exporting contacts takes the filters into account (#9347) 2024-05-07 20:18:36 -07:00
conversations fix: Update validations for filter service (#8239) 2024-03-20 16:29:36 +05:30
facebook feat: allow multiple files for FB and Insta [CW-3019] (#8783) 2024-01-28 13:20:54 +05:30
google feat: add Google Email fetch and OAuth token refresh service (#9603) 2024-06-11 14:22:03 +05:30
imap feat: Add configurable interval for IMAP sync (#9302) 2024-04-25 18:58:20 -07:00
instagram feat: allow multiple files for FB and Insta [CW-3019] (#8783) 2024-01-28 13:20:54 +05:30
internal feat: Add job to remove stale contact inboxes (#8096) 2023-11-06 20:24:30 -08:00
labels fix: Update associations when a label is updated (#3046) 2021-09-21 10:16:32 +05:30
line feat: Standardise the external channel user id and user name (#8802) 2024-01-29 16:57:10 +05:30
macros feat: Add the ability to self-assign conversations in macros (#8048) 2023-10-10 09:38:23 +05:30
message_templates chore: Disable message hooks for conversations without incoming message (#7620) 2023-07-26 20:38:49 +03:00
messages chore: Change primary actor to Conversation for all the notification types. (#8435) 2023-12-06 10:43:09 +05:30
microsoft chore: Refactor RefreshOauthTokenService to improve readability (#8820) 2024-01-31 12:24:12 +04:00
notification fix: Add catch for additional webpush errors (#9662) 2024-06-21 14:58:36 -07:00
sms feat: Bandwidth sms channel delivery reports (#8198) 2023-10-27 14:07:15 -07:00
telegram feat: Support document file uploads on telegram channel (#9266) 2024-05-02 14:05:14 -07:00
twilio fix: Twilo attachment download fallback to the step where authorization headers are not passed. (#8681) 2024-01-11 17:23:31 -08:00
twitter chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
whatsapp fix: Avoid processing reactions, ephemeral, request_welcome or unsupported messages (#8780) 2024-01-25 11:40:18 +04:00
action_service_spec.rb fix: undefined method 'zero?' for nil:NilClass (#8689) 2024-01-15 15:07:36 +05:30
search_service_spec.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30