New template system. Closes #249
commitdbde6231ec897379ed38ed4cd015b8ab20ed5fa1
authorBarry Warsaw <barry@python.org>
Sat, 16 Jul 2016 19:44:07 +0000 (16 15:44 -0400)
committerBarry Warsaw <barry@python.org>
Sat, 16 Jul 2016 19:44:07 +0000 (16 15:44 -0400)
tree1226d06a238314262a1d04d0bbf9c4dc0b72c309
parent3387791beb7112dbe07664041f117fdcc20df53d
New template system.  Closes #249

The new template system is introduced for API 3.1.  See
``src/mailman/rest/docs/templates.rst`` for details.
139 files changed:
setup.py
src/mailman/app/bounces.py
src/mailman/app/docs/moderator.rst
src/mailman/app/docs/pipelines.rst
src/mailman/app/membership.py
src/mailman/app/moderator.py
src/mailman/app/notifications.py
src/mailman/app/registrar.py
src/mailman/app/subscriptions.py
src/mailman/app/tests/test_bounces.py
src/mailman/app/tests/test_notifications.py
src/mailman/app/tests/test_registrar.py
src/mailman/app/tests/test_subscriptions.py
src/mailman/app/tests/test_templates.py [deleted file]
src/mailman/archiving/docs/common.rst
src/mailman/archiving/mhonarc.py
src/mailman/chains/hold.py
src/mailman/commands/cli_lists.py
src/mailman/commands/docs/create.rst
src/mailman/commands/docs/info.rst
src/mailman/commands/tests/test_lists.py
src/mailman/config/config.py
src/mailman/config/configure.zcml
src/mailman/config/schema.cfg
src/mailman/core/runner.py
src/mailman/core/switchboard.py
src/mailman/database/alembic/env.py
src/mailman/database/alembic/versions/fa0d96e28631_template_manager.py [new file with mode: 0644]
src/mailman/database/base.py
src/mailman/database/tests/test_migrations.py
src/mailman/docs/NEWS.rst
src/mailman/handlers/acknowledge.py
src/mailman/handlers/decorate.py
src/mailman/handlers/docs/acknowledge.rst
src/mailman/handlers/docs/decorate.rst
src/mailman/handlers/docs/rfc-2369.rst
src/mailman/handlers/replybot.py
src/mailman/handlers/rfc_2369.py
src/mailman/handlers/tests/test_decorate.py
src/mailman/handlers/tests/test_rfc_2369.py
src/mailman/interfaces/cache.py [new file with mode: 0644]
src/mailman/interfaces/domain.py
src/mailman/interfaces/mailinglist.py
src/mailman/interfaces/member.py
src/mailman/interfaces/template.py [new file with mode: 0644]
src/mailman/interfaces/templates.py [deleted file]
src/mailman/model/cache.py [new file with mode: 0644]
src/mailman/model/docs/domains.rst
src/mailman/model/domain.py
src/mailman/model/mailinglist.py
src/mailman/model/member.py
src/mailman/model/template.py [new file with mode: 0644]
src/mailman/model/tests/test_cache.py [new file with mode: 0644]
src/mailman/model/tests/test_template.py [new file with mode: 0644]
src/mailman/mta/deliver.py
src/mailman/mta/docs/decorating.rst
src/mailman/mta/tests/test_delivery.py
src/mailman/mta/verp.py
src/mailman/rest/docs/__init__.py
src/mailman/rest/docs/domains.rst
src/mailman/rest/docs/listconf.rst
src/mailman/rest/docs/systemconf.rst
src/mailman/rest/docs/templates.rst [new file with mode: 0644]
src/mailman/rest/domains.py
src/mailman/rest/header_matches.py
src/mailman/rest/listconf.py
src/mailman/rest/lists.py
src/mailman/rest/root.py
src/mailman/rest/sub_moderation.py
src/mailman/rest/tests/test_bans.py
src/mailman/rest/tests/test_domains.py
src/mailman/rest/tests/test_listconf.py
src/mailman/rest/tests/test_lists.py
src/mailman/rest/tests/test_root.py
src/mailman/rest/tests/test_systemconf.py
src/mailman/rest/uris.py [new file with mode: 0644]
src/mailman/rest/validator.py
src/mailman/rest/wsgiapp.py
src/mailman/runners/digest.py
src/mailman/runners/docs/digester.rst
src/mailman/runners/tests/test_digest.py
src/mailman/styles/base.py
src/mailman/templates/en/adminaddrchgack.txt [deleted file]
src/mailman/templates/en/admindbdetails.html [deleted file]
src/mailman/templates/en/admindbpreamble.html [deleted file]
src/mailman/templates/en/admindbsummary.html [deleted file]
src/mailman/templates/en/adminsubscribeack.txt [deleted file]
src/mailman/templates/en/adminunsubscribeack.txt [deleted file]
src/mailman/templates/en/admlogin.html [deleted file]
src/mailman/templates/en/approve.txt [deleted file]
src/mailman/templates/en/article.html [deleted file]
src/mailman/templates/en/bounce.txt [deleted file]
src/mailman/templates/en/checkdbs.txt [deleted file]
src/mailman/templates/en/convert.txt [deleted file]
src/mailman/templates/en/cronpass.txt [deleted file]
src/mailman/templates/en/disabled.txt [deleted file]
src/mailman/templates/en/domain:admin:notice:new-list.txt [new file with mode: 0644]
src/mailman/templates/en/emptyarchive.html [deleted file]
src/mailman/templates/en/headfoot.html [deleted file]
src/mailman/templates/en/help.txt
src/mailman/templates/en/invite.txt
src/mailman/templates/en/list:admin:action:post.txt [moved from src/mailman/templates/en/postauth.txt with 90% similarity]
src/mailman/templates/en/list:admin:action:subscribe.txt [moved from src/mailman/templates/en/subauth.txt with 83% similarity]
src/mailman/templates/en/list:admin:action:unsubscribe.txt [new file with mode: 0644]
src/mailman/templates/en/list:admin:notice:subscribe.txt [new file with mode: 0644]
src/mailman/templates/en/list:admin:notice:unrecognized.txt [moved from src/mailman/templates/en/unrecognized.txt with 87% similarity]
src/mailman/templates/en/list:admin:notice:unsubscribe.txt [new file with mode: 0644]
src/mailman/templates/en/list:member:digest:masthead.txt [moved from src/mailman/templates/en/masthead.txt with 52% similarity]
src/mailman/templates/en/list:member:generic:footer.txt [moved from src/mailman/templates/en/footer-generic.txt with 70% similarity]
src/mailman/templates/en/list:user:action:confirm.txt [moved from src/mailman/templates/en/confirm.txt with 83% similarity]
src/mailman/templates/en/list:user:action:unsubscribe.txt [new file with mode: 0644]
src/mailman/templates/en/list:user:notice:hold.txt [moved from src/mailman/templates/en/postheld.txt with 100% similarity]
src/mailman/templates/en/list:user:notice:no-more-today.txt [moved from src/mailman/templates/en/nomoretoday.txt with 61% similarity]
src/mailman/templates/en/list:user:notice:post.txt [moved from src/mailman/templates/en/postack.txt with 61% similarity]
src/mailman/templates/en/list:user:notice:probe.txt [moved from src/mailman/templates/en/probe.txt with 62% similarity]
src/mailman/templates/en/list:user:notice:refuse.txt [moved from src/mailman/templates/en/refuse.txt with 91% similarity]
src/mailman/templates/en/list:user:notice:welcome.txt [new file with mode: 0644]
src/mailman/templates/en/listinfo.html [deleted file]
src/mailman/templates/en/newlist.txt [deleted file]
src/mailman/templates/en/options.html [deleted file]
src/mailman/templates/en/private.html [deleted file]
src/mailman/templates/en/roster.html [deleted file]
src/mailman/templates/en/subscribe.html [deleted file]
src/mailman/templates/en/unsub.txt [deleted file]
src/mailman/templates/en/unsubauth.txt [deleted file]
src/mailman/templates/en/userpass.txt [deleted file]
src/mailman/templates/en/welcome.txt [deleted file]
src/mailman/testing/documentation.py
src/mailman/testing/helpers.py
src/mailman/testing/layers.py
src/mailman/testing/mailman-fr.mo
src/mailman/testing/mailman-fr.po
src/mailman/utilities/i18n.py
src/mailman/utilities/importer.py
src/mailman/utilities/protocols.py [moved from src/mailman/app/templates.py with 69% similarity]
src/mailman/utilities/string.py
src/mailman/utilities/tests/test_import.py
src/mailman/utilities/tests/test_protocols.py [new file with mode: 0644]
src/mailman/utilities/tests/test_templates.py