summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | fixesBarry Warsaw2012-06-270-0/+0
| | | |
| * | | Replace flufl.password with passlib, albeit with a wrapper.Barry Warsaw2012-06-2714-39/+89
|/ / /
* | | trunk mergeBarry Warsaw2012-05-144-2/+114
|\ \ \
| * | | Add a test to ensure that the re-raising of the exception occurs.Barry Warsaw2012-05-111-3/+7
| | | |
| * | | * When a queue runner gets an exception in its _dispose() method, aBarry Warsaw2012-05-114-2/+110
| | | | | | | | | | | | | | | | | | | | | | | | `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.
* | | | False rather than 0Barry Warsaw2012-05-091-1/+1
|/ / /
* | | * List-Post should be NO when posting is not allowed. (LP: #987563)Barry Warsaw2012-04-273-4/+34
| | |
* | | General code cleanup.Barry Warsaw2012-04-25109-464/+431
| | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | Several non-functional improvements to the code base.Barry Warsaw2012-04-2236-537/+460
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | - Remove an obsolete script.Barry Warsaw2012-04-222-191/+3
| | | | | | | | | | | | | | | | - Fix up one more use of config.db global.
| * | | - Modernize the module by using future imports. Some byte literals areBarry Warsaw2012-04-221-8/+19
| | | | | | | | | | | | | | | | required due to the SMTP protocol.
| * | | - Print functionBarry Warsaw2012-04-221-8/+8
| | | | | | | | | | | | | | | | - transaction() context manager.
| * | | - Convert the CLI modules to use print_function.Barry Warsaw2012-04-223-22/+21
| | | | | | | | | | | | | | | | | | | | - Use the @transactional decorator. - Use the transaction context manager.
| * | | - Module modernatizations (print function).Barry Warsaw2012-04-2215-187/+245
| | | | | | | | | | | | | | | | - Convert direct use of config.db global to use the @dbconnection decorator.
| * | | Two more module modernizations and transaction context manager uses.Barry Warsaw2012-04-222-8/+9
| | | |
| * | | - Module modernization by adding the print_function() import.Barry Warsaw2012-04-228-76/+86
| | | | | | | | | | | | | | | | - Update many tests to use the transaction() context manager.
| * | | - Modernize the helpers.py module by using print() functions.Barry Warsaw2012-04-221-16/+18
| | | | | | | | | | | | | | | | | | | | - Rewrite soem of the code to use the new transaction context manager, instead of explicitly accessing the config.db global.
| * | | - Modernize the layers.py module by using print().Barry Warsaw2012-04-221-6/+7
| | | | | | | | | | | | | | | | | | | | - Rewrite a small bit of code to use the transaction context manager instead of accessing config.db directly.
| * | | Update the IDatabase interface.Barry Warsaw2012-04-221-2/+5
| | | |
| * | | - Simplify the transactional() decorator.Barry Warsaw2012-04-221-13/+39
|/ / / | | | | | | | | | | | | - Add transaction() context manager. - Add dbconnection() decorator.
* | | Rename mailman.database.transaction.txn to ...transactional. Modernize theBarry Warsaw2012-04-213-14/+9
|\ \ \ | |_|/ |/| | | | | module, and use it in another convenient place.
| * | Rename mailman.database.transaction.txn to ...transactional. Modernize theBarry Warsaw2012-04-203-14/+9
|/ / | | | | | | module, and use it in another convenient place.
| * newsgroup_moderationBarry Warsaw2012-04-082-1/+8
| |
| * - Rename the model attributes.Barry Warsaw2012-04-0812-49/+54
| | | | | | | | - news_moderation -> newsgroup_moderation
| * - Refactor the way databases are schema-migrated so that load_migrations()Barry Warsaw2012-04-0811-27/+537
|/ | | | | | | | | | | | | | | 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.
* * A `PasswordChangeEvent` is triggered when an `IUser`'s password changes.Barry Warsaw2012-04-075-3/+49
| | | | (LP: #975700)
* * An `AddressVerificationEvent` is triggered when an `IAddress` is verifiedBarry Warsaw2012-04-074-5/+57
| | | | or unverified. (LP: #975698)
* Remove redundant, obsolete test data. This stuff all lives in flufl.bounceBarry Warsaw2012-04-0687-10367/+0
| | | | now.
* Add missing bug reference.Barry Warsaw2012-04-061-1/+1
|
* Merge branch from Andrea Crotti, with a minor cleanup:Barry Warsaw2012-04-061-2/+1
|\ | | | | | | | | - There is a tiny change from the version already merged, because now sys.ps1 is set correctly even if readline/rlcompleter fail..
| * the sys prompt can be safely set also when the readline import failsAndrea Crotti2012-03-141-2/+2
| |
| * mergeAndrea Crotti2012-03-1437-423/+630
| |\
* | \ * Header check specifications in the `mailman.cfg` file have changed quiteBarry Warsaw2012-04-0611-193/+362
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Whitespace normalization.Barry Warsaw2012-04-061-2/+0
| | | |
| * | | * Header check specifications in the `mailman.cfg` file have changed quiteBarry Warsaw2012-04-0611-193/+364
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | * A mailing list's *moderator password* is no longer stored in the clear; itBarry Warsaw2012-04-045-221/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-045-1/+71
|\ \ \ | | | | | | | | | | | | given by Mark Sapiro. (LP: #949924)
| * | | * Fixed a UnicodeError with non-ascii message bodies in the `approved` rule,Barry Warsaw2012-04-045-1/+71
|/| | | | | | | | | | | | | | | | | | | | | | | given by Mark Sapiro. (LP: #949924) (with some minor stylistic fixes by Barry)
| * | | * Added a unit test for rules/approved.pyMark Sapiro2012-03-184-0/+76
| | | | | | | | | | | | | | | | * Renamed rules/docs/approve.py to approved.py for consistency.
| * | | Merged from trunk.Mark Sapiro2012-03-1853-4062/+733
| |\ \ \
| * | | | Fixed a unicode decode error on messages with non-ascii text/plain parts.Mark Sapiro2012-03-151-1/+3
| | | | |
* | | | | - Improve the NNTP doctest.Barry Warsaw2012-04-023-120/+47
| | | | | | | | | | | | | | | | | | | | | | | | | - Add a `cleanups` global to doctests. This can be used to register functions which will get called automatically at doctest tearDown time.
* | | | | * The `news` runner and queue has been renamed to the more accurate `nntp`.Barry Warsaw2012-04-0117-155/+578
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | The port of NNTPRunner to Mailman 3 is complete.Barry Warsaw2012-04-014-34/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Configuration schema variable changes: [nntp]username -> [nntp]user [nntp]port (added)
| * | | | | - More tests of mailman.runners.nntp.prepare_message(), this time of theBarry Warsaw2012-04-014-42/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | More tests, though still not 100% coverage.Barry Warsaw2012-03-313-21/+56
| | | | | |
| * | | | | * The `news` runner and queue has been renamed to the more accurate `nntp`.Barry Warsaw2012-03-3114-63/+202
|/ / / / / | | | | | | | | | | | | | | | Beta testers can can safely remove `$var_dir/queue/news`.
* | | | | Fix a few typos, and the creation of index.html symlink to make PyPI happy.Barry Warsaw2012-03-283-7/+11
| | | | |
* | | | | * Some additional documentation on related components such as Postorius andBarry Warsaw2012-03-286-24/+320
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | hyperkitty have been added, given by Stephen J Turnbull.
| * | | | | Update documentation post-sprint for Beta releases.Stephen J. Turnbull2012-03-264-18/+309
| | | | | |