121 Commits

Author SHA1 Message Date
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
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
c15a4871c2 Badges 2016-07-03 18:59:07 +03:00
Pēteris Caune
2185fe1463 A "--loop" parameter for sendreports to make it run continuously 2016-06-24 22:05:07 +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
bbc87fe9bf pruneemails and pruneusers commands for database cleanup 2016-04-29 11:43:20 +03:00
Pēteris Caune
6c3a99e977 Removing temporary data migration command. 2016-04-29 10:52:02 +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
e39b714447 Better logging in sendalerts. 2016-04-16 01:13:58 +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
da613963e9 Email alerts and monthly reports have links to Log pages.
Don't show ping URLs -- gmail converts them to clickable links, and people click on them.
2016-03-08 10:35:39 +02: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
5725a3a30a Use six.string_types. This hopefully fixes python 2 test failures. 2016-02-16 23:50:41 +02:00
Pēteris Caune
5d2edfa4a0 First stab at API, POST /api/v1/checks 2016-02-16 23:41:40 +02:00
Pēteris Caune
5d2cc0b0fc Set and revoke API key in Settings page. 2016-02-16 15:08:13 +02:00
Pēteris Caune
6bb08e16d6 Updated instructions and JSON payload for VictorOps integration. 2016-02-04 09:21:58 +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
2c04a42a57 Display last notification in Integrations page. 2016-01-31 20:29:49 +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
25b3af6e40 Merge pull request #1 from zonito/master
test fix
2016-01-22 14:17:02 +08:00
Love Sharma
ddfcb0ff2a test fix 2016-01-22 14:16:16 +08:00
Love Sharma
35e9c17f74 Add healthcheck UA to inform server about identity
Adding "healthcheck.io" as User-Agent to inform webhook handler server about request is specific from healthcheck.
2016-01-22 13:57:20 +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
68fe11a41b fillnpings catches up with pings received during the execution of the command 2016-01-08 14:16:50 +02:00
Pēteris Caune
b592e5b449 prunepingsslow command skips checks with user_id=null 2016-01-08 12:48:36 +02:00
Di Wu
79b7327c9e fix tests and optimize authentication and fix some unclosed markup 2016-01-04 23:47:32 -05: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