Commit graph

230 commits

Author SHA1 Message Date
Pēteris Caune
b191b968f3
sendreports, sendalerts: and avoid db access while rendering templates--template renderer swallows any exceptions
sendreports: use select_related() to avoid doing N queries
2018-03-23 11:34:17 +02:00
Pēteris Caune
218d0c6873 Remove Check.last_ping_body field. CSS tweaks for the "Ping Details" modal. 2018-03-18 15:54:57 +02:00
Pēteris Caune
282412f4ba Allow body to be null for easier db migration. 2018-03-18 15:10:08 +02:00
Pēteris Caune
02f6853d4c Save request body for every ping, not just the last one. 2018-03-18 14:55:41 +02:00
Pēteris Caune
166115ebfb Allow setting 30 day timeouts and grace times through API. 2018-03-17 09:43:55 +02:00
Pēteris Caune
cf6882edd3 SMS numbers can be annotated with labels. Fixes #155 2018-03-13 16:31:58 +02:00
Pēteris Caune
c126f7d0a2 Converting api_ping.id from integer to bigint. 2018-01-27 14:37:36 +02:00
Pēteris Caune
09421153f5 Use OpsGenie API v2 2018-01-25 13:11:56 +02:00
Pēteris Caune
fc176cd832 settelegramwebhook now sends a correct "allowed_updates" field. 2018-01-18 00:58:19 +02:00
Pēteris Caune
1392226538 sendalerts was not using the api_check (status, user_id, alert_after) index so removing it. The index was not selective enough. 2018-01-17 00:49:03 +02:00
Pēteris Caune
c4b316003d Replace healthchecks.io branding with generic branding. 2018-01-13 19:21:43 +02:00
Pēteris Caune
a869906fde Zendesk integration (experimental and hidden from Integrations page for now) 2017-12-29 22:53:09 +02:00
Pēteris Caune
266fbd225d sendreports doesn't send nags if nag_period=0 ("disabled"). This would result in an infinite loop of nag emails. 2017-12-29 18:05:23 +02:00
Pēteris Caune
ebbc898d02 Experimental settelegramwebhook management command 2017-12-27 18:28:34 +02:00
Pēteris Caune
a1c40bdbbf Adding missing migrations. Fixes #145 2017-12-27 17:35:05 +02:00
Austin
201d1a0815 Rename the test function 2017-12-14 16:11:42 -08:00
Austin
7eed6160c1 Adds test for pagertree 2017-12-14 16:07:24 -08:00
Austin
17831bb974 Adds missing comma 2017-12-14 11:21:21 -08:00
Austin
cb1eac50d9 Adds PagerTree Integration 2017-12-14 11:10:08 -08:00
Pēteris Caune
1b7d4f6f3e Adding "Overall status" badge. 2017-11-10 21:52:27 +02:00
Pēteris Caune
4cdc7db035 Webhook header values can contain variables. 2017-11-10 12:24:31 +02:00
Pēteris Caune
620d8523d7 GET webhooks support custom headers too. Can override the User-Agent header. 2017-11-10 12:16:11 +02:00
Pēteris Caune
fbf28e4038
Merge pull request #140 from someposer/master
Adding Content-Type header to Webhook integrations
2017-11-10 11:39:40 +02:00
someposer
5781ddfe4d Created an improved interface for arbitrary headers and simplified
header storage.
2017-11-05 19:10:19 -06:00
Pēteris Caune
363f219671 Don't log delivery notifications for unverified email addresses. 2017-11-04 17:52:11 +02:00
Pēteris Caune
ddd940688e Disable channel (mark as email_verified=False) when email bounces. 2017-11-04 17:35:14 +02:00
someposer
05c84d7976 Add support for arbitrary headers using a JSON body for webhooks. 2017-11-03 19:40:43 -05:00
someposer
ee0df8be95 Fixed issue with Transport test 2017-11-03 15:57:33 -05:00
someposer
08ac09ea93 Adding additional notify tests to improve coverage. 2017-11-03 15:43:34 -05:00
someposer
0ea5927b6a Adding Content-Type header to Webhook integrations to work correctly with
services like https://ifttt.com/maker_webhooks which require a
specific content type, like application/json.
2017-11-03 13:41:36 -05:00
Pēteris Caune
f2a2241b6b Email listener: "./manage.py smtpd" 2017-11-01 19:20:12 +02:00
Pēteris Caune
2a7ee66d1e Profile.set_next_nag_date does not touch already set dates. 2017-10-15 21:43:48 +03:00
Pēteris Caune
5c64e0cd5d If profile has next_nag_date set in future then set_next_nag_date does not touch it. 2017-10-15 20:25:04 +03:00
Pēteris Caune
882933668a Natural sort for check names, fixes #136.
Apply the user's chosen sort order in emails also.
2017-10-15 13:34:34 +03:00
Pēteris Caune
d520706c27 Adding an option to send daily or hourly reminders if any check is down. Fixes #48 2017-10-14 16:03:56 +03:00
Pēteris Caune
7c1c20b07e Don't create new checks in the docs page. For examples, use a dummy "your-uuid-here" value. 2017-09-20 20:02:24 +03:00
Pēteris Caune
23b237ed96 API call for deleting checks. 2017-09-12 13:33:12 +03:00
Pēteris Caune
acbc1f0b23 Tweaks to filtering-by-tag, and to its documentation. 2017-09-12 12:51:31 +03:00
Pēteris Caune
8d0a2f2eaf Remove startup check for update_alert_after trigger, remove drop_triggers command. 2017-09-12 12:05:58 +03:00
Umit Akkaya
afe4ec6df8 Ensure filter matches tag exactly 2017-09-07 20:32:05 +02:00
Umit Akkaya
01d8e982cc tags querystring param to filter checks by tags 2017-09-01 17:17:14 +02:00
Pēteris Caune
012a86495f Use client-side installation flow for installing HipChat integration. 2017-08-31 12:16:54 +03:00
Pēteris Caune
ef591b03ae Fetch HipChat's capabilities document 2017-08-30 17:25:13 +03:00
Pēteris Caune
96e00df0ab Use PagerDuty Connect. 2017-08-29 22:23:24 +03:00
Pēteris Caune
40bc11782e Nicer HipChat alerts. 2017-08-25 20:33:03 +03:00
Pēteris Caune
bef71c0acc For HipChat integration, use HipChat's server-side installation flow. 2017-08-25 19:11:41 +03:00
Pēteris Caune
8d58a3a361 Encode webhook POST body as utf-8. Fixes #130 2017-08-14 22:20:57 +03:00
Pēteris Caune
1851cc7af3 Replace non-breaking spaces with regular spaces for cheaper SMS messages. 2017-08-10 21:50:36 +03:00
Pēteris Caune
5f2da08d7e Per-profile, per-month counters of sent SMS messages. 2017-07-15 01:04:05 +03:00
Pēteris Caune
25fb11bb3e Alerts to SMS, work in progress. 2017-07-13 23:47:54 +03:00