wiki:CcSelectorPlugin

Version 14 (modified by Steffen Hoffmann, 13 years ago) (diff)

add poll about old, removed feature and hints on new configuration options

ToDo

  • short-term: add i18n support (#7733)

News

13-Nov-2010
changed repository layout, long-standing enhancement (#6266) added to trunk branch (open: 1)
12-Nov-2010
Maintainership handed over from vnaum to hasienda (open: 3 tickets)

CC selector plugin

Description

This plugin allows "visual" CC field editing.

A pop-up window with bunch of checkboxes is opened, user checks boxes, email addresses are added to and removed from Cc ticket field.

Developer list is fetched from Trac DB. Users who logged in at least once (see session table) and have 'TICKET_VIEW' permission are listed. If you better like "old" variant (hardcoded list in javascript file) for some reason - you should stick with the older release.

Poll(Do you need the fixed list option and would like to get it back to an upcoming release?; Yes, got stuck with old release because of this; Yes, because I badly miss it; No, found another solution/like to patch on my own; No, don't care/don't need such stuff)?

Of course, you can always edit the Cc field without all this hassle - all addresses you entered manually will be shown, too - and can be removed with new, shiny checkboxes.

Javascript is working with Firefox, Mozilla and Internet Explorer 6. Opera / Safari reports are welcome.

It works with both Trac 0.10, 0.11, and 0.12 (since rev3531). I18n support for Trac >= 0.12 is planned to be added to the 0.11 branch in a backwards-compatible way.

[Comment for the original author: Pretty useless, if you ask me, but my PM team finds this useful.]

Bugs/Feature Requests

Existing bugs and feature requests for CcSelectorPlugin are here. If you have any issues, create a new ticket.

Want drop-down box for "assign to" field?

If you want drop-down box for "assign to" field - it's already in Trac since 0.9. All you have to do is set restrict_owner option in trac.ini like:

[ticket]
restrict_owner = true

This page has more info on this.

Download and Source

Download the [download:ccselectorplugin zipped source], check out using Subversion, or browse the source with Trac.

Configuration

Following options have been added to trunk branch recently:

[cc_selector]
show_fullname = true
username_blacklist = user1, 'user 2'

show_fullname

  • default: false
  • Display full names instead of usernames if available.
  • Use case: If most/relevant Trac users prefer full names over usernames aka login/nicknames.

username_blacklist

  • default: '' (empty string)
  • Usernames separated by comma, that should never get listed.
  • Use case: Hide administrator accounts from the default list.

Example

A pop-up window with bunch of checkboxes is opened, user checks boxes, email addresses are added and removed to CC field. screenshot

Recent Changes

18624 by stoecker on 2024-03-27 12:25:54
drop typo
18597 by stoecker on 2023-11-17 10:50:21
CcSelectorPlugin: fix #12161 - incorrect button alignment
18596 by stoecker on 2023-11-17 07:55:48
shorter translation
(more)

Author/Contributors

Author: vnaum
Maintainer: hasienda
Contributors: terje

Attachments (1)

Download all attachments as: .zip