summaryrefslogtreecommitdiff
path: root/src/mailman/model/tests/test_roster.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Clean up the model and languages directories.Barry Warsaw2016-03-251-10/+0
|
* Fix membership query for preferred addresses.Barry Warsaw2016-02-061-0/+31
| | | | | | | When multiple users are subscribed to a mailing list via their preferred address, too many results are returned from a membership query, resulting in an assertion error. Reported by Darrell Kresge. (Closes: #190)
* Add a set_preferred() helper.Barry Warsaw2016-02-061-4/+2
| | | | | This refactors the setting of a user's preferred address to the first in their list of linked addresses.
* Several optimizations:Barry Warsaw2016-01-111-0/+6
| | | | | | | | | | | | * Use `yield from` wherever appropriate. * Use SA's .one_or_none() where appropriate. - Fix a bug in MailingList.pass_extensions. - Use ValueError in other places for consistency. - Remove unreached/nonsense code. - Simplify the SubscriptionService.find_member() and .find_members() implementations. - Boost coverage.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Added IMember.subscriber to definitively return how a member is subscribed toBarry Warsaw2015-04-141-1/+51
| | | | | | | | | | | | | the mailing list (via preferred address/user or explicit address). IMember.get_member() is defined to return the explicit address when members are subscribed in both ways. IMember.get_memberships() returns a sequence of length 0, 1, or 2 containing all the member records associated with the email address. Fixed the AbstractMemberRoster methods query to properly return subscriptions via the user's preferred address and via an explicit address.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-5/+1
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * Add property `IRoster.member_count`.Barry Warsaw2012-03-151-0/+156
Also, change the implementation of mailing list REST resource's member_count to use the more efficient implementation of IRoster.member_count.