summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_lists.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert to click for CLI optionsBarry Warsaw2017-07-221-218/+189
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-2/+2
|
* New template system. Closes #249Barry Warsaw2016-07-161-9/+9
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Use flake8-respect-noqa plugin and fix more complaints.Barry Warsaw2016-04-011-5/+5
|
* Don't use `flake8: noqa`.Barry Warsaw2016-04-011-3/+2
| | | | | | | This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps.
* Clean up the commands subdirectory.Barry Warsaw2016-03-241-18/+13
|
* A bit of pre-merge cleanup.Barry Warsaw2016-03-221-5/+7
| | | | | | | | | | | * Reorder some add_argument() parameters. * Reword some help text. * Reword some of the doctest language. * Clean up whitespace. * Minor coding style change in unittests. * Add another unittest. * Fix a docstring (not related to these change). * Add NEWS.
* Changed domain creation to True as defaultGurkirpal2016-03-221-3/+12
| | | | | | Added tests for domain option Updated docs for creating list from shell
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Add a send-digests subcommand to send list digests right now.Barry Warsaw2015-12-201-2/+2
| | | | | | | | | | | | | | * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries.
* * ``mailman lists --domain`` was not properly handling its arguments. GivenBarry Warsaw2015-03-131-1/+1
|\ | | | | | | by Manish Gill. (LP: #1166911)
| * list searching by domain fixedManish Gill2013-04-091-1/+1
| |
* | Bump copyright years.Barry Warsaw2015-01-041-1/+1
| |
* | Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-6/+2
| |
* | All the REST tests pass.Barry Warsaw2014-12-151-2/+2
| |
* | Fix a few issues with `python2 -3` compatibility.Barry Warsaw2014-11-191-1/+1
| |
* | Bump copyright years.Barry Warsaw2014-01-011-1/+1
|/
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * The link between members and the mailing lists they are subscribed to, isBarry Warsaw2012-09-041-1/+1
| | | | | | | | | | | | | | | now via the RFC 2369 `list_id` instead of the fqdn listname (i.e. posting address). This is because while the posting address can change if the mailing list is moved to a new server, the list id is fixed. (LP: #1024509) + IListManager.get_by_list_id() added. + IListManager.list_ids added. + IMailingList.list_id added. + Several internal APIs that accepted fqdn list names now require list ids, e.g. ISubscriptionService.join() and .find_members(). + IMember.list_id attribute added; .mailing_list is now an alias that retrieves and returns the IMailingList. - list_id added (LP: #1024509)
* General code cleanup.Barry Warsaw2012-04-251-7/+4
| | | | | | | | - Add explicit dependency on zope.event in setup.py. - Use Python 3 compatible syntax for specifying that a class implements an interface, i.e. the @implementer class decorator. - print_function futures. - Whitespace normalization.
* - Convert the CLI modules to use print_function.Barry Warsaw2012-04-221-13/+13
| | | | | - Use the @transactional decorator. - Use the transaction context manager.
* Merge the Pipermail eradication branch. The scrubber is also removed.Barry Warsaw2012-03-171-15/+3
|\ | | | | | | | | | | | | | | | | | | | | | | * Configuration variable `[mailman]filtered_messages_are_preservable` controls whether messages which have their top-level `Content-Type` filtered out can be preserved in the `bad` queue by list owners. * Configuration section `[scrubber]` removed, as is the scrubber handler. This handler was essentially incompatible with Mailman 3 since it required coordination with Pipermail to store attachments on disk. * Schema additions: - mailinglist.filter_action
| * Eradicate Pipermail. Everything but the scrubber test works. That will takeBarry Warsaw2012-03-151-15/+3
| | | | | | | | some new APIs I suspect.
* | Schema change. After discussion at Pycon, we decided to change "real_name" toBarry Warsaw2012-03-151-1/+1
|/ | | | | | | | | | | "display_name" across the board. * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name` * Schema changes: - real_name -> display_name (mailinglist, user, address)
* copybumpBarry Warsaw2012-01-011-1/+1
|
* * The IMailingList attribute ``host_name`` has been renamed to ``mail_host``Barry Warsaw2011-06-161-1/+1
| | | | | for consistency. This changes the REST API for mailing list resources. (LP: #787599)
* Fixed two typos.Barry Warsaw2011-06-111-2/+2
| | | | | * Use a list comprehension to get a proper list of addresses. * config.devmode.testing must be converted to a boolean.
* Do not allow a list to be created with a bogus owner address. (LP: #778687)Barry Warsaw2011-06-111-1/+17
|
* Utils.maketext() and Utils.findtext() are gone.Barry Warsaw2011-03-161-2/+2
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* * Fix two type specifications in argparse.Barry Warsaw2010-03-031-2/+2
| | | | * Update printing of version string to avoid argparse DeprecationWarnings.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* * Add REST interface for joining a mailing list.Barry Warsaw2009-12-281-2/+2
| | | | | | * add_member() now returns the newly created IMember. * Reorganized several exceptions and exposed them to the REST API. * Added NoSuchListError.
* * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-101-2/+3
| | | | | | | | * Fix a few small typos in exception handlers. * Move the initialization of the Zope Component Architecture into the first initialization step. The only reason we couldn't do that previously was because the domain object referenced the config, causing a circularity problem. Refactor the Domain implementation to avoid that.
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-081-3/+3
| | | | | | | | * Give IMailingList a .domain attribute which looks up the IDomain for its .host_name. This cleans up a lot of code. * Add a test for the 'confirm' email command. * Suppress blank lines in email command responses. * Make the IDomainCollection a utility.
* Rework the 'bin/mailman lists' arguments to be more likely useful in theBarry Warsaw2009-11-281-25/+31
| | | | common case.
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-2/+2
| | | | package.
* Move a module.Barry Warsaw2009-11-041-1/+1
|
* Instead of using an adapter, use a utility to get the mailing list manager.Barry Warsaw2009-08-261-2/+3
|
* Fix buglet.Barry Warsaw2009-08-251-0/+1
|
* * Updated NEWS.txt for 3.0a3.Barry Warsaw2009-08-211-3/+3
| | | | | * Use the IListManager() adapter instead of hanging the list manager off of config.db. This makes the code somewhat cleaner.
* Refactor the subcommands so that the infrastructure does more of the menialBarry Warsaw2009-08-161-30/+25
| | | | | | | tasks. This also let's the bin/mailman command sort its subcommands for help printing. Add the outline of a 'members' subcommand.
* Add the 'mailman remove' command.Barry Warsaw2009-08-141-1/+55
|
* Tests for setting an owner and the language. A test for notifications, andBarry Warsaw2009-08-121-1/+1
| | | | errors. Update newlist.txt.
* Add command line creation of mailing lists.Barry Warsaw2009-08-121-3/+119
|
* bin/mailman help as an alias for bin/mailman --helpBarry Warsaw2009-08-091-1/+1
|
* Rename files inside src/mailman/commands to indicate whether it's an emailBarry Warsaw2009-08-091-0/+102
command (eml_ prefix) or a command line interface (cli_ prefix). Fix a test breakage.