| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Package notifier :: Module _mail :: Class MailNotifier |
|
object--+ |BaseNotifier--+ |TextNotifier--+ | MailNotifier
MultiMailNotifier,
TextMailNotifier| Method Summary | |
|---|---|
Initialization | |
| unicode |
Returns the (possibly) prefixed paths as string |
| unicode |
Returns the longest common directory prefix |
| unicode |
Returns the longest common path prefix |
| tuple |
Compose the informational headers of the mail |
| tuple |
Composes the mail |
| dict |
Returns the basic headers |
| dict |
Returns the custom headers |
| tuple |
Returns the substituted mail addresses (from/to/reply-to) |
| generator |
Returns the composed mail(s) |
| unicode |
Returns the subject |
| unicode |
Returns the transfer encoding to use |
Send notification as mail | |
Sends the mail | |
Writes the whole diff notification body | |
| Inherited from TextNotifier | |
Write the path list of a particular changeset | |
| str |
Returns the revision date in a human readable format |
Writes the content diff for a particular change | |
| str |
Writes the content diff action for a particular change |
Writes a diff | |
Writes the commit diffs | |
Writes the locking metadata | |
Writes the commit metadata output | |
Writes a short info about the kind of change | |
Writes the commit path list | |
Writes a property diff | |
| str |
Writes the property diff action for a particular change |
Writes the property diffs for a particular change | |
Writes the revision property change data | |
| Inherited from BaseNotifier | |
| str |
Returns the encoding for the specified path and revision |
| tuple |
Dump the two revisions of a particular change |
| str |
Returns the author of the revision |
Returns the browser generator if any | |
| unicode |
Returns the content diff action for a particular change |
| str |
Returns the content diff url for a particular change |
| str |
Returns the content encoding property for a path/rev |
| tuple |
Returns the encodings of the change content (base and current rev) |
| svnmailer.differ.* |
Returns the initialized differ |
| tuple |
Returns valid diff tokens and tests |
| str |
Returns the encoding extracted from svn:mime-type |
| str |
Returns the log entry of the revision |
| unicode |
Returns the property diff action for a particular change |
| unicode or str |
Returns the temporary directory |
svnmailer.util.TempFile |
Returns an open temporary file container object |
| int |
Returns the time of the revision in seconds since epoch |
| str |
Returns the revision URL |
| bool |
Returns if the supplied property seems to be binary |
| bool |
Returns if the supplied property value takes just one line |
| bool |
Returns if the supplied property name represents an UTF-8 property |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Instance Variable Summary | |
|---|---|
| sre pattern or None | _header_re: Pattern for header name checking |
| Inherited from TextNotifier | |
| list | changeset: The list of changes to process |
svnmailer.settings._base.GroupSettingsContainer |
config: The group config |
| svnmailer.differ.* | differ: The differ object |
| file like object | fp: The file to write to |
| Inherited from BaseNotifier | |
svnmailer.main.GroupSet |
_groupset: The groupset to process |
| dict | _penc_cache: The (path, rev) -> property encoding cache |
svnmailer.settings._base.BaseSettings |
_settings: The settings to use |
| Class Variable Summary | |
|---|---|
list |
__implements__ = [<class 'svnmailer.notifier._text.TextN...
|
| unicode | COMMIT_SUBJECT: Default commit event subject template |
| unicode | LOCK_SUBJECT: Default lock event subject template |
| unicode | REVPROP_SUBJECT: Default revprop-change event subject template |
| unicode | UNLOCK_SUBJECT: Default unlock event subject template |
| Inherited from TextNotifier | |
| str | OUTPUT_SEPARATOR: the separator between headline and diff |
| str | OUTPUT_SEPARATOR_LIGHT: the separator between headline and
property diff |
| Inherited from BaseNotifier | |
| tuple | _diffable_tests: Maps generate_diffs list entrys to change
methods |
| unicode | ADD: "add" token |
| unicode | COPY: "copy" token |
| unicode | DELETE: "delete" token |
| str | ENC_CONFIG: Magic value, meaning that the content encoding should
be retrieved from the config |
| str | ENC_DEFAULT: Magic value to determine if the default encoding
should be displayed |
| str | ENC_PROPERTY: The property name, where encodings could be stored |
| unicode | MODIFY: "modify" token |
| unicode | NONE: "none" token |
| unicode | PROPCHANGE: "propchange" token |
| Method Details |
|---|
__init__(self,
config,
groupset,
*args,
**kwargs)
Initialization
|
_getPathString(self, prefix, paths)Returns the (possibly) prefixed paths as string All parameters are expected to be UTF-8 encoded
|
_getPrefixedDirectories(self, changeset)Returns the longest common directory prefix
|
_getPrefixedFiles(self, changeset)Returns the longest common path prefix
|
composeHeaders(self, groups)Compose the informational headers of the mail
|
composeMail(self)Composes the mail
|
getBasicHeaders(self)Returns the basic headers
|
getCustomHeaders(self, groups)Returns the custom headers
|
getMailAddresses(self, groups)Returns the substituted mail addresses (from/to/reply-to)
|
getMails(self)Returns the composed mail(s)
|
getMailSubject(self, countprefix=None)Returns the subject
|
getTransferEncoding(self)Returns the transfer encoding to use
|
run(self)Send notification as mail
|
sendMail(self, sender, to_addr, mail)Sends the mail
|
writeNotification(self)Writes the whole diff notification body |
| Instance Variable Details |
|---|
_header_rePattern for header name checking
|
| Class Variable Details |
|---|
__implements__
|
COMMIT_SUBJECTDefault commit event subject template
|
LOCK_SUBJECTDefault lock event subject template
|
REVPROP_SUBJECTDefault revprop-change event subject template
|
UNLOCK_SUBJECTDefault unlock event subject template
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Sun Sep 25 20:49:06 2005 | http://epydoc.sf.net |