Pēteris Caune
12b946acf3
Experimental Prometheus metrics endpoint. cc: #300
2020-02-14 16:12:13 +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
4f6f1d9f66
Fix sendalerts crash loop when encountering a bad cron schedule
2020-02-07 10:36:45 +02:00
Pēteris Caune
ac4f1ca059
Log slow sendalerts.notify runs to stdout
2020-02-06 11:21:28 +02:00
Pēteris Caune
4a7074418a
Track the time spent sending notifications for each flip
2020-02-06 11:11:12 +02:00
Pēteris Caune
9f2638bf72
The sendalerts commands measures notification dwell time and reports it over statsd protocol. Experimental, may go away in a future commit.
2020-02-05 11:25:06 +02:00
Pēteris Caune
6bc4948d00
Removing obsolete comment: the index is defined in hc.api.models.Check.Meta
2020-02-04 15:32:25 +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
6ebae33579
Fix "Send Test Notification" for webhooks that only fire on checks going up
2019-12-27 14:36:32 +02:00
Pēteris Caune
0d2c6217d3
Auto-submit the unsubscribe confirmation form only if signature is more than 5 minutes old. Idea from https://stackoverflow.com/questions/59281750/strategies-to-prevent-email-scanners-from-activating-unsubscribe-links/59381066#59381066
2019-12-18 16:10:30 +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
15ba415298
senddeletionnotices
command skips profiles with recent last_active_date
2019-12-11 15:24:51 +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
f9c61dad23
Fix List-Unsubscribe email header value: add angle brackets
2019-12-09 14:04:14 +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
0349a3997b
PagerDuty event payload does not need the "vendor" key.
2019-11-22 11:29:09 +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
f74860bc0c
Add Profile.last_active_date field for more accurate inactive user detection
2019-11-19 16:29:38 +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
9cbd3bfc5a
In monthly reports, no downtime stats for the current month (month has just started)
2019-11-06 10:41:14 +02:00
Pēteris Caune
3f36d31cde
Display the error field in notifications admin list view, don't load all checks in details view.
2019-10-18 17:22:50 +03: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
862bafc331
Mattermost integration WIP cc: #276
2019-08-20 22:59:11 +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
Chris Caron
b5a03369b6
Apprise Notifications are now a controlled via settings
2019-08-08 20:28:54 -04:00
Chris Caron
c2b1d00422
Apprise Integration
2019-08-07 19:36:06 -04:00
Pēteris Caune
033d0ab197
Partial indexes for api_check.alert_after and api_flip.processed fields.
2019-07-20 16:58:41 +03:00
Pēteris Caune
c0d808271e
Add the pruneflips
management command.
2019-07-20 12:25:58 +03:00
Pēteris Caune
b37d908879
Optimization: don't instantiate Flip objects in Check.downtimes()
2019-07-20 12:17:00 +03: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
b74e56a273
Experimental: show the number of outages and total downtime in monthly reports. ( #104 )
2019-07-19 17:32:39 +03:00
Pēteris Caune
77fd0d00e0
Add "desc" back in the readonly API responses, and add "unique_key" field, derived from code.
2019-07-04 19:33:26 +03:00
Pēteris Caune
35b137a8d7
Allow caching CORS responses.
2019-07-04 12:50:01 +03:00