diff options
| author | Barry Warsaw | 2015-04-13 16:23:50 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-13 16:23:50 -0400 |
| commit | 2b9ef541cf80e5bcf413c2ba234856a7bc77baad (patch) | |
| tree | 79ba66d72c4f95ad475875888c26466ecf64acc5 /src/mailman/interfaces | |
| parent | 6f43b64a27f7e38df80a59f9111b5dedfac0d70f (diff) | |
| download | mailman-2b9ef541cf80e5bcf413c2ba234856a7bc77baad.tar.gz mailman-2b9ef541cf80e5bcf413c2ba234856a7bc77baad.tar.zst mailman-2b9ef541cf80e5bcf413c2ba234856a7bc77baad.zip | |
SubscriptionPolicy is largely done, modulo bugs, and the unknown-unknown of
course. This commit contains test failures because the next step is to hook
everything up.
Changes here include:
* confirm.txt removes the URL since we can't know that.
* Changes to the ConfirmationNeededEvent
* Create the Pendable early in the workflow.
* Clean up test.
* Update IRegistrar docstring.
Diffstat (limited to 'src/mailman/interfaces')
| -rw-r--r-- | src/mailman/interfaces/registrar.py | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/mailman/interfaces/registrar.py b/src/mailman/interfaces/registrar.py index 7d3cf9c25..504442f7e 100644 --- a/src/mailman/interfaces/registrar.py +++ b/src/mailman/interfaces/registrar.py @@ -35,23 +35,14 @@ from zope.interface import Interface class ConfirmationNeededEvent: """Triggered when an address needs confirmation. - Addresses must be verified before they can receive messages or post to - mailing list. When an address is registered with Mailman, via the - `IRegistrar` interface, an `IPendable` is created which represents the - pending registration. This pending registration is stored in the - database, keyed by a token. Then this event is triggered. - - There may be several ways to confirm an email address. On some sites, - registration may immediately produce a verification, e.g. because it is on - a known intranet. Or verification may occur via external database lookup - (e.g. LDAP). On most public mailing lists, a mail-back confirmation is - sent to the address, and only if they reply to the mail-back, or click on - an embedded link, is the registered address confirmed. + Addresses must be verified before they can receive messages or post + to mailing list. The confirmation message is sent to the user when + this event is triggered. """ - def __init__(self, mlist, pendable, token): + def __init__(self, mlist, token, email): self.mlist = mlist - self.pendable = pendable self.token = token + self.email = email |
