Pēteris Caune
3730c67c80
Return max notification_id in metrics.
2020-04-26 20:34:52 +03:00
Pēteris Caune
edbfd4b437
Added /api/v1/metrics/ endpoint, useful for monitoring the service itself
2020-04-26 17:45:50 +03:00
Pēteris Caune
3cca17560a
Fix tests.
2020-04-20 17:11:00 +03:00
Pēteris Caune
9d2cf4f008
Don't escape HTML in the subject line of notification emails
2020-03-25 17:18:14 +02:00
Pēteris Caune
4a43ed59fc
Rate limiting for Telegram notifications (10 notifications per chat per minute)
2020-03-24 23:33:02 +02:00
Pēteris Caune
76ae42bc8f
"Get a single check" API call now supports read-only API keys. Fixes #346
2020-03-24 16:10:42 +02:00
Pēteris Caune
da4cf5241e
Minor cleanup, update CHANGELOG
2020-03-23 11:54:41 +02:00
James Kirsop
456a80f1fa
Adding tests and docs
2020-03-23 11:37:32 +11:00
James Kirsop
6373db8aa1
Changes to prototype this for testing with real data
2020-03-23 10:58:02 +11:00
Pēteris Caune
25d7d5409f
Telegram integration returns more detailed error messages
2020-03-19 22:16:22 +02:00
Pēteris Caune
5f2c20e46b
Zulip integration returns more detailed error messages
2020-03-19 22:05:13 +02:00
Pēteris Caune
8c7f3977e2
OpsGenie integration returns more detailed error messages
2020-03-19 21:58:17 +02:00
Pēteris Caune
f352efdd5f
Experimental Zulip integration. Fixes #202
2020-03-11 16:38:29 +02:00
Pēteris Caune
4bcfba728e
Use unittest.mock
2020-03-01 22:30:12 +02:00
Pēteris Caune
5e051d53f8
Validate channel identifiers before creating/updating a check. Fixes #335
2020-02-20 10:43:40 +02:00
Pēteris Caune
cde1f50ac2
API: update check's "alert_after" field when changing schedule
2020-02-19 12:45:33 +02:00
Pēteris Caune
fb527e4ed8
Security: check channel ownership when setting check's channels via API
2020-02-19 12:19:51 +02:00
Pēteris Caune
435659166c
Don't let SuspiciousOperation bubble up when validating channel ids in API
2020-02-19 11:43:42 +02:00
Pēteris Caune
ccd30ac239
Stricter cron validation, reject schedules like "At midnight of February 31"
2020-02-07 11:38:50 +02:00
Pēteris Caune
77033760f9
Make sure Check.last_ping and Ping.created timestamps match exactly
2020-01-17 14:30:32 +02:00
Pēteris Caune
58a118c494
Make Ping.body size limit configurable. Fixes #301
2020-01-17 12:44:39 +02:00
Pēteris Caune
b8108906f4
hc.api.views.bounce updates Channel.last_error
2020-01-08 11:14:34 +02:00
Pēteris Caune
c521b44d20
hc.api.views.bounce handles transient email bounces (logs error, does not disable the integration)
2020-01-08 10:50:29 +02:00
Pēteris Caune
4ee2646539
Show a red "!" in project's top navigation if any integration is not working
2020-01-03 13:15:24 +02:00
Pēteris Caune
84a4de32cc
Remove legacy webhook formats (newline-separated fields and the post_data key) from the Channel model
2019-12-27 15:07:15 +02:00
Pēteris Caune
bffb51357e
Add desc to hc.api.schemas.check
2019-12-18 09:11:34 +02:00
Bram Daams
1b3d7e8c0a
being able to set/update the description of a check when creating/updating using the api
2019-12-17 15:47:13 +01:00
Pēteris Caune
d6be955fa7
Silence stdout output from management commands during tests
2019-12-11 15:35:23 +02:00
Pēteris Caune
f7496fb8cf
Add List-Unsubscribe-Post email header
2019-12-10 09:44:51 +02:00
Pēteris Caune
8d81d27af3
Unsubscribe links serve a form, and require HTTP POST to actually unsubscribe
2019-12-10 09:14:54 +02:00
Pēteris Caune
22d4d55340
Added support for Shields.io badges. cc: #304 , #305
2019-12-05 12:27:37 +02:00
Pēteris Caune
3f19181028
"Filtering Rules" dialog, an option to require HTTP POST. Fixes #297
2019-11-27 16:33:36 +02:00
Pēteris Caune
98ba51f44f
Use hc.lib.string.replace for webhooks too.
...
hc.lib.string.replace only replaces placeholders that appear in the original template. It ignores any placeholders that "emerge" while doing string substitutions. This is done mainly to avoid unexpected behavior when check names or tags contain dollar signs.
2019-11-20 17:44:41 +02:00
Pēteris Caune
8d81ea8f9d
Add "Shell Commands" integration. Fixes #302
2019-11-20 16:00:53 +02:00
Pēteris Caune
84bc6e7b2c
Fix typo.
2019-11-14 16:30:07 +02:00
Pēteris Caune
dc84b7be01
Add Microsoft Teams integration. Fixes #135
2019-11-14 15:19:40 +02:00
Pēteris Caune
66a6de70c0
Send email notification when monthly SMS sending limit is reached. Fixes #292
2019-10-18 17:15:02 +03:00
Pēteris Caune
1dea8b6050
Add support for OpsGenie EU region. Fixes #294
2019-10-14 20:31:25 +03:00
Pēteris Caune
2bb769f7bb
Send monthly reports on 1st of every month, not randomly during the month
2019-10-12 20:07:09 +03:00
Pēteris Caune
0d924f4627
Add the "Last Duration" field in the "My Checks" page. Add "last_duration" attribute to the Check API resource. Fixes #257
2019-09-03 13:46:41 +03:00
Pēteris Caune
dde2910c59
Cleanup.
2019-08-12 14:41:50 +03:00
Chris Caron
86ad70f6d5
improved testing
2019-08-08 21:20:58 -04:00
Pēteris Caune
b2ebce6cf9
Show the number of downtimes and total downtime minutes in "Check Details" page.
2019-07-20 11:42:16 +03:00
Pēteris Caune
b7320b1b69
In monthly report, show months in ascending order. Cleanup.
2019-07-20 10:17:00 +03:00
Pēteris Caune
cb2e763e98
Cleanup in Check.outages_by_month()
and tests.
2019-07-19 19:42:37 +03:00
Pēteris Caune
1f1b1aedca
Don't include ping URLs in API responses when the read-only key is used
2019-07-04 09:36:27 +03:00
Pēteris Caune
e0f161157d
Fix prunepings
and prunepingsslow
, fixes #264
2019-06-24 18:02:36 +03:00
Pēteris Caune
479208abf0
Webhooks support the $TAGS placeholder
2019-06-04 23:40:08 +03:00
Pēteris Caune
40f4adf78b
Add WhatsApp integration (uses Twilio same as the SMS integration)
2019-05-31 13:01:01 +03:00
Pēteris Caune
c7eca1c4a7
Better tests.
2019-05-28 15:35:05 +03:00