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.
8 years ago
Pēteris Caune
31eca9c8e8
API: fix updating kind=cron to kind=simple
8 years ago
Pēteris Caune
d5cb669172
/bounce handles long payloads.
8 years ago
Pēteris Caune
68d591c677
No CSRF check for /bounce endpoint
8 years ago
Pēteris Caune
0d24d650f2
"X-Bounce-Url" header in email messages. An API endpoint to handle bounce notifications. ( #112 )
8 years ago
Pēteris Caune
20b046cba7
API call for updating checks
8 years ago
Pēteris Caune
b93336a44d
API support for cron syntax
8 years ago
Pēteris Caune
ce57a1cc8b
Calculate `alert_after` in Python code instead of a database trigger. This will allow complex calculations down the road.
8 years ago
Pēteris Caune
22ac7e0517
Use a whitelist for allowed values in the `unique` field.
8 years ago
James Moore
96cb68d503
made the unique field more flexible
8 years ago
James Moore
bcde5fe9d2
adds a unique parameter to the check creation API
It only checks for name uniqueness.
8 years ago
Pēteris Caune
51cda31449
New feature: pause monitoring of an individual check. Fixes #67
8 years ago
Pēteris Caune
a97f23190e
More data in API responses.
8 years ago
Pēteris Caune
af997446f3
Add support for authentication with X-Api-Key header.
8 years ago
Pēteris Caune
c15a4871c2
Badges
8 years ago
Pēteris Caune
bbc87fe9bf
pruneemails and pruneusers commands for database cleanup
9 years ago
Pēteris Caune
b52edd903d
Email webhook not used any more, removing.
9 years ago
Spencer Sun
ae30eec1d0
Add GET /api/v1/checks/ to the API
9 years ago
Pēteris Caune
6efb822f95
When creating a check via API, optionally assign all channels.
9 years ago
Pēteris Caune
5d2edfa4a0
First stab at API, POST /api/v1/checks
9 years ago
Di Wu
2e6df69489
forwarded for and forwarded protocol
9 years ago
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.
9 years ago
Pēteris Caune
15478d414c
Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check.
9 years ago
Pēteris Caune
33ad56728c
Don't fill in body, will be removing it from model.
9 years ago
Pēteris Caune
947f686c61
Organize imports using isort.
9 years ago
Pēteris Caune
32fb29c299
Webhook for Mandrill inbound email notifications, WIP
9 years ago
Pēteris Caune
b75ab00d18
Webhook for Mandrill inbound email notifications
9 years ago
Pēteris Caune
f640b9f3be
Make ua column wider, and truncate its values for very long UA strings
9 years ago
Pēteris Caune
969626c0fa
Validate UUID, more tests.
9 years ago
Pēteris Caune
dd792486a7
oops
9 years ago
Pēteris Caune
3550218129
Keep a log of pings
9 years ago
Pēteris Caune
965599c8eb
ping is csrf exempt.
9 years ago
Pēteris Caune
17b87c093f
CORS header for ping call
9 years ago
Pēteris Caune
3c57e4026a
Move timer call to api
9 years ago
Pēteris Caune
d85ef38cc0
Add Check
10 years ago
Pēteris Caune
aad4bd2ffb
Background worker to send notifications
10 years ago
Pēteris Caune
c8b24495b9
Renames
10 years ago
Pēteris Caune
00cdc313ec
Initial commit
10 years ago