Greyson Parrelli
6ecff5bce9
Ensure the storage manifest has all inserts and deletes.
...
A user hit a fishy case where not all inserts were present in the full
keyset. It's unclear how that would happen, so I'm being even more
explicit here.
2020-10-07 17:22:05 -04:00
Greyson Parrelli
a103c7dcb6
Apply storage service values for phone number privacy.
2020-10-07 17:22:05 -04:00
Greyson Parrelli
63746bbb47
Add support for syncing forced unread status.
2020-10-07 17:22:05 -04:00
Greyson Parrelli
e00397620a
Simplify storing storage-service-specific recipient values.
...
This gives us the ability to separate things we need for the Recipient
class from things we only need for storage syncing.
Not only does this simplify the storage service model building code
(i.e. we no longer need to pass around a set of archived recipients),
but it also eliminates a join on the Identity table for building regular
recipients, which should help perf.
2020-10-07 17:22:05 -04:00
Greyson Parrelli
d0dfcaaad5
Fix issue with storage key intersections.
...
- When doing the intersection, ignore keys that have type mismatches (same storageId, different types)
- If we detect that scenario, schedule a force push to happen afterwards
- Also schedule a force push afterwards if we detect that there's keys in the manifest that don't have any storage item on the service
2020-09-10 14:01:41 -04:00
Alan Evans
3cffaddc0a
Validate incoming Group lengths and remote delete entries if wrong.
...
Ignore incoming messages with bad V1 group lengths.
2020-09-10 14:39:29 -03:00
Alan Evans
43ed9e7310
Set discoverable account attribute.
2020-09-08 09:47:57 -04:00
Alan Evans
7b24e66ed3
Phone number privacy settings and certificate support behind feature flag.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
2cf9eb69eb
Add support for handling unknown protobuf fields.
2020-08-24 11:16:41 -03:00
Greyson Parrelli
ace1b8ee71
Update link preview settings and add some UI polish.
2020-08-14 15:54:05 -04:00
Greyson Parrelli
870cee5707
Remove uuidOnlyContacts feature flag.
2020-07-21 15:31:53 -04:00
Greyson Parrelli
5605fde777
Rename the UUID flag to be more explicit.
2020-07-08 16:51:30 -04:00
Greyson Parrelli
cd228c439e
Be more explicit with the ID we use for account updates.
2020-06-02 09:03:54 -04:00
Greyson Parrelli
f70e41e7cd
Don't allow account record updates to delete our profile key.
2020-06-01 17:43:05 -04:00
Greyson Parrelli
989b071a6d
Ignore contacts that don't have a phone number.
2020-06-01 17:43:05 -04:00
Greyson Parrelli
9d39db6428
Add additional account restore logging, prevent double avatar fetch.
2020-05-29 09:51:20 -04:00
Alan Evans
11d17f7496
GV2 storage service syncing.
2020-05-29 09:51:20 -04:00
Greyson Parrelli
11b6394a87
Fix issue with group storage IDs.
2020-04-28 10:38:58 -04:00
Greyson Parrelli
0ba1f66136
Use the same Recipient.self() instance in storage sync.
2020-04-27 13:05:22 -04:00
Greyson Parrelli
7562555687
Add additional storage sync validations.
2020-04-27 12:38:07 -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
6aac3baa55
Remove TextSecurePreferences.getProfileName()
2020-03-26 17:37:52 -04:00
Greyson Parrelli
951a61117a
Add storage support for the AccountRecord.
2020-03-26 17:37:51 -04:00
Greyson Parrelli
7a038ab09d
Add interim storage support for GroupV2Record.
2020-03-26 17:37:51 -04:00
Greyson Parrelli
5f7075d39a
Update and refactor storage service syncing.
...
Switched to proto3, updated protos, and generally refactored things to
make it easier to add new storage record types.
2020-03-26 17:37:51 -04:00