summaryrefslogtreecommitdiff
path: root/src/mailman/rest/preferences.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Clean up the rest directory.Barry Warsaw2016-03-251-9/+4
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-4/+3
| | | | | | | | | | | We now have an IAPI interface which defines methods to convert to/from UUIDs to their REST representations, and to calculate the API-homed full URL path to a resource. Add implementations API30 and API31 to handle the two different implementations so far. This also simplifies the various path_to() calls. Also: Add support for diff_cover to tox.ini to check that all differences against the master branch have full test coverage.
* Refactor API contexts.Barry Warsaw2016-01-131-1/+1
| | | | | | Rather than sprinkle API version string tests all over the place, create an IAPI interface which encapsulates the differences between API 3.0 and 3.1, and arrange for this to be used to convert to and from UUIDs.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Major push for completing issue #121. Now in API 3.1, all UUIDs must be theBarry Warsaw2015-12-301-1/+1
| | | | | | | | | hex representations of a UUID, not the int representation. Also: * Some general code cleanup. * Fix issue 185 (REST server crash when subscribing a user without a preferred address).
* * REST API version 3.1 introduced. Mostly backward compatible with versionBarry Warsaw2015-07-181-1/+2
| | | | | | 3.0 except that UUIDs are represented as hex strings instead of 128-bit integers, since the latter are not compatible with all versions of JavaScript.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* Refactor so that most modules don't need to import falcon, and so fewerBarry Warsaw2014-08-141-10/+8
| | | | | unnecessary changes are needed for upstream falcon to support restish-ish traversal.
* Make preferences work.Barry Warsaw2014-08-131-17/+13
|
* First pass at converting to falcon for the REST API layer.Barry Warsaw2014-08-121-4/+6
| | | | | Currently, only /<api>/system and its subpaths work, but basic auth does work too. Requires a refactoring modification to falcon.
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-1/+1
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* * Expose ``hide_address`` to the ``.../preferences`` REST API. ContributedBarry Warsaw2013-08-281-0/+1
|\ | | | | | | by Sneha Priscilla.
| * Adding a missing hide_address preferenceSneha Priscilla2013-08-091-0/+1
|/
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * You can now PUT and PATCH on user resources to change the user's displayBarry Warsaw2012-09-221-11/+10
| | | | | | | | | | | | | | name or password. For passwords, you pass in the clear text password and Mailman will hash it before storing. Also: * Major refactoring of validators for PUT and PATCH. Pull the common logic out of configuration.py and put it in a PatchValidator class in helpers.py. Also move GetterSetter to helpers.py * Add new exception classes RESTError, UnknownPATCHRequestError, ReadOnlyPATCHRequestError. These are used in the PatchValidator. * Added Validator.update() which works nicely for PATCH and PUT.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* * Preferences for addresses, users, and members can be accessed, changed, andBarry Warsaw2011-09-231-0/+119
deleted through the REST interface. Hierarchical, combined preferences for members, and system preferences can be read through the REST interface. (LP: #821438)