Open MrTango opened 9 years ago
Is this for an existing installation that you're updating or for a new installation? Did you see my lightning talk I gave on XMPP/Plone? There's a much simpler way possible than using collective.xmpp.core, especially if you're willing to use Prosody XMPP server.
But the new code needs cleaning up, documentation, packaging and releasing etc.
it's a new Plone 5 buildout ;) Is the other way somewhere documented, so i can look into it? I just interested in how i can combine conversejs with Plone.
The new way is much simpler and IMO much better, but unfortunately it's not yet completely implemented in Plone.
The work I've done so far on this was for a non-Plone site and then I just did a quick and dirty implementation in Plone to test and show that XMPP authentication can be delegated to a Plone site.
However, that's only part of the story. We also need a way to start an XMPP session when the user logs in. I know how to do this, but it still needs to be done.
To finish this off and get a proper release will take time and I'm currently looking for funding to implement this for Plone.
In the meantime, I can take a look at the bug above, but if it was up to me and I had the budget, I would definitely not use the old collective.xmpp.core code (which collective.xmpp.chat is currently based) and instead develop the new approach of delegating authentication.
Advantages (off the top of my head):
In other words, fewer complicated moving parts all around.
That sounds interesting. I do not have a real project by now. If i get one, i'll contact you. Do you have a guess how big the effort is to finalize this?
Thanks. Depends on a few things, but a rough estimate would be 2 to 4 days of work.
Something I forgot to mention above is that you can also let Plone manage the relationships (i.e. friendships or follows) between users, instead of doing that through XMPP/converse.js.
The XMPP server will ask Plone to give it the roster. The simplest solution in such a case is to let all users in the site be friends/contacts with one another. That code is already implemented. More complicated schemes (where users have to add one another as friends somewhere in Plone) can be imagined but are not yet implemented.
FYI, I fixed this by patching distribute 0.6.49 with version of markers.py taken from https://pypi.python.org/pypi/markerlib/0.6.0. This fix was taken from:
i get the following error when i try to install collective.xmpp.chat on debian. setuptools and zc.buildout newest versions, also tried with older versions.