Pēteris Caune
d1b4643b45
Obsolete
8 years ago
Pēteris Caune
0b6d484bd5
"prunenotifications" management command
8 years ago
Pēteris Caune
c6d5e64286
Warn about obsolete `update_alert_after` trigger.
8 years ago
Pēteris Caune
ce57a1cc8b
Calculate `alert_after` in Python code instead of a database trigger. This will allow complex calculations down the road.
8 years ago
Pēteris Caune
252fa1f884
sendreports now can be run concurrently too
8 years ago
Pēteris Caune
b5a0ff3538
Handle concurrent sendalerts using QuerySet.update(). Fixes #39
8 years ago
Pēteris Caune
2185fe1463
A "--loop" parameter for sendreports to make it run continuously
9 years ago
Pēteris Caune
fdf9c607e5
Team Access, test cleanup
9 years ago
Pēteris Caune
bbc87fe9bf
pruneemails and pruneusers commands for database cleanup
9 years ago
Pēteris Caune
6c3a99e977
Removing temporary data migration command.
9 years ago
Pēteris Caune
e39b714447
Better logging in sendalerts.
9 years ago
Pēteris Caune
c7a651c330
sendalerts management command prints error messages to stdout.
9 years ago
Pēteris Caune
21a042aa16
Move notification logic to hc.api.transports. Don't use "paused" state for checks.
9 years ago
Di Wu
fe72792fd2
use basetestcase for most test cases that require predefined user, add test for ensuretriggers, add travis cache
9 years ago
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
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