Pēteris Caune
55bf29c6a6
Remove debug statement
3 years ago
Pēteris Caune
f3b857ad82
Simplify the retry logic
3 years ago
Pēteris Caune
6158f9c539
Change outgoing webhook timeout to 10s, and change the retry logic
Previous retry logic was:
- max 3 tries
- every try times out after 5 seconds
The new retry logic is:
- max 3 tries
- every try times out after 10 seconds
- if the first two tries have used > 10 seconds, don't
do the third try
cc: #569
3 years ago
Pēteris Caune
c196dc16d7
Fix latin-1 handling in webhook header values
3 years ago
Pēteris Caune
544ec7ea69
Add handling for non-latin-1 characters in webhook headers
3 years ago
Pēteris Caune
855d188981
Add support for "... is UP" SMS notifications
Fixes : #512
4 years ago
Pēteris Caune
c1f433bb71
Rename VictorOps -> Splunk On-Call
4 years ago
Pēteris Caune
65ace8238a
Add the ZULIP_ENABLED setting
4 years ago
Pēteris Caune
e2c90c05b8
Add the VICTOROPS_ENABLED setting
4 years ago
Pēteris Caune
8811640d45
Add the SPIKE_ENABLED setting
4 years ago
Pēteris Caune
419d96da7a
Add the PAGERTREE_ENABLED setting
4 years ago
Pēteris Caune
28150e85fa
Add the PD_ENABLED setting
4 years ago
Pēteris Caune
8d5890d883
Add the OPSGENIE_ENABLED setting, rename OpsGenie -> Opsgenie
4 years ago
Pēteris Caune
5f31b8b873
Add the MSTEAMS_ENABLED setting
4 years ago
Pēteris Caune
6c3debaf11
Add the MATTERMOST_ENABLED setting
4 years ago
Pēteris Caune
52435a9a0c
Add the SLACK_ENABLED setting
4 years ago
Pēteris Caune
67ff8a9bee
Add the WEBHOOKS_ENABLED setting
4 years ago
Pēteris Caune
c2bb4b31b5
Add rate limiting for Pushover notifications
4 years ago
Pēteris Caune
d45dc2f6a3
Change Zulip onboarding, ask for the zuliprc file
Fixes : #202
4 years ago
Pēteris Caune
3b6afae140
Specify timeout in the DBus calls
4 years ago
Pēteris Caune
d7c7ae6531
Fix tests
4 years ago
Pēteris Caune
74ed15e0aa
Update the signal integration to use DBus
The initial implementation was just calling signal-cli directly
using `subprocess.run`.
Going with DBus makes it easier to shield signal-cli from the
rest of the system. It also makes sure the signal-cli daemon is
running in the background and receiving messages. This is important
when a recipient does the "Reset secure connection" from the app. We
must receive their new keys, otherwise our future messages will
appear as "bad encrypted message" for them.
4 years ago
Pēteris Caune
a80b831eea
Add rate-limiting for Signal messages
4 years ago
Pēteris Caune
d4aac691ce
Increase the timeout for sending Signal messages
4 years ago
Pēteris Caune
cd99af14ba
Add Signal integration
Fixes : #428
4 years ago
Pēteris Caune
8fe8e0f605
Update alert email template: more information, less styling
Fixes : #348
4 years ago
Pēteris Caune
0b685e8b5a
Disable retries when testing webhook integration
Normally, when a webhook call fails (timeout, connection
error, non-2xx response), the HTTP request is retried up to two
times (so up to 3 times total). This is useful when sending
actual notifications, in case the webhook target has a temporary
glitch.
When interactively testing a webhook integration
("Send Test Notification" in the
"Integrations" page), we would prefer to see any errors ASAP
on the screen instead of retrying and so possibly swallowing them.
One specific use case is webhook targets that take long time to
generate a response. "Send Test Notification" is synchronous,
meaning that the user could be stuck for
5 x 3 = 15 seconds waiting for the test HTTP request to time out
three times.
4 years ago
Pēteris Caune
463ec8c988
Set the "title" and "summary" fields in MS Teams notifications
Fixes : #435
4 years ago
Pēteris Caune
05c81e0a41
Escape markdown in MS Teams notifications. cc: #426
4 years ago
carson.wang
74668551a7
Add tests & Doesn't get LineNotify token using setting
4 years ago
carson.wang
65b65188d1
Test LineNotify integration with healthcheck
4 years ago
Pēteris Caune
8ea510cda6
Removing unused /api/v1/notifications/{uuid}/bounce endpoint
4 years ago
Pēteris Caune
ae01c7a9d1
Handle Twilio status callbacks for SMS, WhatsApp and phone call notifications.
4 years ago
Pēteris Caune
95d58d26d5
Handle status callbacks from Twilio, show SMS delivery failures in the Integrations page.
4 years ago
Pēteris Caune
2ed9a8fd30
Rename Channel.sms_number property to Channel.phone_number. It is now used for SMS, WhatsApp and phone call notifications, so "sms_number" is not accurate any more.
4 years ago
Pēteris Caune
d05691f86f
SMS and phone calls now have separate "limit reached" email templates.
4 years ago
Pēteris Caune
8c13457037
Use separate counters for SMS and phone calls.
4 years ago
Pēteris Caune
ee9ac0ffef
New integration: phone calls. Fixes #403
4 years ago
Pēteris Caune
ec5ee03a3e
Add "check_id" in Spike payload.
4 years ago
Pēteris Caune
58f16da935
Edits to Spike setup instructions.
4 years ago
Divyansh
6300947c77
integration for Spike
4 years ago
Pēteris Caune
3a00c0d2aa
Sending a test notification updates Channel.last_error. Fixes #391
4 years ago
Pēteris Caune
8e51d26595
Removing Pager Team integration, project appears to be discontinued
4 years ago
Sandro Jäckel
38382d662d
Fix typos with codespell
5 years ago
Pēteris Caune
4a43ed59fc
Rate limiting for Telegram notifications (10 notifications per chat per minute)
5 years ago
Pēteris Caune
25d7d5409f
Telegram integration returns more detailed error messages
5 years ago
Pēteris Caune
5f2c20e46b
Zulip integration returns more detailed error messages
5 years ago
Pēteris Caune
8c7f3977e2
OpsGenie integration returns more detailed error messages
5 years ago
Pēteris Caune
f352efdd5f
Experimental Zulip integration. Fixes #202
5 years ago
Pēteris Caune
6ebae33579
Fix "Send Test Notification" for webhooks that only fire on checks going up
5 years ago