100 Commits
Author SHA1 Message Date
Jon Chambers 9dfbb454d1 Throttle requests when a client has a suspected delivery loop 2026-11-18 15:49:11 -05:00
Jon Chambers 1a36eff391 Retire "delete and get message" methods 2026-11-09 15:05:47 -05:00
Jon Chambers 9c5170d47c Retire Redis message cache 2026-10-21 16:24:58 -04:00
Jon Chambers 5318ef4562 Add an experiment to write messages exclusively to FoundationDB 2026-10-19 09:45:56 -04:00
Jon Chambers 746304935d Always read "live" messages from FoundationDB 2026-10-19 09:35:54 -04:00
Jon Chambers a3d9f7591d Avoid potential DNS lookups in AsnInfoProviderImpl 2026-10-14 11:25:10 -04:00
Jon Chambers a409b8e044 Revert "Disable flaky `ClearOrphanedFoundationDbQueuesCommandTest#aciReusedAf…"
This reverts commit acbf1d828c.
2026-09-22 14:32:53 -04:00
Jon Chambers 79757458d6 Introduce an experiment to use FoundationDB as the primary source for "live" messages 2026-09-16 10:46:35 -04:00
Jon Chambers 38707313d7 Retire UpdateGambiaPniMappingsCommand 2026-09-03 12:29:56 -04:00
Jon Chambers e93395e334 Retire PopulateAccountRecoveryPasswordsCommand 2026-09-03 12:12:05 -04:00
Jon Chambers 863057d659 Check TOTP at registration time 2026-08-20 11:38:09 -04:00
Jon Chambers 38ca4e6b27 Add support for generating, storing, and managing TOTP keys 2026-08-20 11:16:23 -04:00
Jon Chambers 48954c9f62 Scuttle deprecated phone number getters 2026-08-18 12:05:17 -04:00
Jon Chambers 1366fbba8a Allow account recovery with ACI and recovery password 2026-08-18 11:08:10 -04:00
Jon Chambers 850286dbfc Don't assume presence of phone numbers when regenerating secondary tables 2026-07-29 15:42:13 -07:00
Jon Chambers 2f1843d5d2 Don't assume presence of phone numbers when checking for prohibited payment regions 2026-07-29 15:41:51 -07:00
Jon Chambers 78e7e992da Add utility methods for getting country/region codes for accounts that may not have phone numbers 2026-07-29 15:41:40 -07:00
Jon Chambers 751b4b6ecc Detect and measure FoundationDB message consumer conflicts 2026-07-28 17:28:58 -04:00
Jon Chambers 688d3a2212 Log exceptions when fetching end-of-queue keys 2026-07-10 14:29:44 -07:00
Jon Chambers 222e5a033b Add an experiment to partially mirror reads from FoundationDB 2026-07-06 14:01:24 -04:00
Jon Chambers 8790514b8a Establish presence when fetching messages from FoundationDB 2026-06-30 11:36:22 -04:00
Jon Chambers 2abf55e395 Don't trigger state transitions inside retryable transactions 2026-06-25 17:41:33 -04:00
Jon Chambers 28aefe0ebe Revert "Mirror message reads/acknowledgements via FoundationDbMessageStream"
This reverts commit 4e52317e26.
2026-06-24 13:01:13 -04:00
Jon Chambers 4e52317e26 Mirror message reads/acknowledgements via FoundationDbMessageStream 2026-06-24 10:18:15 -04:00
Jon Chambers 60002a8a0f Port StickerController to gRPC 2026-06-18 08:51:00 -04:00
Jon Chambers 3cfe8b9f6c Mirror message writes/deletions to FoundationDB 2026-06-18 08:27:03 -04:00
Jon Chambers 31c1bb8940 Support multiple "configuration epochs" of the FoundationDB message store 2026-06-16 09:06:18 -04:00
Jon Chambers f524d9fb25 Retire string-based service identifiers/UUIDs in Envelope entities 2026-06-10 14:28:30 -04:00
Jon Chambers c3a48fd08b Port CertificateController to gRPC 2026-06-08 16:55:53 -04:00
Jon Chambers 15698aee46 Wire PaymentsGrpcService up as an authenticated service 2026-05-27 15:32:49 -04:00
Jon Chambers f10cc26144 Include optional call ID hashes in call quality survey responses 2026-05-27 15:31:53 -04:00
Jon Chambers f045e3ee0f Introduce an emergency "read only" mode for messages 2026-05-11 11:43:41 -04:00
Jon Chambers de5cb3370d Don't try to decode null session IDs 2026-04-17 14:51:07 -04:00
Jon Chambers 3e19b415b6 Always use fresh, non-cached Account instances when changing numbers 2026-04-17 13:47:54 -04:00
Jon Chambers 2500e85c01 Introduce VersionstampUUIDCipher 2026-04-01 20:07:47 -04:00
Jon Chambers 065809e34f Use simple-grpc in KeysGrpcService and KeysAnonymousGrpcService 2026-02-27 16:49:15 -05:00
Jon Chambers c63cbc304f Use simple-grpc in DevicesGrpcService 2026-02-26 17:31:13 -05:00
Jon Chambers 5d306f8d15 Make username-related operations blocking 2026-02-26 17:20:34 -05:00
Jon Chambers ad9c03186a Use simple-grpc in AccountsGrpcService/AccountsAnonymousGrpcService 2026-02-26 17:08:54 -05:00
Jon Chambers 3b87527f39 Add a system to look up mobile network data 2026-01-23 11:51:14 -05:00
Jon Chambers 298b0d8d28 Add new variants of call quality survey values and clarify optionality 2025-11-06 12:23:52 -05:00
Jon Chambers ad0bcd5436 Add a command for unlinking devices linked to an account whose primary device is idle 2025-10-24 15:23:57 -04:00
Jon Chambers 8825396fc1 Restore Redis retries for select operations 2025-08-27 11:52:16 -04:00
Jon Chambers f616612104 Use central registries for Retry and CircuitBreaker instances 2025-08-27 11:33:42 -04:00
Jon Chambers 7f5ea6608c Add plumbing to roll out binary service IDs/UUIDs on envelopes to internal users 2025-08-21 14:53:41 -07:00
Jon Chambers 470e17963a Use MessageStream in WebSocketConnection 2025-08-13 10:22:55 -04:00
Jon Chambers ad3721acf1 Count "send sync message" attempts with incorrect registration IDs 2025-08-11 18:24:38 -04:00
Jon Chambers 085127326b Improve thread synchronization in RedisDynamoDbMessagePublisherTest 2025-08-11 18:24:10 -04:00
Jon Chambers 2e32ab3282 Extend the Redis command timeout in FaultTolerantRedisClusterClientTest 2025-08-11 18:23:51 -04:00
Jon Chambers d96c360016 Introduce MessageStream and RedisDynamoDbMessagePublisher 2025-08-08 09:27:05 -04:00
Jon Chambers 8d3781db90 Remove the "send message" timeout 2025-08-04 09:58:56 -04:00
Jon Chambers 5c3be9c3d6 Use error-specific retry mechanisms in WebSocketConnection and associated classes 2025-07-31 10:53:11 -04:00
Jon Chambers 4d81124dfa Remove redundant disconnection requests 2025-07-24 10:33:10 -04:00
Jon Chambers 876bf15a11 Extend timeouts for Redis client tests 2025-07-23 10:24:07 -04:00
Jon Chambers 631b9a5290 Measure the rate of new WebSocket connections by authentication type 2025-07-17 11:35:15 -04:00
Jon Chambers 4ccd39fd55 Validate intra-account messages before applying number changes 2025-07-17 11:34:50 -04:00
Jon Chambers 483404a67f Retire authenticated device getters 2025-06-23 10:10:30 -04:00
Jon Chambers c952baa672 Don't cache authenticated accounts in memory 2025-06-23 09:40:05 -04:00
Jon Chambers 1a7a446150 Regenerate phone number identifiers when regenerating secondary table data 2025-06-05 15:12:33 -04:00
Jon Chambers 9b835633ab Count API calls by authentication status 2025-05-27 11:59:28 -04:00
Jon Chambers 30c194c557 Exclude RateLimitExceededException from fail-open checks 2025-05-12 15:24:57 -07:00
Jon Chambers d316c72beb Add commands for removing accounts/devices without PNI key material 2025-05-05 12:10:47 -04:00
Jon Chambers cdb651b68f Add commands for removing devices without PQ keys 2025-04-28 15:45:27 -04:00
Jon Chambers 8099d6465c Clarify guarantees around remote channnel/request attribute presence 2025-04-18 15:44:21 -04:00
Jon Chambers 28a0b9e84e Include a TURN credential TTL for clients in GetCallingRelaysResponse 2025-04-17 10:30:58 -04:00
Jon Chambers 3c40e72d27 Fix registration ID map construction when changing numbers 2025-04-15 14:57:28 -04:00
Jon Chambers 01258de560 Throw a MismatchedDevicesException for empty message lists to support iOS clients 2025-04-09 21:53:58 -04:00
Jon Chambers 8d8a2a5583 Extract common message-sending methods into a shared utility class 2025-04-08 17:39:45 -04:00
Jon Chambers 02a5a6b55f Subdivide MessageController's message-sending methods into message-type-specific methods 2025-04-08 10:22:07 -04:00
Jon Chambers ffa98e5b34 Reduce and centralize message-sending metrics 2025-04-07 11:08:53 -04:00
Jon Chambers c6689ca07a Internalize destination device list/registration ID checks in MessageSender 2025-04-07 09:15:39 -04:00
Jon Chambers 7ea0885474 Accommodate gRPC in the SpamChecker interface 2025-04-02 13:16:55 -04:00
Jon Chambers 4a42ff562d Define authenticated and anonymous gRPC services for sending messages 2025-04-02 08:47:34 -04:00
Jon Chambers 8517eef3fe Add a "critical" warning tier for primary devices missing PQ keys 2025-03-05 08:51:10 -05:00
Jon Chambers 6032764052 Validate parsed message size, not base64-encoded message size 2025-02-10 14:13:24 -08:00
Jon Chambers 3ae145bd60 Add isStory and isSyncMessage dimensions to message size metrics 2025-02-10 09:08:40 -08:00
Jon Chambers 48ada8e8ca Clarify roles/responsibilities of components in the message-handling pathway 2025-01-31 10:24:50 -05:00
Jon Chambers 4988b4e0f5 Refresh accounts before returning device lists 2024-12-05 14:35:18 -05:00
Jon Chambers c70dd119d3 Remove AbstractDynamoDbStore as a base class from Accounts 2024-12-02 10:57:45 -05:00
Jon Chambers 9d19fc9ecc Shift authority to the new pub/sub client presence system 2024-11-06 12:10:44 -05:00
Jon Chambers 8c984cbf42 Introduce and evaluate a client presence manager based on sharded pub/sub 2024-11-05 15:51:29 -05:00
Jon Chambers c9a396b9e3 Deserialize null capabilities in Device entities as empty sets 2024-11-01 16:48:56 -04:00
Jon Chambers 0e3dccd9f6 Replace DeviceCapabilities entity with Set<DeviceCapability> 2024-10-30 12:46:20 -04:00
Jon ChambersandRavi Khadiwala b21b50873f Add support for distinct media backup credentials
Co-authored-by: Ravi Khadiwala <ravi@signal.org>
2024-10-29 16:03:10 -04:00
Jon Chambers f3b22e04e8 Allow primary devices to change names of linked devices 2024-10-29 09:52:38 -04:00
Jon Chambers 324913d2da Add API endpoints for waiting for account restoration requests 2024-10-24 12:25:40 -04:00
Jon Chambers 240a406964 Introduce EnumMapUtil 2024-10-10 13:29:20 -07:00
Jon Chambers 38d25f9a9b Resolve warnings and accept suggestions throughout DeviceControllerTest 2024-10-10 13:29:05 -07:00
Jon Chambers 8c30a359e7 Add API endpoints for waiting for newly-linked devices 2024-10-10 10:11:32 -04:00
Jon Chambers a9117010f9 Introduce FaultTolerantRedisClient 2024-10-09 09:22:10 -04:00
Jon Chambers f7aacefc40 Manage device linking tokens transactionally 2024-10-07 16:26:11 -04:00
Jon Chambers 26503dffdf Use a consistent provisioning address 2024-10-01 13:34:37 -04:00
Jon Chambers 3e51366921 Narrow selection criterial for "notify idle devices with messages" experiment 2024-09-23 16:01:44 -04:00
Jon Chambers f09cc03164 Detect message delivery loops 2024-08-30 16:27:21 -04:00
Jon Chambers 659ac2c107 Generalize push notification scheduler and add support for delayed "new messages" notifications 2024-08-16 16:16:55 -04:00
Jon Chambers 3b405a53d0 Move "push notifications on close" logic to WebSocketConnection 2024-08-14 12:24:49 -04:00
Jon Chambers ecf7e60d98 Add an experiment for sending push notifications to idle devices that DO have pending messages 2024-08-07 16:41:19 -04:00
Jon Chambers 8c61d45206 Tune the "finish push notification experiment" command 2024-08-05 15:02:24 -04:00
Jon Chambers 045ec9689d Introduce a job scheduler and experiment for sending notifications to idle devices 2024-07-29 11:16:53 -04:00
Jon Chambers 4ebad2c473 Add a framework for running experiments to improve push notification reliability 2024-07-25 11:36:05 -04:00