Pēteris Caune
155a1f132b
Simplify super() calls in tests
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
81e59ac553
Add support for script's exit status in ping URLs
Fixes : #429
4 years ago
Pēteris Caune
6f56ed7f92
Reduce the number of SQL queries used in the "Get Checks" API call
4 years ago
Pēteris Caune
7534f1856f
Add testcases for setting channels in the "Create Check" API call
4 years ago
Pēteris Caune
0e77064c44
Update API to allow specifying channels by names
Fixes : #440
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
Pēteris Caune
b64c8d1cb8
API support for setting the allowed HTTP methods for making ping requests
4 years ago
Pēteris Caune
c13f65e118
Grammar and style fixes.
4 years ago
Pēteris Caune
66a1a108bf
When decoding inbound emails, decode encoded headers. Fixes #420
4 years ago
Pēteris Caune
e424176a1f
Remove mentions of "whitelist"
4 years ago
Pēteris Caune
8ea510cda6
Removing unused /api/v1/notifications/{uuid}/bounce endpoint
4 years ago
Pēteris Caune
a29b82a0ed
In api.views.notification_status, always return HTTP 200 so the other party doesn't retry over and over again
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
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
43e56ce788
Add support for multiple, comma-separated keywords (cc: #396 )
4 years ago
Pēteris Caune
0d03e3f00b
Add "Failure Keyword" filtering for inbound emails (cc: #396 )
4 years ago
Pēteris Caune
589c0c0363
Updated Discord integration to use discord.com instead of discordapp.com
4 years ago
Pēteris Caune
3a00c0d2aa
Sending a test notification updates Channel.last_error. Fixes #391
4 years ago
Pēteris Caune
149096811d
In the checks list, indicate a started check with a progress spinner under the status icon (cc: #338 )
4 years ago
Pēteris Caune
a18eb134f5
Refactor: change Check.get_status(with_started=...) default value from True to False (with_started=False is or will be useful in more places)
4 years ago
Pēteris Caune
832580f343
Simplify hc.api.views.flips, add validation and more tests.
4 years ago
Pēteris Caune
60d1c6e2a3
Format timestamp as ISO 8601 without microseconds, same as elsewhere.
4 years ago
James Kirsop
368d7a4fec
Commit with requested changes and tests
4 years ago
James Kirsop
8725c81144
Implementing new changes discussed to resolve #370
4 years ago
Pēteris Caune
a07325e40f
Add "Get a list of checks's logged pings" API call ( #371 )
5 years ago
Pēteris Caune
461ef5e088
Paused ping handling can be controlled via API. Fixes #376
5 years ago
Pēteris Caune
8e51d26595
Removing Pager Team integration, project appears to be discontinued
5 years ago
Pēteris Caune
3eebd8968d
Added "When paused, ignore pings" option in the Filtering Rules dialog ( #369 )
5 years ago
Pēteris Caune
3730c67c80
Return max notification_id in metrics.
5 years ago
Pēteris Caune
edbfd4b437
Added /api/v1/metrics/ endpoint, useful for monitoring the service itself
5 years ago
Pēteris Caune
3cca17560a
Fix tests.
5 years ago
Pēteris Caune
9d2cf4f008
Don't escape HTML in the subject line of notification emails
5 years ago
Pēteris Caune
4a43ed59fc
Rate limiting for Telegram notifications (10 notifications per chat per minute)
5 years ago
Pēteris Caune
76ae42bc8f
"Get a single check" API call now supports read-only API keys. Fixes #346
5 years ago
Pēteris Caune
da4cf5241e
Minor cleanup, update CHANGELOG
5 years ago
James Kirsop
456a80f1fa
Adding tests and docs
5 years ago
James Kirsop
6373db8aa1
Changes to prototype this for testing with real data
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
4bcfba728e
Use unittest.mock
5 years ago
James Kirsop
d88f99a712
Changes to prototype this for testing with real data
5 years ago
Pēteris Caune
5e051d53f8
Validate channel identifiers before creating/updating a check. Fixes #335
5 years ago
Pēteris Caune
cde1f50ac2
API: update check's "alert_after" field when changing schedule
5 years ago
Pēteris Caune
fb527e4ed8
Security: check channel ownership when setting check's channels via API
5 years ago