| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
REST tests pass. This requires an as yet unmerged internal change to falcon.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
|
| |
Currently, only /<api>/system and its subpaths work, but basic auth does work
too. Requires a refactoring modification to falcon.
|
| |
|
|
|
|
|
|
| |
reflect this.
Also, mock out sys.stderr on some tests so that their nose2 output is quieter.
A few other minor coding style consistencies.
|
| |
|
|
|
|
|
|
| |
``/find`` which we've never seen before, because those members only have an
address record, not a user record. This requires a small change in the API
where the JSON response's ``address`` key now contains the URL to the
address resource, the new ``email`` key contains the email address as a
string, and the ``user`` key is optional.
|
| |\ |
|
| | |
| |
| |
| | |
now returns a 400 status code
|
| | |
| |
| |
| | |
* Updated docs.
|
| |\| |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
We won't set archivers in the list's configuration.
Add doctests and unittests for archivers.
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
| |
paginate decorator
|
| | |
|
| |
|
|
| |
This is related to LP: #1156529.
|
| |\
| |
| |
| | |
Sandesh Kumar Agrawal. (LP: #1095422)
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
styles (by name) via `.../lists/styles`. Create a list in a specific style
by using POST data `style_name=<style>`. (LP: #975692)
Also:
* Rewrite list.rst and some of configuration.rst to be more readable as
documentation. Bad-path tests are moved to unittests.
* Some improvements to printing lists as part of REST responses. This
eliminates the ugly u''-prefixes on strings.
|
| |
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
| |
* Migrate non-doctests to the test_users.py unittest.
* Add more corner cases to the unittest.
* Be sure to return a 404 when trying to get the address records of a
non-existant user.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
documentation. Move non-documentation tests into a separate unittest file.
* Separate out the doctests for IRequest from the doctests for
app/moderator.py and place the latter in a separate file.
* Fix typo in app/membership.py (s/send_goodbye_msg/send_goodbye_message), but
LP: #1091321 tracks more needed fixes in this area.
|
| |
|
|
|
|
| |
addresses and memberships. (LP: #1074374)
Also: Clean up pyflakes warning by removing an obsolete __all__ entry.
|
| |
|
|
|
| |
The code base is now also `python2.7 -3` clean, although there are still
some warnings in 3rd party dependencies. LP: #1073506
|
| |
|
|
|
|
|
| |
POST to .../addresses/<email>/verify and .../addresses/<email>/unverify
respectively. The POST data is ignored. It is not an error to verify or
unverify an address more than once, but verifying an already verified
address does not change its `.verified_on` date. (LP: #1054730)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now via the RFC 2369 `list_id` instead of the fqdn listname (i.e. posting
address). This is because while the posting address can change if the
mailing list is moved to a new server, the list id is fixed.
(LP: #1024509)
+ IListManager.get_by_list_id() added.
+ IListManager.list_ids added.
+ IMailingList.list_id added.
+ Several internal APIs that accepted fqdn list names now require list ids,
e.g. ISubscriptionService.join() and .find_members().
+ IMember.list_id attribute added; .mailing_list is now an alias that
retrieves and returns the IMailingList.
- list_id added (LP: #1024509)
|
| |
|
|
| |
- Fix up one more use of config.db global.
|
| |
|
|
| |
- Update many tests to use the transaction() context manager.
|
| |\
| |
| |
| | |
number of subscribed members. Given by Toshio Kuratomi.
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
| |
"display_name" across the board.
* `IMailingList.real_name` -> `IMailingList.display_name`
* `IUser.real_name` -> `IUser.display_name`
* `IAddress.real_name` -> `IAddress.display_name`
* Schema changes:
- real_name -> display_name (mailinglist, user, address)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resources now accept a `held` path component. GETing this returns all held
messages for the mailing list. POSTing to a specific request id under this
url can dispose of the message using `Action` enums.
* `IRequests` interface is removed. Now just use adaptation from
`IListRequests` directly (which takes an `IMailingList` object).
* `handle_message()` now allows for `Action.hold` which is synonymous with
`Action.defer` (since the message is already being held).
* `IListRequests.get_request()` now takes an optional `request_type`
argument to narrow the search for the given request.
- also, print_function is now a standard __future__ import. The template has
been updated, but add this to modules as you edit them.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
automatically do the right thing in most cases. Keep test_suite() in
test_documentation.py since these dynamically set up docs tests properly.
Refactor test_passwords.py so that base class tests aren't bogusly run. Also,
remove test_membership.py which was essentially disabled because it was
testing the MM2 membership API.
|
| |
|
|
|
|
| |
deleted through the REST interface. Hierarchical, combined preferences for
members, and system preferences can be read through the REST interface.
(LP: #821438)
|
| |
|
|
| |
(LP: #848103). Given by Stephen A. Goss.
|
| |
|
|
|
|
|
|
|
|
| |
lifecycle changes:
- DomainCreatingEvent - sent before the domain is created
- DomainCreatedEvent - sent after the domain is created
- DomainDeletingEvent - sent before the domain is deleted
- DomainDeletedEvent - sent after the domain is deleted
* Using the above events, when a domain is deleted, associated mailing lists
are deleted. (LP: #837526)
|
| |\
| |
| |
| | |
the REST API (LP: #833132). Given by Stephen A. Goss.
|
| | |
| |
| |
| | |
(LP: #833376). Given by Stephen A. Goss.
|
| | |
| |
| |
| | |
404 error (LP: #837676). Given by Stephen A. Goss.
|
| |/
|
|
|
| |
all the mailing lists in a specific domain (LP: #829765). Given by
Stephen A. Goss.
|
| | |
|