Commit graph

165 commits

Author SHA1 Message Date
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
d739d8ff62 DRY: use channel.get_kind_display() 2017-03-16 18:12:30 +02:00
Ronald Ip
7900a201c1
Add --no-loop option to sendalerts management command.
Allow `sendalerts` to be run by an external scheduler, on a one-shot
basis, exiting after all alerts have been sent.
2017-03-11 18:29:50 +08: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
d1b4643b45 Obsolete 2017-03-06 14:38:47 +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
b63f19f415 Simplify: remove djmail and django-ses-backend dependencies. 2017-01-29 11:44:22 +02:00
Pēteris Caune
6a1c5dd3b7 "Unsubscribe" link in alert emails. Fixes #111 2017-01-28 12:17:22 +02:00
Pēteris Caune
c16eeda004 Webhooks support POST, cleanup. 2017-01-21 18:29:55 +02:00
Pēteris Caune
ae4144b1cd More tests for sendreports. 2017-01-15 16:24:08 +02:00
Pēteris Caune
b8aabd711c Testcase for sendreports 2017-01-15 13:07:19 +02:00
Pēteris Caune
a0241a9a74 Fix tests. 2017-01-04 15:32:14 +02:00
Pēteris Caune
b93336a44d API support for cron syntax 2017-01-04 15:27:59 +02:00
Pēteris Caune
6d7c885ede /admin/api/channel/ knows Discord 2016-12-31 15:53:26 +02:00
Pēteris Caune
e5126925ec Discord integration 2016-12-30 14:26:54 +02:00
Pēteris Caune
52cd2a9c8e API rejects too long check names 2016-12-21 17:38:25 +02:00
Pēteris Caune
56168b17d0 Usability tweaks in api_check_changelist admin view. 2016-12-21 12:50:06 +02:00
Pēteris Caune
0b6d484bd5 "prunenotifications" management command 2016-12-15 18:54:03 +02:00
Pēteris Caune
c6d5e64286 Warn about obsolete update_alert_after trigger. 2016-12-14 12:20:08 +02:00
Pēteris Caune
fdc1bfcd57 Log page now lists sent notifications. Slack notification handles simple/cron check kinds. 2016-12-14 11:15:45 +02:00
Pēteris Caune
5a4c3ce8ea Fix tests. 2016-12-13 21:37:29 +02:00
Pēteris Caune
6ada656df4 UI for entering cron expression and setting timezone. 2016-12-13 13:09:53 +02:00
Pēteris Caune
8633a5a892 Check model supports cron-style schedule 2016-12-05 11:08:06 +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
3456dd9f6e OpsGenie integration. Fixes #93 2016-10-17 13:25:14 +03:00
Pēteris Caune
ac4ba079d3 Validate channel values. Don't allow ftp addresses, http://localhost addresses, invalid email addresses 2016-10-02 17:52:48 +03:00
Pēteris Caune
b1ad0415da Fix AttributeError in Ping admin 2016-09-24 21:37:18 +03:00
Pēteris Caune
22ac7e0517 Use a whitelist for allowed values in the unique field. 2016-09-23 14:09:20 +03:00
Pēteris Caune
c5568b6dd1 Move json validation code to a separate file, add support for array and enum, add tests. 2016-09-23 14:08:31 +03:00
Pēteris Caune
1c5182278e Merge branch 'foozmeat-issue-82' 2016-09-23 12:12:03 +03:00
James Moore
96cb68d503 made the unique field more flexible 2016-09-22 15:51:03 -07:00
James Moore
b1bb1540b8 adds a SITE_NAME setting that's used to label the site 2016-09-22 13:40:35 -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
252fa1f884 sendreports now can be run concurrently too 2016-09-19 21:19:10 +03:00
Pēteris Caune
b5a0ff3538 Handle concurrent sendalerts using QuerySet.update(). Fixes #39 2016-09-15 22:52:48 +03:00
Pēteris Caune
965e32884b Django 1.10 2016-08-29 17:54:53 +03:00
Pēteris Caune
4f3365e235 Cleanup, handle "paused" state in email alerts and reports 2016-08-02 09:48:17 +03: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
63b10b40ce Limit "value" column width in channel admin 2016-08-01 16:28:38 +03:00
Pēteris Caune
e1ba095446 Handle pushbullet in admin, channel changelist 2016-08-01 11:14:11 +03:00
Pēteris Caune
468c4b4b2c Pushbullet integration. Fixes #24 2016-07-30 18:01:47 +03:00
Pēteris Caune
4f8fdd2423 Merge branch 'master' of github.com:healthchecks/healthchecks 2016-07-19 23:18:06 +03:00
Pēteris Caune
8ba981cb52 Upgrade link in alert emails. 2016-07-19 23:17:53 +03:00
Till Kahlbrock
3da6a81ed5 exposes the status field over the rest api 2016-07-16 17:02:35 +02:00
Pēteris Caune
78a32d109a Possibly fix mysql timestamp issue in Travis run 2016-07-09 17:25:00 +03:00
Pēteris Caune
a97f23190e More data in API responses. 2016-07-09 17:06:00 +03:00