summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
| |
* | 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) (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-1851-4059/+726
| |\ \
| * | | 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 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-3113-63/+201
| | | | | | | | | | | | | | | | 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-282-5/+5
| | | |
* | | | * Some additional documentation on related components such as Postorius andBarry Warsaw2012-03-284-20/+303
|\ \ \ \ | | | | | | | | | | | | | | | hyperkitty have been added, given by Stephen J Turnbull.
| * | | | Update documentation post-sprint for Beta releases.Stephen J. Turnbull2012-03-263-18/+298
| | | | |
* | | | | Remove a few more obsolete scripts.Barry Warsaw2012-03-284-749/+0
| | | | |
* | | | | Remove another obsolete script.Barry Warsaw2012-03-282-151/+1
| | | | |
* | | | | Remove obsolete script.Barry Warsaw2012-03-261-660/+0
| | | | |
* | | | | Add bug tagBarry Warsaw2012-03-261-1/+1
| | | | |
* | | | | Beta 2 of course.Barry Warsaw2012-03-261-1/+1
| | | | |
* | | | | ArchitectureBarry Warsaw2012-03-2621-96/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------ * Internally, all datetimes are kept in the UTC timezone, however because of LP: #280708, they are stored in the database in naive format. * `received_time` is now added to the message metadata by the LMTP runner instead of by `Switchboard.enqueue()`. This latter no longer depends on `received_time` in the metadata. * The `ArchiveRunner` no longer acquires a lock before it calls the individual archiver implementations, since not all of them need a lock. If they do, the implementations must acquire said lock themselves. Configuration ------------- * New configuration variables `clobber_date` and `clobber_skew` supported in every `[archiver.<name>]` section. These are used to determine under what circumstances a message destined for a specific archiver should have its `Date:` header clobbered.
* | | | | Prep for next version.Barry Warsaw2012-03-241-3/+3
| | | | |
* | | | | Last minute emergency bandaid for bug LP: #963612Barry Warsaw2012-03-232-29/+44
| | | | |
* | | | | Prepping for 3.0b1.Barry Warsaw2012-03-232-2/+2
| | | | |
* | | | | Test repair.Barry Warsaw2012-03-231-1/+1
| | | | |
* | | | | Verp all messages to the -owners. Add a test to prove that email to -ownersBarry Warsaw2012-03-233-0/+153
| | | | | | | | | | | | | | | | | | | | now works as expected!
* | | | | Add the OwnerPipeline, with tests, and rename some things for consistency.Barry Warsaw2012-03-233-7/+73
| | | | |
* | | | | Add a doctest for owner recipients.Barry Warsaw2012-03-232-0/+63
| | | | |
* | | | | - Move some normal recipient tests to unittests.Barry Warsaw2012-03-237-44/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add unittests for owner recipients. There does eventually need to be some documentation about owner recipients. - Implement owner recipients handler. This includes moderators and owners (i.e. all the non-disabled the list administrators). - Changed the [mailman]site_owner setting in testing.cfg to noreply@example.com
* | | | | Rename the member recipients calculating handler to make way for the ownerBarry Warsaw2012-03-234-7/+7
| | | | | | | | | | | | | | | | | | | | recipients handler.
* | | | | Rename the src/mailman/pipeline directory to src/mailman/handlers since that'sBarry Warsaw2012-03-2342-13/+13
| | | | | | | | | | | | | | | | | | | | how I think about them anyway.
* | | | | Extend the pipeline runner to handle messages to the -owner address.Barry Warsaw2012-03-232-1/+119
| | | | |
* | | | | Add a simple owner processing chain.Barry Warsaw2012-03-224-2/+134
| | | | |
* | | | | Add an owner chain and pipeline to the schema, model, and interface. PlumbBarry Warsaw2012-03-226-2/+123
| | | | | | | | | | | | | | | | | | | | this through the incoming runner.
* | | | | Several fixes and cleanups, ostensibly to fix Python 2.6 support.Barry Warsaw2012-03-228-22/+52
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - email.iterators.body_line_iterator() cannot handle unicodes in Python 2.6, because it uses cStringIO.StringIO under the covers, and *that* can't handle unicode. This works fine in Python 2.7, so I override this for the tests only under 2.6 (the code itself isn't affected). - AddressError needs to str() its IAddress attribute explicitly in the __str__() method, otherwise under Python 2.6, you'll get unprintable reprs in the doctests. Again, this works correctly in 2.7, but EIBTI, so it can't hurt either way. - EmailError: a new exception, not related to AddressError. The reason for this it to conform to current nomenclature: "address" means an IAddress while "email" means a text email address. So InvalidEmailAddressError now derives from EmailError instead of AddressError because it gets passed a text email address, and because that is invalid, it never gets turned into an IAddress. The __str__() of this new base exception class does some tricky encoding to keep it compatible between Python 2.6 and 2.7. - UnverifiedAddressError derives from AddressError instead of the more generic MailmanError. - A few random code cleanups are included.
* | | | Adjustments after landing the nopipermail branch.Barry Warsaw2012-03-172-15/+2
| | | |
* | | | Merge the Pipermail eradication branch. The scrubber is also removed.Barry Warsaw2012-03-1750-4047/+535
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Configuration variable `[mailman]filtered_messages_are_preservable` controls whether messages which have their top-level `Content-Type` filtered out can be preserved in the `bad` queue by list owners. * Configuration section `[scrubber]` removed, as is the scrubber handler. This handler was essentially incompatible with Mailman 3 since it required coordination with Pipermail to store attachments on disk. * Schema additions: - mailinglist.filter_action
| * | | | * Pipermail has been eradicated.Barry Warsaw2012-03-1621-908/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Configuration variable `[mailman]filtered_messages_are_preservable` controls whether messages which have their top-level `Content-Type` filtered out can be preserved in the `bad` queue by list owners. * Configuration section `[scrubber]` removed, as is the scrubber handler. This handler was essentially incompatible with Mailman 3 since it required coordination with Pipermail to store attachments on disk. * Schema additions: - mailinglist.filter_action
| * | | | Eradicate Pipermail. Everything but the scrubber test works. That will takeBarry Warsaw2012-03-1532-3162/+149
| | |_|/ | |/| | | | | | | | | | some new APIs I suspect.
* | | | * Improved "8 mile high" document distilled by Stephen Turnbull from theBarry Warsaw2012-03-162-0/+192
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | Pycon 2012 Mailman 3 sprint. Also improvements to the Sphinx build given by Andrea Crotti.
| * | Use minlen to disentagle the POSTING queue.Stephen J. Turnbull2012-03-151-5/+4
| | |
| * | Remove redundant PNGs.Stephen J. Turnbull2012-03-153-0/+0
| | |
| * | We gots a graphviz! Now WAT?!Stephen J. Turnbull2012-03-151-22/+22
| | |
| * | groups helpStephen J. Turnbull2012-03-151-41/+39
| | |
| * | source, chains, sink subgraphs formStephen J. Turnbull2012-03-151-40/+44
| | |