Commit Graph

195 Commits

Author SHA1 Message Date
Matthew Chen
7b47f79e96 Refine group invite link UI. 2020-09-04 08:45:06 -03:00
Matthew Chen
2b70538665 Handle expired group invite links. 2020-09-03 18:33:43 -03:00
Matthew Chen
f60abee695 Rework the 'pending member requests and invites' view. 2020-09-03 18:33:07 -03:00
Matthew Chen
cdd27f7c27 Rework the 'pending member requests and invites' view. 2020-09-03 18:33:07 -03:00
Matthew Chen
516fefb1c0 Rework the 'pending member requests and invites' view. 2020-09-03 18:33:07 -03:00
Matthew Chen
3c5f9982c7 Rework the 'pending member requests and invites' view. 2020-09-03 18:33:07 -03:00
Nora Trapp
1307d7bfd9 Merge branch 'release/3.16.0' 2020-09-02 17:00:36 -07:00
Matthew Chen
3b814d0130 Fix broken tests. 2020-09-02 16:31:42 -03:00
Nora Trapp
b877bb2506 Notify when the local user is added/invited to a group 2020-09-02 11:31:37 -07:00
Matthew Chen
d8bcb0d4de Update "group update" info messages to reflect group links. 2020-09-01 18:09:39 -03:00
Matthew Chen
12323ed1e0 Update "group update" info messages to reflect group links. 2020-09-01 18:09:39 -03:00
Matthew Chen
c37bd496f1 Update "group update" info messages to reflect group links. 2020-09-01 18:06:48 -03:00
Matthew Chen
c79346ba47 Fix 'join group via invite link that requires approval' issue. 2020-09-01 18:06:48 -03:00
Matthew Chen
97aa0e2122 Add group invite link action sheet. 2020-09-01 17:25:04 -03:00
Matthew Chen
a7cbaff855 Add group invite link action sheet. 2020-09-01 17:25:04 -03:00
Matthew Chen
bd090dc971 Add group invite link action sheet. 2020-09-01 17:25:03 -03:00
Matthew Chen
b2e9111ddd Add group invite link action sheet. 2020-09-01 17:25:02 -03:00
Matthew Chen
b813a0e264 Add Debug UI action to make all group members into admins. 2020-09-01 17:11:09 -03:00
Matthew Chen
ed6ec5362d Add group link view. 2020-09-01 17:11:09 -03:00
Matthew Chen
22c90550b7 Respond to CR. 2020-09-01 17:11:08 -03:00
Matthew Chen
8168f150f0 Use Codable enums for group member states. 2020-09-01 17:11:08 -03:00
Matthew Chen
770d0c0120 Use Codable enums for group member states. 2020-09-01 17:11:08 -03:00
Matthew Chen
aa88bb712c Model changes for group links. 2020-09-01 17:11:07 -03:00
Michelle Linington
a64ed62df8 IOS-717: Filter out non-e164s in our CDS lookups
Modifies ContactDiscoveryTask to filter out any duplicate e164s. Also
renames a bunch of things to make identifier formatting expectations
more clear.

A candidate for further improvement: IOS-757: Adopt PhoneNumbers in CDS
subsystem
2020-08-14 12:25:37 -07:00
Matthew Chen
6897884f7c Convert ContactsViewHelper to singleton. 2020-08-11 17:51:41 -03:00
Michelle Linington
8211c73459 IOS-716: Introduce remote feature flag for modern CDS
Adds a new RemoteConfig flag to enable modern contact discovery. The
rules are:
- FeatureFlags.modernContactDiscovery is a prerequisite
- RemoteConfig.modernContactDiscovery or
  DebugFlags.forceModernContactDiscovery will enable modern CDS
2020-08-10 18:47:58 -07:00
Matthew Chen
eb6f43cf07 Rework maxGroupsV2MemberCount remote config flag. 2020-08-10 19:46:23 -03:00
Matthew Chen
abc79b44e0 Avoid redundant writes. 2020-08-10 17:24:43 -03:00
Matthew Chen
c3b8fbd612 Rework sending of group update messages. 2020-08-07 16:59:13 -03:00
Michelle Linington
3f746368cd PR feedback:
- Adjust how clients provide QoS information to ContactDiscoveryTask
- Fix an issue where legacy CDS was reporting a generic server failure
  as a result of network failures.
- ContactDiscoveryTask will no longer error on an empty set
- Remove CDSFeedback operation
2020-08-06 12:57:39 -07: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
a0f4795421 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
f5501b3a70 Improve handling of local user and uuid mapping edge cases. 2020-08-06 11:04:15 -03:00
Michelle Linington
4a6fdf261e IOS-705: Adjust feature flags to enable modern CDS in prod
This enables modern CDS on internal devices in prod. This also removes
some of the infrastructure for reporting on modern/legacy comparisons.
2020-08-04 15:49:12 -07:00
Matthew Chen
4db7dd5ca3 Refine scaffolding for testing gv2. 2020-07-27 17:04:26 -03:00
Matthew Chen
4a147c83d4 Tweak the "apply group change" logic. 2020-07-24 17:49:46 -03:00
Matthew Chen
b7be96304f Respond to CR. 2020-07-24 17:45:43 -03:00
Matthew Chen
b9bbaf9d6a Ensure message request is dismissed if necessary. 2020-07-24 17:31:17 -03:00
Matthew Chen
2cbd565af3 Clean up ahead of CR. 2020-07-24 17:31:17 -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
Matthew Chen
9db8e72d52 Re-apply current revision when updating v2 groups in some cases. 2020-07-22 13:05:38 -03:00
Matthew Chen
b5925c8f6f Filter more display names. 2020-07-13 10:41:37 -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
1c296a8176 Respond to CR. 2020-07-09 08:54:24 -03:00
Matthew Chen
b996707f0b Respond to CR. 2020-07-09 08:54:24 -03:00