summaryrefslogtreecommitdiff
path: root/src/mailman/archiving/prototype.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Clean up of archiving subdirectory.Barry Warsaw2016-03-241-6/+0
|
* First massive round of cleanups.Barry Warsaw2016-03-231-7/+4
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* The prototype archiver is not web-accessibleAurélien Bompard2015-06-301-15/+4
| | | | The URL headers (Archived-At and List-Archives) should not be added.
* * Messages now include a `Message-ID-Hash` as the replacement forBarry Warsaw2015-06-141-3/+6
| | | | | | `X-Message-ID-Hash` although the latter is still included for backward compatibility. Also be sure that all places which add the header use the same algorithm.
* * The built-in example ``IArchiver`` implementations now explicitly returnBarry Warsaw2015-04-061-0/+2
| | | | None. (LP: #1203359)
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* Trunk merge.Barry Warsaw2014-12-221-0/+2
|\
| * * Fixed getting non-ASCII filenames from RFC 2231 i18n'd messages. Given byBarry Warsaw2014-12-081-0/+2
| |\ | | | | | | | | | Aurélien Bompard. (LP: #1060951)
| | * Convert unicode instance testing to bytes instance testingAurélien Bompard2014-12-041-1/+1
| | |
| | * Do not auto-convert Message headers to unicodeAurélien Bompard2014-12-021-0/+2
| |/ | | | | | | Fixes: bug #1060951
* / Checkpointing.Barry Warsaw2014-11-301-5/+4
|/ | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* - Clean up and simplify remove_list()Barry Warsaw2014-03-021-1/+0
| | | | - Boost test coverage of lifecycle.py to 100%
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Merge branch contributed by Joanna Skrzeszewska.Barry Warsaw2013-11-271-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Mailing lists can now individually enable or disable any archiver available site-wide. Contributed by Joanna Skrzeszewska. (LP: #1158040) Also: - IArchivers (i.e. system-wide archivers) now have an is_enabled attribute. - config.archivers now returns *all* archivers, including those that are disabled site-wide. This way, iterating over the list-specific archivers returns everything. - In the ini-file schema, make the default archiver class empty, otherwise the Prototype archiver is always enabled. - Added a `listarchiver` table to support list-specific archivers.
| * Checkpointing.Barry Warsaw2013-11-251-0/+1
|/
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* General code cleanup.Barry Warsaw2012-04-251-4/+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.
* * The Prototype archiver now stores its files in maildir format inside ofBarry Warsaw2012-03-141-2/+57
|\ | | | | | | `$var_dir/archives/prototype`, given by Toshio Kuratomi.
| * Merge with upstreamtoshio2012-03-141-13/+5
| |\ | |/ |/|
| * Revert to using a try: except: finally: for locking as the context managertoshio2012-03-141-14/+15
| | | | | | | | fails when the lock is stolen out from under it (as from a thread)
| * Use 2.6+ syntax for assigning an exceptiontoshio2012-03-131-1/+1
| |
| * Style cleanups for the prototype patchtoshio2012-03-131-18/+20
| |
| * Fix up the archive_dir in the config filetoshio2012-03-131-1/+1
| |
| * Implement preliminary archiving to maildir in the prototype archivertoshio2012-03-131-2/+42
| |
* | * The LMTP server now requires that the incoming message have a `Message-ID`,Barry Warsaw2012-03-131-16/+5
|/ | | | | | | | | | | otherwise it rejects the message with a 550 error. Also, the LMTP server adds the `X-Message-ID-Hash` header automatically. The `inject` cli command will also add the `X-Message-ID-Hash` header, but it will craft a `Message-ID` header first if one is missing from the injected text. Also, `inject` will always set the correct value for the `original_size` attribute on the message object, instead of trusting a possibly incorrect value if it's already set. The individual `IArchiver` implementations no longer set the `X-Message-ID-Hash` header.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-081-1/+0
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* * Make IDomainManager a utility, since the config object is global.Barry Warsaw2009-12-081-2/+1
| | | | | | | | * Give IMailingList a .domain attribute which looks up the IDomain for its .host_name. This cleans up a lot of code. * Add a test for the 'confirm' email command. * Suppress blank lines in email command responses. * Make the IDomainCollection a utility.
* Wow. Put domains into the database.Barry Warsaw2009-07-161-1/+2
| | | | | | | | Add an IDomainManager and a global domain manager which can be gotten by adapting the global config object. Add an IDomainCollection interface for exposing the domain manager onto the API.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+77
correctly regardless of how it's used.