summaryrefslogtreecommitdiff
path: root/src/mailman/model/docs/users.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * User and Member ids are now proper UUIDs. The UUIDs are pended as unicodes,Barry Warsaw2011-08-301-325/+0
| | | | | | | | | | | | | | | | | | and exposed to the REST API as their integer equivalents. They are stored in the database using Storm's UUID type. - ISubscriptionService.get_member() now takes a UUID - IUserManager.get_user_by_id() now takes a UUID * Moderators and owners can be added via REST (LP: #834130). Given by Stephen A. Goss. - add_member() grows a `role` parameter. - ISubscriptionService.join() grows a `role` parameter. * InvalidEmailAddressError no longer repr()'s its value. * `address` -> `email` for consistency - delete_member() - ISubscriptionService.leave() * Fixed typo in app/subscriptions.py __all__ * AlreadySubscribedError: attributes are now public. * More .txt -> .rst renames.
* Users now have a preferred address which can be set, changed, and deleted.Barry Warsaw2011-04-161-1/+86
| | | | The preferred address must be verified, and controllable by the user.
* Refactor .subscribe() from IAddress to IMailingList.Barry Warsaw2011-04-161-4/+4
|
* encrypt_password(): New convenience function for ensuring that a password isBarry Warsaw2011-04-081-2/+2
| | | | | | | | | | | | | | | 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.
* make_user_friendly_password(): Ported from Mailman 2.1.Barry Warsaw2011-04-071-2/+2
|
* * Re-organize the interface between buildout.cfg and the zope.testing layerBarry Warsaw2011-04-011-4/+11
| | | | | | | | | | | | | | | | | | | initialization. buildout.cfg is now really simple; it calls one method. That method does all the relevant layer initializations. This better localizes what has to be set up before testing can even begin. * IUsers now have a created_on property which contains the datetime at which the user record was created. * Rework the date and uid factories so that they consult the MockAndMonkeyLayer for the current testing flag. Also, those factories register themselves with the layer so that they'll get automatically reset between tests, without the layer actually having to know about them. * Move the User model object initialization into User.__init__() from the user manager. The User now also adds itself to the store. * Add a 'uid factory' for unique id creation, which is test suite aware.
* * Give users a unique, random, immutable user id.Barry Warsaw2011-03-181-0/+18
| | | | | * Find users by user_id via the user manager. * Extend the repr of users to include the user id.
* Because it was just to damn confusing, rename IAddress.address toBarry Warsaw2011-01-011-21/+29
| | | | | | IAddress.email and IAddress.original_address to IAddress.original_email. From now on we'll use "address" to talk about the IAddress object and "email" to talk about the textual email address.
* Many documentation fixes for better Sphinx output.Barry Warsaw2010-09-081-5/+4
|
* Documentation reorganization.Barry Warsaw2010-01-121-0/+208