Merge lp:~edwin-grubbs/launchpad/bug-557036-bad-email-for-autorenewal-teams into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11232 |
Proposed branch: | lp:~edwin-grubbs/launchpad/bug-557036-bad-email-for-autorenewal-teams |
Merge into: | lp:launchpad |
Diff against target: |
170 lines (+81/-11) 3 files modified
cronscripts/flag-expired-memberships.py (+3/-2) lib/lp/registry/doc/teammembership.txt (+57/-3) lib/lp/registry/model/teammembership.py (+21/-6) |
To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-557036-bad-email-for-autorenewal-teams |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+29894@code.launchpad.net |
Description of the change
Summary
-------
The flag-expired-
their membership will expire soon and that they should contact the team
admins to get it renewed even though the team is configured to
automatically renew memberships. This causes unnecessary work for the
team admins.
Implementation details
-------
cronscripts/
lib/lp/
lib/lp/
Tests
-----
./bin/test -vv -t doc/teammembers
Demo and Q/A
------------
* On staging, create a team with automatic renewal of memberships.
* Add a member, then edit its membership so that it expires in a few
days.
* Run the cronscript.
* Check if the user was emailed.
Thanks for the fix, Edwin.
Please s/pytz. timezone( 'UTC')/ pytz.UTC/