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
Pēteris Caune
b75ab00d18
Webhook for Mandrill inbound email notifications
2015-08-01 15:55:43 +03:00
Pēteris Caune
f640b9f3be
Make ua column wider, and truncate its values for very long UA strings
2015-08-01 15:20:11 +03:00
Pēteris Caune
969626c0fa
Validate UUID, more tests.
2015-07-28 20:46:17 +03:00
Pēteris Caune
965599c8eb
ping is csrf exempt.
2015-07-22 21:41:15 +03:00
Pēteris Caune
2131c6512b
Another quick test
2015-06-25 22:39:39 +03:00