Package trac :: Package versioncontrol :: Package web_ui :: Module browser :: Class BrowserModule

Class BrowserModule

source code

    object --+    
             |    
core.Component --+
                 |
                BrowserModule

Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
get_custom_colorizer(self)
Returns a converter for values from [0.0, 1.0] to a RGB triple.
source code
 
get_active_navigation_item(self, req) source code
 
get_navigation_items(self, req) source code
 
get_permission_actions(self) source code
 
match_request(self, req) source code
 
process_request(self, req) source code
 
is_path_downloadable(self, repos, path) source code
 
render_properties(self, mode, context, props)
Prepare rendering of a collection of properties.
source code
 
render_property(self, name, mode, context, props)
Renders a node property to HTML.
source code
 
get_wiki_syntax(self) source code
 
get_link_resolvers(self)
TracBrowser link resolvers.
source code
 
get_annotation_type(self) source code
 
get_annotation_data(self, context)
Cache the annotation data corresponding to each revision.
source code
 
annotate_row(self, context, row, lineno, line, blame_annotator) source code
 
get_macros(self) source code
 
get_macro_description(self, name) source code
 
expand_macro(self, formatter, name, content) source code

Inherited from core.Component: __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.Component: implements

Class Variables
  realm = 'source'
  downloadable_paths = <ListOption [browser] 'downloadable_paths'>
  color_scale = <BoolOption [browser] 'color_scale'>
  NEWEST_COLOR = (255, 136, 136)
  newest_color = <Option [browser] 'newest_color'>
  OLDEST_COLOR = (136, 136, 255)
  oldest_color = <Option [browser] 'oldest_color'>
  intermediate_point = <Option [browser] 'intermediate_point'>
  intermediate_color = <Option [browser] 'intermediate_color'>
  render_unsafe_content = <BoolOption [browser] 'render_unsafe_c...
  hidden_properties = <ListOption [browser] 'hide_properties'>
  PATH_LINK_RE = re.compile(r'([^@#:]*)[@:]([^#:]+)?(?::(\d+(?:-...
Properties
  property_renderers
List of components that implement ~trac.versioncontrol.web_ui.browser.IPropertyRenderer

Inherited from object: __class__

Method Details

get_link_resolvers(self)

source code 

TracBrowser link resolvers.

source: and browser:

Marks and anchor can be combined. The revision must be present when specifying line numbers. In the few cases where it would be redundant (e.g. for tags), the revision number itself can be omitted: /tags/v10/file@100-110#L99


Class Variable Details

render_unsafe_content

Value:
<BoolOption [browser] 'render_unsafe_content'>

PATH_LINK_RE

Value:
re.compile(r'([^@#:]*)[@:]([^#:]+)?(?::(\d+(?:-\d+)?(?:,\d+(?:-\d+)?)*\
))?')

Property Details

property_renderers

List of components that implement ~trac.versioncontrol.web_ui.browser.IPropertyRenderer
Get Method:
unreachable.extensions(component) - Return a list of components that declare to implement the extension point interface.