summaryrefslogtreecommitdiff
path: root/src/mailman/app/replybot.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-12-26 18:57:33 -0500
committerBarry Warsaw2012-12-26 18:57:33 -0500
commit2450a9c9642d06af1a60df70acb742e67959d77e (patch)
tree6783cab3d27df8e331eba17e98f142981fe4cff1 /src/mailman/app/replybot.py
parent9c5a2e27116c95484dd993c4b7ceed64ca9823e4 (diff)
parent4bfaa225b080fdc406c561476aac98c3f53b16d8 (diff)
downloadmailman-2450a9c9642d06af1a60df70acb742e67959d77e.tar.gz
mailman-2450a9c9642d06af1a60df70acb742e67959d77e.tar.zst
mailman-2450a9c9642d06af1a60df70acb742e67959d77e.zip
* A user's password can be verified by POSTing to .../user/<id>/login. The
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) Also: * Clean up the users.rst REST page so that it reads as better documentation. Move some tests into the unittests. * Fix (with a new test), the handling of ExistingAddressError when creating new users via REST. * Fix (with a new test), the crashing when .../users/<id>/addresses is referenced on a non-existing user. * Add hex_md5 as a deprecated passlib hash scheme for the test suite. This allows us to test hash migration by creating an initial has as hex_md5 (another crappy hash), and watching verified passwords get migrated to roundup_plaintext (and even crappier hash ;).
Diffstat (limited to 'src/mailman/app/replybot.py')
0 files changed, 0 insertions, 0 deletions