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
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
4da8ebec88
Management command to send monthly reports.
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
09c0b3e3a7
This was "run once" command that we don't need any more
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
71b5e1ef87
MySQL version of trigger, setup instructions in README
9 years ago
Pēteris Caune
e18fcf424f
Style tweaks in timeout dialog, fix trigger.
9 years ago
Pēteris Caune
0af1fb782a
Add ability to set grace period
9 years ago
Pēteris Caune
c54cb6469d
Send emails using djrill (Mandrill)
9 years ago
Pēteris Caune
8628be8584
email_from setting, don't send alerts about checks without associated user
9 years ago
Pēteris Caune
c526515324
"enabled" field is gone
10 years ago
Pēteris Caune
8b95449c6f
"enabled" field is gone
10 years ago
Pēteris Caune
110b790481
Correct alert_after
10 years ago
Pēteris Caune
aad4bd2ffb
Background worker to send notifications
10 years ago