lp:~flo-fuchs/mailman/restclient
- Get this branch:
- bzr branch lp:~flo-fuchs/mailman/restclient
Branch merges
- Barry Warsaw: Approve
- Florian Fuchs: Needs Resubmitting
- Mailman Coders: Pending requested
-
Diff: 396 lines (+385/-0)2 files modifiedsrc/mailman/rest/docs/restclient.txt (+124/-0)
src/mailmanclient/rest.py (+261/-0)
Branch information
Recent revisions
- 6919. By Florian Fuchs
-
changes to the restclient lib:
* use httplib2 instead of httplib
* some style, typo and best-practice fixes
* use pprint in test file
* refactored http helper methods (only one used now instead of one for each HTTP method)
* removed host and email address validation (not necessary)
* use operator.itemgetter instead of lambdas to sort dicts - 6918. By Florian Fuchs
-
fixed email validation in restclient to work with email addresses containing subdomains
- 6917. By Florian Fuchs
-
added some line breaks in the restclient doctest file; changed confusing function names (http helper functions) in rest client
- 6914. By Barry Warsaw
-
* Fix the bin/test -e/--stderr option to work with the current
zope.testrunner. Actually, divorce it from the latter and handle the
sys.argv sequence ourselves.
* Added IMailingList.get_roster( ) which returns the named roster (from a
MemberRole enum).
* The start of an IMailingList doctest. This needs much more detail.
* Move the subscribe() function from membership.txt into the
mailman.testing. helpers.
* Added new REST interface for getting all the members of a roster for a
specific mailing list: .../lists/<list>/ roster/ <role>. Note that <role> is
the plural form of the MemberRole enum. - 6913. By Barry Warsaw
-
Because we'll often need to turn functions into restish matchers, add a
convenient decorator. - 6911. By Barry Warsaw
-
Subscribing an already subscribed member via REST now returns a 409 error
(LP: #552917).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:mailman