Pēteris Caune
68fe11a41b
fillnpings catches up with pings received during the execution of the command
9 years ago
Pēteris Caune
b592e5b449
prunepingsslow command skips checks with user_id=null
9 years ago
Di Wu
79b7327c9e
fix tests and optimize authentication and fix some unclosed markup
9 years ago
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
b7fcaac8ae
prunepings and prunechecks management commands
9 years ago
Pēteris Caune
15478d414c
Add n_pings field to Check model. This holds a continually updated count of api_ping entries for each check.
9 years ago
Pēteris Caune
1c2ee95968
Django 1.9
9 years ago
Pēteris Caune
4da8ebec88
Management command to send monthly reports.
9 years ago
Pēteris Caune
35aed93b7f
New feature: attaching tags to checks, and filtering checks list by their tags.
9 years ago
Pēteris Caune
d51d7ed181
Remove body field from Ping model.
9 years ago
Pēteris Caune
33ad56728c
Don't fill in body, will be removing it from model.
9 years ago
Pēteris Caune
3ba47b1a67
Style tweaks for PushOver integration
9 years ago
Thomas Jost
280bd6a2a2
Handle Pushover emergency notifications
9 years ago
Thomas Jost
85c1f65887
Add Pushover integration
9 years ago
Pēteris Caune
c2e9bab536
Custom paginator to avoid sequential scans on api_ping table in Django admin.
9 years ago
Pēteris Caune
89f0c6bd77
Avoid sequential scans on api_ping table in Django admin.
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
Di Wu
93c71ad10e
timeout on all the notifications
9 years ago
Di Wu
de203275c6
sendalerts concurrently
9 years ago
Pēteris Caune
c1840a92bd
Checks now have a new status: "paused". sendalerts management command will mark checks as paused if sending a notification throws exception. This should avoid potential infinite loops of sendalerts crashes/respawns.
9 years ago
Pēteris Caune
b19477106e
Avoid N queries in Pings admin list view
9 years ago
Pēteris Caune
a4afd70fef
Add index on api_check (status, user, alert_after), will be used in sendalerts management command.
9 years ago
Pēteris Caune
88bd760925
api_check.code should be indexed
9 years ago
Pēteris Caune
b39425e8a1
Rename channels to integrations. Move "Add Integration" functionality to separate pages to make room for setup instructions.
9 years ago
Pēteris Caune
ebe5d2d91d
HipChat integration
9 years ago
Pēteris Caune
00e75bc59d
Add Slack integration
9 years ago
Pēteris Caune
7bb17cefad
Add Slack integration
9 years ago
Pēteris Caune
09c0b3e3a7
This was "run once" command that we don't need any more
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
5c15058567
Nicer admin
9 years ago
Pēteris Caune
7240ce9ba8
Fix bug with pinging webhook
9 years ago
Pēteris Caune
ab58e76ca2
Admin tweaks, style tweaks. Channels page included in navigation.
9 years ago
Pēteris Caune
f0089e2cd2
Send emails using djmail, can verify email addresses in /channels/
9 years ago
Pēteris Caune
86b3964bb9
SQLite version of trigger.
9 years ago
Pēteris Caune
8355d7c13b
Adding tests for POST /channels/
9 years ago
Pēteris Caune
061fc4f6a9
Notification Channels WIP
9 years ago
Pēteris Caune
3bafac24ba
Split style.css in smaller files. Email instructions in welcome page.
9 years ago
Pēteris Caune
749114d856
Nicer Django admin
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