summaryrefslogtreecommitdiff
path: root/src/mailman/chains/hold.py
Commit message (Collapse)AuthorAgeFilesLines
* Rename metadata key for clarityBarry Warsaw2017-08-041-2/+2
|
* Ensure all holds/rejects have a reason.Mark Sapiro2017-07-261-5/+6
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Merge gitlab.com:mailman/mailman into to_moderatorsMark Sapiro2016-12-041-1/+1
|\
| * Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
| |
* | Remove to_moderatorsMark Sapiro2016-12-041-1/+1
|/
* Minor cleanup and test added.Barry Warsaw2016-11-251-1/+1
|
* Transmit the moderation reason to hold_message()Aurélien Bompard2016-11-251-1/+2
| | | | | | | | The `reason` attribute of `hold_message()` was always None. Serialize the moderation reasons list and pass it to the function. This allows the `reason` attribute in REST to actually contain the moderation reason. It was always blank before.
* Closes: #68Barry Warsaw2016-11-131-1/+1
| | | | | Messages sent to the list's moderators now include the actual recipient addresses. Given by Tom Briles.
* Issue 68: send messages to list moderators when tomoderators=TrueTom Briles2016-10-311-1/+1
|
* New template system. Closes #249Barry Warsaw2016-07-161-21/+27
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Don't use `flake8: noqa`.Barry Warsaw2016-04-011-4/+4
| | | | | | | 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 chains subdirectory.Barry Warsaw2016-03-241-16/+9
|
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Make sure that Pendables always have a typeAurélien Bompard2015-12-161-3/+2
|
* Closes #144Barry Warsaw2015-11-081-1/+6
| | | | | * Fix ``UnicodeEncodeError`` in the hold chain when sending the authorization email to the mailing list moderators. (Closes: #144)
* Fix the logging of the moderation reasonsAurélien Bompard2015-09-231-1/+1
|
* Implement reasons for why a message is being held for moderator approval.Barry Warsaw2015-05-111-13/+23
| | | | | | | 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.
* * Remove the admindb url from the template so that the approveAbhilash Raj2015-04-151-1/+1
| | | | | requests no longer have a wrong url * Change the reason for holding the message to 'N/A' from 'XXX'
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-7/+3
|
* app/docs and app.tests all pass now.Barry Warsaw2014-12-151-1/+1
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* * `passlib`_ is now used for all password hashing instead of flufl.password.Barry Warsaw2012-07-021-7/+3
| | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* * Fix AttributeError triggered by i18n call in autorespond_to_sender()Barry Warsaw2011-08-231-9/+9
| | | | (LP: #827060)
* Reimplement wrap() using modern techniques, and finally get rid of Utils.py!Barry Warsaw2011-03-171-2/+1
|
* Utils.maketext() and Utils.findtext() are gone.Barry Warsaw2011-03-161-15/+18
|
* Move oneline() out of Utils.py.Barry Warsaw2011-02-251-1/+2
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-3/+3
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* No longer touch the Sender or Errors-To headers. We can no longer justifyBarry Warsaw2010-06-291-1/+0
| | | | | setting these based on RFC 5322, and modern MTAs no longer need us to do so for proper bounce processing.
* Chains now fire Zope events in their _process() implementation.Barry Warsaw2010-02-161-1/+8
| | | | Clean up the chains.txt doctest to use this and other recent improvements.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-101-2/+4
| | | | | | | | * 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.
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-151-4/+3
| | | | package.
* As before, replace config.db.requests and config.db.pendings with utilities.Barry Warsaw2009-08-261-2/+2
|
* Remove the user_manager attribute from config.db and expose it as anBarry Warsaw2009-08-261-2/+5
| | | | IUserManager utility.
* Refactor.Barry Warsaw2009-02-191-3/+63
|
* Eradicate hold_and_cmd_autoresponses.Barry Warsaw2009-02-171-1/+2
|
* Much clean up of the language code, though more can be done. Factor out theBarry Warsaw2009-02-121-8/+8
| | | | | | | language manager stuff into a separate Language class, and be clearer in the APIs about whether we want a language code or a Language instance. The impetus to this was to get rid of Utils.GetCharSet(), which is done.
* Move mailman.Message to mailman.email.Message. Rename Message.get_sender() toBarry Warsaw2009-02-091-8/+8
| | | | | | | | | Message.sender (property) and Message.get_senders() to Message.senders (another property). The semantics of .sender is slightly different too; it no longer consults config.mailman.use_envelope_sender. Add absolute_import and unicode_literals to Utils.py, and clean up a few imports.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+178
correctly regardless of how it's used.