First steps towards new hangout connectivity.
Directing all new hangouts to load the app.
Properly forcing new hangouts to load the app now.
Changed how CORS is handled. Not sure why it helps, but it seems to.
Finally got hangout app phoning home properly again.
Session model updating and participant tracking is working. Sends the message to clients properly, and modifies the server representation appropriately.
Wrote stubs for tests to write next.
Client properly responds to session-participants events and updates the local model.
Added some documentation on hangout app development.
Big progress on hangout heartbeats. There seems to be some issues with the app loading in some contexts, documented in #83. But a lot of the infrastructure is there now.
Resolved #83, plus some other misc fixing.
Added a catch for hangout messages for invalid sessions. This frequently happens when you reseed the server and have an open hangout going against an old sessionid.
Fixed hangoutConnected event triggering.
Heartbeat sort of working, but seems to premeptively shut down.
Some more progress on heartbeats, but it seems to auto-drop the 5th or so heartbeat every time, triggering a shutdown.
Added retry into the hangout heartbeats, but shit is totally wack. It seems to work for 6 heartbeats, then fail for the next 35 seconds (another 6-7 heartbeat intervals) and then work again. On and off, on and off. What the hell.
various inconsequential tweaking to deal with this xmlhttprequest failure.
Finally fixed the six-requests-failure. Had to do with browser limits on the number of extant requests to a single domain. I wasn't properly ending successful requests to session/hangout/:id, so they were accumulating until they timed out and it reissued six more. Jesus. Anyway, nothing to do with SSL. Fixed.
Session connection/disconnection detection is now basically working and sent to client, plus updated in the client model.
Removed retry on heartbeat from the hangout app, since all requests seem to fail as far the client is concerned.