[[PageOutline(2-5,Contents,pullout)]] = 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 to 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`. I.e. 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. Alternative: TracAutoCompletePlugin '''Fork:''' I have made a small [https://bitbucket.org/mitar/trac-autocompleteusers fork on Bitbucket] with some improvements/fixes. Feel free to [https://bitbucket.org/mitar/trac-autocompleteusers/issues suggest new]. == Bugs/Feature Requests == {{{ #!NewsFlash = Development News = Version 0.5dev 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. Recent changes are: * TBD Compatibility notes: * TBD Planned enhancements before 0.5 is released: * Use jQuery UI 1.8.16. }}} Existing bugs and feature requests for AutocompleteUsersPlugin are [query:status!=closed&component=AutocompleteUsersPlugin&order=priority here]. If you have any issues, create a [/newticket?component=AutocompleteUsersPlugin&owner=rjollos new ticket]. == Download and Source == Download the [download:autocompleteusersplugin zipped source], check out [/svn/autocompleteusersplugin using Subversion], or [source:autocompleteusersplugin browse the source] with Trac. There is also an [http://people.debian.org/~jps/lenny/ Unofficial Debian package]. AutocompleteUsersPlugin works only for trac 0.11 and higher. == Configuration == After installing plugin add to trac.ini configuration file following: {{{ [components] autocompleteusers.* = enabled }}} == Example == Screenshot of the plugin in action: [[Image(screenshot.png)]] == Recent Changes == [[ChangeLog(autocompleteusersplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:k0s] [[BR]] '''Maintainer:''' rjollos [[BR]] '''Contributors:''' [wiki:tenzochris], [wiki:manski Sebastian Krysmanski] '''License''': BSD 2-Clause