Alan Evans
4de86cb6cf
Prevent ZkGroup link crashes.
2020-05-14 11:22:28 -03:00
Alan Evans
b8df90531f
GV2 message contexts.
2020-05-14 11:22:28 -03:00
Greyson Parrelli
f099c3591c
Run PushProcessMessageJobs in parallel.
2020-05-14 11:22:28 -03:00
Alan Evans
eff564ad88
Adapt message requests to support invite flow.
2020-05-14 11:22:28 -03:00
Alex Hart
26e582d806
Integrate RingRTC v2.0.1
2020-05-14 11:22:28 -03:00
Alan Evans
9ac1897880
Job changes for GroupsV2 message receive and profile key updates.
2020-05-14 11:22:28 -03:00
Alan Evans
b800477365
GV2 leave and eject operations.
2020-05-14 11:22:28 -03:00
Greyson Parrelli
b156e4a79a
Always use the UD cert with a UUID.
2020-05-14 11:22:28 -03:00
Alan Evans
30ac264cd3
Rename Group update message classes.
2020-05-14 11:22:28 -03:00
Alan Evans
48a693793f
GV2 Group Manager.
2020-05-14 11:22:28 -03:00
Greyson Parrelli
310ec8f296
Remove CellServiceConstraint in favor of NetworkOrCellServiceConstraint.
...
If a job was enqueued with a CellServiceConstraint (which is currently
only SMS jobs), then it'll never run until it gets service, even if you
flip the "enable SMS sending over wifi" toggle.
This has created bad situations in the past, where SMS jobs just get
stuck on devices that never report having cell service (like VM's or
wifi only devices).
This fixes it by *always* using NetworkOrCellServiceConstraint, and then
deciding whether a constraint is met by checking the "wifi SMS" setting
at decision-time.
2020-05-13 16:18:18 -04:00
Greyson Parrelli
f149005026
Add support for remote config v1.1
2020-05-13 16:18:18 -04:00
Alex Hart
d5419ec9fa
Implement new call screen UI/UX.
2020-05-13 16:18:18 -04:00
Greyson Parrelli
a83ccc18bb
Fix processing of early messages.
...
1. Eliminated any possibility of infinite recursion.
2. Handle the fact that you can have multiple 'early contents' for a
single message.
2020-05-09 13:16:45 -04:00
Greyson Parrelli
9d35fb397b
Fix issue with re-using forwarded attachment pointers.
...
We were deleting upload data for incoming attachments when we shouldn't
have.
Fixes #9570
2020-04-30 16:36:06 -04:00
Greyson Parrelli
0ba1f66136
Use the same Recipient.self() instance in storage sync.
2020-04-27 13:05:22 -04:00
Greyson Parrelli
575caa53d3
Fix some storage service consistency issues.
2020-04-24 19:14:08 -04:00
Greyson Parrelli
33874a8866
Fix attachment upload bug.
2020-04-24 09:24:43 -04:00
Greyson Parrelli
b8e909a134
Revert to preferring system photos over profile photos.
2020-04-24 08:45:58 -04:00
Greyson Parrelli
5193a5d309
Prevent some crash loops.
2020-04-23 22:25:56 -04:00
Greyson Parrelli
eedbcdd564
Fix issue with group storage sync.
2020-04-23 13:33:59 -04:00
Greyson Parrelli
0ca2848e01
Improve logging for storage service.
2020-04-23 12:03:31 -04:00
Greyson Parrelli
7734cd2c8f
Clean up some corner cases in storage syncing.
2020-04-22 14:18:28 -04:00
Greyson Parrelli
fd21fc1a31
Fix some UX issues with blocked users.
2020-04-22 14:18:28 -04:00
Greyson Parrelli
1b5a0ab9f3
Sync the profile photo to linked devices when appropriate.
2020-04-22 10:34:43 -04:00
Alan Evans
b80d460a8f
Account for deleted conversations in profile key send job.
2020-04-21 16:09:30 -04:00
Alan Evans
53b681ef67
Make reaction and remote delete jobs GV2 ready.
2020-04-21 16:09:30 -04:00
Alan Evans
9a8094cb8a
Guard against malformed group ids.
2020-04-21 16:09:30 -04:00
Greyson Parrelli
83f6640bd3
Add a more generic system for handling early messages.
2020-04-21 16:09:30 -04:00
Alex Hart
2afb939ee6
Implement send support for resumable uploads behind a flag.
2020-04-21 16:09:30 -04:00
Alex Hart
6d6e017c71
Proactively share profile key after accepting a message request.
2020-04-21 16:09:30 -04:00
Greyson Parrelli
6ecd3b59fd
Add pre-alpha receive support for remote delete.
2020-04-21 16:09:13 -04:00
Ehren Kret
456bcf3d57
Require CDN number match rather than use default CDN
...
This marks messages as failed if the CDN number does not match a
configured CDN number rather than falling back to the default CDN in
the event the CDN is not recognized.
2020-04-21 13:33:41 -04:00
Greyson Parrelli
f12a9b9ac7
Store the server timestamp for a message.
2020-04-21 13:33:41 -04:00
Greyson Parrelli
35f4f3f81e
Add support for passing data between jobs.
2020-04-21 13:33:41 -04:00
Greyson Parrelli
acbfff89d3
Update registration to allow PIN entry.
2020-04-21 13:33:41 -04:00
Greyson Parrelli
a471ffa6d8
Fix UD indicators for sent transcripts.
2020-04-21 13:33:41 -04:00
Alan Evans
78055e3ccb
GroupsV2 update sending and local context storage.
2020-04-21 13:33:41 -04:00
Alan Evans
f5e6fd6340
Allow RetrieveProfileJob to be used for self.
2020-04-21 13:33:33 -04:00
Alan Evans
c6dd25a119
Ensure group membership for typing indicators.
2020-04-21 13:33:33 -04:00
Alan Evans
2b1ffac564
Groups V2 avatar download job.
2020-04-21 13:33:33 -04:00
Greyson Parrelli
8e13403cca
Separate PINs from Registration Lock.
...
You can now have a PIN without having registration lock.
Note: We still need to change the registration flow to allow non-reglock
users to enter their PIN.
2020-04-21 13:33:33 -04:00
Ehren Kret
37a35e8f70
Add initial support for send/receive on CDN2.
2020-04-21 13:33:29 -04:00
Greyson Parrelli
d6000af843
Re-use recently-acquired attachment pointers.
2020-04-03 12:19:12 -04:00
Greyson Parrelli
f859c5b1b5
Prevent conscrypt crash during profile retrieval.
...
This was a mitigation that was previously in place that was forgotten
during the recent avatar refactor.
2020-03-29 18:53:30 -04:00
Alan Evans
9e6cca1cd0
GV2 database.
2020-03-27 16:30:36 -04:00
Alan Evans
640c82d517
GV2 group context proto.
2020-03-27 16:30:36 -04:00
Greyson Parrelli
20d1a93b09
Don't refresh own profile if not registered.
2020-03-27 16:30:36 -04:00
Alan Evans
66c7f8bcb2
GroupId for GV2.
2020-03-27 11:28:48 -03:00
Greyson Parrelli
10bfc8a753
Migrate avatars and group avatars.
2020-03-26 22:38:33 -04:00