summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/cook_headers.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow email.header.Header() to determine appropriate encoding.Mark Sapiro2017-01-091-9/+0
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Modifications based on feedback from Barry.Mark Sapiro2016-12-161-1/+1
| | | | | | Also, the change to the value column of pendedkeyvalue from SAUnicode to SAUnicodeLarge is removed as it is a separate MR now. This will cause mysql CI to fail until that MR lands.
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Fix the Flake8 ignore tagsAurélien Bompard2016-11-211-1/+1
|
* Close #273Barry Warsaw2016-08-231-1/+2
| | | | | A mailing list's ``description`` must not contain newlines. Given by Aurélien Bompard.
* Forbid newlines in MailingList.descriptionAurélien Bompard2016-08-231-0/+8
| | | | Fixes: #273
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-5/+5
|
* Use flake8-respect-noqa plugin and fix more complaints.Barry Warsaw2016-04-011-2/+2
|
* Don't use `flake8: noqa`.Barry Warsaw2016-04-011-1/+1
| | | | | | | 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 handlers directory.Barry Warsaw2016-03-251-11/+7
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-9/+4
|
* Refactor subject-prefix handler out of cook-headers handler and make all testsBarry Warsaw2014-12-211-117/+1
| | | | pass.
* Fix pipelines tests.Barry Warsaw2014-12-151-1/+1
|
* Checkpointing.Barry Warsaw2014-11-301-2/+2
| | | | | | | | | | 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.
* tox-ify the test suite. First, this makes it easier to run since you don'tBarry Warsaw2014-11-081-1/+1
| | | | | | | | | | | | | | | | | have to manually set up the virtualenv. Second, it allows us to later create a python3 environment for porting purposes. Other change: * The `mailman conf` command no longer takes the `-t/--sort` option; the output is always sorted. * The ``[database]migrations_path`` setting is removed. * You no longer have to create a virtual environment separately when running the test suite. Just use `tox`. * The RFC 2369 headers added to outgoing messages are now added in sorted order. * The JSON representation `http_etag` key uses an algorithm that is insensitive to Python's dictionary sort order.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* * `bin/runner` command has been simplified and its command line optionsBarry Warsaw2013-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | reduced. Now, only one `-r/--runner` option may be provided and the round-robin feature has been removed. * Fixed REST server crash on `reopen` command. Identification and test provided by Aurélien Bompard. (LP: #1184376) Also: * bin/runner now uses standard argparse instead of ScriptOptions. * The entire bin/runner machinery has bee reorganized and simplified. There * is no more Loop class. Signal setting is moved directly into the base Runner class and overrided in specific subclasses (e.g. RESTRunner which must cleanly shutdown its TCPServer). The runner exit status is now set directly on the Runner instance. * Fixed a few minor style issues. * In order to cleanly shutdown the RESTRunner's WSGI server, we must start a subthread which only watches for an Event and then calls the server's shutdown() method. It has to be this way because the WSGI server itself (due to interactions with SQLite), and the signal handlers (due to Python's signal handling semantics) must both run in the main thread. However, the shutdown() must be invoked from a subthread in order to prevent deadlock. * Refactor the RESTLayer to eliminate duplication of code.
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* General code cleanup.Barry Warsaw2012-04-251-4/+3
| | | | | | | | - 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.
* * The `news` runner and queue has been renamed to the more accurate `nntp`.Barry Warsaw2012-03-311-1/+1
| | | | Beta testers can can safely remove `$var_dir/queue/news`.
* Rename the src/mailman/pipeline directory to src/mailman/handlers since that'sBarry Warsaw2012-03-231-0/+292
how I think about them anyway.