100 Commits
Author SHA1 Message Date
Jon Chambers 7ec705e616 Update to the latest version of the spam filter 2026-11-19 11:26:32 -05:00
Jon Chambers 5de899da4b Fix a trivial typo in a comment 2026-11-18 15:38:08 -05:00
Jon Chambers cbfc2720d5 Reset "reads since message last acknowledged" counter when acknowledging messages 2026-11-18 15:38:08 -05:00
Jon Chambers 0100901667 Increment a counter when reading the first message from a stream 2026-11-18 15:38:08 -05:00
Jon Chambers 2f955582a4 Update AWS SDK to 2.59.1 2026-11-18 15:12:12 -05:00
Jon Chambers 31bb5ff621 Update libsignal-server to 0.108.0 2026-11-18 15:12:12 -05:00
Jon Chambers 3f1b678095 Retire AppAttestAssertionConverter 2026-11-18 14:19:56 -05:00
Jon Chambers ffb821e344 Remove special-case handling for old-format Benin phone numbers 2026-11-18 14:19:56 -05:00
Jon Chambers d9bf32dd9c Remove jackson-databind dependency convergence sentinel 2026-11-18 14:19:56 -05:00
Jon Chambers 8d426b788d Simplify process for getting distinct databases for an account 2026-11-10 13:51:06 -08:00
Jon Chambers a57dd64196 Expect a collection of distinct databases when constructing a FoundationDbMessageStream 2026-11-10 13:51:06 -08:00
Jon Chambers 451bbf1da9 Replace .flatMap with .then to avoid a no-op on empty Mono 2026-11-10 13:49:25 -08:00
Jon Chambers f8e22ae674 Enforce attachment upload rate limits 2026-11-04 14:22:09 -06:00
Jon Chambers ce75147186 Add a dynamic configuration switch to send "you still have messages" notifications immediately 2026-10-30 16:18:47 -04:00
Jon Chambers 9049a63038 Remove an obsolete UseCompactObjectHeaders flag (it's on by default in Java 27) 2026-10-30 14:38:03 -04:00
Jon Chambers d083eb0939 Make notification delay dynamically configurable 2026-10-30 14:20:19 -04:00
Jon Chambers 129cb9e765 Add an exception type dimension to the "send failures" counter 2026-10-30 14:19:21 -04:00
Jon Chambers 5ed6c58c6b Update to the latest version of the spam filter 2026-10-30 14:10:06 -04:00
Jon Chambers ecd881a280 Revert "Retire delayed push notifications"
This reverts commit 8e37334d2a.
2026-10-29 16:38:31 -04:00
Jon Chambers 8e37334d2a Retire delayed push notifications 2026-10-28 14:51:51 -04:00
Jon Chambers 0e4ac57482 Use a newer version of Byte Buddy than we'd get from Dropwizard 2026-10-28 14:44:03 -04:00
Jon Chambers 7df37fd815 Update to Java 27 2026-10-28 14:44:03 -04:00
Jon Chambers ad31cff2a4 Don't delete messages from DynamoDB if we know the DynamoDB queue is empty 2026-10-22 09:44:39 -04:00
Jon Chambers 4c940f2a39 Always write messages exclusively to FoundationDB (retire experiment and make permanent) 2026-10-21 16:15:56 -04:00
Jon Chambers 1c4933e23c Avoid concurrent modifications when notifying disconnection request listeners 2026-10-21 16:14:45 -04:00
Jon Chambers f9b490c24f Log cases where a watch is set before the previous one is resolved 2026-10-19 15:04:31 -05:00
Jon Chambers 78ec09cc25 Read from the messages subspace when getting earliest message timestamps 2026-10-19 14:11:45 -04:00
Jon Chambers 4090b1fb4a Don't close connections on keepalive if the client is enrolled in the "read live messages from FoundationDB" experiment 2026-10-15 10:36:10 -04:00
Jon Chambers 9333174b58 Remove unused elements from ClearExpiredFoundationDbMessagesCommand 2026-10-14 11:26:13 -04:00
Jon Chambers ff642c1ae5 Retire an old metric tag for debugging desktop clients 2026-10-13 13:37:12 -04:00
Jon Chambers 92fdac8d76 Enforce rate limits when sending multi-recipient stories via gRPC 2026-10-07 14:50:31 -05:00
Jon Chambers 3bac6e5fd3 Add a (failing!) test for rate-limiting multi-recipient story sends via gRPC 2026-10-07 14:50:31 -05:00
Jon Chambers 11741a5048 Calculate total content length as a long 2026-10-07 14:46:47 -05:00
Jon Chambers 669e955cd2 Update to the latest version of the spam filter 2026-10-02 13:11:44 -04:00
Jon Chambers 54807b22a3 Limit APNs/FCM token sizes 2026-09-30 16:21:28 -04:00
Jon Chambers 740116e1fd Don't insert shared MRM payloads for unresolved recipients 2026-09-25 10:48:59 -04:00
Jon Chambers 26426dda7f Shorten TTL for shared MRM payloads 2026-09-23 13:29:41 -05:00
Jon Chambers 4289d454f3 Resolve ExtensionContext.Store.CloseableResource deprecation warnings 2026-09-22 14:18:19 -04:00
Jon Chambers 2df897ab0b Clear FoundationDB databases before each test 2026-09-22 14:18:19 -04:00
Jon Chambers 361b982357 Use FoundationDB as the source of presence when reading "live" messages from FoundationDB 2026-09-21 12:06:45 -04:00
Jon Chambers 9e3d10a6e8 Add bulkheads to FaultTolerantDatabase 2026-09-21 12:04:39 -04:00
Jon Chambers ca34692cbb Retire the verificationCodePushNotification experiment (now permanently on) 2026-09-21 12:02:16 -04:00
Jon Chambers c09aab080f Rename the "answer challenge" method and normalize "not permitted" responses 2026-09-16 10:27:38 -04:00
Jon Chambers 580960d958 Add a gRPC endpoint for requesting push challenges 2026-09-16 10:27:38 -04:00
Jon Chambers 09b5289d83 Add a gRPC endpoint for reporting spam 2026-09-16 10:16:40 -04:00
Jon Chambers f66bd0858d Introduce ReportMessageHelper 2026-09-16 10:16:40 -04:00
Jon Chambers ce8cc80f66 Retire unused "report spam via e164" pathway 2026-09-16 10:16:40 -04:00
Jon Chambers f55c3c22fe Clarify naming and reduce duplication in CredentialsGrpcService 2026-09-16 09:20:48 -04:00
Jon Chambers 2ee739dbe1 Add a dynamic configuration flag to fail open in the event of upstream captcha errors 2026-09-14 10:35:04 -04:00
Jon Chambers a15b70476d Add a gauge for concurrent FoundationDB transactions 2026-09-14 10:34:58 -04:00
Jon Chambers 52b32ce2d4 Add a slightly more descriptive error message if something goes wrong starting FoundationDB 2026-09-10 10:42:13 -07:00
Jon Chambers 53bd7a5587 Update to Java 26 2026-09-09 11:21:20 -04:00
Jon Chambers c1d8ca3c14 Update to the latest version of the spam filter 2026-09-08 10:34:02 -04:00
Jon Chambers 77e3675fc9 Add a command to map alternate forms of existing Gambian phone numbers to the same PNI 2026-09-02 16:55:49 -04:00
Jon Chambers 2f712b3f93 Add an alternate number form generator for Gambia 2026-09-02 16:55:49 -04:00
Jon Chambers 9b5ad238cf Introduce the AlternatePhoneNumberFormGenerator interface 2026-09-02 16:55:49 -04:00
Jon Chambers 32fc76fd47 Install gpg with sudo for integration tests 2026-09-01 17:02:56 -04:00
Jon Chambers b3506b186d Install gpg before running setup-java 2026-08-31 16:58:10 -04:00
Jon Chambers d1ec5d7d9c More explicitly link TOTP key length with the TOTP HMAC algorithm 2026-08-27 17:35:05 -04:00
Jon Chambers eb0ffb0c4d Preserve TOTP keys when reclaiming accounts 2026-08-26 16:01:00 -04:00
Jon Chambers 31b34ed06f Add a missing @Test annotation 2026-08-26 15:58:13 -04:00
Jon Chambers b247fc24c1 Use a TOTP algorithm supported by a wider range of authenticator apps 2026-08-26 15:57:41 -04:00
Jon Chambers c612bd4b73 Use single bytes to represent TOTP key IDs and limit key IDs to [0, 127] 2026-08-25 11:27:38 -04:00
Jon Chambers 4157cadf44 Correct type for TOTP key IDs 2026-08-25 11:27:38 -04:00
Jon Chambers 2b3a6e1aa5 Add gRPC endpoints for working with TOTP keys 2026-08-20 11:35:48 -04:00
Jon Chambers 2f482f68f7 Accept an Optional number in AccountsTest#verifyStoredState 2026-08-18 13:14:01 -04:00
Jon Chambers 0786627bef Use more appropriate exception types when catching accounts without phone numbers 2026-08-18 13:14:01 -04:00
Jon Chambers bc7cd0cc95 Update to the latest version of the spam filter 2026-08-18 12:23:35 -04:00
Jon Chambers 8ba7da0568 Move responsibility for copying badges on account reclamation to AccountsManager 2026-08-12 09:37:30 -04:00
Jon Chambers 647b25b87c Set phone number recovery password transactionally when creating accounts 2026-08-12 09:11:43 -04:00
Jon Chambers 7d39f2952b Update AccountControllerTest for accounts that may not have phone numbers 2026-08-12 09:09:29 -04:00
Jon Chambers edce40958b Update to the latest version of the spam filter 2026-08-11 12:13:34 -04:00
Jon Chambers 4d431fbdbf Update AccountsManagerChangeNumberIntegrationTest for accounts that may not have phone numbers 2026-08-11 12:11:41 -04:00
Jon Chambers e36e740bc0 Update AccountTest for cases where accounts may not have phone numbers 2026-08-11 09:08:13 -07:00
Jon Chambers 2d705a23f5 Update number discoverability tests/behavior for accounts without numbers in AccountControllerV2 2026-08-11 08:44:21 -07:00
Jon Chambers 5eb1a76e99 Update AccountIdentityResponseBuilderTest for accounts that may not have phone numbers 2026-08-11 09:16:46 -04:00
Jon Chambers 132c9531e1 Update account gRPC tests for accounts that may not have phone numbers 2026-08-11 09:16:46 -04:00
Jon Chambers a86cd5dcf5 Update AccountChangeValidator and tests for accounts that may not have phone numbers 2026-08-11 09:14:43 -04:00
Jon Chambers d69a5f1f33 Actually use the deviceId parameter in AccountsGrpcServiceTest#clearRegistrationLock 2026-08-11 09:11:50 -04:00
Jon Chambers 101fa4010d Avoid duplicate alternate forms of Benin phone numbers 2026-08-11 09:10:28 -04:00
Jon Chambers fba6037e3a Add a (failing!) test for Benin numbers that have ten-digit national significant numbers 2026-08-11 09:10:28 -04:00
Jon Chambers 5f465a9f32 Replace trivial update with a ConditionCheck for recovery password migration 2026-08-07 14:36:33 -04:00
Jon Chambers 4e329ae48f Fix inverted argument order for account recovery passwords 2026-08-07 14:36:22 -04:00
Jon Chambers 2dd46b3b85 Add temporary plumbing and a command to migrate account recovery passwords 2026-08-05 15:10:19 -04:00
Jon Chambers 57c3fe949e Update to the latest version of the spam filter 2026-08-05 15:07:58 -04:00
Jon Chambers 453222ba17 Set/remove account recovery passwords alongside phone number recovery passwords 2026-08-05 14:50:00 -04:00
Jon Chambers c64aeec36a Add a public "update account with additional write items" method 2026-08-05 14:50:00 -04:00
Jon Chambers 8cbc8b0ce6 Add accountRecoveryPassword to accounts 2026-08-05 14:50:00 -04:00
Jon Chambers f4f2ffff21 Reframe "registration recovery passwords" as "phone number recovery passwords" 2026-08-05 14:50:00 -04:00
Jon Chambers 8c86e2e5ef Update to the latest version of the spam filter 2026-08-03 10:35:56 -04:00
Jon Chambers e60daa75a8 Don't assume presence of phone numbers for spam reports 2026-08-03 09:39:44 -04:00
Jon Chambers fc44fb1235 Fix a comparison between incompatible types 2026-07-29 17:09:16 -04:00
Jon Chambers 20dc6390b9 Don't set phone number identity keys in tests unless a phone number is also present 2026-07-29 15:06:37 -04:00
Jon Chambers 262f7de742 Update to the latest version of the spam filter 2026-07-29 14:46:40 -04:00
Jon Chambers fad055aa44 Reject attempts to change phone numbers if the account doesn't have a number in the first place 2026-07-29 14:44:58 -04:00
Jon Chambers 9426d0bd9e Revert "Reject attempts to change phone numbers if the account doesn't have a number in the first place"
This reverts commit 87cdc6f84a8323c4dce6a85e3f8337cf8e1d94cd.
2026-07-29 14:44:58 -04:00
Jon Chambers e1d2b3aac7 Reject attempts to change phone numbers if the account doesn't have a number in the first place 2026-07-29 14:44:58 -04:00
Jon Chambers 8fc63dd4d6 Don't generate "includes e164" delivery certificates for accounts without phone numbers 2026-07-29 14:42:04 -04:00
Jon Chambers ac4d61978b Don't assume presence of phone numbers when generating account identity responses 2026-07-29 14:41:26 -04:00
Jon Chambers 79935ea22a Don't assume presence of phone numbers in integration tests 2026-07-29 14:41:26 -04:00