26 Commits

Author SHA1 Message Date
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
Pēteris Caune
947f686c61 Organize imports using isort. 2015-11-02 23:55:33 +02:00
Pēteris Caune
32fb29c299 Webhook for Mandrill inbound email notifications, WIP 2015-08-01 16:06:04 +03:00
Pēteris Caune
b75ab00d18 Webhook for Mandrill inbound email notifications 2015-08-01 15:55:43 +03:00
Pēteris Caune
f640b9f3be Make ua column wider, and truncate its values for very long UA strings 2015-08-01 15:20:11 +03:00
Pēteris Caune
969626c0fa Validate UUID, more tests. 2015-07-28 20:46:17 +03:00
Pēteris Caune
dd792486a7 oops 2015-07-27 20:01:24 +03:00
Pēteris Caune
3550218129 Keep a log of pings 2015-07-27 19:46:38 +03:00
Pēteris Caune
965599c8eb ping is csrf exempt. 2015-07-22 21:41:15 +03:00
Pēteris Caune
17b87c093f CORS header for ping call 2015-07-21 14:16:02 +03:00
Pēteris Caune
3c57e4026a Move timer call to api 2015-07-07 23:49:05 +03:00
Pēteris Caune
d85ef38cc0 Add Check 2015-06-16 13:59:00 +03:00
Pēteris Caune
aad4bd2ffb Background worker to send notifications 2015-06-16 11:33:12 +03:00
Pēteris Caune
c8b24495b9 Renames 2015-06-12 19:33:15 +03:00