Commit Graph

47 Commits

Author SHA1 Message Date
automated-signal a53c04645d
On Sender Key distribution message failure, don't update send status
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2022-06-03 09:31:47 -07:00
Fedor Indutny 3be95e821e
Pass abortSignal to sendToGroup 2022-05-23 15:08:13 -07:00
Fedor Indutny 5c72c785a0
Stop retrying message send on 400 response 2022-05-23 09:27:40 -07:00
Scott Nonnenberg d4e0f6a38d
Update conversation.unreadCount in just one place, from database 2022-05-03 13:24:31 -07:00
Jordan Rose 5a107e1bc3
Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00
Dimitris Apostolou 718d0a7046
Fix typos 2022-03-13 11:10:17 +02:00
Scott Nonnenberg fcb96bf92a
Simplify OutgoingIdentityKeyError, use it in getKeysForIdentifier 2022-02-25 15:39:24 -08:00
Scott Nonnenberg de942e1af2
sendToGroup: Combine into final send result even in error scenarios 2022-02-24 17:22:19 -08:00
Jon Chambers 45289f519a
Accept HTTP/429 as a "rate-limited" status code 2022-02-24 16:26:58 -08:00
Scott Nonnenberg b33b5d2a30
profileKey: Check length of incoming values, clear on failed send/fetch 2022-02-22 14:34:57 -06:00
Scott Nonnenberg 3c1ccce9bd
Sender Key: Use sender key expire duration from remote config 2022-02-11 13:09:35 -08:00
Scott Nonnenberg 397753bbfe
sendContentMessageToGroup: Comprehensive error check before failover 2022-01-31 13:51:24 -08:00
Scott Nonnenberg 06165cb742
Include sender keys in SignalProtocolStore zones 2022-01-07 18:12:13 -08:00
Scott Nonnenberg 161b0e5379
Refactor sender key sends to allow distribution lists 2021-12-09 18:15:59 -08:00
Fedor Indutny 76a30a5196
Use `throwOnTimeout` option for PQueue 2021-11-23 23:01:03 +01:00
Scott Nonnenberg 3601279287
sendToGroup: Flow errors during key-fetching back up to original sender 2021-11-20 09:58:38 -06:00
Evan Hahn 5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06: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
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
Josh Perez 65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Scott Nonnenberg 5bf3720d1d
Update to libsignal-client@0.9.0, handle new invalid registration error 2021-09-02 13:44:34 -07:00
Scott Nonnenberg ff4aa228f6
Move to `desktop.sendSenderKey3` feature flag 2021-08-26 11:34:33 -05:00
Fedor Indutny 65f0f87bad
Speed-up senderKey membership check 2021-08-19 08:52:08 -07:00
Scott Nonnenberg 5f3af9f123
sendToGroup: Save conversation before removing senderKey 2021-08-17 11:35:49 -07:00
Fedor Indutny 784e5d5eee
Sort sender key devices for future optimization 2021-08-17 08:45:57 -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
Scott Nonnenberg f048066693
Sender Key: Flags to disable, send to unrestricted 2021-08-03 18:02:35 -07:00
Scott Nonnenberg 310f0dc88f
Sender Key: Proper 409-handling, save new members earlier 2021-08-02 17:42:00 -07:00
Scott Nonnenberg ab5a12fded
Sender Key: Prepare for testing in beta 2021-08-02 19:12:49 -05:00
Scott Nonnenberg 9fb8114691
Sender Key: Track registrationIds in senderKeyState 2021-07-30 11:35:25 -07:00
Scott Nonnenberg 276c153ec4
sendToGroup: Ensure key distribution messages are always online:false 2021-07-26 16:48:43 -07:00
Scott Nonnenberg eba182f8d0
Better logging for sealed sender, sender key distribution 2021-07-23 15:37:04 -07:00
Fedor Indutny 31989a7706
Translate errors before rejecting in SendMessage 2021-07-19 18:10:09 -07:00
Scott Nonnenberg a42c41ed01
Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny ddbbe3a6b1
More protobufjs migration 2021-07-09 12:36:10 -07:00
Scott Nonnenberg 615ae1ccf7
Refactor SendMessage.ts to named parameters 2021-07-02 13:34:17 -05:00
Scott Nonnenberg 34afb98fcf
Ensure that typing indicators are always sent with online = true 2021-06-15 16:32:12 -07:00
Fedor Indutny 8f5086227a
Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Scott Nonnenberg bff3f0c74a
Sender Key: Prepare for production 2021-06-08 14:51:58 -07:00
Josh Perez d4875fd8f4
Remove isPrivate, isMe, isGroupV1, isGroupV2 from model 2021-06-07 09:39:13 -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 ee41e4f71d
A few small bugfixes 2021-05-27 13:47:39 -07:00
Scott Nonnenberg e6f1ec2b6b
Send support for Sender Key 2021-05-25 15:40:04 -07:00