Greyson Parrelli
8a238a66e7
Do not flag SKDMs for group stories as stories.
2022-10-13 16:32:51 -04:00
Greyson Parrelli
437d6c7a52
Flag deletes and replies to group stories as stories.
2022-10-07 18:45:12 -04:00
Greyson Parrelli
5fb0956c16
Improve an registration error log.
2022-10-07 18:45:12 -04:00
Greyson Parrelli
a9f654a520
Disable okhttp automatic retries for CDSI.
2022-10-07 18:45:12 -04:00
AsamK
22e97457a3
Fix sending normal group messages when falling back to socket.
...
In the sendGroupMessage message the socket fallback for sending normal
group messages always set the story parameter to true.
This causes the message to be discarded by the receivers, because it has
a story envelope, but no story content
> Envelope was flagged as a story, but it did not have any story-related content! Dropping.
Issue was introduced in 3895578d51
Closes #12496
2022-10-06 16:38:16 -04:00
Greyson Parrelli
e3dff46136
Rotate AccountRecord.storiesDisabled
...
iOS had a bug and we need to try again.
2022-10-06 16:38:16 -04:00
Greyson Parrelli
14e8f5cf98
Fix sending group stories when you're the only group member.
2022-10-06 11:56:09 -04:00
Greyson Parrelli
9946da2cec
Fix crash when fetching messages.
2022-10-05 19:49:29 -04:00
Greyson Parrelli
3895578d51
Always use sealed sender when sending stories.
2022-10-05 18:15:10 -04:00
Greyson Parrelli
b3672273e8
Update BodyRange to use unsigned ints.
2022-10-04 17:32:57 -04:00
Greyson Parrelli
1999db97f2
Add support for system names on the ContactRecord.
2022-10-04 17:32:57 -04:00
Greyson Parrelli
04822bacdc
Use tryOnError in CdsiSocket.
2022-10-03 10:50:12 -04:00
Greyson Parrelli
7fef1b060f
Add proxy support for CDSv2.
2022-09-28 11:34:13 -04:00
Alex Hart
04eeb434c9
Add ability to hide contacts behind a feature flag.
2022-09-28 11:34:12 -04:00
Alex Hart
c47a724654
Add support for new group story display states.
2022-09-28 11:33:35 -04:00
Varsha
e676f324f1
Add new handling to encourage the user to save their wallet recovery phrase.
...
This only effects those who have opted in to payments and have a non-zero balance.
2022-09-28 11:33:35 -04:00
Alex Hart
9dd96148d1
Add story boolean to envelope proto.
2022-09-28 11:33:35 -04:00
Greyson Parrelli
115d1fcf63
Improve handling of unregistered users in storage service.
2022-09-28 11:33:31 -04:00
Alex Hart
a340ebf74a
Add espresso test for usernames.
2022-09-14 15:30:43 -04:00
Alex Hart
4882a4d11c
Add new story-based AccountRecord fields and wiring.
2022-09-13 13:07:42 -04:00
Cody Henthorne
beee3b7dc3
Add PNP linked device initialization job.
...
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2022-09-13 13:07:42 -04:00
Alex Hart
9b9453734c
Implement new API endpoints for Usernames.
2022-09-13 13:07:42 -04:00
Cody Henthorne
ca0e52e141
Fix bug with stale linked devices when changing number.
2022-09-13 13:07:42 -04:00
Alex Hart
f751f9afa8
Add support for new story gradient fields and fallback.
2022-09-13 13:07:42 -04:00
Greyson Parrelli
658741be52
Fix token mismatch issues when using CDSv2.
2022-09-07 14:25:03 -04:00
Greyson Parrelli
2eba9a8d72
Add support for doing normal CDS queries on CDSv2.
2022-08-31 15:58:41 -04:00
Greyson Parrelli
a1a677a3e2
Apply network interceptors to CDSv2 websocket client.
2022-08-31 15:58:41 -04:00
Greyson Parrelli
61498037f3
Add support for PniSignatureMessages.
2022-08-24 18:16:42 -04:00
Cody Henthorne
f0a109245b
Only fallback to unidentified socket when a auth error occurs.
...
Fixes #12395
2022-08-24 17:09:01 -04:00
Cody Henthorne
8036aaa985
Reduce verbosity of phone number parse errors.
2022-08-24 17:09:01 -04:00
Greyson Parrelli
9c266e7995
Remove legacy fields from the Envelope.
2022-08-18 16:01:05 -04:00
Greyson Parrelli
15e52a8b88
Add ability to do unused reads from CDSv2 to test server load.
2022-08-18 16:01:05 -04:00
Greyson Parrelli
95fc9d6c3c
Add support for PNIs in storage service.
2022-08-18 16:01:05 -04:00
Cody Henthorne
3252871ed5
Replace prekey jobs with one overall sync job.
2022-08-18 16:01:05 -04:00
Greyson Parrelli
62871c1bdd
Update keepalive interval to ping every 30sec.
2022-08-18 09:27:20 -03:00
Greyson Parrelli
c6be427883
Add support for resending badly-encrypted stories.
2022-08-18 09:27:20 -03:00
Cody Henthorne
36f1183d6c
Update libsignal-client for CDSv2.
2022-08-10 11:06:21 -04:00
Greyson Parrelli
733b4ff805
Give story sends an IMPLICIT content hint.
2022-08-09 16:23:44 -04:00
Cody Henthorne
83b97d274f
Add support for PNI registration ids and PNP change number.
2022-08-09 16:23:44 -04:00
Greyson Parrelli
eac9f78dfa
Fix issues around all-zero UUIDs.
2022-08-05 18:03:19 -04:00
Greyson Parrelli
4b6ff55779
Fix crash around unknown storage enums.
2022-08-05 13:59:54 -04:00
Cody Henthorne
dc04c8ed98
Add urgency flag to message sends.
2022-08-02 14:36:30 -04:00
Greyson Parrelli
92201dcd90
Properly set the isRecipientUpdate flag on story sends.
2022-08-02 14:36:30 -04:00
Greyson Parrelli
9cd1971329
Fix issue where conversations started on linked devices didn't show a phone number.
2022-08-02 14:36:30 -04:00
Greyson Parrelli
df3399bde5
Remove processing of inbound GV1 messages.
2022-08-02 14:36:29 -04:00
Alex Hart
f50bf3e9c2
Remove blocking get from donation jobs.
2022-08-02 14:36:29 -04:00
Cody Henthorne
a7a5f2e8c6
Add batch identity checks to stories and share/forward flows.
2022-07-27 13:26:28 -04:00
Alex Hart
b18542a839
Ensure images sent to stories respect media quality settings.
...
Stories should always use "Standard" quality, not L3 (high quality). This change ensures that we:
1. Always send stories at the appropriate quality
2. Do not corrupt or overwrite pre-existing image attachments
3. Close several streams when done (thanks StrictMode!)
2022-07-21 13:18:19 -04:00
Cody Henthorne
c4bef8099f
Add GV2 accept by PNI invite.
2022-07-21 13:18:19 -04:00
Alex Hart
f9c0156757
Fix crash when outcomeReason is null.
2022-07-18 09:28:57 -03:00