Greyson Parrelli
904cb01067
Use the BlobProvider in the contact and group sync jobs.
2020-06-30 11:17:29 -04:00
Alan Evans
5c0cb425a6
Only sync V1 groups with linked devices.
2020-06-30 10:17:42 -03:00
Cody Henthorne
31b995fa98
Retrieve profiles on mismatch to notify user of updates quicker.
2020-06-26 14:25:39 -03:00
Greyson Parrelli
87a59b6a9b
Add support for memory-only jobs.
2020-06-25 18:14:54 -04:00
Alan Evans
2001fa86cf
Log capabilities.
2020-06-25 18:14:54 -04:00
Greyson Parrelli
f8a0988e5f
Various JobManager performance improvements.
2020-06-25 08:29:48 -04:00
Greyson Parrelli
629ba105cb
Detect real age of call request by using server timestamps.
2020-06-17 17:53:18 -03:00
Greyson Parrelli
ce940235b0
Optimistically fetch profiles.
2020-06-16 19:30:35 -04:00
Fumiaki Yoshimatsu
93c390c4fc
Don't send a read receipt when the recipient is blocked.
...
Fixes #9610
2020-06-16 19:30:35 -04:00
Greyson Parrelli
3fad007ae0
Cancel typing jobs when you send a group message.
2020-06-12 10:06:20 -04:00
Greyson Parrelli
7642b7cc72
Fix issue with typing indicators in blocked groups.
2020-06-10 14:28:12 -04:00
Greyson Parrelli
2751fd7efc
Retrieve profiles in parallel.
2020-06-09 12:47:11 -04:00
Greyson Parrelli
8fe8a1e9ee
Put refresh and upload profile jobs in the same queue.
2020-06-07 19:59:42 -04:00
Greyson Parrelli
554bad6b8d
Improve DB access in group sends.
2020-06-06 20:25:02 -04:00
Greyson Parrelli
1234899ea1
Add support for non-blocking media sends.
2020-06-06 20:25:02 -04:00
Greyson Parrelli
ac93d81032
Remove pins4all feature flag.
2020-06-05 21:46:04 -04:00
Cody Henthorne
fb600e9829
Update SMS/MMS as sending when retrying failed send.
...
This was only impacting SMS/MMS as Push already reset the status.
2020-06-05 13:46:25 -04:00
Artem Varaksa
07d19f38e3
Fix typos in logging for remote delete.
2020-06-02 10:22:29 -03:00
Alan Evans
3fec23fd36
Show remaining time on wave form view and cache wave form in database.
2020-06-01 17:43:05 -04:00
Greyson Parrelli
79dbf85c1e
Improve local encrypted PIN storage.
2020-05-29 19:15:56 -04:00
Greyson Parrelli
ea8e13b1c8
Create a WebsocketDrainedConstraint.
2020-05-29 09:51:21 -04:00
Greyson Parrelli
f392229393
Extract MessageNotifier interface.
2020-05-29 09:51:21 -04:00
Greyson Parrelli
a299bafe89
Create a new system for fetching the intial batch of messages.
2020-05-29 09:51:21 -04:00
Greyson Parrelli
d4cdcbe54f
Improve logging around group sends.
2020-05-29 09:51:20 -04:00
Alan Evans
befb4939d5
Restore groups from storage service.
2020-05-29 09:51:20 -04:00
Alan Evans
289f7aba63
Add versioned profiles feature flag.
2020-05-29 09:51:20 -04:00
Greyson Parrelli
9d39db6428
Add additional account restore logging, prevent double avatar fetch.
2020-05-29 09:51:20 -04:00
Bastian Köcher
4712833853
Always convert HEIC images to JPEG.
...
This pr changes the behavior of sending HEIC images to always convert
them to JPEG. This conversion is required to support image inline
viewing accross different devices and operating systems. This follows
the same strategy as on IOS: https://github.com/signalapp/Signal-iOS/pull/2511
Fixes: https://github.com/signalapp/Signal-iOS/issues/4374 & https://github.com/signalapp/Signal-Android/issues/9395
2020-05-29 09:51:20 -04:00
Alan Evans
11d17f7496
GV2 storage service syncing.
2020-05-29 09:51:20 -04:00
Alan Evans
36df3f234f
Enable the Zk group library.
2020-05-29 09:51:20 -04:00
Greyson Parrelli
098b298646
Add a network constraint to RemoteConfigRefreshJob.
2020-05-29 09:51:20 -04:00
Alan Evans
2f9320989a
Server signed group v2 changes sent and received P2P.
2020-05-29 09:51:20 -04:00
Alex Hart
edbd4d2d03
Properly set profile key update flag.
2020-05-20 12:15:54 -03:00
Alan Evans
3b673c07a0
Support gv2 avatar removal.
2020-05-14 15:57:40 -03:00
Alan Evans
d726da822c
Add network constraint to GV2 messages.
2020-05-14 15:23:15 -03:00
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