Edgewall Software

Opened 7 years ago

Last modified 5 years ago

#11746 new enhancement

Generate list of valid default_handlers in ExtensionOption documentation

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-major-releases
Component: general Version:
Severity: normal Keywords: default_handler
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

The list of valid [trac] default_handlers in the ExtensionOption docstring should be dynamically generated. The list should includes all IRequestHandlers for enabled plugins with is_valid_default_handler = True. First mentioned in comment:description:ticket:11519.

Similarly, it would be useful to dynamically generate the list of allowed values for [trac] mainnav and metanav. More generally, the feature would be useful for any option with allowed values that can be extended by plugins.

Attachments (0)

Change History (5)

comment:1 by Ryan J Ollos, 7 years ago

Status: newassigned

comment:2 by Ryan J Ollos, 7 years ago

Milestone: 1.1.3next-dev-1.1.x
Owner: Ryan J Ollos removed
Status: assignednew

comment:3 by Ryan J Ollos, 6 years ago

Milestone: next-dev-1.1.xnext-major-releases

Retargetting tickets to narrow focus for milestone:1.2. Please move the ticket back to milestone:next-dev-1.1.x if you intend to resolve it by milestone:1.2.

comment:4 by Ryan J Ollos, 5 years ago

Description: modified (diff)

comment:5 by Ryan J Ollos, 5 years ago

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.