wiki:AutocompleteUsersPlugin

Autocomplete user fields (assigned to and CC) on tickets

Description

This plugin allows autocompletion of users for the owner, reporter and CC fields on new and existing tickets. Currently, all the known users are autocompleted, though this could be restricted to those that have the ticket owner permission.

In addition to fields on new and existing tickets, the following fields are also autocompleted:

  • User and group fields on the admin Permissions page.
  • User field on the admin Components page (forthcoming).
  • Ticket custom fields (forthcoming).

illustration of the AutocompleteUsers on the CC field

Note: Email addresses shown by this plugin are handled according to the setting trac.show_email_addresses and the permission EMAIL_VIEW. That is, if trac.show_email_addresses is set to false and the current user doesn't have the permission EMAIL_VIEW, then all mail addresses will be obfuscated as usual in Trac. That is, email addresses will be displayed as donjaun@... rather than donjaun@example.com. In all other cases the full email address is visible.

This autocomplete feature is implemented using AJAX. A /subjects URL is served which presents the users and/or groups in a format suitable for the jQuery Autocompleter. The plugin should gracefully degrade when JavaScript is disabled.

See also: TracAutoCompletePlugin

Bugs/Feature Requests

Existing bugs and feature requests for AutocompleteUsersPlugin are here.

If you have any issues, create a new ticket.

defect

27 / 30

enhancement

11 / 17

task

7 / 9

Download

Download the zipped source from here.

There is also a version on PyPi.

Source

Check out AutocompleteUsersPlugin from here using Subversion, or browse the source with Trac.

Installation

You can install this plugin with the easy_install or pip command:

$ easy_install TracAutocompleteUsersPlugin
or
$ pip install TracAutocompleteUsersPlugin

After installing the plugin, add the following to your trac.ini file:

[components]
autocompleteusers.* = enabled

Recent Changes

15410 by rjollos on 2016-03-06 23:38:12
0.4.4dev: Remove use of deprecated $.browser

The $.browser function was removed in jQuery 1.9.

The plugin should continue to work with modern versions of all
major browsers.

Fixes #12664.

15265 by rjollos on 2016-02-11 05:29:08
Remove unnecessary svn:mime-type on js and html files

svn:mime-type was set to "plain" for many files.

14214 by t2y on 2014-10-16 04:20:07
Refs #11947: Created 0.4.3 branch (r14213)
(more)

Author/Contributors

Author: k0s
Maintainer: jun66j5, Tetsuya Morimoto
Contributors: tenzochris, Sebastian Krysmanski, mitar, manski, chrisheller, rjollos

Last modified 4 weeks ago Last modified on Sep 1, 2016, 9:33:01 AM

Attachments (1)

Download all attachments as: .zip