Pēteris Caune
42497fe91a
Add rate limiting to the sudo code form
4 years ago
Pēteris Caune
816c158744
Fix code formatting in the Notification model
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
7e56156d32
Optimize the "Update Check" API call
In the "Update Check" API call, if no fields have changed,
don't save the changes to the database.
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
94b993354f
Sort integrations in A-Z order. Rename "LineNotify" -> "LINE Notify". Update the LINE Notify icon.
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
c75a37570e
In channels admin, don't show the notification counts, querying it is too expensive.
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
750b96c374
Use Django 3.1
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
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
255d4e7bb7
Reduce the number of queries in /admin/api/channel/
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
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
Pēteris Caune
a90f8a3a56
Remove unused code.
4 years ago
James Kirsop
368d7a4fec
Commit with requested changes and tests
4 years ago
James Kirsop
c5c4e0f782
Returning all historical flips if no parameters are passed
4 years ago
James Kirsop
90d4246848
Second interation of this
4 years ago
James Kirsop
4b1b232959
Chnange 'status' field in response to 'up'
4 years ago
James Kirsop
bc6ccd55b3
Implementation of history using Flips model statuses for a check
5 years ago
James Kirsop
aaadf6031f
Sample work for review
5 years ago
Pēteris Caune
cdafc06c65
In urls.py, route "api/v1/checks/<sha1:unique_key>" directly to the hc.api.views.get_check_by_unique_key view.
Minor API documentation edits.
4 years ago
James Kirsop
8725c81144
Implementing new changes discussed to resolve #370
4 years ago
Pēteris Caune
fd4d59c4e1
API, optimization: avoid retrieving project twice from the database
4 years ago
Pēteris Caune
a07325e40f
Add "Get a list of checks's logged pings" API call ( #371 )
4 years ago