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.
9 years ago
Pēteris Caune
4e12193d8c
Custom test runner for quicker tests.
9 years ago
Pēteris Caune
b9ae8d464c
Sort by id, not `created`, when pruning pings.
9 years ago
Pēteris Caune
7019325b48
Investigating Travis/mysql test failure
9 years ago
Pēteris Caune
940534e563
Test for check.prune_pings() method
9 years ago
Pēteris Caune
5a199fec4e
management commands use self.stdout.write instead of print. Fixes #21
9 years ago
Pēteris Caune
1c2ee95968
Django 1.9
9 years ago
Pēteris Caune
d51d7ed181
Remove body field from Ping model.
9 years ago
Pēteris Caune
947f686c61
Organize imports using isort.
9 years ago
Pēteris Caune
0512e8a7c5
Testcase for handle_many function in sendalerts management command.
9 years ago
Pēteris Caune
cee2b52d3e
More tests.
9 years ago
Pēteris Caune
52c6beccef
Webhooks have timeout
9 years ago
Pēteris Caune
d81555687e
Test for HEAD method, note about IPv6
9 years ago
Pēteris Caune
7240ce9ba8
Fix bug with pinging webhook
9 years ago
Pēteris Caune
32fb29c299
Webhook for Mandrill inbound email notifications, WIP
9 years ago
Pēteris Caune
b75ab00d18
Webhook for Mandrill inbound email notifications
9 years ago
Pēteris Caune
f640b9f3be
Make ua column wider, and truncate its values for very long UA strings
9 years ago
Pēteris Caune
969626c0fa
Validate UUID, more tests.
9 years ago
Pēteris Caune
965599c8eb
ping is csrf exempt.
9 years ago
Pēteris Caune
2131c6512b
Another quick test
10 years ago