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 Options which were moved 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
 
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, when=None)
Iterate on changelog entries, consolidating related changes in a dict object.
source code

Inherited from core.Component: __repr__

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

Static Methods

Inherited from core.Component: implements

Class Variables
  realm = 'ticket'
  timeline_details = <BoolOption [timeline] 'ticket_show_details'>
  timeline_component = <BoolOption [timeline] 'ticket_show_compo...
  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 0x7f7ce0d31...
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 Options which were moved to TicketSystem.

.. todo:: remove in 1.5.1

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}, ...}


Class Variable Details

timeline_component

Value:
<BoolOption [timeline] 'ticket_show_component'>

timeline_newticket_formatter

Value:
<Option [timeline] 'newticket_formatter'>

must_preserve_newlines

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

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.