| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| |/ / / |
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`RunnerCrashEvent` is triggered, which contains references to the queue
runner, mailing list, message, metadata, and exception. Interested parties
can subscribe to that `zope.event` for notification.
|
| |/ / / |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reduce the explicit use of the config.db global by introducing two new
helpers:
- A new transaction() context manager which will commit the transaction on
successful exit, otherwise it will abort the transaction
- A new dbconnection decorator which calls the decorated method with the
Storm store object as the first argument (after self). This can be used
instead of config.db.store.
By reducing the explicit use of this global, we have a better chance of
refactoring it away in the future. Still TODO: runner.py and lmtp.py.
Be explicit about the `store` attribute on the IDatabase interface.
More consistent use of __future__ imports.
Remove an obsolete command line script.
|
| | | | |
| | | |
| | | |
| | | | |
- Fix up one more use of config.db global.
|
| | | | |
| | | |
| | | |
| | | | |
required due to the SMTP protocol.
|
| | | | |
| | | |
| | | |
| | | | |
- transaction() context manager.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
- Use the @transactional decorator.
- Use the transaction context manager.
|
| | | | |
| | | |
| | | |
| | | | |
- Convert direct use of config.db global to use the @dbconnection decorator.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
- Update many tests to use the transaction() context manager.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
- Rewrite soem of the code to use the new transaction context manager,
instead of explicitly accessing the config.db global.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
- Rewrite a small bit of code to use the transaction context manager instead
of accessing config.db directly.
|
| | | | | |
|
| |/ / /
| | |
| | |
| | |
| | | |
- Add transaction() context manager.
- Add dbconnection() decorator.
|
| |\ \ \
| |_|/
|/| |
| | | |
module, and use it in another convenient place.
|
| |/ /
| |
| |
| | |
module, and use it in another convenient place.
|
| | | |
|
| | |
| |
| |
| | |
- news_moderation -> newsgroup_moderation
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can be tested separately.
- Add an `until` argument to load_migrations() so that we can load only up to
a given timestamp.
- In load_migrations(), ignore files in which the `version` part of the file
name is empty.
- In migrations.rst, use the new, better way of ensuring post-test cleanup.
- Add tests for partial upgrades.
- LP: #971013 - schema migrations for beta 2.
- LP: #967238 - IMailingList.archive + IMailingList.archive_private ->
IMailingList.archive_policy, and add ArchivePolicy enum.
- Move the `chdir` context manager to helpers.py and add `temporary_db`
context manager.
|
| |
|
|
| |
(LP: #975700)
|
| |
|
|
| |
or unverified. (LP: #975698)
|
| |
|
|
| |
now.
|
| | |
|
| |\
| |
| |
| |
| | |
- There is a tiny change from the version already merged, because now sys.ps1
is set correctly even if readline/rlcompleter fail..
|
| | | |
|
| | |\ |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
bit. The previous `[spam.header.foo]` sections have been removed.
Instead, there's a new `[antispam]` section that contains a `header_checks`
variable. This variable takes multiple lines of `Header: regexp` values,
one per line. There is also a new `jump_chain` variable which names the
chain to jump to should any of the header checks (including the
list-specific, and programmatically added ones) match.
* Fixed a typo when returning the configuration file's header match checks.
(LP: #953497)
Also:
- Remove an unused method.
- Improve test coverage for mailman/app/bounces.py
- 100% test coverage for mailman/chains/headers.py
- Various other minor code cleanup.
- Fixed the 'any' rule, which was checking a bogus metadata dictionary key.
|
| | | | | |
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bit. The previous `[spam.header.foo]` sections have been removed.
Instead, there's a new `[antispam]` section that contains a `header_checks`
variable. This variable takes multiple lines of `Header: regexp` values,
one per line. There is also a new `jump_chain` variable which names the
chain to jump to should any of the header checks (including the
list-specific, and programmatically added ones) match.
* Fixed a typo when returning the configuration file's header match checks.
(LP: #953497)
Also:
- Remove an unused method.
- Improve test coverage for mailman/app/bounces.py
- 100% test coverage for mailman/chains/headers.py
- Various other minor code cleanup.
- Fixed the 'any' rule, which was checking a bogus metadata dictionary key.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | |
| | | | |
given by Mark Sapiro. (LP: #949924)
|
| |/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
given by Mark Sapiro. (LP: #949924)
(with some minor stylistic fixes by Barry)
|
| | | | |
| | | |
| | | |
| | | | |
* Renamed rules/docs/approve.py to approved.py for consistency.
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Add a `cleanups` global to doctests. This can be used to register
functions which will get called automatically at doctest tearDown time.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The runner has also been ported to Mailman 3 (LP: #967409). Beta testers
can can safely remove `$var_dir/queue/news`.
* Configuration schema variable changes:
[nntp]username -> [nntp]user
[nntp]port (added)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Configuration schema variable changes:
[nntp]username -> [nntp]user
[nntp]port (added)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
header removal and de-duplication algorithms.
- Improve the robustness of the de-duplication code.
- Add a very nice helper called `configuration` which can be used either as a
decorator or context manager to temporarily set values in a configuration
section. No more need to manage pushes/pops. More code needs to be
converted to use this style.
|
| | | | | | | |
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
Beta testers can can safely remove `$var_dir/queue/news`.
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
hyperkitty have been added, given by Stephen J Turnbull.
|
| | | | | | | |
|