summaryrefslogtreecommitdiff
path: root/src/mailman/core
Commit message (Collapse)AuthorAgeFilesLines
* Enhance Switchboard.finish() to look for .pck if no .bak.Mark Sapiro2017-04-222-0/+27
|
* Fix signal handler exception.Barry Warsaw2017-02-011-14/+15
|
* Handle PEP 475 fallout.Barry Warsaw2017-01-281-2/+13
| | | | | | | | | | | | | | | Closes #255 As of Python 3.5, PEP 475 gets in our way. Runners with long time.sleep()'s in their _snooze() method (e.g. the retry runner) will have their system call implemented time.sleep() automatically retried at the C layer. The only reliable way to prevent this is to raise an exception in the signal handler. The standard run() method automatically suppresses this exception, meaning, it's caught and ignored, but effectively breaks the run() loop, which is just what we want. The lmtp and rest runners implement their own run loops, so they also have to handle this exception, by ignoring it.
* Bump copyright years.Barry Warsaw2017-01-0414-14/+14
|
* Simplified the various list settings and remamed several things.Mark Sapiro2016-12-261-2/+2
|
* Merged from master.Mark Sapiro2016-12-0911-11/+12
|\
| * More fixes & flufl.testing.Barry Warsaw2016-11-291-1/+2
| |
| * Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-2911-11/+11
| |
* | Merge branch 'dmarc' of gitlab.com:msapiro/mailman into dmarcMark Sapiro2016-11-262-3/+5
|\ \ | |/ |/|
| * Fixed some doctests for the addition of the dmarc-moderation rule.Mark Sapiro2016-11-011-3/+4
| |
| * DMARC mitigations, part 1a.Mark Sapiro2016-10-311-0/+1
| |
* | Replace smtpd with aiosmtpd.Barry Warsaw2016-11-241-0/+4
|/
* Prevent posting from banned addressesAurélien Bompard2016-10-271-3/+5
| | | | Fixes #283
* Reorganize the documentation for better accesibilityAbhilash Raj2016-08-211-0/+9
|
* Rebase mailman/mailman!180 and cleanup # noqaBarry Warsaw2016-07-281-2/+3
|
* New template system. Closes #249Barry Warsaw2016-07-162-2/+2
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Better handling of the REST API plumbing.Barry Warsaw2016-06-281-0/+2
| | | | | | | | | * Add a version_info field which is a better way to do ordered comparisions of the API version. * All subresources now get their .api attribute set automatically, if they are passed back through the ObjectRouter. No more fiddling with context['api'] (unless of course, they don't make a roundtrip through the main ObjectRouter loop.
* Use contextlib.suppress() where appropriate.Barry Warsaw2016-04-301-5/+3
|
* flake8 clean.Barry Warsaw2016-04-061-1/+1
|
* public() takes keyword arguments.Barry Warsaw2016-04-044-9/+6
|
* Tweak the import rules checker.Barry Warsaw2016-03-271-1/+1
| | | | Fix the last few violations of the import rules.
* Reorder the @public definition.Barry Warsaw2016-03-251-8/+4
| | | | This allows us to import it in more places without threat of import errors.
* Clean up the core directory.Barry Warsaw2016-03-2415-332/+80
| | | | | | | mailman/core/errors.py is gone now. We had a duplicate base exception which now always comes from mailman/interfaces/errors.py. Obsolete/unused exceptions are remove. The other exceptions are moved to better locations.
* Super duper.Barry Warsaw2016-01-261-25/+0
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* Make creating Link objects a more convenient.Barry Warsaw2016-01-252-6/+2
| | | | | | Link.__init__() can now take an IRule or the string naming a rule, which will be looked up in config.rules. Similarly, it can take an IChain or the name of a chain.
* Just a little more UUID conversion convenience.Barry Warsaw2016-01-131-4/+8
|
* Refactor API differences into a separate class.Barry Warsaw2016-01-131-0/+82
| | | | | | | | | | | 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.
* Several optimizations:Barry Warsaw2016-01-111-2/+1
| | | | | | | | | | | | * Use `yield from` wherever appropriate. * Use SA's .one_or_none() where appropriate. - Fix a bug in MailingList.pass_extensions. - Use ValueError in other places for consistency. - Remove unreached/nonsense code. - Simplify the SubscriptionService.find_member() and .find_members() implementations. - Boost coverage.
* Happy New Year.Barry Warsaw2016-01-0214-14/+14
|
* Digests improvements:Barry Warsaw2015-12-191-1/+1
| | | | | | | * digestable -> digests_enabled * nondigestable: removed * Exposed digests_enabled, digest_send_periodic, digest_volume_frequency in REST.
* Reorder the default-posting-chain to avoid spam.Aurélien Bompard2015-11-211-2/+2
| | | | | | Fixes: #163 Adapt unit tests.
* A few minor cleanups.Barry Warsaw2015-09-131-11/+10
|
* Don't decorate the archive, digest or usenet copiesAurélien Bompard2015-09-122-2/+40
|
* Decorate bulk emails by defaultAurélien Bompard2015-09-081-0/+1
|
* For now, treat `DeliveryMode.summary_digests` the same as `.mime_digests`.Barry Warsaw2015-09-061-2/+9
| | | | | (Closes #141). Also, don't enqueue a particular digest if there are no recipients for that digest.
* * Messages now include a `Message-ID-Hash` as the replacement forBarry Warsaw2015-06-141-3/+6
| | | | | | `X-Message-ID-Hash` although the latter is still included for backward compatibility. Also be sure that all places which add the header use the same algorithm.
* * A handful of unused legacy exceptions have been removed. The redundantBarry Warsaw2015-05-241-19/+1
| | | | `MailmanException` has been removed; use `MailmanError` everywhere.
* Implement reasons for why a message is being held for moderator approval.Barry Warsaw2015-05-111-54/+5
| | | | | | | Given by Aurélien Bompard, tweaked by Barry Warsaw. Remove the inaccurate confirmation url and admindb urls from the substitution dictionaries for postauth.txt and posthold.txt, and the templates.
* Add a test to prove that LP: #1165589 doesn't affect Mailman 3.Barry Warsaw2015-05-041-0/+58
|
* Clean up some templates; given by raj-abhilash1Barry Warsaw2015-04-161-7/+4
|\
* | Move a doctest to the right directory.Barry Warsaw2015-04-161-0/+344
|/
* Documentation fixes, given by Abhilash Raj.Barry Warsaw2015-03-131-2/+2
|\
| * change bin/mailman to mailman everwhere in docsAbhilash Raj2015-03-121-1/+1
|/
* fix mailman_extra_testing_cfg encoding errorAbhilash Raj2015-03-101-2/+2
|
* We don't need the 'six' package any more.Barry Warsaw2015-01-042-10/+9
|
* Bump copyright years.Barry Warsaw2015-01-0413-13/+13
|
* Merge the Python 3 branch.Barry Warsaw2015-01-0414-100/+64
|\
| * Even if we're not loading a user-defined mailman.cfg file (i.e. the user ranBarry Warsaw2015-01-021-5/+6
| | | | | | | | | | | | | | `mailman info` after first install and we're creating the var dir), we still need to post-process so we get the UPPERCASE_DIR variables. Fix an UnboundNameError in the error printing.
| * Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-2213-65/+18
| |
| * Trunk merge.Barry Warsaw2014-12-221-2/+38
| |\