diff options
| author | Barry Warsaw | 2013-11-27 15:13:10 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2013-11-27 15:13:10 -0500 |
| commit | 0ce1d7a1da2e93270acc49d4527417fa6c20a911 (patch) | |
| tree | bbfa43d9f71690096ed218ca5862550a726f5994 /src/mailman/interfaces/archiver.py | |
| parent | adde8bfb3f90f2d2204500bce75550fee8369bcb (diff) | |
| parent | b3ce2a4f6106fa4b2d014ab921f9b6a25b067de3 (diff) | |
| download | mailman-0ce1d7a1da2e93270acc49d4527417fa6c20a911.tar.gz mailman-0ce1d7a1da2e93270acc49d4527417fa6c20a911.tar.zst mailman-0ce1d7a1da2e93270acc49d4527417fa6c20a911.zip | |
Merge branch contributed by Joanna Skrzeszewska.
* 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.
Diffstat (limited to 'src/mailman/interfaces/archiver.py')
| -rw-r--r-- | src/mailman/interfaces/archiver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/interfaces/archiver.py b/src/mailman/interfaces/archiver.py index 5f074503e..aac372865 100644 --- a/src/mailman/interfaces/archiver.py +++ b/src/mailman/interfaces/archiver.py @@ -50,6 +50,8 @@ class IArchiver(Interface): """An interface to the archiver.""" name = Attribute('The name of this archiver') + is_enabled = Attribute( + 'A flag indicating whether this archiver is enabled site-wide.') def list_url(mlist): """Return the url to the top of the list's archive. |
