Review Request 118656: Fix for bug 333527 - added e-mail expansion to the url expansion filter.

Olaf Piesche opiesche at gmail.com
Wed Jun 11 13:16:42 UTC 2014



> On June 11, 2014, 5:01 a.m., David Edmundson wrote:
> > 
> > Its a mailto link already, what does this add?
> 
> Martin Klapetek wrote:
>     It adds mailto: links to email addresses that are not mailto: links already. But maybe that should be done in a different place?
> 
> Olaf Piesche wrote:
>     Really? It's not for me - emails come through as plain text.
> 
> Olaf Piesche wrote:
>     Yeah, I wasn't sure if the url expansion filter was the right place. I'll move it to its own filter.
> 
> Martin Klapetek wrote:
>     Can you please look at ktp-common-internals/KTp/message-escape-filter.cpp - line 57 - we already have a detection for mails in place, it's just disabled. If you can reenable it so that bug 310502 does not happen again, that'd be ace ;)

No problem, that's better than new code ;)   Out of curiosity, why is this in internals and everything else in a message filter in text-ui?


- Olaf


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118656/#review59740
-----------------------------------------------------------


On June 11, 2014, 12:18 a.m., Olaf Piesche wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118656/
> -----------------------------------------------------------
> 
> (Updated June 11, 2014, 12:18 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Bugs: 333527
>     http://bugs.kde.org/show_bug.cgi?id=333527
> 
> 
> Repository: ktp-text-ui
> 
> 
> Description
> -------
> 
> Added e-mail recognition to the URL expansion filter as indicated in the bug. Maybe move to its own filter?
> 
> This does regex matching for e-mail addresses, replacing each with a mailto link. This works with an arbitrary number of e-mail addresses in a message, as long as the address is separated from the rest of the text.
> 
> 
> Diffs
> -----
> 
>   filters/urlexpansion/urlexpansion-filter.cpp b39dd5e 
> 
> Diff: https://git.reviewboard.kde.org/r/118656/diff/
> 
> 
> Testing
> -------
> 
> Sent multiple e-mail addresses in various configurations with and without text around them back and forth.
> 
> 
> File Attachments
> ----------------
> 
> screen shot
>   https://git.reviewboard.kde.org/media/uploaded/files/2014/06/11/652e641c-a8dd-4403-8de9-ecb24fc6a8ed__e-mail-expansion.jpg
> 
> 
> Thanks,
> 
> Olaf Piesche
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20140611/6fefaea6/attachment.html>


More information about the KDE-Telepathy mailing list