summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pluggable-workflows' into pluginpluginJ08nY2017-08-072-7/+4
|\
| * Save workflows name in Pendable PEND_TYPE.J08nY2017-08-071-2/+2
| | | | | | | | | | | | - Saves workflow name in as Pendables type, so that it is correctly restored even if the MailingLists sub/unsub policy changes while it was pending.
| * Migrate the [un]subscription_policy attribute.J08nY2017-08-072-5/+2
| | | | | | | | | | | | | | | | | | - This is quite a huge commit, since it changes the type of the MailingList.subscription_policy and unsubscription_policy attributes to the new names of pluggable workflows, in all occurences. - Also adds a migration to migrate the attributes to the new types. - Adds tests for the migration.
* | Merge branch 'pluggable-components' into pluginJ08nY2017-08-071-0/+60
|\ \
| * | Fix coverage, deprecate, but run non-plugin (post|pre)_hooks.pluggable-componentsJ08nY2017-08-071-0/+2
| | |
| * | Add optional external configuration to plugins.J08nY2017-08-071-0/+1
| | | | | | | | | | | | | | | - Adds an optional 'conriguration' option similar to the one in [mta] which plugins can use to load their specific configs from.
| * | Add REST-ability to plugins.J08nY2017-08-071-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds the rest_object method to the IPlugin interface. This method is called by the REST api to route requests to the plugin's REST api. All attributes are proxied, so the object becomes a true REST object in the ObjectRouter hierarchy. For example see the RESTExample and ExamplePlugin classes in mailman.testing.plugin. The plugin might return None from this method, in which case all calls to it's REST api route will return 404 NotFound. - Adds new routes to the REST api. For version >= 3.1: - /3.1/plugins Returns a dictionary with plugin names as keys, and their configs as values. - /3.1/plugins/<plugin_name> Proxies everything to plugin's rest_object, if plugin with such name exists and provides a non-null rest_object, else NotFound.
| * | Add per-plugin hooks, add docs about plugins.J08nY2017-08-071-2/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removes pre_hook, post_hook and ext_dir. With the latter being unused. Warns on startup if the hooks are present in config. - Adds IPlugin interface with pre_hook and post_hook methods. - Adds 'class' config parameter to plugins, which can be set to a class implementing the IPlugin interface, it will be initialized once on Mailman's startup, then before the DB setup the pre_hook will be run, after DB and other components the post_hook will be run. Plugin instances are stored in the config.plugins dict, with keys being their configuration section names.
* / Add description attribute to IStyle, expose it in REST.J08nY2017-08-071-4/+7
|/
* Convert to click for CLI optionsBarry Warsaw2017-07-221-3/+3
|
* Fixup ref spacing.Stephen J. Turnbull2017-05-241-1/+1
|
* Document Unicode usage in Mailman 3 REST API and email addresses.Stephen J. Turnbull2017-05-241-0/+4
|
* Add self_links to the system configuration resources.Barry Warsaw2017-05-231-0/+4
| | | | Closes #335
* Update welcome template with correct password reset instructionsBritt Gresham2017-05-221-2/+2
| | | | | | | | Before this commit the welcome template included older instructions on how to reset a users password. This commit updates the documentation to reflect the new way of resetting a users password by clicking on a link when logging in.
* Fixed broken tests.Mark Sapiro2017-02-191-0/+1
|
* Remove the dependency on httplib2.Barry Warsaw2017-02-061-9/+6
| | | | Closes #42
* Extensive reorganizationBarry Warsaw2017-02-042-22/+79
|
* Style fixesSimon Hanna2017-01-111-1/+1
|
* Decode RFC2047 encoded Subject when accessing held messagesSimon Hanna2017-01-111-0/+27
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Implement caching suffix list with in-tree fallback.Barry Warsaw2017-01-011-0/+1
| | | | | | | | Also: * Change doctest cleanups to be an ExitStack. * Added [dmarc]cache_lifetime setting. * Cleanup pass through dmarc-mitigation.rst. * Be sure the cached org domain file is cleaned up when the world is reset.
* Fix some fallout from the previous commit.Barry Warsaw2016-12-311-4/+10
|
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-11/+6
|
* Merged from master.Mark Sapiro2016-12-091-1/+1
|\
| * Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
| |
* | Merge branch 'dmarc' of gitlab.com:msapiro/mailman into dmarcMark Sapiro2016-11-262-0/+20
|\ \ | |/ |/|
| * Added new list DMARC attributes to rest/listconf.py and updated tests.Mark Sapiro2016-11-011-0/+17
| |
| * DMARC mitigations, part 1a.Mark Sapiro2016-10-311-0/+3
| |
* | Merge branch 'hide-system-disabled-archivers' into 'master' Barry Warsaw2016-11-261-4/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Don't show the disabled archivers in the REST API Previously, system-disabled archivers were shown in the REST API. As a result it was possible to enable them without a validation error, but they would stay disabled on the next API GET call (their actual activation status depends on the list-specific *and* the system-wide status). Because one can't add a configuration overlay to the running REST server in testing mode, the prototype archiver was disabled in the testing configuration. This is where most of the changes in this commit come from. See merge request !87
| * Don't show the disabled archivers in the REST APIAurélien Bompard2016-08-181-4/+0
| | | | | | | | | | | | | | Because one can't add a configuration overlay to the running REST server in testing mode, the prototype archiver was disabled in the testing configuration. This is where most of the changes in this commit come from.
* | Full coverage.Barry Warsaw2016-10-261-7/+8
| | | | | | | | NEWS.
* | Implement the review suggestionsAurélien Bompard2016-10-261-3/+3
| | | | | | | | See !161
* | REST: add a query string to only get advertised listsAurélien Bompard2016-10-261-3/+27
| |
* | Split registration (subscription) and unsubscription:Barry Warsaw2016-09-131-1/+12
| | | | | | | | | | | | | | | | * events * notices * handlers Also, be sure to do only one `leave` command per email.
* | REST: allow MailingList.info to be setAurélien Bompard2016-08-301-0/+2
| |
* | Reorganize the documentation for better accesibilityAbhilash Raj2016-08-211-0/+8
|/
* Fix typo. #267Mark Sapiro2016-07-171-1/+1
|
* New template system. Closes #249Barry Warsaw2016-07-165-37/+651
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Fix #207Barry Warsaw2016-07-141-0/+4
| | | | | A list's ``moderator_password`` can be set via the REST API. Given by Andrew Breksa.
* REST: allow setting a member's moderation_action to NoneAurélien Bompard2016-07-121-0/+22
|
* Some fixes.Barry Warsaw2016-04-301-0/+1
|
* Tweaks and clean up.Barry Warsaw2016-04-291-73/+79
| | | | | | | | * Add NEWS entry. * De-duplicate emails in the sequence passed to the model's ISubscriptionService.unsubscribe_members() method. * Modify the semantics of the DELETE method to return a mapping of addresses to boolean status.
* Add batch unsubscribe option to REST API.Harshit Bansal2016-04-281-27/+74
|
* public() takes keyword arguments.Barry Warsaw2016-04-041-2/+3
|
* Complete the port to Falcon 1.0.Barry Warsaw2016-04-026-0/+28
|
* Allow fall backs for moderation actions.Barry Warsaw2016-04-011-2/+6
| | | | | | | | | The `moderation_action` for members and nonmember can now be ``None`` which signals falling back to the appropriate list default action, e.g. `default_member_action` and `default_nonmember_action`. Given by Aurélien Bompard. Closes #189
* Members and nonmembers moderation action fallbackAurélien Bompard2016-03-312-47/+8
| | | | | | | | Members and nonmember's moderation action should be None by default, and in that case the moderation rule should fallback to the mailing list's default action. Fixes: #189
* Clean up the rest directory.Barry Warsaw2016-03-251-6/+2
|
* Document the pagination API.Barry Warsaw2016-03-162-1/+89
| | | | Closes #209
* Add NEWS and clean up.Barry Warsaw2016-03-031-1/+3
|