| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | | |
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`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.
|
| | | |
| | |
| | |
| | | |
- 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.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
columns got renamed don't in fact check the data in those tables. Better
separation of concerns.
Rename mailman.database.transaction.txn to ...transactional and use it in a
couple of additional spots.
|
| | | |
|
| | |
| |
| |
| | |
- 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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
(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.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|