summaryrefslogtreecommitdiff
path: root/src/mailman/rest/domains.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
|
* Fixed a bunch of things in PATCHing domains and added tests and NEWS.Mark Sapiro2016-10-221-15/+8
|
* First cut at PUT/PATCH for domain.Mark Sapiro2016-10-201-0/+33
|
* New template system. Closes #249Barry Warsaw2016-07-161-5/+20
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Revert a few incorrect renames.Barry Warsaw2016-04-031-4/+4
|
* API consistency.Barry Warsaw2016-04-031-6/+6
|
* Clean up the rest directory.Barry Warsaw2016-03-251-7/+3
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-2/+2
| | | | | | | | | | | 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.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Cleanups, corner case fixes, and coverage.Barry Warsaw2015-12-311-3/+1
|
* Major push for completing issue #121. Now in API 3.1, all UUIDs must be theBarry Warsaw2015-12-301-2/+2
| | | | | | | | | 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-3/+4
| | | | | | 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.
* Add lots of test for various bits of domain owners.Barry Warsaw2015-04-061-4/+9
| | | | | | | | | | A little refactoring of list_of_str() into list_of_strings_validator() which is now put in the validators.py module and used in several places. Python 3 super() style. Add some code and tests to catch <domain>/owners references when <domain> doesn't exist.
* Checkpointing:Barry Warsaw2015-04-061-1/+0
| | | | | | * Cleanups. * Updates to domains and users. * Allow is_server_owner to be PUT.
* * implement left over methodsAbhilash Raj2015-04-061-3/+5
| | | | * add and remove owners using the address
* * Add `drop_column` inside sqlite check, fix indentationAbhilash Raj2015-03-311-2/+2
| | | | | | | | * Change `Owner` to `DomainOwner` * Fix indentation errors in docs * add multiple owners using `add_owners` * all dummy addresses should be using example.com, example.org to avoid conflict ever * add dummy tests
* add domainowner and serverowner optionsAbhilash Raj2015-03-211-5/+16
| | | | | | * Add is_serverowner flag in User model and api * Add owner table for user-domain's many to many relationship * add owners subresource in domain's rest api
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-6/+4
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* Checkpointing.Barry Warsaw2014-11-301-4/+6
| | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Refactor so that most modules don't need to import falcon, and so fewerBarry Warsaw2014-08-141-18/+10
| | | | | unnecessary changes are needed for upstream falcon to support restish-ish traversal.
* Domains are ported to falcon.Barry Warsaw2014-08-131-25/+30
|
* 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
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* copybumpBarry Warsaw2012-01-011-1/+1
|
* * New REST resource http://.../<domain>/lists can be GETed in order to findBarry Warsaw2011-08-301-0/+12
|\ | | | | | | | | all the mailing lists in a specific domain (LP: #829765). Given by Stephen A. Goss.
| * merged changes to main branchStephen A. Goss2011-08-231-4/+4
| |\ | |/ |/|
| * some tweaks to fix for LP: 829765 based on feedbackStephen A. Goss2011-08-231-2/+5
| |
| * REST API: add listing of mailing lists per domainStephen A. Goss2011-08-191-0/+9
| |
* | Rename IDomain.email_host to .mail_host for consistency. Similarly in theBarry Warsaw2011-08-221-4/+4
|/ | | | REST API. (LP: #831660)
* Add REST API for removing a domain.Barry Warsaw2011-04-191-1/+11
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Refactor, and add a missing import.Barry Warsaw2010-08-231-1/+2
|
* Add POST validators.Barry Warsaw2010-03-011-8/+11
|
* Refactoring for common collection code.Barry Warsaw2010-02-251-22/+11
|
* Refactor both the mailing lists and membership REST wrappers.Barry Warsaw2010-02-251-4/+4
|
* Refactor domains into a separate file.Barry Warsaw2010-02-251-0/+107