Commit graph

160 commits

Author SHA1 Message Date
Fedor Indutny
ad217c808d
Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Evan Hahn
9c48a95eb5
Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Fedor Indutny
e4efa01073
Fix attachment downloads for zero cdnId 2021-07-09 13:12:29 -07:00
Fedor Indutny
ddbbe3a6b1
More protobufjs migration 2021-07-09 12:36:10 -07:00
Evan Hahn
da27a6ac64
Add array-type TypeScript ESLint rule 2021-07-08 14:55:48 -07:00
Fedor Indutny
299fe2af36
More protobufjs use 2021-07-02 14:21:24 -05:00
Scott Nonnenberg
615ae1ccf7
Refactor SendMessage.ts to named parameters 2021-07-02 13:34:17 -05:00
Evan Hahn
7dac480df5
Don't expire incoming expiration timer updates 2021-07-01 16:48:40 -07:00
Fedor Indutny
a6394e0c8b
Reconnect within MessageReceiver 2021-06-23 09:47:42 -05:00
Fedor Indutny
9f0c630574
Move to protobufjs in ts/groups.ts 2021-06-22 09:46:42 -05:00
Fedor Indutny
d4d454e554
Reject WebSocket connect timeout with an HTTPError 2021-06-21 14:06:06 -05:00
Scott Nonnenberg
68f1023946
Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Fedor Indutny
584cedecff
Wrap all websocket errors, reconnect earlier 2021-06-14 17:12:58 -07:00
Fedor Indutny
8f5086227a
Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Fedor Indutny
17e6ec468e
Faster WebSocket reconnects 2021-06-09 15:28:54 -07:00
Scott Nonnenberg
bff3f0c74a
Sender Key: Prepare for production 2021-06-08 14:51:58 -07:00
Evan Hahn
e4a632f601
Link previews: clean up AbortSignal types 2021-06-08 13:55:37 -07:00
Scott Nonnenberg
13371fbeb7
Don't delete all data if e164 changes (focus on UUID if we have it) 2021-06-08 11:54:20 -07:00
Evan Hahn
eaf4036fc8
Compute provisioning URL in separate function 2021-06-07 09:27:02 -07:00
Evan Hahn
d46963e864
Fix sending of group messages to empty groups 2021-06-02 13:29:31 -07:00
Scott Nonnenberg
5a4fc5e425
Sender Key: Disable capability and bug fixes 2021-06-01 12:40:09 -07:00
Scott Nonnenberg
ee513a1965
Support for message retry requests 2021-05-28 12:11:19 -07:00
Scott Nonnenberg
b63d8e908c
Properly unpad incoming sender key messages 2021-05-28 09:06:09 -07:00
Scott Nonnenberg
ee41e4f71d
A few small bugfixes 2021-05-27 13:47:39 -07:00
Evan Hahn
d4dc9b8e39 Message Requests: Add new "Report spam and block" button 2021-05-27 13:37:58 -07:00
Scott Nonnenberg
e6f1ec2b6b
Send support for Sender Key 2021-05-25 15:40:04 -07:00
Fedor Indutny
227f532ec2
Fix processing of cached envelopes 2021-05-24 14:30:56 -07:00
Scott Nonnenberg
e76252d3b2
Fixes for Sender Key: Receive 2021-05-24 11:59:45 -07:00
Fedor Indutny
79a90802c0
Use websocket queue for queueAllCached() 2021-05-24 11:00:53 -07:00
Fedor Indutny
7b164fdf91 Further improve in-memory transactions in MessageReceiver 2021-05-20 17:37:26 -07:00
Fedor Indutny
7c07fdd589 Fix in-memory transactions in MessageReceiver 2021-05-20 17:37:19 -07:00
Evan Hahn
7c7f7ee5a0 Add concat iterable utility 2021-05-20 17:37:19 -07:00
Evan Hahn
d07996e910 Add type to WebAPI error message 2021-05-20 17:37:18 -07:00
Fedor Indutny
7418a5c663 Rename locks to zones 2021-05-20 17:37:18 -07:00
Fedor Indutny
1f0119a7ac Reuse global locks, handle empty envelopes 2021-05-20 17:37:17 -07:00
Scott Nonnenberg
bcaca1ebd5 View Once: Allow for missing sender; only require senderUuid 2021-05-20 17:37:17 -07:00
Fedor Indutny
2abc331058 Fix in-memory transactions while accessing sessions 2021-05-20 17:37:10 -07:00
Scott Nonnenberg
38f9aef2af On 401 response from Signal server, reconnect websocket 2021-05-20 17:37:09 -07:00
Fedor Indutny
94d2c56ab9 Introduce in-memory transactions for sessions 2021-05-20 17:37:09 -07:00
Scott Nonnenberg
403b3c5fc6 getSendOptions: Disable sealed sender whenever sending to own account 2021-05-20 17:37:09 -07:00
Scott Nonnenberg
e6bab06510 Receive support for Sender Key
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2021-05-20 17:37:08 -07:00
Scott Nonnenberg
4c249ce5dc Don't reset session if sealed sender wrapper is invalid 2021-05-20 17:37:08 -07:00
Scott Nonnenberg
fc12d02a8d
Clean up inviteLink handling, harden compose input 2021-05-06 12:06:20 -07:00
Fedor Indutny
986d8a66bc
Show challenge when requested by server 2021-05-05 17:09:29 -07:00
Evan Hahn
8ef14e6f39
When incoming message should've been sealed sender, reply with profile key 2021-05-05 09:39:16 -07:00
Scott Nonnenberg
18c86898d1
OutgoingMessage: Use enqueueSessionJob for all encrypts 2021-05-04 18:03:03 -07:00
Evan Hahn
b9bc957299
Fix sendToIdentifier error message 2021-05-04 09:44:17 -07:00
Evan Hahn
bf6487c5b9 Don't mark conversations as unregistered unless there's no UUID 2021-04-29 14:27:37 -07:00
Evan Hahn
013923d3c1 Remove CDS feature flag 2021-04-29 14:27:36 -07:00
Scott Nonnenberg
86d2a4b5dd decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript 2021-04-29 14:27:35 -07:00