[Trac-tickets] Re: [The Trac Project] #1028: combo box with user names and mail address

The Trac Project noreply at edgewall.com
Thu Dec 9 13:08:47 EST 2004


#1028: combo box with user names and mail address
---------------------------+------------------------------------------------
       Id:  1028           |      Status:  new                     
Component:  ticket system  |    Modified:  Thu Dec  9 13:08:47 2004
 Severity:  major          |   Milestone:  0.9                     
 Priority:  high           |     Version:  0.8                     
    Owner:  jonas          |    Reporter:  achim at lkcc.org          
---------------------------+------------------------------------------------
Comment (by pkou <pkou at ua.fm>):

 Attached patch provides a solution for this problem.  (I did not create a
 new ticket because the description of this ticket is almost identical to
 what the patch does.)

 The patch provides the following features:
  * Global settings for non-anonymous users;
  * Assigning a ticket to user via combo box, which lists all project
 users;
  * Displaying a user name in the combo box for ticket assignments;
  * Sending a notification to ticket owners only;
  * Entering user login in ticket ''cc'' field for receiving email
 notifications.

 The idea of the patch is the following:
  * Every logged user has ''global session settings'', which include
 fullname, email, wiki editing settings, parameters of diff display, and so
 on.  The global settings are updated when user changes session settings.
 When user creates a new session, it uses global settings by default (which
 can be overridden of course).
  * When logged user has entered his/her email, it is saved in global
 settings and used for email notifications.  User login name can be used in
 ticket {{{owner}}} and {{{cc}}} fields and it is translated to email
 address when it is necessary;
  * By specifying {{{always_notify_owner=true}}} in section
 {{{[notification]}}} of {{{trac.ini}}}, it is possible to receive a
 notification when a ticket is assigned to user;
  * By specifying {{{restrict_owner=true}}} in section {{{[ticket]}}} of
 {{{trac.ini}}}, it is possible to limit ticket owners to logged users
 only.  Users are assigned using combo box.  If a user has entered his/her
 full name via ''Settings'' page, then the combo box displays both user
 login and full name.

 Thus, in order to use combo boxes for ticket assignment and email
 notifications for ticket owner, it is necessary to make the following
 changes in a project:
  * Every user that can work on tickets should have a login in the project;
  * As a first step, every user should go to ''Settings'' page and enter
 his/her fullname and email.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1028>
The Trac Project <>


More information about the Trac-Tickets mailing list