summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs/users.rst (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Complete the port to Falcon 1.0.Barry Warsaw2016-04-021-0/+5
|
* Rework pagination to fix the 'start' and 'total_size' valuesAurélien Bompard2015-11-041-3/+3
|
* * When creating a user via REST using an address that already exists, butBarry Warsaw2015-05-101-0/+32
| | | | | isn't linked, the address is linked to the new user. Given by Aurélien Bompard.
* Checkpointing:Barry Warsaw2015-04-061-1/+81
| | | | | | * Cleanups. * Updates to domains and users. * Allow is_server_owner to be PUT.
* add tests, fix docs, remove contact_addressAbhilash Raj2015-03-281-0/+17
|
* Trunk merge.Barry Warsaw2014-12-221-0/+4
|\
| * REST feature: create a user from an existing addressAurélien Bompard2014-12-081-0/+4
| | | | | | | | Fixes LP bug #1312884
* | All the REST tests pass.Barry Warsaw2014-12-151-30/+0
|/
* Tweaks and fixes by Barry.Barry Warsaw2013-03-211-2/+5
|
* REST API: Added pagination functionality to list, member and user collections.Florian Fuchs2013-03-201-0/+28
| | | | This is related to LP: #1156529.
* * A user's password can be verified by POSTing to .../user/<id>/login. TheBarry Warsaw2012-12-261-0/+42
| | | | | | data must contain a single parameter `cleartext_password` and if this matches, a 204 (No Content) will be returned, otherwise a 403 (Forbidden) is returned. (LP: #1065447)
* * Finish rewrite of users.rst doctest.Barry Warsaw2012-12-261-130/+125
| | | | | | | * Migrate non-doctests to the test_users.py unittest. * Add more corner cases to the unittest. * Be sure to return a 404 when trying to get the address records of a non-existant user.
* initial refactoringBarry Warsaw2012-12-251-13/+12
|
* * Deleting a user through the REST API also deletes all the user's linkedBarry Warsaw2012-11-051-0/+7
| | | | | | addresses and memberships. (LP: #1074374) Also: Clean up pyflakes warning by removing an obsolete __all__ entry.
* * You can now PUT and PATCH on user resources to change the user's displayBarry Warsaw2012-09-221-2/+99
| | | | | | | | | | | | | | name or password. For passwords, you pass in the clear text password and Mailman will hash it before storing. Also: * Major refactoring of validators for PUT and PATCH. Pull the common logic out of configuration.py and put it in a PatchValidator class in helpers.py. Also move GetterSetter to helpers.py * Add new exception classes RESTError, UnknownPATCHRequestError, ReadOnlyPATCHRequestError. These are used in the PatchValidator. * Added Validator.update() which works nicely for PATCH and PUT.
* Replace flufl.password with passlib, albeit with a wrapper.Barry Warsaw2012-06-271-7/+7
|
* Schema change. After discussion at Pycon, we decided to change "real_name" toBarry Warsaw2012-03-151-12/+12
| | | | | | | | | | | "display_name" across the board. * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name` * Schema changes: - real_name -> display_name (mailinglist, user, address)
* Replace the password stuff with flufl.password.Barry Warsaw2012-01-011-1/+1
|
* * User and Member ids are now proper UUIDs. The UUIDs are pended as unicodes,Barry Warsaw2011-08-301-1/+1
| | | | | | | | | | | | | | | | | | 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.
* * DELETE users via the REST API. (LP: #820660)Barry Warsaw2011-08-141-0/+256