| Home | Trees | Indices | Help |
|
|---|
|
|
| Classes | |
|
ITopBox I represent a box in the top row of the waterfall display: the one which shows the status of the last build for each builder. |
|
|
ICurrentBox I represent the 'current activity' box, just above the builder name. |
|
|
IBox I represent a box in the waterfall display. |
|
| IHTMLLog | |
| Box | |
| ContextMixin | |
| HtmlResource | |
| StaticHTML | |
|
DirectoryLister This variant of the static.DirectoryLister uses a template for rendering. |
|
|
StaticFile This class adds support for templated directory views. |
|
| BuildLineMixin | |
|
AlmostStrictUndefined An undefined that allows boolean testing but fails properly on every other use. |
|
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Variables | |
css_classes =
|
|
have_DirectoryLister = True
|
|
MINUTE = 60
|
|
HOUR = 3600
|
|
DAY = 86400
|
|
WEEK = 604800
|
|
MONTH = 2592000
|
|
| Function Details |
Fetch custom build properties from the HTTP request of a "Force build" or "Resubmit build" HTML form. Check the names for valid strings, and return None if a problem is found. Return a new Properties object containing each property found in req. |
Create a jinja environment changecommentlink is used to render HTML in the WebStatus and for mail changes
|
Escape & obfuscate e-mail addresses replacing @ with <span style="display:none> reportedly works well against web-spiders and the next level is to use rot-13 (or something) and decode in javascript |
Hide e-mail address from user name when viewing changes We still include the (obfuscated) e-mail so that we can show it on mouse-over or similar etc |
Returns a function which shortens the revisison string to 12-chars (chosen as this is the Mercurial short-id length) and add link if replacement string is set. (The full id is still visible in HTML, for mouse-over events etc.)
|
Returns a function which adds an url link to a
revision identifiers.
Takes same params as shortrevfilter()
@param replace: either a python format string with an %s,
or a dict mapping repositories to format strings,
or a callable taking (revision, repository) arguments
and return an URL (or None, if no URL is available),
or None, in which case revisions do not get decorated
with links
@param templates: a jinja2 environment
|
Returns function that does regex search/replace in
comments to add links to bug ids and similar.
@param changelink:
Either C{None}
or: a tuple (2 or 3 elements)
1. a regex to match what we look for
2. an url with regex refs (\g<0>, , , etc) that becomes the 'href' attribute
3. (optional) an title string with regex ref regex
or: a dict mapping projects to above tuples
(no links will be added if the project isn't found)
or: a callable taking (changehtml, project) args
(where the changetext is HTML escaped in the
form of a jinja2.Markup instance) and
returning another jinja2.Markup instance with
the same change text plus any HTML tags added to it.
|
| Variables Details |
css_classes
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue May 25 17:52:16 2010 | http://epydoc.sourceforge.net |