19 Commits (5b3928ce797289978f8c4e60d78eb6769d477dfd)

Author SHA1 Message Date
  Pēteris Caune 4bcfba728e
Use unittest.mock 5 years ago
  Pēteris Caune cdfc9840a7
Source formatted with Black 6 years ago
  Pēteris Caune 0994006603
Drop Check.user_id and Channel.user_id (obsolete, using project_id now) 6 years ago
  Pēteris Caune 965998df18
Fix tests. 6 years ago
  Pēteris Caune 5f9ebb178c
Rename "Check.get_alert_after" to a now more fitting "Check.going_down_after" 6 years ago
  Pēteris Caune 5be6c403a4
Flip model, for tracking status changes of the Check objects. 6 years ago
  Pēteris Caune fbe77c9e0a Silence output from management commands when running tests. 7 years ago
  Pēteris Caune 2a7ee66d1e Profile.set_next_nag_date does not touch already set dates. 7 years ago
  Pēteris Caune 5c64e0cd5d If profile has next_nag_date set in future then set_next_nag_date does not touch it. 7 years ago
  Pēteris Caune d520706c27 Adding an option to send daily or hourly reminders if any check is down. Fixes #48 7 years ago
  Pēteris Caune 9dcb1678f3 --no-threads flag for sendalerts command 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 b5a0ff3538 Handle concurrent sendalerts using QuerySet.update(). Fixes #39 8 years ago
  Pēteris Caune ce23d65ebf Check.get_status() returns "up" also during grace period 9 years ago
  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. 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 5a199fec4e management commands use self.stdout.write instead of print. Fixes #21 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