wiki:TracAutoCompletePlugin

Version 5 (modified by Richard Liao, 14 years ago) (diff)

--

Trac auto complete plugin

Description

This plugin auto complete user info when input report, owner, cc in ticket, and provide a popup dialog to edit cc to help input plenty of recipients. The user information are maintained in trac instance's conf/username_list.txt file.

This plugin is designed to be used in enterprise environment, where there may be hundreds or thousands users who are potential notification recipients. Trac administrator should maintain a full list of users and their full name, instead of using trac's built-in user list.

Bugs/Feature Requests

Existing bugs and feature requests for TracAutoCompletePlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:tracautocompleteplugin here].

Source

You can check out TracAutoCompletePlugin from here using Subversion, or browse the source with Trac.

Install

You can install this software as normal Trac plugin.

  1. Uninstall TracAutoCompletePlugin if you have installed before.
  1. Change to the directory containning setup.py.
  1. If you want to install this plugin globally, that will install this plugin to the python path:
    • python setup.py install
  1. If you want to install this plugin to trac instance only:
    • python setup.py bdist_egg
    • copy the generated egg file to the trac instance's plugin directory
      cp dist/*.egg /srv/trac/env/plugins
      
  1. Config trac.ini:
    [components]
    autocomplete.* = enabled
    
  1. Create and edit file /srv/trac/env/conf/username_list.txt. Please make sure this file encoded with UTF-8.
    userfoo [User Foo]
    userbar [User Bar]
    

Example

Screenshots:

Recent Changes

17528 by rjollos on 2019-09-26 05:32:33
0.1: Conform to PEP8
13987 by rjollos on 2014-06-18 08:15:44
Trimmed whitespace using reindent.py.
9327 by richard on 2010-10-19 01:52:01
#7852 adjust input width
(more)

Author/Contributors

Author: richard
Maintainer: richard
Contributors:

Attachments (1)

Download all attachments as: .zip