wiki:AutocompleteUsersPlugin

Version 31 (modified by rjollos, 2 years ago) (diff)

Removed dead link to the unofficial debian package.

Autocomplete user fields (assigned to and CC) on tickets

Description

The AutocompleteUsersPlugin allows AJAX completion of users for the owner 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 /users URL is served which presents the user data in a format suitable for the javascript autocompleter. The AutocompleteUsersPlugin should gracefully degrade in the case of no JS or the case where [ticket] restrict_owner = true

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

Bugs/Feature Requests

Development News

Version 0.4.2dev 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

[13962] by rjollos on 2014-06-09 18:04:16
0.4.2dev: Escape HTML when formatting entries for autocompletion.

Patch by uchida_t@…. Refs #11759.

[13961] by rjollos on 2014-06-09 18:04:04
0.4.2dev: PEP-0008 changes.
[12687] by rjollos on 2013-03-06 01:07:38
Refs #10172: Formatted source code (should not result in any functional changes).

Author/Contributors

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

Attachments (1)

Download all attachments as: .zip