Commit graph

134 commits

Author SHA1 Message Date
Pēteris Caune
a7061fe6a5
Add "Get a List of Existing Integrations" API call 2018-11-21 20:21:04 +02:00
Pēteris Caune
66bc5cd7c2
Validate channel identifiers as UUIDs 2018-11-10 11:42:31 +02:00
Pēteris Caune
5f59d97d21
Fix tests. 2018-11-08 12:27:24 +02:00
Pēteris Caune
8889cfe993
Add "channels" attribute to the Check API resource 2018-11-08 12:13:18 +02:00
Pēteris Caune
16d78db72e
Refactoring and a testcase for channels=None 2018-11-08 11:59:04 +02:00
Pēteris Caune
e866d63ca4
Split into smaller separate testcases. 2018-11-08 11:38:55 +02:00
Andrew DeMaria
824729707e Allow specific channel uuid to be specified in create/update check api 2018-11-07 15:17:20 -07:00
Pēteris Caune
432e592e44
Add read-only API key support 2018-10-29 21:44:34 +02:00
Pēteris Caune
182f9e1109
Refactor API key checking code 2018-10-29 18:34:58 +02:00
Pēteris Caune
b9a81ad382
Add "List-Unsubscribe" header to alert and report emails 2018-10-23 11:26:13 +03:00
Pēteris Caune
d661839e32
Don't serialize POST payload to JSON, Django's TestClient will do that for us. 2018-08-04 19:07:40 +03:00
Pēteris Caune
5cf6f1b51e
Merge Check.get_status() and Check.in_grace_period() into one.
This avoids duplicate calls to Check.get_grace_start() in several places.
2018-06-11 19:05:18 +03:00
Pēteris Caune
dfcf7aafbe
Check.in_grace_period() looks at last_ping_was_fail flag. 2018-05-31 11:55:29 +03:00
Pēteris Caune
3fc84ca0ff
Foundation for "fail" pings (cc: #151) 2018-05-17 19:41:13 +03:00
Pēteris Caune
fbe77c9e0a Silence output from management commands when running tests. 2018-04-30 20:02:36 +03:00
Pēteris Caune
ef6e1870d9
Preliminary Django 2 support 2018-04-24 22:38:02 +03:00
Pēteris Caune
9bc0f1b82a
Dropping Python 2 support 2018-04-24 21:04:33 +03: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
09421153f5 Use OpsGenie API v2 2018-01-25 13:11:56 +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
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
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
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
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
23b237ed96 API call for deleting checks. 2017-09-12 13:33:12 +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
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
a62350cdad In the "List checks" API response, the "next_ping" date was incorrect for checks using cron syntax. Fixed. 2017-06-29 14:41:13 +03:00
Pēteris Caune
47d93c2522 Stricter UUID validation. 2017-06-08 17:02:26 +03:00
Pēteris Caune
74f7c50a65 Fix deprecation warnings. 2017-06-02 22:39:53 +03:00