summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* add sample dataBarry Warsaw2011-05-091-0/+0
|
* Implement and test the extraction of the bouncing email address when a probeBarry Warsaw2011-05-093-43/+39
| | | | message bounces. This completes the refactoring of probes for MM3.
* Add test sample dataBarry Warsaw2011-05-091-0/+17
|
* Add non-English tests of the probe message.Barry Warsaw2011-05-083-11/+100
|
* Merge bounces branch (still incomplete, but tests pass).Barry Warsaw2011-05-078-112/+302
|\
| * checkpointingBarry Warsaw2011-05-066-45/+97
| |
| * * Fix setup.py version regexp.Barry Warsaw2011-05-034-69/+120
| | | | | | | | | | | | * Move get_verp() to class-based for easy overridding. Hook up StandardVERP but not yet ProbeVERP. * Use uuid.uuid4() to get unique id.
* | NEWSBarry Warsaw2011-05-031-0/+5
| |
* | Move the test timeout values into a configuration variable. Set devmode.waitBarry Warsaw2011-05-033-12/+21
|/ | | | to the timeout value you want.
* Another refactoring.Barry Warsaw2011-05-012-34/+4
|
* Fix refactor-o.Barry Warsaw2011-05-012-2/+2
|
* Start the enablement of bounce detection.Barry Warsaw2011-05-019-28/+302
| | | | | | | | | | * Move VERP header extraction to mailman.app.bounces, and ports the implementation to the get_verp() function. * Restore the [mta] verp_regexp value which got lost along the way. * Move mailman.email.utils to mailman.utilities.email and add a test for split_email() * Move specialized_message_from_string() from test_documentation to mailman.testing.helpers.
* * Fix styleguide (given by Mark Sapiro).Barry Warsaw2011-04-303-21/+21
| | | | * Post release version and NEWS file tweaks.
* Let's release 3.0.0a7 (Mission) today!Barry Warsaw2011-04-291-1/+1
|
* Some updates to the documentation in preparation for alpha 7.Barry Warsaw2011-04-293-22/+40
|
* Add NEWS entry.Barry Warsaw2011-04-271-0/+1
|
* One more refactoring.Barry Warsaw2011-04-271-0/+0
|
* Move the bouncer tests to the right directory.Barry Warsaw2011-04-27104-2/+2
|
* Remove the redundant src/mailman/tests/test_bounces.py file and ensure all theBarry Warsaw2011-04-278-292/+75
| | | | other bounce detector pass.
* Checkpointing for refactoring.Barry Warsaw2011-04-27126-83/+11897
|
* Update NEWS.txt.Barry Warsaw2011-04-261-1/+31
|
* Ensure that a member's address cannot be changed to an address they do notBarry Warsaw2011-04-252-0/+28
| | | | control.
* Complete the ability to change a subscription address, both internally and viaBarry Warsaw2011-04-2512-89/+514
| | | | | | | | | | | | | | the REST API. (LP: #643949) * New resource path in REST API: /addresses/<email>/memberships gets all the memberships for a given email address. * In the REST API, PUTting or PATCHing a list configuration now returns a 204 (No Content) success code instead of a 200 success code with an empty body. * When a user is subscribed with their preferred address, changing the preferred address also changes all subscriptions. * When a user is subscribed with a specific address, their subscription can be changed to any verified address they control. * Use a new naming scheme for doctests with multiple mailing lists.
* Allow users to subscribe to mailing lists through the REST API.Barry Warsaw2011-04-246-31/+125
| | | | | | | | * ISubscriptionService.join(): address -> subscriber. This is not backward compatible with the previous API! * Add get_user_by_id() to the IUserManager interface. It was already implemented, but the interface was missing the definition. * MissingUserError: new exception, purely for the REST API.
* Users subscribed to a mailing list via their preferred address show upBarry Warsaw2011-04-224-9/+69
| | | | | correctly in the REST API's list of members. This even correctly tracks changes in their preferred address.
* newlineBarry Warsaw2011-04-221-1/+1
|
* Give IMembers a unique member id. We have to do this in order to give them aBarry Warsaw2011-04-2214-71/+317
| | | | | | | | | | | | | | | | | | | | | | | path at the root of the resource tree (i.e. /members/X) and because when members can be subscribed by their IUser record (for preferred address), their canonical location cannot contain the address they are subscribed with. When their preferred address changes (without otherwise touching their membership), this address will change and that's not good for a canonical location. Other changes: * Added IMember.member_id attribute * Added ISubscriptionService.get_member() so member records can be retrieve by member id. * We can now get individual members by id via the REST API. * Extend the UniqueIDFactory so that it can take a 'context' (defaulting to None). The context is only used in the testing infrastructure so that separate files can be used for user ids and member ids. Otherwise, we'd have gaps in those sequences. * When *not* in testing mode, ensure that UIDs cannot be reused by keeping a table of all UIDs ever handed out. We *should* never get collisions, but this ensures it. * Clean up mailman.sql
* Clean up.Barry Warsaw2011-04-201-6/+0
|
* * Move members.txt corner cases to unittests.Barry Warsaw2011-04-209-109/+232
| | | | | | | * Fix a case in a list's /members API where the listname is bogus. * Catch NotAMemberError form delete_member() and return not_found. * Refactor REST helpers so that call_api() can be used in unittests without doing any prints to stdout.
* Add REST API for addresses, and change the user REST API to use it whereBarry Warsaw2011-04-197-87/+333
| | | | | | | | | | appropriate. Also: * When an Address instance is created, set its registered_on attribute. * Users may not have a password or real_name, so only include those attributes in the REST API for Users if they are set.
* Give user resources and user address resources a self_link.Barry Warsaw2011-04-192-31/+46
|
* Add REST API for removing a domain.Barry Warsaw2011-04-192-1/+32
|
* Add some tests to ensure that the correct number of members are returned whenBarry Warsaw2011-04-173-3/+86
| | | | users are subscribed with their preferred addresses.
* Users can now subscribe to a mailing list, and their preferred address willBarry Warsaw2011-04-175-225/+324
| | | | get delivery.
* Users now have a preferred address which can be set, changed, and deleted.Barry Warsaw2011-04-165-20/+155
| | | | The preferred address must be verified, and controllable by the user.
* Refactor .subscribe() from IAddress to IMailingList.Barry Warsaw2011-04-1620-150/+140
|
* Typo fix.Barry Warsaw2011-04-121-1/+1
|
* Add a test for retrieval by case-preserved address.Barry Warsaw2011-04-091-0/+7
|
* Add /users/<uid>/addresses to get all the addresses registered to a user.Barry Warsaw2011-04-092-1/+113
|
* Hook in initial password setting to user creation via API.Barry Warsaw2011-04-082-3/+31
|
* Fix initialization of lock object.Barry Warsaw2011-04-081-7/+11
|
* Merge passwords into restBarry Warsaw2011-04-0817-40/+138
|\
| * encrypt_password(): New convenience function for ensuring that a password isBarry Warsaw2011-04-0811-31/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | both encrypted according to a scheme, and a bytes object. add_member(): Use encrypt_password(). cli_members: Give the user a default, user-friendly password. Of course, this will be encrypted so it can't be retrieved, but it can be reset. Passwords are stored as bytes objects, not unicode now. ConfigLayer: Set the default test password scheme to cleartext. General test repair.
| * add_member()Barry Warsaw2011-04-087-14/+44
| | | | | | | | | | | | | | | | | | | | | | | | - As the most common interface for adding new members (and users), adapt the password storing bit to storing only encrypted passwords in the database. schema.cfg: - Remove the creator_pw_file and site_pw_file as they are obsolete. - Add password_schema key for defining the default password encryption scheme. mailman.sql, user.py: - Store the password as a binary blob instead of as unicode text.
* | Merge passwords into restBarry Warsaw2011-04-083-1/+15
|\|
| * Merge users into passwordsBarry Warsaw2011-04-083-1/+15
| |\
| | * Add an attribute for getting the IUser record from an IMember record. This isBarry Warsaw2011-04-083-1/+15
| | | | | | | | | | | | pure convenience by way of an IUserManager lookup.
* | | Merge passwords into restBarry Warsaw2011-04-074-4/+77
|\| |
| * | make_user_friendly_password(): Ported from Mailman 2.1.Barry Warsaw2011-04-074-4/+77
| |/
* | Move missing users test, and add a test for bogus email address.Barry Warsaw2011-04-061-7/+21
| |