Commit Graph

287 Commits

Author SHA1 Message Date
Scott Nonnenberg
ab5a12fded Sender Key: Prepare for testing in beta 2021-08-02 19:12:49 -05:00
Fedor Indutny
21ffb7c054 Unseal envelope in a separate step for better logs 2021-08-02 14:17:56 -07:00
Scott Nonnenberg
9fb8114691 Sender Key: Track registrationIds in senderKeyState 2021-07-30 11:35:25 -07:00
Fedor Indutny
03874a788f Use smaller batches for receipts and syncs 2021-07-29 18:08:04 -07:00
Evan Hahn
8775c711ae Mark many of SendMessage's arguments as readonly 2021-07-29 12:00:11 -07:00
Fedor Indutny
d4a30a0165 Properly handle connection timeout on unauthenticated websocket 2021-07-29 09:25:21 -07:00
Fedor Indutny
0acefaa656 Add assert to messages endpoint 2021-07-29 01:20:18 -07:00
Fedor Indutny
1c1d0e2da0 Move to websocket for requests to signal server 2021-07-28 14:37:09 -07:00
Fedor Indutny
85004699f5 MessageReceiver: Unwrap envelopes earlier in the processing chain 2021-07-27 12:55:39 -07:00
Evan Hahn
14929fb408 Show "unplayed" dot on outgoing audio messages 2021-07-27 10:42:25 -05:00
Scott Nonnenberg
eba182f8d0 Better logging for sealed sender, sender key distribution 2021-07-23 15:37:04 -07:00
Fedor Indutny
9c6343e10d Unify MessageReceiver and MessageReceiverInner 2021-07-23 13:47:03 -07:00
Scott Nonnenberg
b0eaae93f1 archiveSessionOnMatch: Check for ratchet key match as well 2021-07-23 10:44:21 -07:00
Fedor Indutny
fdec47d637 Use single WebAPI instance across the app 2021-07-23 10:23:50 -07:00
Evan Hahn
07f0efc45f Rename "view sync" to "view once open sync" 2021-07-22 12:07:53 -05:00
Josh Perez
d9e90e9ea8 Improvements to shared library components 2021-07-21 13:45:41 -07:00
Josh Perez
56d5d283bd Support for announcement-only groups 2021-07-20 13:18:35 -07:00
Fedor Indutny
886e8966ff Drop support for signaling key 2021-07-19 18:11:07 -07:00
Fedor Indutny
31989a7706 Translate errors before rejecting in SendMessage 2021-07-19 18:10:09 -07:00
Evan Hahn
c4a09b7507 Refactor outbound delivery state, take 2
This reverts commit ad217c808d.
2021-07-19 17:44:49 -05:00
Josh Perez
cd35a29638 Edit profile 2021-07-19 12:26:06 -07:00
Scott Nonnenberg
a42c41ed01 Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny
0fe68b57b1 Fix CDS lookup 2021-07-15 16:17:22 -07:00
Scott Nonnenberg
f7c85432a5 Ensure sender info propagates after sealed sender decrypt error 2021-07-15 12:13:48 -07:00
Fedor Indutny
668a4a5402 Fix sending previews without images 2021-07-15 10:47:12 -07:00
Fedor Indutny
c3bdf3d411 Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny
570fb182d4 Fully move to protobufjs 2021-07-13 11:54:53 -07:00
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