Commit graph

169 commits

Author SHA1 Message Date
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
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
aaa3b2748e
Rate limiting for the "Log In" emails 2019-04-25 21:28:40 +03:00
Pēteris Caune
a4fde44e3a
Can configure the email integration to only report the "down" events. Fixes #231 2019-04-10 17:54:19 +03:00
Michal Bryc
6f1ade98e2 Add more views 2019-03-13 22:03:24 -07:00
Pēteris Caune
f8c0c20d34
Retire HipChat. 2019-02-25 22:31:27 +02:00
Pēteris Caune
5cbd99cb5c
Add the "desc" field (check's description) to API responses 2019-02-15 12:20:19 +02:00
Pēteris Caune
0994006603
Drop Check.user_id and Channel.user_id (obsolete, using project_id now) 2019-01-18 17:24:02 +02:00
Pēteris Caune
c08f02ab7f
Drop Profile.api_key and Profile.api_key_readonly (both are stored with Project now) 2019-01-17 16:26:45 +02:00
Pēteris Caune
965998df18
Fix tests. 2019-01-14 11:28:10 +02:00
Pēteris Caune
46c00e31a6
Use Project.badge_key in api.views.badge 2019-01-12 22:28:23 +02:00
Pēteris Caune
6b7f212c8a
Use the api keys from project, not user profile 2019-01-12 21:34:45 +02:00
Pēteris Caune
1c69cf7f89
Project model. cc: #183 2019-01-12 16:40:21 +02:00
Pēteris Caune
20df5843e3
Don't update Ping.start and Ping.fail fields (use Ping.kind instead) 2019-01-04 12:57:29 +02:00
Pēteris Caune
7480eca2a5
Add Ping.kind field 2019-01-04 11:24:53 +02:00
Pēteris Caune
be4c4f7a26
set Check.user to not null, add uniqueness constraint to Check.code 2019-01-02 09:58:54 +02:00
Pēteris Caune
eee6fc12f4
Overwrite Check.last_start value 2018-12-21 14:02:25 +02:00
Pēteris Caune
fe04429fad
Don't update last_ping_was_fail, it is not read anywhere anymore. 2018-12-21 13:17:00 +02:00
Pēteris Caune
cc40793fc7
Clear Check.alert_after when pausing a check. 2018-12-21 11:31:00 +02:00
Pēteris Caune
2f4b373e12
More test cases. Check.is_down() is redundant, removing. 2018-12-21 11:25:49 +02:00
Pēteris Caune
93405cc286
Tag labels in "My Checks" page and SVG badges should ignore the "started" state. 2018-12-20 19:19:46 +02:00
Pēteris Caune
5f9ebb178c
Rename "Check.get_alert_after" to a now more fitting "Check.going_down_after" 2018-12-19 21:57:48 +02:00
Pēteris Caune
0b6c317956
Fix Check.is_down(), add tests. 2018-12-19 18:27:58 +02:00
Pēteris Caune
481848a749
Add "/ping/<code>/start" API endpoint 2018-12-18 22:57:12 +02:00
Pēteris Caune
5be6c403a4
Flip model, for tracking status changes of the Check objects. 2018-12-10 17:51:42 +02:00
Pēteris Caune
440a143dd6
Add CORS support to API endpoints. Fixes #208 2018-12-06 17:36:20 +02:00
Pēteris Caune
b9a24a21e7
Remove the Zendesk integration (unfinished, could not get it to work acceptably) 2018-11-30 22:07:37 +02:00
Pēteris Caune
fb45b67892
Set Pushover alert priorities for "down" and "up" events separately. Fixes #204 2018-11-28 21:40:46 +02:00
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