364 Commits

Author SHA1 Message Date
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
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
9dea24e937
A data migration to convert webhook values to the most recent format. 2019-05-30 00:26:30 +03:00
Pēteris Caune
c7eca1c4a7
Better tests. 2019-05-28 15:35:05 +03:00
Pēteris Caune
d054970b02
Webhooks support PUT method.
.Webhooks can have different request bodies and headers for "up" and "events".
2019-05-28 14:25:29 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black 2019-05-15 14:27:50 +03:00
Pēteris Caune
1b948f4d5a
Show check counts in JSON "badges". Fixes #251 2019-05-15 13:42:38 +03:00
Pēteris Caune
b528b23996
Fix badges for tags containing special characters. Fixes #240, #237 2019-05-14 14:43:43 +03:00
Pēteris Caune
dd9fbc9e8c
Fixing a too low rate limit I had used while debugging. 2019-05-07 12:26:08 +03:00
Pēteris Caune
6040759601
Add the prunetokenbucket management command. 2019-05-05 13:04:32 +03:00
Pēteris Caune
32ee6d4ca9
Fix the "send_alert" admin action. 2019-05-02 14:06:56 +03:00
Pēteris Caune
afaa8767cd
Rate limit login-with-password attempts. 2019-04-26 15:51:10 +03:00