lilia fd6e2954f7 Curtail over-zealous websocket reconnects
Closes #173

Previously, in the event of a failed websocket auth, we would attempt to
reconnect once a second ad infinitum. This changeset ensures that we
only reconnect automatically if the socket closed 'normally' as
indicated by the code on the socket's CloseEvent. Otherwise, show a
'Websocket closed' error on the inbox view.

Ideally we would show a more contextual error (ie, 'Unauthorized'), but
unfortunately the actual server response code is not available to our
code. It can be observed in the console output from the background page,
but programmatically, we only receive the WebSocket CloseEvent codes
listed here:
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes

The websocket error message is displayed by a normally-hidden but ever
present socket status element. Clicking this element will immediately
refresh the background page, which will try again to open the websocket
connection.
2015-03-09 16:04:26 -07:00
2015-03-03 18:44:18 -08:00
2015-01-14 11:39:36 -10:00
2015-03-06 17:05:36 -08:00
2014-10-30 16:53:08 -07:00
2015-01-14 10:00:40 -10:00
2014-11-22 20:30:57 -08:00
2015-03-03 18:44:18 -08:00
2015-03-03 11:15:28 -08:00
2015-03-06 15:27:49 -08:00
2015-02-11 17:38:02 -08:00
2015-02-12 13:21:15 -08:00
2015-03-06 15:27:49 -08:00
2015-03-06 15:27:49 -08:00

Build Status TextSecure for the Browser

Private text and chat for the browser.

⚠️ Warning ⚠️

This is unfinished, unreleased software.

Are you a web developer interested in contributing to this project? 👍 Please proceed to CONTRIBUTING.md for setup instructions and contributor guidelines.

Not a developer? :hand::construction_worker: Please refrain from installing until our first release. Follow the blog for updates.

Interoperability

TextSecure for the Browser works with Signal for iOS and TextSecure on Android.

Cryptography Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

License

Copyright 2014 Open Whisper Systems

Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html

Developers Developers Developers Developers!

Please see CONTRIBUTING.md for setup instructions and contributor guidelines.

S
Description
A private messenger for Windows, macOS, and Linux.
Readme AGPL-3.0 1.2 GiB
Languages
TypeScript 92.1%
SCSS 4.2%
JavaScript 3.2%
CSS 0.2%