Opened 16 years ago
Last modified 10 years ago
#4379 new enhancement
[Patch] Show user's full name in addition to user login
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Component: | UserStatsMacro |
Severity: | normal | Keywords: | user session attribute |
Cc: | Trac Release: | 0.11 |
Description
currently this shows:
User | Last Login | How long ago |
aaa | 1969/12/31 16:00:00 | 14249 day(s) |
bbb | 2009/01/05 08:23:27 | <24h |
but I would like to see
User ID | User Name | Last Login | How long ago |
aaa | John Smith | never | never |
bbb | Jane Doe | 2009/01/05 08:23:27 | <24h |
Is this possible?
Attachments (1)
Change History (13)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Owner: | changed from Pedro Paixao to Ryan J Ollos |
---|
Changed 14 years ago by
Attachment: | userstatsmacro.patch added |
---|
Patch to add optional display of Full Name and eMail addresses.
comment:3 Changed 14 years ago by
Summary: | Show user's full name in addition to user login → [Patch] Show user's full name in addition to user login |
---|
I have attached a patch to optionally display the user's Full Name and eMail address (from the session data) in the table. The display is currently controlled by three class members:
_show_names | Display the user's Full Name |
_show_email | Display the user's eMail address |
_ignore_before | Supresses the last login info <= this year |
Note the revision number in the patch is wrong as I do not have direct svn access to the t-h.o repository.
comment:4 Changed 14 years ago by
Priority: | normal → high |
---|---|
Status: | new → assigned |
Thanks for the patch. I will get it checked-in soon.
comment:6 Changed 13 years ago by
Status: | assigned → new |
---|
comment:7 Changed 13 years ago by
Keywords: | user session attribute added |
---|
Anything but _ignore_before
is incorporated into UserQuery
, an alternative wiki macro provided by AccountManagerPlugin (see #9852 for details). Comments welcome.
comment:8 follow-up: 9 Changed 10 years ago by
Is there any progress on this patch in conjunction with AccountManagerPlugin? Is there a way to display full name, instead of username? And/or both?
comment:9 follow-up: 10 Changed 10 years ago by
Replying to Jared Bownds <jared.bownds@…>:
Is there any progress on this patch in conjunction with AccountManagerPlugin? Is there a way to display full name, instead of username? And/or both?
What do you mean by progress? Did you look at AccountManagerPlugin/WikiMacros and try the UserQuery
that it provides? As a matter of fact I've got zero feedback on that implementations of user-related macros, that a nice fit for the plugin suite.
According to my announced development goals I do not plan to maintain the macro this patch has been proposed for but rather provide a more integrated, maintained solution. Test experience welcomed.
comment:10 follow-up: 11 Changed 10 years ago by
Replying to hasienda:
Replying to Jared Bownds <jared.bownds@…>:
Is there any progress on this patch in conjunction with AccountManagerPlugin? Is there a way to display full name, instead of username? And/or both?
What do you mean by progress? Did you look at AccountManagerPlugin/WikiMacros and try the
UserQuery
that it provides? As a matter of fact I've got zero feedback on that implementations of user-related macros, that a nice fit for the plugin suite.According to my announced development goals I do not plan to maintain the macro this patch has been proposed for but rather provide a more integrated, maintained solution. Test experience welcomed.
Hi there,
Thanks for your response. Ultimately, I'm looking for a solution that will display a users full name throughout Trac (new ticket, ticket report, email notifications etc..) instead of username.
Are you able to point me toward the right solution?
comment:11 Changed 10 years ago by
Replying to Jared Bownds <jared.bownds@…>:
Thanks for your response. Ultimately, I'm looking for a solution that will display a users full name throughout Trac (new ticket, ticket report, email notifications etc..) instead of username.
Are you able to point me toward the right solution?
That's a rather different scope indeed. See t:#7339 for an attempt including preliminary fixes that look for testers, eventually more improvements a support to get included into Trac core upstream.
comment:12 Changed 10 years ago by
Owner: | Ryan J Ollos deleted |
---|
It would also be nice if the User Name was a mailto link using the email address that a user has entered into Trac (but only if they have actually entered an email address) so that it would be straightforward to contact that user.