updating Speeqe to the latest Strophe.js release

0 views
Skip to first unread message

vitriolix

unread,
Mar 11, 2010, 3:50:36 PM3/11/10
to speeqe-dev
Hi all,

I'm work at a company that is using some parts of Speeqe (the client
side stuff mostly) for a prototype application, so far it is working
really well for us. We ran into a problem yesterday with the fact
that Speeqe seems to be using a really out of date Strophe.js (last
updated on 11/6/2008 as far as I can see). We are going to be using
strophe for all of our comet interaction across the site, so we really
need to update Speeqe to use the current release. For instance, the
first hello world app in Jack Moffitt's book fails on the version of
strophe.js included in Speeqe.

As a quick (and naiive) test I just dropped in the current strophe.js
to see if Speeqe would still work, no such luck. It hangs on
authentication.

Anyhow, I'm planning on trying my hand at this over the next few days
and would appreciate any information about pitfalls I might run into,
or anything else you might be able to add.

Thanks,

Josh

Nathan Zorn

unread,
Mar 11, 2010, 5:09:46 PM3/11/10
to speeq...@googlegroups.com
Yes, it is something I have been meaning to work on, but haven't found the time.  I look forward to seeing your changes. If you sort out the authentication issues, I really don't see much that would cause problems. Most of the speeqe code generates the muc xml and only uses strophe for authenticating and sending the data. It should be an easy update.  I'll take a look at updating myself to get ready for your patch. 


--
You received this message because you are subscribed to the Google Groups "speeqe-dev" group.
To post to this group, send email to speeq...@googlegroups.com.
To unsubscribe from this group, send email to speeqe-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/speeqe-dev?hl=en.


Nathan Zorn

unread,
Mar 11, 2010, 5:55:56 PM3/11/10
to speeq...@googlegroups.com
I created a branch strophe_1.0

I was able to get authentication working, but I had some issues joining a room.  I should be able to work that out soon.  Feel free to use this branch.

Josh Steiner

unread,
Mar 11, 2010, 6:14:08 PM3/11/10
to speeq...@googlegroups.com
Cool!  Good to hear.  Now I just need to learn a bit more about github to figure out how to pull over your changes to my forked branch...

-Josh

Josh Steiner

unread,
Mar 11, 2010, 8:53:39 PM3/11/10
to speeq...@googlegroups.com
Cool, auth works now for me.  I'm not having any trouble joining rooms either.  

Thanks for the help.

-Josh

Nathan Zorn

unread,
Mar 12, 2010, 1:17:17 PM3/12/10
to speeq...@googlegroups.com
Cool, let me know if there are any issues.  I'll run a few more tests and then merge this branch to master.

Nathan Zorn

unread,
Mar 15, 2010, 11:21:20 AM3/15/10
to speeq...@googlegroups.com
The master branch now uses updates strophe.
Reply all
Reply to author
Forward
0 new messages