6.0.0-beta1
7/10/25

[#13848] Non obfuscated mail addresses
Summary Non obfuscated mail addresses
Queue Whups
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester horde (at) iotti (dot) biz
Created 02/07/2015 (3806 days ago)
Due
Updated 01/27/2016 (3452 days ago)
Assigned
Resolved 01/27/2016 (3452 days ago)
Milestone
Patch Yes

History
01/27/2016 05:25:20 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
01/27/2016 05:25:16 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 07465894ef18d61c42829c2136bb852f1d0227c1
Author: Jan Schneider <jan@horde.org>
Date:   Wed Jan 27 18:25:00 2016 +0100

     [jan] Add option to not obfuscate email addresses 
(horde@iotti.biz, Request #13848).

  whups/config/conf.xml            |    2 ++
  whups/docs/CHANGES               |    2 ++
  whups/lib/Form/TicketDetails.php |    4 ++--
  whups/lib/Whups.php              |    3 ++-
  whups/package.xml                |    2 ++
  5 files changed, 10 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/07465894ef18d61c42829c2136bb852f1d0227c1
02/09/2015 03:59:50 PM horde (at) iotti (dot) biz Comment #3 Reply to this comment
Yes you're plerfectly right.
My programming practice should limit me to reading code, not writing it :)


02/09/2015 02:47:06 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Looks good, but since 
$GLOBALS['conf']['prefs']['obfuscate_email_addrs'] is already a 
boolean, there is no need to use the ternary operator in 
TicketDetails.php.
02/07/2015 06:58:35 AM horde (at) iotti (dot) biz Comment #1
Priority ⇒ 1. Low
New Attachment: patch Download
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ Non obfuscated mail addresses
Type ⇒ Enhancement
State ⇒ New
Queue ⇒ Whups
Reply to this comment
Hallo

I'm working on a non-publicly available Whups install.
Tickets are requested by email. Since this system is non public, I 
would prefer to see the plain email address of the ticket creator, not 
the obfuscated version, just to copy/paste it.

I attach a simple patch which adds an option to do this. Maybe it can 
be added in a future version?

Maybe it would be nice to be able to format the email address in 
mailto: link, too. I see in Horde_Text_Filter_Emails some support for 
this, but I don't know how to use this. Is there some documentation or 
example?

Saved Queries