Commit Graph

172 Commits

Author SHA1 Message Date
Matthew Chen
dd279beb5c Clean up censorship circumvention. 2020-08-20 15:40:34 -03:00
Matthew Chen
c846da367c Refine error retry handling. 2020-08-13 10:32:40 -03:00
Matthew Chen
eb6f43cf07 Rework maxGroupsV2MemberCount remote config flag. 2020-08-10 19:46:23 -03:00
Matthew Chen
279216bc29 Respond to CR. 2020-08-07 17:14:07 -03:00
Matthew Chen
01076ac699 Cache gv2 decryption. 2020-08-07 17:04:08 -03:00
Matthew Chen
fbfc20f81a Cache gv2 decryption. 2020-08-07 17:04:08 -03:00
Michelle Linington
a660a81d0f IOS-668: Reorganize how ContactsUpdater interacts with CDS operations
- Removes ContactsUpdater singleton. It wasn't really tracking much
  state anyway
- Introduces ContactDiscoveryTask. This creates a
  ContactDiscoveryOperation (modern or legacy) and updates the
  SignalRecipients database on completion. Returns a promise.
- Begin migrating away from operation queues

PromiseKit is weird about priority propogation, so this shouldn't be
used yet. Since all then closures are asynced, priorities don't
propogate down to underlying queues. This means the a
ContactDiscoveryTask on the main queue will not boost the priority on
the ModernContactDiscoverOperation's owned operation queue
2020-08-06 12:55:32 -07:00
Matthew Chen
2c2d39676d Clean up ahead of PR. 2020-08-06 11:23:16 -03:00
Matthew Chen
3255fc3dfe Add pending members. 2020-08-06 11:23:16 -03:00
Matthew Chen
a06b07ffa1 Resumable attachment download. 2020-08-01 12:18:13 -03:00
Matthew Chen
2d3b6f9018 Implement attachment upload v3. 2020-08-01 12:06:58 -03:00
Matthew Chen
bed4090c9e Implement attachment upload v3. 2020-08-01 12:06:55 -03:00
Matthew Chen
786270bc82 Tweak group changes for robustness. 2020-07-31 16:37:07 -03:00
Matthew Chen
4ba73eadf3 Add logging around gv2 profile key updates. 2020-07-27 09:37:55 -03:00
Matthew Chen
2b1a20755a Add logging around gv2 profile key updates. 2020-07-27 09:37:55 -03:00
Matthew Chen
520075a828 Add logging around gv2 profile key updates. 2020-07-27 09:37:55 -03:00
Matthew Chen
07e07b4170 Tweak the "apply group change" logic. 2020-07-24 17:49:46 -03:00
Matthew Chen
30740b5d80 Clean up ahead of CR. 2020-07-24 17:31:17 -03:00
Matthew Chen
1c8c0b7d5b Only auto-whitelist new groups if we were just added by a member who is in our system contacts or profile whitelist. 2020-07-24 17:31:17 -03:00
Matthew Chen
e4a00f5584 Rework message requests for v2 groups. 2020-07-24 17:31:17 -03:00
Nora Trapp
c5214e38b6 Add Codable adherance to proto wrappers 2020-07-22 14:34:24 -07:00
Matthew Chen
d0a674be65 Fix overzealous assert around changes from pending members. 2020-07-22 13:46:21 -03:00
Matthew Chen
9db8e72d52 Re-apply current revision when updating v2 groups in some cases. 2020-07-22 13:05:38 -03:00
Matthew Chen
269309de01 Add remote config for modern CDS and groups v2. 2020-07-22 13:04:33 -03:00
Matthew Chen
f3d1712274 Handle invalid groups v2 invites. 2020-07-10 11:23:15 -03:00
Matthew Chen
5e76936937 Handle invalid groups v2 invites. 2020-07-10 11:23:15 -03:00
Matthew Chen
b4554cc4d0 Handle invalid groups v2 invites. 2020-07-10 11:23:15 -03:00
Matthew Chen
bd2ef77383 Slight tweak to the group v2 change rigidity. 2020-07-10 11:22:23 -03:00
Matthew Chen
fc82a11ccf Clean up naming around profile fetches. 2020-07-08 11:04:01 -03:00
Matthew Chen
1f98b12373 Strict or "rigid" application of v2 group changes. 2020-07-06 14:27:41 -03:00
Matthew Chen
ba091bccad Strict or "rigid" application of v2 group changes. 2020-07-06 14:27:40 -03:00
Matthew Chen
5e302d6c44 Refine uuid ciphertext decryption. 2020-07-01 16:54:28 -03:00
Matthew Chen
1ec156eed2 Add comments around gv2 userId decryption. 2020-07-01 16:54:28 -03:00
Matthew Chen
7f9d8852ce Revert "More cautious parsing of groups v2 protos."
This reverts commit 73d5a57295f9ba501238a8373007d42184a06639.
2020-07-01 16:54:28 -03:00
Matthew Chen
1b171b0b42 More cautious parsing of groups v2 protos. 2020-07-01 16:54:28 -03:00
Matthew Chen
f6d5342765 Merge remote-tracking branch 'private/release/3.12.1' 2020-06-25 20:00:08 -03:00
Matthew Chen
a65eacd256 Add remote config flags around versioned profiles. 2020-06-25 19:07:39 -03:00
Matthew Chen
217753c1e9 Add remote config flags around versioned profiles. 2020-06-25 19:07:39 -03:00
Matthew Chen
43f568cb9f Merge remote-tracking branch 'private/release/3.12.0' 2020-06-24 15:06:49 -03:00
Matthew Chen
09c0040be7 Enable versioned profiles in production. 2020-06-24 10:40:44 -03:00
Matthew Chen
d641b089ef Ensure 'group update' info messages reflect change proto gaps. 2020-06-23 10:27:06 -03:00
Matthew Chen
f9c32ba69e Improve usage of gv2 feature flags. 2020-06-18 09:23:03 -03:00
Matthew Chen
47e5fd48be Add gv2 downgrade checks. 2020-06-11 17:37:23 -07:00
Nora Trapp
dc184f5a93 Merge branch 'release/3.9.0' 2020-05-26 22:08:17 -07:00
Matthew Chen
870d1047c4 Minor improvements to groups v2. 2020-05-26 19:23:50 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Matthew Chen
8838256a0f Refine handling of group changes. 2020-05-19 15:49:36 -03:00
Matthew Chen
a6fca0a7c9 Refine handling of group changes. 2020-05-19 15:49:36 -03:00
Matthew Chen
366b5a7368 Refine handling of group changes. 2020-05-19 15:49:36 -03:00
Matthew Chen
e7bff3cc2e Refine group change processing. 2020-05-19 15:49:36 -03:00