Contents
Context menu plugin
Description
A plugin which adds a context menu to the trac source browser. Defines an extensionpoint and the interface ISourceBrowserContextMenuProvider which you can implement custom items to the menu. The context menu itself requires javascript to work.
Bugs/Feature Requests
Existing bugs and feature requests for ContextMenuPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out ContextMenuPlugin from here using Subversion, or browse the source with Trac.
Installation
[components] contextmenu.* = enabled
Example
Included are menuitems which provide direct svn links (like wiki:SvnUrlsPlugin), and wiki links
Recent Changes
[12127] by rjollos on 10/07/12 21:35:43
Refs #10439: Fixed indentation.
[12126] by rjollos on 10/07/12 21:33:27
Refs #10439:
- Check if repository object exists before trying to call a method of it. This should protect against tracebacks when the repository is not correctly configured.
- Refactoring:
- Removed some unused imports.
- Replaced use of deprecated add_javascript with add_script.
- Finished moving license text, which was started in [12117].
[12117] by rjollos on 10/06/12 03:44:58
Refs #10439: Moved license description from source files to the added COPYING file.
[12116] by rjollos on 10/06/12 03:37:10
Refs #10439:
- The Subversionlink is not shown in the context menu if the URL is not set for the repository.
- Some code refactoring.
- Modified entry point.
- Extracted some common code into get_repository_path_and_rev.
- The repository is now obtained from the data dictionary passed to ITemplateStreamProvider.filter_stream(...).
Author/Contributors
Author: penmark
Maintainer: penmark
Contributors: pipern, rjollos
Attachments
- contextmenuplugin.png (39.8 kB) - added by penmark on 09/15/10 14:37:29.


