wiki:TracAutoCompletePlugin

Autocomplete ticket fields

Description

This plugin auto completes user info when input report, owner, cc in ticket, and provides a popup dialog to edit cc to help input multiple recipients. The user information are maintained in Trac instance's ../conf/username_list.txt file.

This plugin is designed to be used in enterprise environments, where there may be hundreds or thousands of 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.

Alternative plugin: AutocompleteUsersPlugin, that uses Trac's built-in user list to accomplish this purpose.

Bugs/Feature Requests

Existing bugs and feature requests for TracAutoCompletePlugin are here.

If you have any issues, create a new ticket.

defect

2 / 5

enhancement

1 / 3

Download

Download the zipped source from here.

Source

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

Installation

You can install this software as a normal Trac plugin.

  1. Uninstall TracAutoCompletePlugin if you have installed before.
  2. Change to the directory containning setup.py.
  3. If you want to install this plugin globally, that will install this plugin to the python path:
    • python setup.py install
  4. 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
      
  5. Configure your trac.ini file as follows:
    [components]
    autocomplete.* = enabled
    
  6. 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

13987 by rjollos on 2014-06-18 10:15:44
Trimmed whitespace using reindent.py.
9327 by richard on 2010-10-19 03:52:01
#7852 adjust input width
9326 by richard on 2010-10-19 02:25:13
Fixed #7843, add env path to locate username_list.txt
(more)

Author/Contributors

Author: richard
Maintainer: Richard Liao
Contributors:

Last modified 10 months ago Last modified on Nov 18, 2015, 10:04:49 AM

Attachments (1)

Download all attachments as: .zip