-
Committer:
Barry Warsaw
-
Date:
2012-09-22 17:35:24 UTC
-
Revision ID:
barry@list.org-20120922173524-55hz5ltrdzukupdt
* You can now PUT and PATCH on user resources to change the user's display
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.