summaryrefslogtreecommitdiff
path: root/src/mailman/rest (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure runner subprocesses get covered during `tox -e coverage`.Barry Warsaw2014-11-161-0/+1
|
* s/restish/falcon/Barry Warsaw2014-11-1526-605/+1004
|\
| * Make it work with some pending refactoring in upstream falcon.Barry Warsaw2014-11-111-1/+2
| |
| * Trunk merge.Barry Warsaw2014-11-081-5/+6
| |\ | |/ |/|
| * When we switch to tox, we'll get hash randomization, which breaks many tests.Barry Warsaw2014-11-064-7/+9
| | | | | | | | | | | | | | | | While I'm shipping a tox.ini, do not yet use tox to run the tests, unless you want to help fix the randomizations. In the meantime, I'm also adding a few randomization fixes, and updating to the latest falcon git trunk.
| * Port to current Falcon git head.Barry Warsaw2014-11-022-17/+23
| |
| * Trunk merge.Barry Warsaw2014-11-022-18/+16
| |\
| * | Remove some unused code.Barry Warsaw2014-11-021-5/+0
| | |
| * | Minor cleanups.Barry Warsaw2014-08-153-11/+7
| | |
| * | Refactor so that most modules don't need to import falcon, and so fewerBarry Warsaw2014-08-1412-215/+190
| | | | | | | | | | | | | | | unnecessary changes are needed for upstream falcon to support restish-ish traversal.
| * | Complete the conversion from restish to falcon, modulo a clean up pass. AllBarry Warsaw2014-08-1417-257/+352
| | | | | | | | | | | | REST tests pass. This requires an as yet unmerged internal change to falcon.
| * | Port users and part of members.Barry Warsaw2014-08-133-60/+92
| | |
| * | Lists and pagination are ported.Barry Warsaw2014-08-135-75/+152
| | |
| * | Domains are ported to falcon.Barry Warsaw2014-08-134-47/+63
| | |
| * | Make preferences work.Barry Warsaw2014-08-136-42/+87
| | |
| * | test_addresses and test_root are both passing now.Barry Warsaw2014-08-123-17/+17
| | |
| * | Get addresses.rst, i.e. /<api>/addresses working.Barry Warsaw2014-08-129-73/+122
| | |
| * | First pass at converting to falcon for the REST API layer.Barry Warsaw2014-08-125-94/+207
| | | | | | | | | | | | | | | Currently, only /<api>/system and its subpaths work, but basic auth does work too. Requires a refactoring modification to falcon.
* | | Tox-ify the test suite. Now you don't have to create a virtualenv separately.Barry Warsaw2014-11-073-10/+14
| |/ |/| | | | | | | | | | | | | | | | | | | To do this, we have to handle random test ordering, since tox explicitly sets PYTHONHASHSEED. That's a good thing for the future Python 3 port. Removed `mailman conf -t/--sort`; now the output is always sorted. RFC 2369 headers are now sorted before being added. etag repr dicts are sorted using pprint.pformat().
* | Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-301-17/+15
| |
* | Pass all tests with PYTHONWARNINGS=error.Barry Warsaw2014-09-221-1/+1
|/ | | | | | | | | | * Switch away from a deprecated unittest method. * Switch away from using deprecated Exceptions.message attribute. * Decode the bytes b32 encoded X-Message-ID-Hash header into a Unicode. * Fix a rather glaring bug in Pendings.add() where we were actually not properly coercing bytes to unicode for the keys and values! I guess it's a good thing that SQLAlchemy is more strict than Storm. * Some cosmetic fixes.
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-2817-34/+34
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* * Fixed a crash in the REST server when searching for nonmembers viaBarry Warsaw2014-04-155-65/+245
| | | | | | | | ``/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.
* * Addresses can be added to existing users, including display names, via theBarry Warsaw2014-04-143-1/+166
|\ | | | | | | | | | | | | | | REST API. [Florian Fuchs] Also, email addresses are validated when they are added via the IUserManager interface. They are still also validated when subscribing to a mailing list, but that is redundant.
| * Add an email address to an existing user via the REST API.Barry Warsaw2014-04-143-0/+165
|/|
| * Posting an invalid email address string to the user/addresses endpoint Florian Fuchs2014-04-142-2/+17
| | | | | | | | now returns a 400 status code
| * * Added an API endpoint to POST new email addresses to a user resource.Florian Fuchs2014-04-133-0/+87
| | | | | | | | * Updated docs.
* | Trunk mergeBarry Warsaw2014-04-1424-24/+219
|\|
| * Several internal improvements:Barry Warsaw2014-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New events: - ConfirmationNeededEvent is triggered when a pendable requiring confirmation is created. This allows us to define an event handler for this event which sends the user notification. - SubscriptionEvent is triggered when a member is added to a mailing list. This lets us define an event handler which sends the welcome message. * send_welcome_message() now takes a member parameter instead of an address, which lets us directly access the member's delivery mode and user display name (if the member has a user, which it might not in some cases). * Use the list id in the pendable record instead of the list name for robustness (the latter can change but the former is permanent). * Test more registration conditions. * In the bin/runner command line switch handling, default `verbose` to None instead of False. This makes it work better with nose's -E switch (log to stderr). * In call_api(), if a POST, PUT, or PATCH method is used and data is None, encode the empty dictionary; seems like the behavior of urlencode() has changed, so this is safer. * Fix style and pyflakes warnings.
| * Bump copyright years.Barry Warsaw2014-01-0122-22/+22
| |
| * Fix a couple of intermittent test problems.Barry Warsaw2013-12-011-0/+1
| |
| * Add lists/<list-id>/archivers as the resource end-point.Barry Warsaw2013-11-274-53/+190
| | | | | | | | | | | | We won't set archivers in the list's configuration. Add doctests and unittests for archivers.
| * Checkpointing.Barry Warsaw2013-11-251-6/+10
| |
| * Unit tests for enabling/disabling archivers.Joanna Skrzeszewska2013-09-181-0/+26
| |
| * Changes for enabling/disabling archivers.Joanna Skrzeszewska2013-09-081-1/+28
| |
* | Aurélien Bompard's import-from-2.1 branch, with cleanup and fixes.Barry Warsaw2014-04-142-2/+3
|/
* * Expose ``hide_address`` to the ``.../preferences`` REST API. ContributedBarry Warsaw2013-08-282-0/+4
|\ | | | | | | by Sneha Priscilla.
| * Adding a missing hide_address preferenceSneha Priscilla2013-08-091-0/+1
| |
* | Switch to PEP 435 enums from flufl.enums.Barry Warsaw2013-06-185-10/+14
|/
* Tweaks and fixes by Barry.Barry Warsaw2013-03-218-69/+85
|
* Florian's branch for LP: #1156529Barry Warsaw2013-03-218-3/+287
|\
| * Removed unused `default_count` argument and remove one wrapping level in ↵Florian Fuchs2013-03-205-33/+30
| | | | | | | | paginate decorator
| * Fixed comment typoFlorian Fuchs2013-03-201-1/+1
| |
| * Fixed some comments in pagination testFlorian Fuchs2013-03-201-5/+7
| |
| * REST API collection pagination: slice result only if pagination params are ↵Florian Fuchs2013-03-201-1/+5
| | | | | | | | present in GET request
| * REST API: Added pagination functionality to list, member and user collections.Florian Fuchs2013-03-208-3/+284
| | | | | | | | This is related to LP: #1156529.
* | * Add ``reply_to_address`` and ``first_strip_reply_to`` as writableBarry Warsaw2013-03-202-178/+10
|/ | | | | | | | attributes of a mailing list's configuration. (LP: #1157881) Also: - template.py should only include 2013 for new copyright years. - Move some bad-path tests in configuration.rst to test_configuration.py
* * Non-queue runners should not create ``var/queue`` subdirectories. Fixed byBarry Warsaw2013-01-201-0/+9
|\ | | | | | | Sandesh Kumar Agrawal. (LP: #1095422)
| * Test added to non_queue_runner bugSandesh Kumar Agrawal2013-01-171-0/+7
|/
* Bump copyright years.Barry Warsaw2013-01-0121-21/+21
|