XMPP and Drupal developers' round table

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
kvantomme's picture
Start: 
2010-03-26 17:00 - 19:00 Europe/Brussels
Organizers: 
Event type: 
User group meeting

Recently a lot of people started are working concurrently on XMPP and Drupal integration. So I thought it would be a good idea to share our ideas
so we can work on top of a common platform.

We are going to have the meeting on Dimdim. You can join the event at http://my.dimdim.com/all/openlearninglabs/default/

Some background information for the talk can be found at
http://groups.drupal.org/xmpp
http://drupal.org/project/dxmpp
http://www.pronovix.com/blog/real-time-activity-and-message-stream-open-...

Comments

For those on the other side

aaron's picture

For those on the other side of the pond, that's 12:00 PM EST/New York.

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic

drat missed it

kyle_mathews's picture

Just found about it, 2.5 hours too late. Could someone writeup a quick summary of what was discussed? I'm definitely interested in this space.

Kyle Mathews

sum up of the conversation

kvantomme's picture

We started in the openlearninglabs dimdim room, but soon found out that it really doesn't work for group discussions, so we don't have a recording of the full discussion. We then moved to Skype to continue the discussion. In the Skype channel the following people attended: Aaron Winborn, Kornel Lugosi, Gus Austin, Matt Tucker, Ben Jeavons, Frans Kuipers and Kristof Van Tomme (in no particular order).

I explained the reason for the meeting and how we would all benefit if we can work on top of a common platform. I shortly explained how we (Pronovix) would like to use XMPP on Open Atrium as a solution to make near real time notifications scalable.

Aaron Winborn introduced DXMPP, he explained that the the XMPP framework after careful analysis turned out not to accommodate and not to be extendable to accommodate the use case he has. That is why he developed DXMPP. It connects to an XMPP server (can be on a separate server) and uses XMPP to create users on that server. Currently the module only supports 1to1 chat sessions.

Ben Jeavons and Matt Tucker explained that they are researching XMPP for an implementation at examiner.com and asked a couple of questions about the capabilities of DXMPP for MUC and about the scalability of XMPP. Aaron explained that DXMPP is currently not providing MUC and that scalability shouldn't be a problem according to his sources and that he will soon have a use case to verify that.

Kornel Lugosi explained the work he has done to let Drupal create channels on an XMPP server and then add users to those channels.

Results:
-Aaron agreed that Kornel could get commit rights for DXMPP so that Kornel could help writing an alternative user authentication system (using services) and introduce the Multi User Chat (MUC) implementation.
-Ben Jeavons offered to help with the architecture
-Frans Kuipers and Ben Jeavons said that they would test out DXMPP and could contribute to the documentation

--

Check out more of my writing on our blog and my Twitter account.

I've been using xmppframework

fizk's picture

I've been using xmppframework + XMPP API and ejabberd for almost a year now without any problems.

What use cases does it not meet?

I'm using it to provision accounts, provide an AJAX web client (xwchat), create and destroy MUC rooms on the fly.........it does everything except make my coffee :)

  • Yonas

Glad that it works for you. I

aaron's picture

Glad that it works for you. I wasn't able to configure it for a non-LDAP set up with a remote XMPP server. I attempted unsuccessfully to get help on the issue queue, and was told that it doesn't work on a non-LDAP set up without applying some uncommitted patches. During my discovery, I discovered there didn't seem to be clear docs, and the code could use more documentation as well. It was faster to set up a new project than try to sort through all the various issues w/ uncommitted patches that may or may not have fixed the module.

Additionally, it appears the module isn't really set up to handle an existing installation; for instance, user relationships are not imported. Finally, I believe there may be some security issues with the module.

During our conference, one of the options presented was to attempt to hook into the XMPP API framework, but we also acknowledged there are hard-coded assumptions with both modules that would make that difficult at best.

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic

Not themeable

aaron's picture

And the largest issue was that the client (xwchat) is not themeable by Drupal -- this unfortunate state has been successfully addressed with the DXMPP module.

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic

Demo sandbox

gusaus's picture

I've set up a demo sandbox with DXMPP and any dependencies installed -
http://xmpp.sandbox.drupalkata.com/

Frans is currently admin and we can assign admin permissions to other collaborators after they create an account on the site.

Gus Austin

Demo sandbox almost working

franskuipers's picture

I installed ejabberd (standard ubuntu package) and configured it step by step on my server: xmmp.osconsultant.nl

I configured dxmpp on the sandbox, user relations are created, and users are registered on my server: http://xmpp.sandbox.drupalkata.com/admin/reports/dblog

I tried to attach part of my ejabberd.log, I can see it is registering users...... but attachments are not possible

But no dxmmp-block or a chat window.

Maybe Aaron can have a look what could be wrong?

Tomorrow I will document what I have done today.

Frans

PS: another strange thing is that we can't disable the JS-scripts optimalisation.

I had the same problem:

fizk's picture

I had the same problem: http://drupal.org/node/756532

thanks, i'll take a look

aaron's picture

thanks, i'll take a look tomorrow and see what's up.

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic

Got it working on my own sandbox

franskuipers's picture

I got DXMPP working (more or less) on my own sandbox. I could get it working on http://xmpp.sandbox.drupalkata.com with flXHR to proxy to my ejabberd server http://xmpp.osconsultant.nl/http-bind.

In my local sandbox I disabled flXHR. I don't like that solution that much, will avoid it if possible.

The DXMPP Block is still blank....

If I login on the website then the Jabber server sees me online.... but on the site I am unavailable. When I was using flXHR yesterday, the Jabber server never saw someone online.

If I send a message from Pidgin to the online webuser, a window with the conversation is popping up.

Will see if our hosts can accommodate

gusaus's picture

Sounds like great progress! I'll point this issue to our Aegir/sandbox hosting sponsor (http://omega8.cc/) and see if they if they can accommodate.

This also could be a great topic for the next Drupal Dojo session!! What do you think? http://groups.drupal.org/node/52023

Gus Austin

tx for testing!

kvantomme's picture

tx for testing!

--

Check out more of my writing on our blog and my Twitter account.

First documentation wiki

Thanks a lot, :)

Flying Drupalist's picture

Thanks a lot, :)

wow! that's some great

aaron's picture

wow! that's some great documentation! thanks for the write-up, frans!

Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic