Wikimedia

WatchTranslations: Do not send emails to inactive users

Problem

If somehow an user becomes inactive (user.is_active=False), the tool will still send them emails. That can be considered spamming the users.  

Proposed solution

Check if user is active in cli_send_changes function.   Student is expected to upload a patch against labs/tools/watch-translations repository at Wikimedia Gerrit. Student should claim Phabricator task while claiming task at the GCI site.  

Materials

 

Task tags

  • flask
  • python

Students who completed this task

arcaynia

Task type

  • code Code
close

2019