Edgewall Software
Modify

Opened 12 years ago

Last modified 12 years ago

#11043 new enhancement

Add option to hide a commiter's email address

Reported by: anonymous Owned by:
Priority: normal Milestone: unscheduled
Component: plugin/git Version:
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

when viewing changesets in timeline or comments in ticket changes besides the name of the author an email address will be displayed. If setting "show_email_address" is false, the email address will be truncated / obfuscated.

Example: Author name <author@…>

I'd like to have a setting to remove email address completely.

Example: Author name

Instead of "Author name <author@…>" or "Author name <author@…>"

I patched it by changing this line http://trac.edgewall.org/browser/trunk/tracopt/versioncontrol/git/git_fs.py#L101

from "user, time, tz_str = s.rsplit(None, 2)" to "user, email, time, tz_str = s.rsplit(None, 3)" and just ignored the email variable.

Guess this is not the best solution since some users want to match the email address with Trac users. Would be great to have a setting for this.

Thanks!

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 12 years ago

Milestone: unscheduled

Well, we already remove the e-mail in places where it eats too much space. On a changeset page, it seems fine.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.