Commit graph

297 commits

Author SHA1 Message Date
Evan Hahn
f647c4e053
Display user badges 2021-11-02 16:01:13 -07:00
Scott Nonnenberg
3190f95fac
Usernames: Create/update/delete in profile editor 2021-11-01 12:13:35 -07:00
Fedor Indutny
63fcdbe787
Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
Evan Hahn
74fde10ff5
Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Josh Perez
2e438aa876
Conversation details screen for 1:1 chats 2021-10-20 16:46:41 -07:00
Scott Nonnenberg
51af6947d4
onDecryptionError/onRetryRequest: Don't run until queue is empty 2021-10-20 14:50:00 -07:00
Scott Nonnenberg
fe49edce8a
updateGroup: Use hasMember instead of 'left' attribute for membership 2021-10-20 16:32:38 -05:00
Evan Hahn
92f7259272
Respect proxies when fetching link previews 2021-10-14 15:49:36 -07:00
Evan Hahn
c9a49ecb4b
WebAPI: Require options in getProfile 2021-10-12 14:32:38 -07:00
Fedor Indutny
27573e6dce
Use non-throttled timeouts for websockets 2021-10-07 11:18:22 -07:00
Fedor Indutny
1466f9f1b2
Update got/form-data to latest 2021-10-06 09:25:22 -07:00
Scott Nonnenberg
bd380086a4
Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -05:00
Fedor Indutny
eec669f284
Remove unused code from WebAPI 2021-09-28 16:38:55 -07:00
Fedor Indutny
cd710bb8d2
Add jitter support to BackOff class 2021-09-28 15:12:43 -07:00
Fedor Indutny
0291830d16
Annotate WebAPI logs with request subtype 2021-09-28 13:55:50 -07:00
Fedor Indutny
af387095be
API to suspend/resume tasks with timeout 2021-09-27 11:22:46 -07:00
Scott Nonnenberg
cf4c81b11c
Clear stale sender certificates 2021-09-27 10:31:34 -07:00
Evan Hahn
9791fa43ef
Improve handling of 413 HTTP responses 2021-09-27 09:44:09 -05:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Fedor Indutny
b9d6497cb1
Better types for WebAPI 2021-09-21 17:58:03 -07:00
Scott Nonnenberg
250a89d953
Additional logging, new ability to force Conversation 'change' event 2021-09-20 11:51:30 -07:00
Josh Perez
e86a6119cd
Moves stringToArrayBuffer into util folder 2021-09-20 12:27:15 -04:00
Fedor Indutny
b83c00f43f
Defer unprocessed item attempt update 2021-09-17 16:11:24 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Evan Hahn
fda21edd23
Remove unnecessary disables of consistent-return lint rule 2021-09-16 15:25:55 -05:00
Fedor Indutny
f937eba94e
Update socket status more eagerly 2021-09-16 13:18:42 -07:00
Fedor Indutny
5780c3d4b8
Fix socket management for unlinkAndDisconnect 2021-09-15 11:44:27 -07:00
Evan Hahn
4ef56667e2
Move MAX_MESSAGE_SIZE assertion 2021-09-10 13:16:53 -07:00
Scott Nonnenberg
9d4edb5893
WebsocketResources: Increase maximum outgoing message size 2021-09-10 13:43:53 -05:00
Fedor Indutny
091f3653e7
Ensure conversation id in storeSession 2021-09-10 10:17:32 -07:00
Fedor Indutny
c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Fedor Indutny
cd809a9922
Add changeNumber capability 2021-09-09 13:53:58 -07:00
Evan Hahn
1f45bce0a2
When a job fails, respect the Retry-After header if applicable 2021-09-02 17:31:21 -05:00
Fedor Indutny
c7873dd7ea
Reconnect websocket on e164 change 2021-09-02 16:47:42 -05:00
Fedor Indutny
c7b7a355ba
Clear sender certificate on E164 change 2021-09-02 10:12:11 -07:00
Evan Hahn
a85dd1be36
Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Evan Hahn
480e5b58c7
Handle missing Retry-After header with challenge errors 2021-08-30 11:39:25 -05:00
Fedor Indutny
a43abe628a
Update TypeScript to 4.4.2 2021-08-27 15:21:42 -05:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Evan Hahn
f86f753df9
Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
Fedor Indutny
fff4e9e97f
Simplify envelope drop due to stopped processing 2021-08-25 16:10:09 -07:00
Fedor Indutny
9012091d21
Start unauthenticated socket timer after request 2021-08-24 08:58:40 -07:00
Evan Hahn
52328c2634
Add type for ConversationModel#getGroupV1Info 2021-08-23 16:15:34 -07:00
Scott Nonnenberg
f11c366f53
AccountManager: Simplify key rotation pre-check 2021-08-20 11:27:12 -07:00
Fedor Indutny
f5a85a0488
Disable websocket in sticker-creator 2021-08-18 17:13:32 -07:00
Scott Nonnenberg
4a6d28e118
MessageReceiver: Drop blocked senders only after processing SKDMs 2021-08-17 11:40:55 -07:00
Evan Hahn
75f0cd50be
Send viewed receipt when you start listening to an audio message 2021-08-17 08:43:26 -07:00
Evan Hahn
b0750e5f4e
Show "unplayed" dot on incoming audio messages 2021-08-12 13:15:55 -05:00
Fedor Indutny
61b7eebfcf
Modernize Benchmarks CI 2021-08-11 12:29:07 -07:00
Scott Nonnenberg
81f06e2404
Sender Key: Hardcode senderKey to true, during link and thereafter 2021-08-10 17:41:27 -07:00
Fedor Indutny
8703b0e020
Reduce log file size 2021-08-09 15:04:17 -07:00
Josh Perez
9078919545
Transcode heic/heif images 2021-08-09 13:06:21 -07:00
Fedor Indutny
669005ace7
Fix multirecipient sends 2021-08-06 12:19:00 -07:00
Scott Nonnenberg
5069f48cf0
Message Send Log: Increase retention length 2021-08-05 20:17:23 -04:00
Fedor Indutny
a001882d58
Change Phone Number notifications 2021-08-05 16:34:49 -07:00
Scott Nonnenberg
3bbe859452
Partially revert "Sender Key: Prepare for testing in beta"
Partial revert of commit ab5a12fded
2021-08-04 16:49:05 -07:00
Fedor Indutny
c68fd3d727
confirmCode endpoint shouldn't reconnect socket 2021-08-04 13:12:35 -07:00
Fedor Indutny
d5810d6bac
Support more WebSocket endpoints 2021-08-03 17:37:17 -07:00
Scott Nonnenberg
a78d30cb5a
Simplify signed prekey handling - always save for 30 days, always save five 2021-08-03 15:26:00 -07:00
Fedor Indutny
6d04bfdf67
Fix undefined log function 2021-08-03 12:05:20 -05:00
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