Pēteris Caune
|
2bb769f7bb
|
Send monthly reports on 1st of every month, not randomly during the month
|
2019-10-12 20:07:09 +03:00 |
|
Pēteris Caune
|
c0d808271e
|
Add the pruneflips management command.
|
2019-07-20 12:25:58 +03:00 |
|
Pēteris Caune
|
e0f161157d
|
Fix prunepings and prunepingsslow , fixes #264
|
2019-06-24 18:02:36 +03:00 |
|
Pēteris Caune
|
cdfc9840a7
|
Source formatted with Black
|
2019-05-15 14:27:50 +03:00 |
|
Pēteris Caune
|
6040759601
|
Add the prunetokenbucket management command.
|
2019-05-05 13:04:32 +03:00 |
|
Pēteris Caune
|
2a7129f8c8
|
Explicit decode_data=False (otherwise, py3.5 passes str, py3.6+ passes bytes). Should fix #242
|
2019-04-16 10:32:00 +03:00 |
|
Pēteris Caune
|
cb1b792d6c
|
smtpd: get a new db connection for every incoming email. cc: #213
|
2019-02-27 16:44:03 +02:00 |
|
Pēteris Caune
|
7ecd0b606d
|
Quicker prunenotifications, skip checks with low n_pings values.
|
2019-01-22 11:09:41 +02:00 |
|
Pēteris Caune
|
fba8806e97
|
Prepare for the removal of Member.team_id
|
2019-01-14 22:33:28 +02:00 |
|
Pēteris Caune
|
f357cd3305
|
Prepare for removing Check.user_id, Channel.user_id, Profile.current_team_id
|
2019-01-14 21:13:57 +02:00 |
|
Pēteris Caune
|
5edcd42033
|
Add the "Email Settings..." dialog and the "Subject Must Contain" setting
|
2019-01-04 16:07:11 +02:00 |
|
Pēteris Caune
|
be4c4f7a26
|
set Check.user to not null, add uniqueness constraint to Check.code
|
2019-01-02 09:58:54 +02:00 |
|
Pēteris Caune
|
179b085df4
|
Move Check.send_alert() to Flip.send_alerts()
|
2018-12-30 11:55:09 +02:00 |
|
Pēteris Caune
|
2f4b373e12
|
More test cases. Check.is_down() is redundant, removing.
|
2018-12-21 11:25:49 +02:00 |
|
Pēteris Caune
|
5f9ebb178c
|
Rename "Check.get_alert_after" to a now more fitting "Check.going_down_after"
|
2018-12-19 21:57:48 +02:00 |
|
Pēteris Caune
|
481848a749
|
Add "/ping/<code>/start" API endpoint
|
2018-12-18 22:57:12 +02:00 |
|
Pēteris Caune
|
11f65ff7aa
|
Optimize db query in sendalerts
|
2018-12-12 19:04:37 +02:00 |
|
Pēteris Caune
|
5be6c403a4
|
Flip model, for tracking status changes of the Check objects.
|
2018-12-10 17:51:42 +02:00 |
|
Pēteris Caune
|
b4e53431cd
|
Obsolete – we don't create anonymous checks any more.
|
2018-10-23 12:32:31 +03:00 |
|
Dan Faulknor
|
8265ac5a97
|
Fix for Python 3.6
|
2018-06-29 00:26:39 +12:00 |
|
Pēteris Caune
|
5cf6f1b51e
|
Merge Check.get_status() and Check.in_grace_period() into one.
This avoids duplicate calls to Check.get_grace_start() in several places.
|
2018-06-11 19:05:18 +03:00 |
|
Pēteris Caune
|
fbe77c9e0a
|
Silence output from management commands when running tests.
|
2018-04-30 20:02:36 +03:00 |
|
Pēteris Caune
|
fc176cd832
|
settelegramwebhook now sends a correct "allowed_updates" field.
|
2018-01-18 00:58:19 +02:00 |
|
Pēteris Caune
|
1392226538
|
sendalerts was not using the api_check (status, user_id, alert_after) index so removing it. The index was not selective enough.
|
2018-01-17 00:49:03 +02:00 |
|
Pēteris Caune
|
266fbd225d
|
sendreports doesn't send nags if nag_period=0 ("disabled"). This would result in an infinite loop of nag emails.
|
2017-12-29 18:05:23 +02:00 |
|
Pēteris Caune
|
ebbc898d02
|
Experimental settelegramwebhook management command
|
2017-12-27 18:28:34 +02:00 |
|
Pēteris Caune
|
f2a2241b6b
|
Email listener: "./manage.py smtpd"
|
2017-11-01 19:20:12 +02:00 |
|
Pēteris Caune
|
d520706c27
|
Adding an option to send daily or hourly reminders if any check is down. Fixes #48
|
2017-10-14 16:03:56 +03:00 |
|
Pēteris Caune
|
8d0a2f2eaf
|
Remove startup check for update_alert_after trigger, remove drop_triggers command.
|
2017-09-12 12:05:58 +03:00 |
|
Pēteris Caune
|
09e5129bbe
|
sendalerts reuses database connection.
|
2017-05-07 15:31:10 +03:00 |
|
Pēteris Caune
|
d7d21b0959
|
Pause before next report to avoid hitting sending quota
|
2017-04-24 22:35:16 +03:00 |
|
Pēteris Caune
|
9dcb1678f3
|
--no-threads flag for sendalerts command
|
2017-03-28 20:04:24 +01:00 |
|
Ronald Ip
|
7900a201c1
|
Add --no-loop option to sendalerts management command.
Allow `sendalerts` to be run by an external scheduler, on a one-shot
basis, exiting after all alerts have been sent.
|
2017-03-11 18:29:50 +08:00 |
|
Pēteris Caune
|
d1b4643b45
|
Obsolete
|
2017-03-06 14:38:47 +02:00 |
|
Pēteris Caune
|
0b6d484bd5
|
"prunenotifications" management command
|
2016-12-15 18:54:03 +02:00 |
|
Pēteris Caune
|
c6d5e64286
|
Warn about obsolete update_alert_after trigger.
|
2016-12-14 12:20:08 +02:00 |
|
Pēteris Caune
|
ce57a1cc8b
|
Calculate alert_after in Python code instead of a database trigger. This will allow complex calculations down the road.
|
2016-11-04 16:30:19 +02:00 |
|
Pēteris Caune
|
252fa1f884
|
sendreports now can be run concurrently too
|
2016-09-19 21:19:10 +03:00 |
|
Pēteris Caune
|
b5a0ff3538
|
Handle concurrent sendalerts using QuerySet.update(). Fixes #39
|
2016-09-15 22:52:48 +03:00 |
|
Pēteris Caune
|
2185fe1463
|
A "--loop" parameter for sendreports to make it run continuously
|
2016-06-24 22:05:07 +03:00 |
|
Pēteris Caune
|
fdf9c607e5
|
Team Access, test cleanup
|
2016-05-09 15:35:13 +03:00 |
|
Pēteris Caune
|
bbc87fe9bf
|
pruneemails and pruneusers commands for database cleanup
|
2016-04-29 11:43:20 +03:00 |
|
Pēteris Caune
|
6c3a99e977
|
Removing temporary data migration command.
|
2016-04-29 10:52:02 +03:00 |
|
Pēteris Caune
|
e39b714447
|
Better logging in sendalerts.
|
2016-04-16 01:13:58 +03:00 |
|
Pēteris Caune
|
c7a651c330
|
sendalerts management command prints error messages to stdout.
|
2016-01-31 19:48:21 +02:00 |
|
Pēteris Caune
|
21a042aa16
|
Move notification logic to hc.api.transports. Don't use "paused" state for checks.
|
2016-01-31 18:35:24 +02:00 |
|
Di Wu
|
fe72792fd2
|
use basetestcase for most test cases that require predefined user, add test for ensuretriggers, add travis cache
|
2016-01-18 01:02:42 -08:00 |
|
Pēteris Caune
|
68fe11a41b
|
fillnpings catches up with pings received during the execution of the command
|
2016-01-08 14:16:50 +02:00 |
|
Pēteris Caune
|
b592e5b449
|
prunepingsslow command skips checks with user_id=null
|
2016-01-08 12:48:36 +02:00 |
|
Di Wu
|
79b7327c9e
|
fix tests and optimize authentication and fix some unclosed markup
|
2016-01-04 23:47:32 -05:00 |
|