lp:~flo-fuchs/mailman/restclient

Created by Florian Fuchs and last modified
Get this branch:
bzr branch lp:~flo-fuchs/mailman/restclient
Only Florian Fuchs can upload to this branch. If you are Florian Fuchs please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Florian Fuchs
Project:
GNU Mailman
Status:
Abandoned

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

6916. By Florian Fuchs

added _Domain and _List classes, fixed code style issues

6915. By Florian Fuchs

added rest client and doctest

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.

6912. By Barry Warsaw

Ensure that email addresses with slashes in them can be registered.

6911. By Barry Warsaw

Subscribing an already subscribed member via REST now returns a 409 error
(LP: #552917).

6910. By Barry Warsaw

We are not compatible with zope.testing 4.x.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mailman
This branch contains Public information 
Everyone can see this information.