wiki:TracAutoCompletePlugin

Autocomplete ticket fields

Notice: This plugin is deprecated and should not be used with Trac >= 1.0. AutocompleteUsersPlugin should be used instead. Missing features can be requested for that plugin.

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

5 / 5

enhancement

3 / 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]
    

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: none (deprecated)
Contributors:

Last modified 7 weeks ago Last modified on Sep 26, 2019, 5:45:38 AM

Attachments (1)

Download all attachments as: .zip