Commit graph

117 commits

Author SHA1 Message Date
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
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
5a4c3ce8ea Fix tests. 2016-12-13 21:37:29 +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
22ac7e0517 Use a whitelist for allowed values in the unique field. 2016-09-23 14:09:20 +03:00
James Moore
b1bb1540b8 adds a SITE_NAME setting that's used to label the site 2016-09-22 13:40:35 -07:00
Pēteris Caune
b5a0ff3538 Handle concurrent sendalerts using QuerySet.update(). Fixes #39 2016-09-15 22:52:48 +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
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