wiki:AutocompleteUsersPlugin

Autocomplete user fields (assigned to and CC) on tickets

Description

The AutocompleteUsersPlugin allows AJAX completion 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. A /subjects URL is served which presents the users and/or groups in a format suitable for the jQuery Autocompleter. The AutocompleteUsersPlugin should gracefully degrade when JavaScript is disabled. In addition to fields on new and existing tickets, the following fields are also autcompleted:

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

Note: Email addresses shown by this plugin are handled accordingly 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 all mail address will be obfuscated as usual in Trac (i.e. email addresses will be displayed as donjaun@... rather than donjaun@example.com). In any other case the full email address is visible.

See also: TracAutoCompletePlugin

Installation

You can install with easy_install/pip command from PyPI.

$ easy_install TracAutocompleteUsersPlugin
or
$ pip install TracAutocompleteUsersPlugin

Bugs/Feature Requests

Development News

Version 0.4.3 of this plugin is now available. The 0.11 branch is undergoing frequent change. If you want to test out the latest version, report back how it is working and possibly do some debugging, then the latest version is for you. Otherwise, r10974 should be fairly stable.

Existing bugs and feature requests for AutocompleteUsersPlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.

Configuration

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

[components]
autocompleteusers.* = enabled

Example

Screenshot of the plugin in action:

illustration of the AutocompleteUsers on the CC field

Recent Changes

[14214] by t2y on 2014-10-16 04:20:07
Refs #11947: Created 0.4.3 branch (r14213)
[14213] by t2y on 2014-10-16 04:15:01
Refs #11947: Released 0.4.3 version
[14212] by t2y on 2014-10-16 03:51:20
Refs #8477: Add support for custom fields

Author/Contributors

Author: k0s
Maintainer: rjollos, jun66j5, t2y
Contributors: tenzochris, Sebastian Krysmanski, mitar, manski, chrisheller
License: 3-Clause BSD

Last modified 2 weeks ago Last modified on Dec 5, 2014, 12:54:53 AM

Attachments (1)

Download all attachments as: .zip