summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add doctest for connecting using invalid credentials and some documentation ↵root2010-09-291-3/+22
|/ | | | regarding the basic auth for the REST server.
* 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-011-6/+11
| | | | | | 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-231-1/+1
|
* Refactor the list configuration code via the REST interface, and flesh it outBarry Warsaw2010-08-236-35/+96
| | | | considerably.
* Expose description in the interface and REST API.Barry Warsaw2010-08-121-0/+9
|
* Expose the autoreponse values in the IMailingList interface and REST API.Barry Warsaw2010-08-121-1/+80
|
* Expose administrivia in the IMailingList interface and REST API.Barry Warsaw2010-08-111-0/+6
|
* Expose anonymous_list and advertised in the IMailingList interface and in ↵Barry Warsaw2010-08-111-0/+14
| | | | the configuration REST API.
* Expose in the IMailingList interface, and in the REST API.Barry Warsaw2010-08-111-48/+68
| | | | | | | * admin_immed_notify * admin_notify_mchanges Sort acceptable aliases when returned from the API.
* Acceptable aliases as a sub-resource.Barry Warsaw2010-08-101-2/+55
|
* Placeholder for PATCH implementation.Barry Warsaw2010-08-101-1/+101
|
* Implement HTTP PUT (good path) for changing a list's configuration.Barry Warsaw2010-08-101-0/+40
|
* Access mailing list configuration via RESTBarry Warsaw2010-08-101-0/+42
| | | | | | | | | | * 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-061-1/+41
|
* * Fix the bin/test -e/--stderr option to work with the currentBarry Warsaw2010-06-181-11/+15
| | | | | | | | | | | | | 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.
* Ensure that email addresses with slashes in them can be registered.Barry Warsaw2010-06-171-0/+14
|
* Subscribing an already subscribed member via REST now returns a 409 errorBarry Warsaw2010-06-151-1/+1
| | | | (LP: #552917).
* Add POST validators.Barry Warsaw2010-03-011-0/+84
|
* Refactoring for common collection code.Barry Warsaw2010-02-253-5/+5
|
* Refactor both the mailing lists and membership REST wrappers.Barry Warsaw2010-02-252-30/+9
|
* Refactor domains into a separate file.Barry Warsaw2010-02-251-10/+3
|
* More refactoring:Barry Warsaw2010-02-252-1/+59
| | | | | | | * 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.
* Complete the conversion to restish. All the tests pass and we're now actuallyBarry Warsaw2010-02-243-48/+30
| | | | | | 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-231-4/+1
| | | | | * 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-232-11/+3
| | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* More tests.Barry Warsaw2009-12-281-0/+61
|
* Some corner case tests.Barry Warsaw2009-12-281-1/+41
|
* * Leave a mailing list via the REST API.Barry Warsaw2009-12-281-4/+31
| | | | | | * 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-281-0/+33
| | | | | | * 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-281-9/+84
| | | | * Add some additional doctests.
* Show test for MemberRole.member.Barry Warsaw2009-12-271-2/+29
|
* Add REST API for subscription services.Barry Warsaw2009-12-271-0/+25
|
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-081-13/+17
| | | | | | | | * 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-152-3/+3
| | | | | Update the lazr.restful IWebServiceConfiguration implementation to include the new hop_by_hop_headers attribute, by way of BaseWSGIWebServiceConfiguration.
* Instead of using an adapter, use a utility to get the mailing list manager.Barry Warsaw2009-08-261-1/+2
|
* Test updates and repair.xoBarry Warsaw2009-08-211-1/+2
|
* Fix some urls returned by the api. Instead of 'mailing_lists' use 'lists'.Barry Warsaw2009-08-071-7/+22
| | | | | Also, extend the ListManager so that it implements IResolvePathNames, so that it can get() sub-mailing lists.
* Fix the turning of application level exceptions into HTTP 400 errors, throughBarry Warsaw2009-08-061-2/+6
| | | | | | the improvement of the publication's handleException() method. Pick some lint in traverse.py.
* Move BadDomainSpecificationError to domain.txt interface. Try to set this toBarry Warsaw2009-07-261-0/+43
| | | | | | return an HTTP 400 error, though it does not seem to work. Expose list creation through the API.
* * Expose IMailingLists in the API.Barry Warsaw2009-07-251-0/+20
| | | | | | * Better titles in the IMailingList interface. * Expose the real_name attribute. * Refactor URL mappers.
* Expose 'transaction' as an alias for config.db in the doctest globs. ThisBarry Warsaw2009-07-211-4/+44
| | | | | | | | means commit() is now transaction.commit() in doctests. Add tests of extended domain creation, which exposes the need to unlock the database (via transaction.abort()) so that the foreground test process doesn't lock the background REST server process.
* Our first writable REST API! You can now create new domains through theBarry Warsaw2009-07-203-16/+56
| | | | | | | | | webserver. Fix the https/http urls. Add the adapter for HTTPCharsets so POSTs work properly. Nice little cargo cult from lazr.restful.
* De-u-literal-ify our doctests.Barry Warsaw2009-07-181-10/+10
|
* Wow. Put domains into the database.Barry Warsaw2009-07-161-30/+48
| | | | | | | | Add an IDomainManager and a global domain manager which can be gotten by adapting the global config object. Add an IDomainCollection interface for exposing the domain manager onto the API.
* Clean a few more lints.Barry Warsaw2009-07-101-0/+12
| | | | | | | | | | | | | | Add get_mailing_lists() which is used just for the web interface. Because of a bug in lazr.restful, this cannot be a generator. Similar change in IDomainSet. Instrument IListManager to be vended through the api. The REST server must be run in a separate process since SQLite does not like objects created in one thread to be used in another thread. Note that this breaks the domain.txt test, but domains really need to be in the database anyway.