| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\
| |
| |
| | |
accept lists of strings.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
When domains are created using REST API with only one owner,
validator changes it to be a string instead of a list and so
the .add() function iterates over the string raising InvalidEmailError
|
| |\| |
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the single ``contact_address`` they used to have. ``IUser`` objects now
also have a ``is_server_owner`` flag (defaulting to False) to indicate
whether they have superuser privileges. Give by Abhliash Raj, with fixes
and refinements by Barry Warsaw. (LP: #1423756)
* Domains can now optionally be created with owners; domain owners can be
added after the fact; domain owners can be deleted. Also, users now have
an ``is_server_owner`` flag as part of their representation, which defaults
to False, and can be PUT and PATCH'd. Given by Abhilash Raj, with fixes
and refinements by Barry Warsaw. (LP: #1423756)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
* Cleanups.
* Updates to domains and users.
* Allow is_server_owner to be PUT.
|
| | |/| |
|
| | | |
| | |
| | |
| | | |
* add and remove owners using the address
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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 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
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | |\| | |
|
| | | |/
| |/| |
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Backward Incompatible REST API Changes:
* The JSON representation for subscription holds now no longer contains the
`password` key. Also, the `address` key has been renamed to `email` for
consistency with established terminology and other usage.
Other Internal API Changes:
* IUserManager has grown a `make_user()` method.
Refactorings:
* Most uses in the test suite of add_member() have been replaced with a new
version of the subscribe() helper. This reduces the surface area of this
ancient internal API. Eventually add_member() will have to go away or
significantly change with the subscription policy workflow.
* hold_subscription() as well as the remaining instances of add_member() now
use a namedtuple in their arguments, to keep the signatures manageable.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
returns the newly created member.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
* RequestRecord contains no password key so these are not part of the held
requests database any more.
* Pending record contains `email` now instead of `address`.
|
| |/ /
| |
| |
| | |
list is deleted.
|
| |/
|
|
| |
Given by Abhishek. (LP: #1418276)
|
| |\
| |
| |
| | |
to a mailing list.
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
allowing a client to cull all orphaned UIDs via ``DELETE`` on
``<api>/reserved/uids/orphans``. Note that *no guarantees* of API
stability will ever be made for resources under ``reserved``.
(LP: #1420083)
Also:
- Allow @dbconnection methods to be @staticmethods taking only one argument,
the store to perform the query on.
|
| | |
|
| |
|
|
| |
Found by Andrew Stuart. (LP: #1419519)
|
| |
|
|
| |
user is not delete, it is just unlinked.
|
| |
|
|
|
| |
if the email address already exists. Given by Andrew Stuart.
(LP: #1418280)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
file's ``[paths.*]`` sections. A new ``[paths.here]`` section is added,
which puts the ``var_dir`` in ``$cwd``. It is made the default layout.
* You can now view the contents of, inject messages into, and delete messages
from the various queue directories via the ``<api>/queues`` resource.
Also:
inject_message() and inject_text() now return the filebase of the file
injected into the queue directory.
|
| |
|
|
|
|
|
|
|
| |
``/3.0/system/configuration/<section>``. This returns a dictionary with
the keys being the section's variables and the values being their value
from ``mailman.cfg`` as verbatim strings. You can get a list of all
section names via ``/3.0/system/configuration`` which returns a dictionary
containing the ``http_etag`` and the section names as a sorted list under
the ``sections`` key. The system configuration resource is read-only.
|
| | |
|
| | |
|
| |\ |
|
| | |\ |
|
| | |/
| |
| |
| | |
Fixes LP bug #1400520
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
be used to GET the address's linked user if there is one. This
sub-resource also supports POST to link an unlinked address (with an
optional 'auto_create' flag), and PUT to link the address to a different
user. It also supports DELETE to unlink the address. (LP: #1312884)
Given by Aurélien Bompard based on work by nicolask.
|
| | |/
| |
| |
| | |
Fixes LP bug #1312884
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
| |
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.
|