summaryrefslogtreecommitdiff
path: root/src/mailman/archiving
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-046-6/+6
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-293-3/+3
|
* New template system. Closes #249Barry Warsaw2016-07-162-8/+8
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Import order flake8 plugin.Barry Warsaw2016-03-272-3/+2
| | | | Fix lots of import order errors discovered by the new plugin.
* Clean up of archiving subdirectory.Barry Warsaw2016-03-243-21/+3
|
* First massive round of cleanups.Barry Warsaw2016-03-233-19/+8
| | | | | | | | * 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-026-6/+6
|
* The MHonArc archiver must set stdin=PIPE when calling the subprocess. GivenBarry Warsaw2015-08-174-4/+129
| | | | by Walter Doekes.
* Some fixes caught by Barry during the reviewAurélien Bompard2015-07-051-1/+1
|
* The prototype archiver is not web-accessibleAurélien Bompard2015-06-302-17/+9
| | | | The URL headers (Archived-At and List-Archives) should not be added.
* Fix a test failure when the machine has an ipv6 address.Barry Warsaw2015-06-291-1/+1
|
* * Messages now include a `Message-ID-Hash` as the replacement forBarry Warsaw2015-06-145-12/+26
| | | | | | `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-063-0/+6
| | | | None. (LP: #1203359)
* We don't need the 'six' package any more.Barry Warsaw2015-01-043-3/+3
|
* Bump copyright years.Barry Warsaw2015-01-044-4/+4
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-224-13/+0
|
* Trunk merge.Barry Warsaw2014-12-223-0/+6
|\
| * * Fixed getting non-ASCII filenames from RFC 2231 i18n'd messages. Given byBarry Warsaw2014-12-083-0/+6
| |\ | | | | | | | | | Aurélien Bompard. (LP: #1060951)
| | * Convert unicode instance testing to bytes instance testingAurélien Bompard2014-12-043-3/+3
| | |
| | * Do not auto-convert Message headers to unicodeAurélien Bompard2014-12-023-0/+6
| |/ | | | | | | Fixes: bug #1060951
* | Use universal_newlines in Python 3 to get unicode output. Fixes common.rstBarry Warsaw2014-12-171-1/+1
| |
* | Use listid instead of (fqdn) listname in the metadata pickle.Barry Warsaw2014-12-151-1/+1
| | | | | | | | | | | | load_external() now always opens in utf-8 mode. More test repair.
* | test_mailinglist.py passes.Barry Warsaw2014-12-012-7/+4
| |
* | Checkpointing.Barry Warsaw2014-11-302-9/+8
|/ | | | | | | | | | 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.
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-14/+14
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* - 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-014-4/+4
|
* Merge branch contributed by Joanna Skrzeszewska.Barry Warsaw2013-11-273-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-253-0/+3
|/
* Add enough __init__.py files to make these docs directories discoverable.Barry Warsaw2013-08-261-0/+0
|
* Bump copyright years.Barry Warsaw2013-01-014-4/+4
|
* Merge Aurélien Bompard's branch to factor our archiver-specific configurationsBarry Warsaw2012-11-042-19/+28
|\ | | | | | | | | into their own configuration files. Reworked by Barry to use the new external configuration file support, and to make test suite succeed.
| * Allow archivers to use their own configuration fileAurélien Bompard2012-09-172-18/+20
|/ | | | | | | | | | | | There's a new "configure" entry in the archiver's section, which can point to an ini-compatible configuration file (ConfigParser is used) for additional archiver-specific configuration. The existing archiver config have been split off schema.cfg to their own configuration files. These shipped files can be overridden by a conf file of the same name in $ext_dir. The ini-file loading method should be rather generic, in case we want the same feature somewhere else.
* * Fix residual references to the old `IMailingList` archive variables.Barry Warsaw2012-08-182-9/+11
| | | | (LP: #1031393)
* General code cleanup.Barry Warsaw2012-04-253-12/+9
| | | | | | | | - 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.
* - Module modernization by adding the print_function() import.Barry Warsaw2012-04-221-2/+3
| | | | - Update many tests to use the transaction() context manager.
* Adjustments after landing the nopipermail branch.Barry Warsaw2012-03-171-13/+1
|
* Merge the Pipermail eradication branch. The scrubber is also removed.Barry Warsaw2012-03-172-145/+10
|\ | | | | | | | | | | | | | | | | | | | | | | * 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-153-160/+13
| | | | | | | | some new APIs I suspect.
* | Add a test for a corner case of UserNotification.send() as suggested by Mark.Barry Warsaw2012-03-151-5/+5
| | | | | | | | | | Fix a test failure found by Toshio, along with an XXX about how we should fix this problem long term.
* | Fix a potential unicode tracebacktoshio2012-03-141-5/+5
| |
* | test_archive_maildir_created(): I was dumb when I rewrote Toshio's originalBarry Warsaw2012-03-141-2/+5
| | | | | | | | test. Undumbify that.
* | * The Prototype archiver now stores its files in maildir format inside ofBarry Warsaw2012-03-144-6/+233
|\ \ | |/ |/| | | `$var_dir/archives/prototype`, given by Toshio Kuratomi.
| * Merge with upstreamtoshio2012-03-144-52/+33
| |\ | |/ |/|
| * 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)
| * Unittests for the prototype archivertoshio2012-03-142-0/+151
| |
| * Use 2.6+ syntax for assigning an exceptiontoshio2012-03-131-1/+1
| |
| * Update documentation for the prototype archivertoshio2012-03-131-4/+8
| |
| * Style cleanups for the prototype patchtoshio2012-03-131-18/+20
| |
| * Fix up the archive_dir in the config filetoshio2012-03-131-1/+1
| |