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