Package trac :: Package ticket :: Module web_ui :: Class TicketModule

Class TicketModule

source code

    object --+    
             |    
core.Component --+
                 |
                TicketModule

Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__getattr__(self, name)
Delegate access to ticket default Options which were move to TicketSystem.
source code
 
get_supported_conversions(self) source code
 
convert_content(self, req, mimetype, ticket, key) source code
 
get_active_navigation_item(self, req) source code
 
get_navigation_items(self, req) source code
 
match_request(self, req) source code
 
process_request(self, req) source code
 
get_htdocs_dirs(self) source code
 
get_templates_dirs(self) source code
 
get_search_filters(self, req) source code
 
get_search_results(self, req, terms, filters) source code
 
get_timeline_filters(self, req) source code
 
get_timeline_events(self, req, start, stop, filters) source code
 
render_timeline_event(self, context, field, event) source code
 
export_csv(self, req, ticket, sep=',', mimetype='text/plain') source code
 
export_rss(self, req, ticket)
removed in 1.3.1.
source code
 
get_ticket_changes(self, req, ticket, selected_action)
Returns a dictionary of field changes.
source code
 
rendered_changelog_entries(self, req, ticket, when=None)
Iterate on changelog entries, consolidating related changes in a dict object.
source code
 
grouped_changelog_entries(self, ticket, db=None, when=None)
Iterate on changelog entries, consolidating related changes in a dict object.
source code

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

Static Methods

Inherited from core.Component: implements

Class Variables
  timeline_details = <BoolOption [timeline] "ticket_show_details">
  max_description_size = <IntOption [ticket] "max_description_si...
  max_comment_size = <IntOption [ticket] "max_comment_size">
  max_summary_size = <IntOption [ticket] "max_summary_size">
  timeline_newticket_formatter = <Option [timeline] "newticket_f...
  preserve_newlines = <Option [ticket] "preserve_newlines">
  ticketlink_query = <Option [query] "ticketlink_query">
  ticket_path_re = re.compile(r'/ticket/([0-9]+)$')
  must_preserve_newlines = <trac.util.lazy object at 0x7f41c97bb...
Properties
  ticket_manipulators
List of components that implement ~trac.ticket.api.ITicketManipulator

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

__getattr__(self, name)
(Qualification operator)

source code 
Delegate access to ticket default Options which were move to
TicketSystem.

.. todo:: remove in 1.0

export_rss(self, req, ticket)

source code 
removed in 1.3.1.

Deprecated: since 1.0.6, use _export_rss instead. Will be

get_ticket_changes(self, req, ticket, selected_action)

source code 

Returns a dictionary of field changes.

The field changes are represented as: {field: {'old': oldvalue, 'new': newvalue, 'by': what}, ...}

grouped_changelog_entries(self, ticket, db=None, when=None)

source code 

Iterate on changelog entries, consolidating related changes in a dict object.

in version 1.1.1


Class Variable Details

max_description_size

Value:
<IntOption [ticket] "max_description_size">

timeline_newticket_formatter

Value:
<Option [timeline] "newticket_formatter">

must_preserve_newlines

Value:
<trac.util.lazy object at 0x7f41c97bb7d0>

Property Details

ticket_manipulators

List of components that implement ~trac.ticket.api.ITicketManipulator
Get Method:
unreachable.extensions(component) - Return a list of components that declare to implement the extension point interface.