Re: [Standards] Maintaining a list of ongoing conversations

2018-05-22 Thread JC Brand
On Mon, May 14, 2018 at 01:18:56PM +0200, Michal Piotrowski wrote:
>Hi JC,
>This the topic I raised during last XMPP Summit in Brussels.
>I though I could create a protXEP about this, but I was too busy with
>commercial assignments.
>In MongooseIM we have such "inbox" almost implemented and delivered to one
>of our customers.
>The code which will soon be merged with MongooseIM's master branch is
>here:� [1]https://github.com/esl/MongooseIM/pull/1783/
>Short examples are shown on
>
> [2]https://github.com/esl/MongooseIM/blob/inbox/doc/modules/mod_inbox.md#example-request
>I know this is far from a protoXEP and is not based on PEP. I think this
>is good starting point for further discussion which we are open to!�


Thanks Michal.

I'm more in favour of using PEP, so that updates to the inbox can also be 
pushed.

- JC


>On 14 May 2018 at 12:28, JC Brand <[4]li...@opkode.com> wrote:
> 
>  Hi folks
> 
>  I'm interested in finding a way to keep track of ongoing conversations
>  and
>  whether any new messages were added to them since the user was last
>  online.
> 
>  I think this is the so-called "Inbox" feature that was brought up at the
>  2018
>  summit.
> 
>  At the summit the suggested approach was a private PEP node with a list
>  of
>  JIDs.
> 
>  Besides that, in order to know whether new messages were added to these
>  conversations (while the user was offline), we'll also need to store the
>  date of the last seen message.
> 
>  I imagine, if done right, that this functionality might in many cases
>  remove
>  the need for bookmarks as currently used.
> 
>  Is anyone already working on something like this? I'm not aware of a
>  relevant
>  protoXEP being created already.
> 
>  If not, I'm willing to create it.
> 
>  Regards
>  JC
>  ___
>  Standards mailing list
>  Info: [5]https://mail.jabber.org/mailman/listinfo/standards
>  Unsubscribe: [6]standards-unsubscr...@xmpp.org
>  ___
> 
> References
> 
>Visible links
>1. https://github.com/esl/MongooseIM/pull/1783/
>2. 
> https://github.com/esl/MongooseIM/blob/inbox/doc/modules/mod_inbox.md#example-request
>3. mailto:michal.piotrow...@erlang-solutions.com
>4. mailto:li...@opkode.com
>5. https://mail.jabber.org/mailman/listinfo/standards
>6. mailto:standards-unsubscr...@xmpp.org

> ___
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: standards-unsubscr...@xmpp.org
> ___

___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread Ненахов Андрей
> OK, is it based on PEP?

No.

> Why do you store message counters instead of the MAM ID of the last read
message or a last read date?

We store both. Counters are good to display number of read messages when
you didn't load all the archive on that particular device. Like you missed
a couple of hours of chat in busy groupchat and you certainly don't want to
load all 9000 messages that were sent while you were away. But you do want
to know how much you missed.


-- 
Ненахов Андрей
Директор ООО "Редсолюшн" (Челябинск)
(351) 750-50-04
http://www.redsolution.ru
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread JC Brand


Am 14. Mai 2018 12:40:31 MESZ schrieb "Ненахов Андрей" 
:
>We are working on extension that we call by provisional name
>'conversation
>metadata' which is basically a list of all conversations with unread
>messages counters and read/delivered markers. I believe that should
>provide
>functionality that does what you intend to.

OK, is it based on PEP?

Why do you store message counters instead of the MAM ID of the last read 
message or a last read date? 



-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread Michal Piotrowski
Hi JC,

This the topic I raised during last XMPP Summit in Brussels.
I though I could create a protXEP about this, but I was too busy with
commercial assignments.

In MongooseIM we have such "inbox" almost implemented and delivered to one
of our customers.
The code which will soon be merged with MongooseIM's master branch is here:
https://github.com/esl/MongooseIM/pull/1783/
Short examples are shown on
https://github.com/esl/MongooseIM/blob/inbox/doc/modules/mod_inbox.md#example-request

