wiki:CcSelectorPlugin

Version 12 (modified by hasienda, 4 years ago) (diff)

taking over maintainership

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.

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 of the [ticket] section in trac.ini to "true".

This page has more info on this.

Download and Source

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

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

[9445] by hasienda on 2010-11-18 20:23:35
CcSelectorPlugin: Change depreciated jQuery call to newer, compliant style.

Inspiration has been taken from #2705.

[9439] by hasienda on 2010-11-18 14:20:01
CcSelectorPlugin: Add basic i18n setup and message markup, closes #7733.

Initial message extraction has been done and German translations added.
And Happy Birthday to myself after finishing another delicate i18n work.

[9438] by hasienda on 2010-11-18 14:14:19
CcSelectorPlugin: Apply a bundle of small improvements.

For 10+ selections we add a dedicated close button into the popup window
beneath the list. JS code related to browser compatibility has been
obsoleted by rewriting with jQuery functions. Other changes have been
done mostly due to personal preference of certain coding styles.

Author/Contributors

Author: vnaum
Maintainer: hasienda
Contributors:

Attachments (1)

Download all attachments as: .zip