Commit Graph

556 Commits

Author SHA1 Message Date
Nicholas Tinsley 291a5d57c4 Replace em dash in javadoc with ASCII-safe hyphen. 2023-06-06 12:47:16 -04:00
Greyson Parrelli b2b907a86a Add additional validation for group messages. 2023-06-06 12:47:15 -04:00
Greyson Parrelli 3e21fb77c7 Skip sends to users with prekey failures. 2023-06-06 12:47:15 -04:00
Greyson Parrelli 0aca03a919 Add kyber support for change number. 2023-06-06 12:47:15 -04:00
Greyson Parrelli e2ef8e2ef9 Add support for kyber prekeys. 2023-06-06 12:47:15 -04:00
Greyson Parrelli 15c248184f Add two-phase commit support for SVR2. 2023-06-06 12:47:15 -04:00
Clark 159c0d1104 Fix child transaction causing batch to be discarded. 2023-05-30 15:18:05 -04:00
Greyson Parrelli 3a5e5364c7 Remove support for legacy gv1 sync messages. 2023-05-24 12:05:23 -04:00
Alex Hart 5a38143987 Integrate call links create/update/read apis. 2023-05-24 11:29:58 -04:00
Greyson Parrelli bb8fdcabcb Update to libsignal 0.25.0 2023-05-24 11:29:58 -04:00
Greyson Parrelli 6cf4dbc78c Add pre-alpha support for SVR2. 2023-05-24 11:29:58 -04:00
Ehren Kret aaebf029db Remove unused capabilities. 2023-05-17 15:30:26 -04:00
Greyson Parrelli 6da36fe098 Deprecate the SyncMessage.pniIdentity field. 2023-05-17 15:29:31 -04:00
Greyson Parrelli acb6510312 Switch to libsignal for PIN hashing. 2023-05-17 15:29:30 -04:00
Greyson Parrelli 02431c6ef4 Refactor array creation to a function. 2023-05-15 13:21:57 -04:00
Greyson Parrelli 387f18be98 Avoid some 401 errors during story sends. 2023-05-11 16:54:57 -04:00
Greyson Parrelli c938035ec1 Improve error handling around unknown UUIDs. 2023-05-11 11:15:13 -04:00
Nicholas Tinsley eab932b4a0 Fix parsing for registration 502 errors. 2023-05-11 10:58:04 -04:00
Alex Hart e0c06615fb Upgrade to libsignal 0.23.1 2023-05-05 12:48:53 -03:00
Greyson Parrelli 78b530f8b8 Show toast to internal users for invalid messages. 2023-05-05 12:48:53 -03:00
Nicholas 841fbfa7ee Improve error handling for external failures during registration.
Addresses #10711 and #12927.
2023-05-05 12:48:53 -03:00
Clark 6af9835f74 Fix sync edit message group validation. 2023-05-02 12:41:33 -04:00
Clark 9cb8fc8ef5 Fix edit message when editing message sent to self. 2023-04-24 08:19:07 -07:00
Clark b3fef6c31e Stop dropping sync edit sent messages. 2023-04-20 15:41:50 -04:00
Clark 5ddd7cdb9e Add sync message support for edit message. 2023-04-20 13:50:12 -04:00
Clark 07f6baf7c1 Add message editing feature. 2023-04-20 13:50:12 -04:00
Greyson Parrelli d8ac5a390a Write to MSL before sending a sync message. 2023-04-05 16:40:23 -03:00
Greyson Parrelli e0be9b4ef5 Fix resend operation for sync messages.
We shouldn't be using sealed sender for any sync messages.
2023-04-05 16:40:23 -03:00
Alex Hart f9548dcffe Add support for group call disposition.
Co-authored-by: Cody Henthorne <cody@signal.org>
2023-04-05 16:40:23 -03:00
Cody Henthorne 2e45bd719a Add kotlin/proto level message processing. 2023-04-04 12:16:45 -03:00
Greyson Parrelli 8d6a4c2888 Fix SKDM processing. 2023-03-30 15:48:53 -04:00
Clark d6a9ed1a8d Add setting for requesting user account data. 2023-03-24 15:49:26 -04:00
Greyson Parrelli db1853f775 Fix timestamp logs on call messages. 2023-03-23 18:58:49 -04:00
Greyson Parrelli 76984ab042 Improve logging around message sending.
There were some message types where we didn't log the timestamp.
The timestamp is important for debugging issues (let's us locate an
error more precisely in the logs).
2023-03-23 18:08:39 -04:00
Greyson Parrelli c6861f1778 Add support for the ManifestRecord.sourceDevice field. 2023-03-22 14:28:09 -04:00
Nicholas 66cb2a04c3 Rename properties of AccountAttributes. 2023-03-20 17:39:09 -04:00
Greyson Parrelli 894095414a Perform message decryptions in batches. 2023-03-20 17:39:09 -04:00
Nicholas Tinsley c01d542ec2 Better handling of push timeouts during registration. 2023-03-15 17:34:40 -04:00
Nicholas 9087f427a5 If push challenge times out, don't try again. 2023-03-13 09:50:54 -04:00
Nicholas Tinsley 6fb3167157 Don't reset session on return from captcha. 2023-03-10 13:49:04 -05:00
Cody Henthorne f1c2ee9b32 Stabilize message processing tests and add inline decryption timings. 2023-03-08 15:06:50 -04:00
Greyson Parrelli 1b2cb2637f Perform decryptions inline. 2023-03-08 15:06:50 -04:00
Cody Henthorne c0aff46e31 Add message processing performance test. 2023-03-04 10:52:21 -05:00
Greyson Parrelli ec2565263e Initial refactor of the message decryption flow. 2023-03-04 10:52:21 -05:00
Greyson Parrelli f91c400f6c Convert build-logic build.gradle to kotlin. 2023-03-04 10:51:41 -05:00
Nicholas d1d73fef30 Support multiple sequential captcha challenges. 2023-03-03 09:51:27 -05:00
Nicholas e4d4a5d9e0 Adapt change number flow to use V2 API. 2023-02-23 19:56:32 -05:00
Chris Eager ae3ff21689 Update spam reporting token JSON field name. 2023-02-23 16:27:14 -05:00
Cody Henthorne 1cffd88af2 Fix crashes during skip SMS flow. 2023-02-23 12:24:39 -05:00
Cody Henthorne 01351125f1 Fix reporting token data bug. 2023-02-23 08:08:21 -05:00