Commit Graph

570 Commits

Author SHA1 Message Date
Greyson Parrelli f438ef543b Fix prekey generation during registration. 2023-07-10 23:05:36 -04:00
Nicholas Tinsley 8b8d62f598 Only close AttachmentCipher streams if using incremental MAC. 2023-06-30 11:06:51 -04:00
Greyson Parrelli fe20de2995 Improve logging around edit and sync messages. 2023-06-29 15:55:12 -04:00
Nicholas 34d252a4bd Add incremental digests to attachment sending. 2023-06-28 17:13:15 -04:00
Cody Henthorne c17d62aeab Update ktlint and gradle plugin. 2023-06-28 17:13:15 -04:00
Cody Henthorne 388f2971e9 Allow libsignal-service to build with JDK17. 2023-06-26 15:09:36 -04:00
Greyson Parrelli 14c3a36ec0 Improve logging for GV2 validation error. 2023-06-26 15:09:36 -04:00
Cody Henthorne 53673be5cb Update AGP to 8.0
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2023-06-26 15:09:36 -04:00
Nicholas 767cfbc717 Fix atomic registrations when not using session ID. 2023-06-16 15:38:16 -04:00
Nicholas d16002546d Create account in single network request. 2023-06-15 15:36:09 -04:00
Clark 186a93f5d1 Use separate PNI key distribution endpoint instead of change number. 2023-06-15 15:36:09 -04:00
Greyson Parrelli 38f2b39ac4 Add common interface over SVR implementations. 2023-06-15 15:36:08 -04:00
Nicholas 2c4c6bf87c Allow registration with landlines. 2023-06-07 14:46:01 -04:00
Cody Henthorne e303570b2f Update to libsignal 0.26.0 2023-06-06 12:47:16 -04:00
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