Pēteris Caune
|
4bcfba728e
|
Use unittest.mock
|
2020-03-01 22:30:12 +02:00 |
|
Pēteris Caune
|
cdfc9840a7
|
Source formatted with Black
|
2019-05-15 14:27:50 +03:00 |
|
Pēteris Caune
|
0994006603
|
Drop Check.user_id and Channel.user_id (obsolete, using project_id now)
|
2019-01-18 17:24:02 +02:00 |
|
Pēteris Caune
|
965998df18
|
Fix tests.
|
2019-01-14 11:28:10 +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
|
5be6c403a4
|
Flip model, for tracking status changes of the Check objects.
|
2018-12-10 17:51:42 +02:00 |
|
Pēteris Caune
|
fbe77c9e0a
|
Silence output from management commands when running tests.
|
2018-04-30 20:02:36 +03:00 |
|
Pēteris Caune
|
2a7ee66d1e
|
Profile.set_next_nag_date does not touch already set dates.
|
2017-10-15 21:43:48 +03:00 |
|
Pēteris Caune
|
5c64e0cd5d
|
If profile has next_nag_date set in future then set_next_nag_date does not touch it.
|
2017-10-15 20:25:04 +03: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
|
9dcb1678f3
|
--no-threads flag for sendalerts command
|
2017-03-28 20:04:24 +01: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
|
b5a0ff3538
|
Handle concurrent sendalerts using QuerySet.update(). Fixes #39
|
2016-09-15 22:52:48 +03:00 |
|
Pēteris Caune
|
ce23d65ebf
|
Check.get_status() returns "up" also during grace period
|
2016-06-21 02:22:51 +03:00 |
|
Pēteris Caune
|
1f70f56819
|
Check model gets "in_grace_period" method. It replaces the transient "grace" status. Also, remove references of the obsolete "paused" status.
|
2016-06-20 20:35:02 +03: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
|
5a199fec4e
|
management commands use self.stdout.write instead of print. Fixes #21
|
2015-12-30 21:56:03 +02:00 |
|
Pēteris Caune
|
947f686c61
|
Organize imports using isort.
|
2015-11-02 23:55:33 +02:00 |
|
Pēteris Caune
|
0512e8a7c5
|
Testcase for handle_many function in sendalerts management command.
|
2015-11-02 23:51:35 +02:00 |
|