Commit graph

63 commits

Author SHA1 Message Date
Pēteris Caune
cc40793fc7
Clear Check.alert_after when pausing a check. 2018-12-21 11:31:00 +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
481848a749
Add "/ping/<code>/start" API endpoint 2018-12-18 22:57:12 +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
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
16d78db72e
Refactoring and a testcase for channels=None 2018-11-08 11:59:04 +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
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
3fc84ca0ff
Foundation for "fail" pings (cc: #151) 2018-05-17 19:41:13 +03:00
Pēteris Caune
ef6e1870d9
Preliminary Django 2 support 2018-04-24 22:38:02 +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
1b7d4f6f3e Adding "Overall status" badge. 2017-11-10 21:52:27 +02:00
Pēteris Caune
ddd940688e Disable channel (mark as email_verified=False) when email bounces. 2017-11-04 17:35:14 +02:00
Pēteris Caune
f2a2241b6b Email listener: "./manage.py smtpd" 2017-11-01 19:20:12 +02: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
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
dec006890c Badges can now return either SVG or JSON 2017-06-29 15:48:59 +03:00
Pēteris Caune
6920439f92 1KB for message bodies is not enough--email headers alone can take 5KB. Changing to 10KB 2017-05-09 16:21:31 +03:00
Pēteris Caune
3862cd6b06 Adding Check.last_ping_body field, and an UI to show it (#116) 2017-05-09 13:47:23 +03:00
Pēteris Caune
859a9ed735 Pricing page tweaks. Limit free accounts to 20 checks per account. 2017-05-07 16:58:44 +03:00
Pēteris Caune
c073cb0b3a Lightweight 'server status' API endpoint, to be used by external load balancers 2017-03-27 11:18:08 +01:00
Pēteris Caune
5dafc07c29 Return 403 when API key is wrong. Return 404 when resource not found. Return 405 when request method is wrong. Return 400 when request syntax is wrong. 2017-03-10 10:35:21 +02:00
Pēteris Caune
31eca9c8e8 API: fix updating kind=cron to kind=simple 2017-03-10 09:54:16 +02:00
Pēteris Caune
d5cb669172 /bounce handles long payloads. 2017-03-05 22:32:42 +02:00
Pēteris Caune
68d591c677 No CSRF check for /bounce endpoint 2017-03-05 22:14:09 +02:00
Pēteris Caune
0d24d650f2 "X-Bounce-Url" header in email messages. An API endpoint to handle bounce notifications. (#112) 2017-03-05 21:42:36 +02:00
Pēteris Caune
20b046cba7 API call for updating checks 2017-02-19 13:46:05 +02:00
Pēteris Caune
b93336a44d API support for cron syntax 2017-01-04 15:27:59 +02:00
Pēteris Caune
ce57a1cc8b Calculate alert_after in Python code instead of a database trigger. This will allow complex calculations down the road. 2016-11-04 16:30:19 +02:00
Pēteris Caune
22ac7e0517 Use a whitelist for allowed values in the unique field. 2016-09-23 14:09:20 +03:00
James Moore
96cb68d503 made the unique field more flexible 2016-09-22 15:51:03 -07:00
James Moore
bcde5fe9d2 adds a unique parameter to the check creation API
It only checks for name uniqueness.
2016-09-22 12:00:25 -07:00
Pēteris Caune
51cda31449 New feature: pause monitoring of an individual check. Fixes #67 2016-08-01 21:57:11 +03:00
Pēteris Caune
a97f23190e More data in API responses. 2016-07-09 17:06:00 +03:00
Pēteris Caune
af997446f3 Add support for authentication with X-Api-Key header. 2016-07-07 20:07:10 +03:00
Pēteris Caune
c15a4871c2 Badges 2016-07-03 18:59:07 +03:00
Pēteris Caune
bbc87fe9bf pruneemails and pruneusers commands for database cleanup 2016-04-29 11:43:20 +03:00
Pēteris Caune
b52edd903d Email webhook not used any more, removing. 2016-04-29 10:49:23 +03:00
Spencer Sun
ae30eec1d0 Add GET /api/v1/checks/ to the API 2016-04-05 11:58:00 -07:00
Pēteris Caune
6efb822f95 When creating a check via API, optionally assign all channels. 2016-02-17 22:35:06 +02:00
Pēteris Caune
5d2edfa4a0 First stab at API, POST /api/v1/checks 2016-02-16 23:41:40 +02:00
Di Wu
2e6df69489 forwarded for and forwarded protocol 2016-01-21 18:36:26 -08:00
Pēteris Caune
1e3285423f Ping objects get "n" field, their serial numbers, used in "log page". "fillnpings" management command initially populates this field (it touches every ping so it takes time to complete).
Check.n_pings now stores the total number of pings the check has ever received. Running "prunepings" command doesn't affect this field. +a new "prunepingsslow" command which works in smaller chunks so is appropriate for initial pruning of a huge api_ping table.
2016-01-03 18:11:12 +02:00
Pēteris Caune
15478d414c Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check. 2015-12-30 14:30:38 +02:00
Pēteris Caune
33ad56728c Don't fill in body, will be removing it from model. 2015-12-12 16:59:58 +02:00