News for hackers. Stuff that matters.
Re:FastMail: Shutting down our XMPP chat service by ge0rg on Monday November 16, 2015 @03:17AM (#10573221)
All these problems have been solved in XMPP years ago, and there are some clients fully supporting the mobile experience and usage of multiple clients.

On the Desktop, Swift and Gajim come to my mind, on Android Conversations is getting really awesome (and yaxim, which I am the author of, supports the basic multi-client/mobile use case you are interested in).

That said, the XMPP protocol is not perfect, and it is lacking some important elements for a 2010+ mobile chat developer, but considering that it was initially developed in 1999, that mobile chat is only one of its many use cases, and that there are extensions covering all you have asked for, the critique is not appropriate.

[0] http://swift.im/swift.html

[1] http://gajim.org/

[2] http://conversations.im/

[3] https://yaxim.org/

Re:FastMail: Shutting down our XMPP chat service by wink on Monday November 16, 2015 @03:41AM (#10573298)
That's exactly the problem, though. There are so many extensions that it's about as much work finding out which ones are even needed and how they interact for your case (in this case the replay) as is implementing, say, a good chunk of IRC.

And no, I'm not exaggerating, I've done both and decided that writing XMPP clients is not for me a long time ago.

Addendum: I really love XMPP, but I do think the many many extensions have hurt it more than one defined spec. And yes, I know it supports many use cases, but I simply only care for 1:1 and multi user chat.

Re:FastMail: Shutting down our XMPP chat service by ge0rg on Monday November 16, 2015 @03:48AM (#10573320)
You are right. The XMPP Standards Foundation is currently preparing to create a list of "must-have" client and server XEPs for certain use cases, like Instant Messaging or IoT. This will hopefully make the path easier for future application developers.
Re:FastMail: Shutting down our XMPP chat service by goffi on Monday November 16, 2015 @04:12AM (#10573400)
Just for the record, we are also working on a next-gen XMPP client, with decentralized blogging, file sharing, end 2 end encryption and all, and planing to do an Android port. Other projects like Movim also do similar things too, XMPP is definitely very alive these days.

Sending message to other devices is managed by message carbons which is in last call for being a standard XEP, and support is becoming more and more common.

XMPP is all but deprecated, very active, working well, with a large ecosystem. But is really badly known by most of people(I have by the way started a series of article to explain it: http://www.goffi.org/tag/talk_xmpp).

It's really difficult to be heard these days, but there is a new wave in XMPP world (check our project: http://salut-a-toi.org or movim: http://movim.eu).

Re:FastMail: Shutting down our XMPP chat service by jessaustin on Monday November 16, 2015 @07:38AM (#10574051)
XMPP is all but deprecated...

Just a short English usage note: "all but" means something like "almost". Judging by the rest of your post, you probably mean "XMPP is far from deprecated" here.

Re:FastMail: Shutting down our XMPP chat service by goffi on Monday November 16, 2015 @08:13AM (#10574190)
yes indeed, I'm not a native speaker as you can guess.

Thanks for the correction :)

Re:FastMail: Shutting down our XMPP chat service by kbenson on Monday November 16, 2015 @02:00PM (#10576318)
I usually read "X is all but Y" as "X is Y in all but name", but there are subtle distinctions that could be hard for a non-native speakers[1] to grasp without knowing about them.

1: http://english.stackexchange.com/questions/9967/all-but-idio...

Re:FastMail: Shutting down our XMPP chat service by estefan on Monday November 16, 2015 @05:51AM (#10573723)
Is there any way to handle message histories that survive the XMPP server (ejabberd) being restarted?

At the moment all the MUC room histories vanish if I need to restart ejabberd which is a farce in a cloud world...

And message carbons work, but since ejabberd only seems to support a single auth token meaning that if users connect with multiple devices they can't actually log out of only a single one without pulling the plug on all connected devices.

Are these only ejabberd issues or issues in the XMPP specs?

BTW this is for realtime chat on for an app, nothing federated... I'm open to non-XMPP options too.

Re:FastMail: Shutting down our XMPP chat service by goffi on Monday November 16, 2015 @08:19AM (#10574232)
> Is there any way to handle message histories that survive the XMPP server (ejabberd) being restarted?

Message Archive Management (XEP-0313) is supposed to do that.

> And message carbons work, but since ejabberd only seems to support a single auth token meaning that if users connect with multiple devices they can't actually log out of only a single one without pulling the plug on all connected devices.

Not sure to understand: if you disconnect a device, all the other devices with the same jid are disconnected? If so, it's definitely not normal, and not a spec issue. I'm also surprised to see ejabberd having this behavior, you should talk to the dev team.

Re:FastMail: Shutting down our XMPP chat service by estefan on Tuesday November 17, 2015 @04:47AM (#10580073)
> Message Archive Management (XEP-0313) is supposed to do that.

Thanks, I'll check that out.

> if you disconnect a device, all the other devices with the same jid are disconnected?

No, not on disconnection - I can't seem to find a way to tie multiple auth tokens to a single user (one per device) to allow them to log out on different devices individually. At the moment logging out one device would disconnect all clients.

Re:FastMail: Shutting down our XMPP chat service by hackerboos on Monday November 16, 2015 @09:29AM (#10574588)
My understanding is that it is not the clients that are the problem but rather there is patchy support in open source XMPP servers to utilize the new mobile friendly features.

[1] - https://www.process-one.net/en/ejabberd/protocols/

[2] - https://prosody.im/doc/xeplist

[3] - https://github.com/esl/MongooseIM#features-and-supported-sta...