255 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
e1ba095446 Handle pushbullet in admin, channel changelist 2016-08-01 11:14:11 +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
Pēteris Caune
760b5b4fdb Support for "Add to Slack" button 2016-07-08 00:05:05 +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
44163c3758 Tests for badges 2016-07-03 19:24:44 +03:00
Pēteris Caune
ce23d65ebf Check.get_status() returns "up" also during grace period 2016-06-21 02:22:51 +03:00
Pēteris Caune
89d37f8202 Check.in_grace_period() should not blow up if last_ping is None 2016-06-20 22:32:32 +03:00
Pēteris Caune
1f70f56819 Check model gets "in_grace_period" method. It replaces the transient "grace" status. Also, remove references of the obsolete "paused" status. 2016-06-20 20:35:02 +03:00
Pēteris Caune
feb2294a7e Tests for team access. 2016-05-09 17:29:41 +03:00
Pēteris Caune
00d18e86bd Reduce query count for team lookups 2016-05-09 16:51:22 +03:00
Pēteris Caune
fdf9c607e5 Team Access, test cleanup 2016-05-09 15:35:13 +03:00
Pēteris Caune
b52edd903d Email webhook not used any more, removing. 2016-04-29 10:49:23 +03:00
Pēteris Caune
47f2105562 Variables in webhook URLs. Fixes #52 2016-04-16 01:14:28 +03:00
Pēteris Caune
cd512378bf fix tests 2016-04-07 21:40:27 +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
Spencer Sun
0ff2f1a9c7 Add VictorOps integration 2016-02-03 17:35:29 -05:00
Pēteris Caune
dce16e6249 Less code duplication in hc.api.transports 2016-01-31 21:59:08 +02:00
Pēteris Caune
24c111738a Pushover API expects form-data instead of JSON 2016-01-31 20:57:39 +02:00
Pēteris Caune
a71ce64579 Fix Pushover and HipChat. 2016-01-31 20:41:04 +02:00
Pēteris Caune
c7a651c330 sendalerts management command prints error messages to stdout. 2016-01-31 19:48:21 +02:00
Pēteris Caune
156f4dbeea More tests for notifications. 2016-01-31 19:30:02 +02:00
Pēteris Caune
90d7806783 More tests for notifications. 2016-01-31 18:54:35 +02:00
Pēteris Caune
21a042aa16 Move notification logic to hc.api.transports. Don't use "paused" state for checks. 2016-01-31 18:35:24 +02:00
Pēteris Caune
63cc186fa3 Nicer slack messages. 2016-01-23 15:18:59 +02:00
Pēteris Caune
e67d0f58c0 Merge pull request #33 from BetterWorks/betterIPParsing
Use X-Forwarded-For and X-Forwarded-Proto headers, instead of X-Real-IP and X-Scheme
2016-01-22 11:44:25 +02:00
Love Sharma
ddfcb0ff2a test fix 2016-01-22 14:16:16 +08:00
Di Wu
2e6df69489 forwarded for and forwarded protocol 2016-01-21 18:36:26 -08:00
Di Wu
fe72792fd2 use basetestcase for most test cases that require predefined user, add test for ensuretriggers, add travis cache 2016-01-18 01:02:42 -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
4e12193d8c Custom test runner for quicker tests. 2016-01-02 23:04:03 +02:00
Pēteris Caune
b9ae8d464c Sort by id, not created, when pruning pings. 2016-01-02 22:27:25 +02:00
Pēteris Caune
7019325b48 Investigating Travis/mysql test failure 2016-01-02 22:13:48 +02:00
Pēteris Caune
940534e563 Test for check.prune_pings() method 2016-01-02 21:54:04 +02:00
Pēteris Caune
5a199fec4e management commands use self.stdout.write instead of print. Fixes #21 2015-12-30 21:56:03 +02:00
Pēteris Caune
1c2ee95968 Django 1.9 2015-12-30 14:01:19 +02:00
Pēteris Caune
d51d7ed181 Remove body field from Ping model. 2015-12-12 17:03:34 +02:00
Pēteris Caune
947f686c61 Organize imports using isort. 2015-11-02 23:55:33 +02:00
Pēteris Caune
0512e8a7c5 Testcase for handle_many function in sendalerts management command. 2015-11-02 23:51:35 +02:00
Pēteris Caune
cee2b52d3e More tests. 2015-08-18 21:17:13 +03:00
Pēteris Caune
52c6beccef Webhooks have timeout 2015-08-18 19:41:48 +03:00
Pēteris Caune
d81555687e Test for HEAD method, note about IPv6 2015-08-18 10:52:22 +03:00
Pēteris Caune
7240ce9ba8 Fix bug with pinging webhook 2015-08-14 12:37:02 +03:00
Pēteris Caune
32fb29c299 Webhook for Mandrill inbound email notifications, WIP 2015-08-01 16:06:04 +03:00