summaryrefslogtreecommitdiff
path: root/src/mailman/rest
Commit message (Collapse)AuthorAgeFilesLines
...
* * We now have to disable site-packages because of LP: #659231Barry Warsaw2010-10-121-6/+26
| | | | * Provide a better example of how to use basic auth in the rest api call
* Add Basic Auth support to the REST API, given by Jimmy Bergman, with styleBarry Warsaw2010-10-112-4/+42
|\ | | | | | | corrections by Barry.
| * Add doctest for connecting using invalid credentials and some documentation ↵root2010-09-291-3/+22
| | | | | | | | regarding the basic auth for the REST server.
| * Add HTTP authentication to the REST APIroot2010-09-281-2/+14
| |
* | Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-082-2/+1
|/ | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* More documentation fixes.Barry Warsaw2010-09-156-30/+60
|
* Doc fixesBarry Warsaw2010-09-071-1/+1
|
* Ugly, ugly, ugly hack to enable the non-standard HTTP verb PATCH for partialBarry Warsaw2010-09-014-15/+98
| | | | | | resource updates. None of the lower components (well, except restish) actually allows us to extend things for PATCH in any kind of principled way. I am the Kludge King.
* Refactor, and add a missing import.Barry Warsaw2010-08-237-75/+103
|
* Refactor the list configuration code via the REST interface, and flesh it outBarry Warsaw2010-08-2311-264/+399
| | | | considerably.
* Expose description in the interface and REST API.Barry Warsaw2010-08-122-0/+11
|
* Expose the autoreponse values in the IMailingList interface and REST API.Barry Warsaw2010-08-123-3/+127
|
* Expose administrivia in the IMailingList interface and REST API.Barry Warsaw2010-08-112-0/+8
|
* Expose anonymous_list and advertised in the IMailingList interface and in ↵Barry Warsaw2010-08-112-0/+18
| | | | the configuration REST API.
* Expose in the IMailingList interface, and in the REST API.Barry Warsaw2010-08-112-49/+75
| | | | | | | * admin_immed_notify * admin_notify_mchanges Sort acceptable aliases when returned from the API.
* Acceptable aliases as a sub-resource.Barry Warsaw2010-08-102-2/+119
|
* Placeholder for PATCH implementation.Barry Warsaw2010-08-102-5/+111
|
* Implement HTTP PUT (good path) for changing a list's configuration.Barry Warsaw2010-08-103-39/+130
|
* Access mailing list configuration via RESTBarry Warsaw2010-08-103-1/+124
| | | | | | | | | | * last_post_time -> last_post_at * protocol -> scheme * creation_date _> created_at * last_post_time -> last_post_at * Add an extended JSON encoder for datetimes * Be sure to initialize convert_html_to_plaintext and filter_content in the default style.
* Fixes bug LP: #601899; delete list function in rest server.Barry Warsaw2010-07-063-3/+64
|
* * Fix the bin/test -e/--stderr option to work with the currentBarry Warsaw2010-06-184-29/+72
| | | | | | | | | | | | | 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.
* Because we'll often need to turn functions into restish matchers, add aBarry Warsaw2010-06-182-6/+14
| | | | convenient decorator.
* Ensure that email addresses with slashes in them can be registered.Barry Warsaw2010-06-172-2/+20
|
* Subscribing an already subscribed member via REST now returns a 409 errorBarry Warsaw2010-06-152-2/+2
| | | | (LP: #552917).
* Add POST validators.Barry Warsaw2010-03-015-24/+151
|
* Refactoring for common collection code.Barry Warsaw2010-02-257-70/+87
|
* Remove more files that are unnecessary.Barry Warsaw2010-02-253-283/+0
|
* Refactor both the mailing lists and membership REST wrappers.Barry Warsaw2010-02-257-246/+293
|
* Refactor domains into a separate file.Barry Warsaw2010-02-255-97/+122
|
* More refactoring:Barry Warsaw2010-02-256-52/+221
| | | | | | | * Rework the [webservice] section to be more useful to restish. * Get rid of the resource_type_link * Add and test some helpers. * Move the root resources to a different module.
* Refactoring the REST support by removing unnecessary stuff and moving otherBarry Warsaw2010-02-253-93/+94
| | | | | | stuff around. We no longer need APIValueError or IResolvePathNames. Also, refactor the creation of the REST server so that it could be used with other WSGI frameworks.
* Remove some files that are not needed for restish implementation.Barry Warsaw2010-02-254-253/+0
|
* Complete the conversion to restish. All the tests pass and we're now actuallyBarry Warsaw2010-02-245-102/+196
| | | | | | RESTful. We have to use httplib2 to get DELETE and PUT. This is a prototype and could still use much cleanup.
* * Make the lists.txt doctest pass with restish.Barry Warsaw2010-02-232-8/+99
| | | | | * Put the domain name on the BadDomainSpecificationError * Give the IListManager an __iter__()
* Rip out lazr.restful and replace it with restish. This simpifies a lot of theBarry Warsaw2010-02-233-67/+172
| | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* Add a lot of comments about lazr.restful 0.9.18.Barry Warsaw2010-02-163-17/+31
|
* Oh FFS. lazr.restful 0.9.18 totally broke our shit by introducingBarry Warsaw2010-02-165-38/+91
| | | | | | | | | | | | | | multiversioned web services. In concept, that's a great idea, but in (current as of 0.9.18) practice it sucks because it /forces/ us to adopt multiversions when really I could care less. After gobs of painful experimentation, this passes all the tests. I guess that means it's right <wink>. Another, more reasonable fix is to re-order when logging is initialized. This is moved to the start of initialize_2() because in the test environment, we don't want to initialize the loggers until after the test configuration has been pushed. Otherwise, because of the changes to support the FHS, logging will go to the wrong place. This really only affects tests, since in operational mode, initialize always happens immediately one after another.
* Add a commentBarry Warsaw2010-01-011-0/+5
|
* Happy New Year.Barry Warsaw2010-01-018-8/+8
|
* More tests.Barry Warsaw2009-12-283-11/+87
|
* Some corner case tests.Barry Warsaw2009-12-282-1/+55
|
* * Leave a mailing list via the REST API.Barry Warsaw2009-12-282-6/+42
| | | | | | * delete_member(): If the address is not associated with a member, raise NotAMemberError. * NotAMemberError -> interfaces/member.py
* * Add REST interface for joining a mailing list.Barry Warsaw2009-12-282-1/+68
| | | | | | * add_member() now returns the newly created IMember. * Reorganized several exceptions and exposed them to the REST API. * Added NoSuchListError.
* Show owners and moderators.Barry Warsaw2009-12-281-0/+44
|
* * Move the canonical url for subscriptions to under the mailing list.Barry Warsaw2009-12-282-10/+85
| | | | * Add some additional doctests.
* Show test for MemberRole.member.Barry Warsaw2009-12-273-2/+50
|
* Add REST API for subscription services.Barry Warsaw2009-12-275-0/+65
|
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-084-34/+30
| | | | | | | | * Give IMailingList a .domain attribute which looks up the IDomain for its .host_name. This cleans up a lot of code. * Add a test for the 'confirm' email command. * Suppress blank lines in email command responses. * Make the IDomainCollection a utility.
* Cleanup.Barry Warsaw2009-11-041-1/+0
|
* Use lazr.smtptest instead of our own SMTPServer and test SMTPd.Barry Warsaw2009-10-153-4/+5
| | | | | Update the lazr.restful IWebServiceConfiguration implementation to include the new hop_by_hop_headers attribute, by way of BaseWSGIWebServiceConfiguration.