66 Commits (8390ff12c967521584afcc234e36105c5360a851)

Author SHA1 Message Date
  Pēteris Caune cdfc9840a7
Source formatted with Black 6 years ago
  Pēteris Caune 6040759601
Add the `prunetokenbucket` management command. 6 years ago
  Pēteris Caune 2a7129f8c8
Explicit decode_data=False (otherwise, py3.5 passes str, py3.6+ passes bytes). Should fix #242 6 years ago
  Pēteris Caune cb1b792d6c
smtpd: get a new db connection for every incoming email. cc: #213 6 years ago
  Pēteris Caune 7ecd0b606d
Quicker prunenotifications, skip checks with low n_pings values. 6 years ago
  Pēteris Caune fba8806e97
Prepare for the removal of Member.team_id 6 years ago
  Pēteris Caune f357cd3305
Prepare for removing Check.user_id, Channel.user_id, Profile.current_team_id 6 years ago
  Pēteris Caune 5edcd42033
Add the "Email Settings..." dialog and the "Subject Must Contain" setting 6 years ago
  Pēteris Caune be4c4f7a26
set Check.user to not null, add uniqueness constraint to Check.code 6 years ago
  Pēteris Caune 179b085df4
Move Check.send_alert() to Flip.send_alerts() 6 years ago
  Pēteris Caune 2f4b373e12
More test cases. Check.is_down() is redundant, removing. 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 481848a749
Add "/ping/<code>/start" API endpoint 6 years ago
  Pēteris Caune 11f65ff7aa
Optimize db query in `sendalerts` 6 years ago
  Pēteris Caune 5be6c403a4
Flip model, for tracking status changes of the Check objects. 6 years ago
  Pēteris Caune b4e53431cd
Obsolete – we don't create anonymous checks any more. 6 years ago
  Dan Faulknor 8265ac5a97
Fix for Python 3.6 6 years ago
  Pēteris Caune 5cf6f1b51e
Merge Check.get_status() and Check.in_grace_period() into one. 7 years ago
  Pēteris Caune fbe77c9e0a Silence output from management commands when running tests. 7 years ago
  Pēteris Caune fc176cd832 `settelegramwebhook` now sends a correct "allowed_updates" field. 7 years ago
  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. 7 years ago
  Pēteris Caune 266fbd225d sendreports doesn't send nags if nag_period=0 ("disabled"). This would result in an infinite loop of nag emails. 7 years ago
  Pēteris Caune ebbc898d02 Experimental `settelegramwebhook` management command 7 years ago
  Pēteris Caune f2a2241b6b Email listener: "./manage.py smtpd" 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 8d0a2f2eaf Remove startup check for update_alert_after trigger, remove drop_triggers command. 7 years ago
  Pēteris Caune 09e5129bbe sendalerts reuses database connection. 8 years ago
  Pēteris Caune d7d21b0959 Pause before next report to avoid hitting sending quota 8 years ago
  Pēteris Caune 9dcb1678f3 --no-threads flag for sendalerts command 8 years ago
  Ronald Ip 7900a201c1
Add --no-loop option to sendalerts management command. 8 years ago
  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). 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