Cable-Desktop/js
lilia 7d3d634a2d Move/refactor keepalive logic and add disconnect timer
We now disconnect ourselves if we don't get the server's response to a
keepalive request within 30s. This way we will eventually disconnect if
the network goes away but the socket is not closed.*

* See code.google.com/p/chromium/issues/detail?id=197841 and
https://stackoverflow.com/questions/11755605/chrome-websocket-connection-not-closed-when-browser-closed

We will then try to reconnect once a minute (See 8a10c96);

Keepalives belong at this level anyway, since the format is defined by
both the websocket resource protocol and our specific server url
structure.

// FREEBIE
2015-07-16 15:01:34 -07:00
..
models Mark end session messages sent 2015-07-16 12:14:09 -07:00
views Let key verification view use array buffers 2015-07-16 12:14:09 -07:00
axolotl_store.js Remove redundant identity key updates 2015-07-16 12:14:06 -07:00
background.js Reconnect once a minute if internet is down 2015-07-16 14:56:37 -07:00
bimap.js Simplify panel state management and message passing 2015-02-11 17:37:56 -08:00
chromium.js Fix for conversation & inbox windows closing callbacks never called. 2015-07-01 22:28:06 +02:00
components.js 239 Auto-expand message area when typing 2015-06-23 22:45:41 +02:00
conversation_panel.js Apply custom chrome to conversation windows 2015-05-21 14:35:44 -07:00
database.js Turn off idb query logging 2015-07-16 12:13:45 -07:00
index.js Keep inbox window open, but allow it to be hidden 2015-05-21 13:08:43 -07:00
libaxolotl-worker.js Use a worker to facilitate key generation 2015-05-05 17:44:55 -07:00
libphonenumber-util.js jshint all the things 2015-02-19 00:22:23 -08:00
libtextsecure.js Move/refactor keepalive logic and add disconnect timer 2015-07-16 15:01:34 -07:00
notifications.js Remove remaining traces of localStorage 2015-05-15 11:39:19 -07:00
options.js Cleanup 'Too many devices' dialog 2015-07-14 13:39:37 -07:00
panel_controller.js Remove usage of extension.trigger 2015-07-16 12:13:45 -07:00
register.js Fix registration page 2015-05-15 11:39:23 -07:00
storage.js Fix tests 2015-05-15 11:39:23 -07:00