You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Stig Runar Vangen (Created) (JIRA)" <ji...@apache.org> on 2012/03/16 14:01:39 UTC

[jira] [Created] (VYSPER-302) Log chat messages

Log chat messages
-----------------

                 Key: VYSPER-302
                 URL: https://issues.apache.org/jira/browse/VYSPER-302
             Project: VYSPER
          Issue Type: New Feature
          Components: storage
    Affects Versions: 0.7
            Reporter: Stig Runar Vangen
             Fix For: 0.8


In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VYSPER-302) Log chat messages

Posted by "Bernd Fondermann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234488#comment-13234488 ] 

Bernd Fondermann commented on VYSPER-302:
-----------------------------------------

This storage provider should interact with the StorageProviderRegistry infrastructure. Otherwise we'd end up with storage providers scattered everywhere.
                
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VYSPER-302) Log chat messages

Posted by "Bernd Fondermann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235459#comment-13235459 ] 

Bernd Fondermann commented on VYSPER-302:
-----------------------------------------

It'd be cool to have a more integrated and general solution to serve as many users as possible.
Do you like to work out an improved patch?
Thanks for contributing to Vysper!
                
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VYSPER-302) Log chat messages

Posted by "Stig Runar Vangen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235421#comment-13235421 ] 

Stig Runar Vangen commented on VYSPER-302:
------------------------------------------

My implementation logs message stanzas only because I was only interested in logging chat messages sent between users.
The storage provider should be looked up from the context. I can see that now.
                
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (VYSPER-302) Log chat messages

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

Bernd Fondermann resolved VYSPER-302.
-------------------------------------

    Resolution: Fixed
    
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog-2.patch, vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VYSPER-302) Log chat messages

Posted by "Stig Runar Vangen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stig Runar Vangen updated VYSPER-302:
-------------------------------------

    Attachment: vysper-chatlog-2.patch

Updated version of the patch.

Removed the setter for the log storage provider in the stanza relay, and passed it either as constructor parameter of through provider registry as with other providers.

If there is a need for a more generic stanza logger, these users could use the plain interface. The adapter I made is intended for filtering, so that only textual chat messages between users are let through, which I think is the most interesting detail to be logged. I updated the source file name and the comment to better indicate this.

                
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog-2.patch, vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (VYSPER-302) Log chat messages

Posted by "Bernd Fondermann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234486#comment-13234486 ] 

Bernd Fondermann commented on VYSPER-302:
-----------------------------------------

Why does it only log <message> stanzas?
                
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (VYSPER-302) Log chat messages

Posted by "Stig Runar Vangen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stig Runar Vangen updated VYSPER-302:
-------------------------------------

    Attachment: vysper-chatlog.patch

An attempt at implementing chat logging storage provider.
                
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (VYSPER-302) Log chat messages

Posted by "Bernd Fondermann (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Fondermann reassigned VYSPER-302:
---------------------------------------

    Assignee: Bernd Fondermann
    
> Log chat messages
> -----------------
>
>                 Key: VYSPER-302
>                 URL: https://issues.apache.org/jira/browse/VYSPER-302
>             Project: VYSPER
>          Issue Type: New Feature
>          Components: storage
>    Affects Versions: 0.7
>            Reporter: Stig Runar Vangen
>            Assignee: Bernd Fondermann
>              Labels: patch
>             Fix For: 0.8
>
>         Attachments: vysper-chatlog.patch
>
>
> In our integration of Vysper we will need to log chat messages on the server side. It would therefore be nice to have a storage provider that lets you intersect messages sent through the server. I'll attach a patch for an attempt at implementing this functionality.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira