You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Manuel Carrasco (JIRA)" <ji...@apache.org> on 2009/11/11 12:46:39 UTC

[jira] Created: (HUPA-47) [patch] Handle html links in messages and other issues

[patch] Handle html links in messages and other issues
------------------------------------------------------

                 Key: HUPA-47
                 URL: https://issues.apache.org/jira/browse/HUPA-47
             Project: JAMES Hupa
          Issue Type: Improvement
          Components: client, server
            Reporter: Manuel Carrasco
            Assignee: Norman Maurer


This patch:
- Modifies Server responsibility in order to parse messages and send it in html format.
- Adds js methods in the client side to open links in new windows, and emails in hupa's new mail screen
- Parses email documents to modify <a> in order to open documents in new windows an not interfere with the application
- Removes dangerous tags and attributes
- Discovers urls and emails in the document and encloses them in <a> tags
- New class to put static constants used  in server and client sides
- Re-factor of servlet paths to use constants
- fixes: problems to servlet calls in web mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (HUPA-47) [patch] Handle html links in messages and other issues

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HUPA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved HUPA-47.
-------------------------------

    Resolution: Fixed

Thx for the patch.. committed to trunk !

> [patch] Handle html links in messages and other issues
> ------------------------------------------------------
>
>                 Key: HUPA-47
>                 URL: https://issues.apache.org/jira/browse/HUPA-47
>             Project: JAMES Hupa
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>         Attachments: hupa.patch
>
>
> This patch:
> - Modifies Server responsibility in order to parse messages and send it in html format.
> - Adds js methods in the client side to open links in new windows, and emails in hupa's new mail screen
> - Parses email documents to modify <a> in order to open documents in new windows an not interfere with the application
> - Removes dangerous tags and attributes
> - Discovers urls and emails in the document and encloses them in <a> tags
> - New class to put static constants used  in server and client sides
> - Re-factor of servlet paths to use constants
> - fixes: problems to servlet calls in web mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (HUPA-47) [patch] Handle html links in messages and other issues

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HUPA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776428#action_12776428 ] 

Norman Maurer commented on HUPA-47:
-----------------------------------

Hi Manuel,

thx for the patch. Just some minor note about it.. The IMAPMessageView is now doing very well ( great work!), the only thing we need to handle is what happen if you press the reply button. The "old" message is displayed with all the <br> etc ( html tags). I think we display the "original" email text without the html stuff.

> [patch] Handle html links in messages and other issues
> ------------------------------------------------------
>
>                 Key: HUPA-47
>                 URL: https://issues.apache.org/jira/browse/HUPA-47
>             Project: JAMES Hupa
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>         Attachments: hupa.patch
>
>
> This patch:
> - Modifies Server responsibility in order to parse messages and send it in html format.
> - Adds js methods in the client side to open links in new windows, and emails in hupa's new mail screen
> - Parses email documents to modify <a> in order to open documents in new windows an not interfere with the application
> - Removes dangerous tags and attributes
> - Discovers urls and emails in the document and encloses them in <a> tags
> - New class to put static constants used  in server and client sides
> - Re-factor of servlet paths to use constants
> - fixes: problems to servlet calls in web mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (HUPA-47) [patch] Handle html links in messages and other issues

Posted by "Manuel Carrasco (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HUPA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Carrasco updated HUPA-47:
--------------------------------

    Attachment: hupa.patch

> [patch] Handle html links in messages and other issues
> ------------------------------------------------------
>
>                 Key: HUPA-47
>                 URL: https://issues.apache.org/jira/browse/HUPA-47
>             Project: JAMES Hupa
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>         Attachments: hupa.patch
>
>
> This patch:
> - Modifies Server responsibility in order to parse messages and send it in html format.
> - Adds js methods in the client side to open links in new windows, and emails in hupa's new mail screen
> - Parses email documents to modify <a> in order to open documents in new windows an not interfere with the application
> - Removes dangerous tags and attributes
> - Discovers urls and emails in the document and encloses them in <a> tags
> - New class to put static constants used  in server and client sides
> - Re-factor of servlet paths to use constants
> - fixes: problems to servlet calls in web mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (HUPA-47) [patch] Handle html links in messages and other issues

Posted by "Manuel Carrasco (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HUPA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776435#action_12776435 ] 

Manuel Carrasco commented on HUPA-47:
-------------------------------------

Yeah, this is the expected behavior right now. 
My plans are to substitute the standard html text area by gwt's Rich Text area widget. 
So it will have the responsibility to show correctly the html tags and the user will be able to compose rich emails


> [patch] Handle html links in messages and other issues
> ------------------------------------------------------
>
>                 Key: HUPA-47
>                 URL: https://issues.apache.org/jira/browse/HUPA-47
>             Project: JAMES Hupa
>          Issue Type: Improvement
>          Components: client, server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>         Attachments: hupa.patch
>
>
> This patch:
> - Modifies Server responsibility in order to parse messages and send it in html format.
> - Adds js methods in the client side to open links in new windows, and emails in hupa's new mail screen
> - Parses email documents to modify <a> in order to open documents in new windows an not interfere with the application
> - Removes dangerous tags and attributes
> - Discovers urls and emails in the document and encloses them in <a> tags
> - New class to put static constants used  in server and client sides
> - Re-factor of servlet paths to use constants
> - fixes: problems to servlet calls in web mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org