lilia
c8e51563a0
Refactor initial sync codepath to application layer
...
To reduce dependence on the message sending module, AccountManager
should send no sync requests itself.
10 years ago
lilia
f764445c86
Remove erroneous license file and headers
...
We only use GPLV3 around here.
// FREEBIE
10 years ago
lilia
0b98043c1c
Add a worker
...
Offload all the asm.js code to a second thread. This is usually the
source of intermittent frontend freezes when running single-threaded.
10 years ago
lilia
4fc4573de4
Don't try to sync after single device registration
...
There's no other device to sync to. :p
10 years ago
lilia
b3d93ab334
Request group sync when pairing
...
Whoops, missed a step. Fixes #319 . Fixes #276 .
// FREEBIE
10 years ago
lilia
56b6375f97
Use new provisioning socket keepalive path
...
This new endpoint should always issue a response to a provisioning
socket so if we don't receive one we should assume the connection has
been lost.
Closes #318
10 years ago
lilia
1a06cb5cbe
Update consumers of WebsocketResources
10 years ago
lilia
cd363bd84d
Integrate keepalives into websocket resources
10 years ago
lilia
7d2b41db11
Add auto-disconnect config to keepalive constructor
...
Disconnects on no keepalive response by default.
// FREEBIE
10 years ago
lilia
d9fe783488
Accept close code/message via websocket/resources
10 years ago
lilia
8170a7baae
WebSocketResource exposes socket.close()
...
Allows for simplification of the keepalive construct.
10 years ago
lilia
d9d4e281cc
Keepalive provisioning socket
...
Fixes #315
// FREEBIE
10 years ago
lilia
f8ae5556d9
Fix standalone registration
10 years ago
lilia
4c40861728
Fix reinstalls
...
Delay saving of new account info until we confirm with the server.
Explicitly delete old account info beforehand.
// FREEBIE
10 years ago
lilia
5925c2fe84
Support for group sync
...
Protocol and handling is all analogous to contact sync: Multiple
GroupDetails structs are packed into a single attachment blob and parsed
on our end. We don't display the synced groups in the conversation list
until a new message is sent to one of them.
// FREEBIE
10 years ago
lilia
2f935dfd5e
Add contact sync request protocol
10 years ago
lilia
f32ff58953
Add support for device name
10 years ago
lilia
d230df5622
Move local identitykey and registrationid to indexeddb
10 years ago
lilia
37c496f4f0
Close the provisioning socket
10 years ago
lilia
9e7d8c0a08
Rename textsecure.api and make it internal-only
10 years ago
lilia
45a61780af
Fixup refreshPreKeys and call it whenever a prekey is deleted
10 years ago
lilia
7d0aeac8cb
Use a worker to facilitate key generation
10 years ago
lilia
f465bdddbf
Add textsecure.AccountManager
...
This class should be used for account registration and for refreshing
prekeys for your account.
10 years ago