I know this is far from a protoXEP and is not based on PEP. I think this is
good starting point for further discussion which we are open to!


Best regards
Michal Piotrowski
michal.piotrow...@erlang-solutions.com

On 14 May 2018 at 12:28, JC Brand  wrote:

> Hi folks
>
> I'm interested in finding a way to keep track of ongoing conversations and
> whether any new messages were added to them since the user was last online.
>
> I think this is the so-called "Inbox" feature that was brought up at the
> 2018
> summit.
>
> At the summit the suggested approach was a private PEP node with a list of
> JIDs.
>
> Besides that, in order to know whether new messages were added to these
> conversations (while the user was offline), we'll also need to store the
> date of the last seen message.
>
> I imagine, if done right, that this functionality might in many cases
> remove
> the need for bookmarks as currently used.
>
> Is anyone already working on something like this? I'm not aware of a
> relevant
> protoXEP being created already.
>
> If not, I'm willing to create it.
>
> Regards
> JC
> ___
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: standards-unsubscr...@xmpp.org
> ___
>
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread Jonas Wielicki
On Montag, 14. Mai 2018 12:28:17 CEST JC Brand wrote:
> I'm interested in finding a way to keep track of ongoing conversations and
> whether any new messages were added to them since the user was last online.
> 
> I think this is the so-called "Inbox" feature that was brought up at the
> 2018 summit.
> 
> At the summit the suggested approach was a private PEP node with a list of
> JIDs.
> 
> Besides that, in order to know whether new messages were added to these
> conversations (while the user was offline), we'll also need to store the
> date of the last seen message.

I’d prefer the MAM stanza-id, because that’s what should be used to sync 
anyways. Adding a date may be good if you want to show an overview though.


> I imagine, if done right, that this functionality might in many cases remove
> the need for bookmarks as currently used.
> 
> Is anyone already working on something like this? I'm not aware of a
> relevant protoXEP being created already.

Not that I knew.

kind regards,
Jonas

signature.asc
Description: This is a digitally signed message part.
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread Ненахов Андрей
We are working on extension that we call by provisional name 'conversation
metadata' which is basically a list of all conversations with unread
messages counters and read/delivered markers. I believe that should provide
functionality that does what you intend to.


-- 
Ненахов Андрей
Директор ООО "Редсолюшн" (Челябинск)
(351) 750-50-04
http://www.redsolution.ru
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread Kevin Smith
On 14 May 2018, at 11:28, JC Brand  wrote:
> 
> Hi folks
> 
> I'm interested in finding a way to keep track of ongoing conversations and
> whether any new messages were added to them since the user was last online.
> 
> I think this is the so-called "Inbox" feature that was brought up at the 2018
> summit.
> 
> At the summit the suggested approach was a private PEP node with a list of
> JIDs.
> 
> Besides that, in order to know whether new messages were added to these
> conversations (while the user was offline), we'll also need to store the
> date of the last seen message.
> 
> I imagine, if done right, that this functionality might in many cases remove
> the need for bookmarks as currently used.
> 
> Is anyone already working on something like this? I'm not aware of a relevant
> protoXEP being created already.
> 
> If not, I'm willing to create it.

I think this is around the same topic as Bind 2’s unread sync isn’t it? Part of 
the same thing, anywho.

/K
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


[Standards] Maintaining a list of ongoing conversations

2018-05-14 Thread JC Brand
Hi folks

I'm interested in finding a way to keep track of ongoing conversations and
whether any new messages were added to them since the user was last online.

I think this is the so-called "Inbox" feature that was brought up at the 2018
summit.

At the summit the suggested approach was a private PEP node with a list of
JIDs.

Besides that, in order to know whether new messages were added to these
conversations (while the user was offline), we'll also need to store the
date of the last seen message.

I imagine, if done right, that this functionality might in many cases remove
the need for bookmarks as currently used.

Is anyone already working on something like this? I'm not aware of a relevant
protoXEP being created already.

If not, I'm willing to create it.

Regards
JC
___
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___