summaryrefslogtreecommitdiff
path: root/src/mailman/rules/approved.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Clean up the rules directory.Barry Warsaw2016-03-251-4/+2
|
* First massive round of cleanups.Barry Warsaw2016-03-231-7/+4
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Add NEWS and modify a comment.Barry Warsaw2016-03-101-1/+1
|
* Implement review suggestionsAurélien Bompard2016-03-101-2/+2
|
* Protect the approved rule against unknown charsetsAurélien Bompard2016-03-101-2/+8
| | | | Fixes #203
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Fix the approved rule when there is no list passwordAurélien Bompard2015-11-211-0/+2
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-5/+1
|
* Trunk merge.Barry Warsaw2014-12-221-1/+2
|\
| * * Fixed messages without a `text/plain` part crashing the `Approved` rule.Barry Warsaw2014-12-031-1/+2
| |\ | | | | | | | | | Given by Aurélien Bompard. (LP: #1158721)
| | * Emails without a text/plain part crash the Approved ruleAurélien Bompard2014-11-301-1/+4
| |/ | | | | | | Fixes: bug #1158721
* / Fix the approved rule. Don't decode the payload so that we get a unicode toBarry Warsaw2014-12-081-1/+1
|/ | | | | | | | search against. This may not be in the long-term best interest because it ignores Content-Transfer-Encoding, however with decode=True it always returns binary data. We may have to decode and then re.search() with a bytes pattern. passlib always returns a unicode password in Python 3, so adjust for that.
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* Fix the order of PasswordContext.verify() to match that of passlib.Barry Warsaw2012-12-251-1/+1
|
* * `passlib`_ is now used for all password hashing instead of flufl.password.Barry Warsaw2012-07-021-3/+9
| | | | | | | | | | | | | | | | | | | | | | | The default hash is `sha512_crypt`. * Events renamed and moved: * `mailman.chains.accept.AcceptNotification` * `mailman.chains.base.ChainNotification` * `mailman.chains.discard.DiscardNotification` * `mailman.chains.hold.HoldNotification` * `mailman.chains.owner.OwnerNotification` * `mailman.chains.reject.RejectNotification` changed to (respectively): * `mailman.interfaces.chains.AcceptEvent` * `mailman.interfaces.chains.ChainEvent` * `mailman.interfaces.chains.DiscardEvent` * `mailman.interfaces.chains.HoldEvent` * `mailman.interfaces.chains.AcceptOwnerEvent` * `mailman.interfaces.chains.RejectEvent` * A `ConfigurationUpdatedEvent` is triggered when the system-wide global configuration stack is pushed or popped. * With the switch to `passlib`_, `[passwords]password_scheme` has been removed. Instead use `[passwords]path` to specify where to find the `passlib.cfg` file. See the comments in `schema.cfg` for details.
* Replace flufl.password with passlib, albeit with a wrapper.Barry Warsaw2012-06-271-1/+1
|
* General code cleanup.Barry Warsaw2012-04-251-3/+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.
* * A mailing list's *moderator password* is no longer stored in the clear; itBarry Warsaw2012-04-041-2/+5
| | | | | | | | | | | is hashed with the currently selected scheme. Also: - Simplify and rewrite the approved.rst doctest. Now just document the good path, and only describe its functionality using the Approved: header, which is the recommended header. - Greatly expand the unittests for the approved rule.
* * Fixed a UnicodeError with non-ascii message bodies in the `approved` rule,Barry Warsaw2012-04-041-1/+3
|\ | | | | | | | | | | given by Mark Sapiro. (LP: #949924) (with some minor stylistic fixes by Barry)
| * Fixed a unicode decode error on messages with non-ascii text/plain parts.Mark Sapiro2012-03-151-1/+3
|/
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Split member and nonmember moderation.Barry Warsaw2011-01-021-0/+1
| | | | | | | | | | | | | | | | * member-moderation happens at the same place in the built-in chain that the previously named moderation rule happens. nonmember-moderation happens after all the other normal moderation rules. * Handle unsubscribed nonmember posts. Other changes: * Message.senders now filters out Nones and empty strings. * Various test cleanups and simplifications. * More `address` -> `email` fixes. * Give Link class a useful repr. * Fix a potential UnboundLocalError. * Various other small changes.
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* * Allow X-Approved and X-Approve headers, equivalent to Approved andBarry Warsaw2010-09-201-4/+17
| | | | Approve. LP: #557750
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-1/+1
| | | | package.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+121
correctly regardless of how it's used.