Commit Graph

18510 Commits

Author SHA1 Message Date
Matthew Chen
c14cc341c4 Add remote config for modern CDS and groups v2. 2020-07-22 13:04:33 -03:00
Matthew Chen
269309de01 Add remote config for modern CDS and groups v2. 2020-07-22 13:04:33 -03:00
Matthew Chen
63040e0ff3 Merge branch 'charlesmchen/groupsV2LegacyGroupIndicator' 2020-07-22 13:03:25 -03:00
Matthew Chen
597486f54a Add MVP legacy group indicator. 2020-07-22 11:49:59 -03:00
Nora Trapp
30e89998da Merge branch 'release/3.13.2' 2020-07-19 15:00:54 -07:00
Nora Trapp
22f889c51e "Bump build to 3.13.2.7." (Internal) 2020-07-17 12:55:13 -07:00
Nora Trapp
7e0eeb07b1 Feature flags for .qa. 2020-07-17 12:55:10 -07:00
Nora Trapp
3f70d61e07 "Bump build to 3.13.2.6." 2020-07-17 12:55:06 -07:00
Nora Trapp
b0de119e6d Feature flags for .production. 2020-07-17 12:55:03 -07:00
Nora Trapp
7fd148a919 Fix a crash on launch effecting some users 2020-07-17 12:47:06 -07:00
Nora Trapp
cf1d9cd003 "Bump build to 3.13.2.5." (Internal) 2020-07-17 12:04:28 -07:00
Nora Trapp
f2fd6d9fcc Feature flags for .qa. 2020-07-17 12:04:25 -07:00
Nora Trapp
7c33a53580 "Bump build to 3.13.2.4." 2020-07-17 12:04:20 -07:00
Nora Trapp
738117f4ad Sync translations 2020-07-17 12:04:17 -07:00
Nora Trapp
acdfa06dbe Feature flags for .production. 2020-07-17 11:58:21 -07:00
Nora Trapp
cbb7504abd Fix rare crash when rendering profile name changes 2020-07-17 11:58:12 -07:00
Nora Trapp
7be50a9642 "Bump build to 3.13.2.3." (Internal) 2020-07-16 16:49:12 -07:00
Nora Trapp
ba994e67af Feature flags for .qa. 2020-07-16 16:49:08 -07:00
Nora Trapp
b4a8c52f90 "Bump build to 3.13.2.2." 2020-07-16 16:49:05 -07:00
Nora Trapp
2f0cee3de3 Feature flags for .production. 2020-07-16 16:48:45 -07:00
Michelle Linington
3dc990b490 Merge branch 'mlin/PR/IOS-662' 2020-07-16 15:47:17 -07:00
Michelle Linington
d396f99a16 IOS-662: Update staging enclave ID
The staging enclave code was updated to support rate-limiting. Updates
our staging constant to point to the new ID.
2020-07-16 14:54:02 -07:00
Nora Trapp
51d2a48b72 Sync translations 2020-07-16 12:43:35 -07:00
Nora Trapp
0aeaa34087 "Bump build to 3.13.2.1." (Internal) 2020-07-15 20:18:45 -07:00
Nora Trapp
2400c680c1 Feature flags for .qa. 2020-07-15 20:18:39 -07:00
Nora Trapp
6dfc1d04dd Merge branch 'release/3.13.2' 2020-07-15 19:25:39 -07:00
Nora Trapp
a55b956d85 "Bump build to 3.13.2.0." 2020-07-15 19:21:43 -07:00
Nora Trapp
5a45c46497 Feature flags for .production. 2020-07-15 19:21:43 -07:00
Nora Trapp
fbd47a2af7 "Bump build to 3.13.1.3." (Internal) 2020-07-15 19:21:43 -07:00
Nora Trapp
b6e365481f Feature flags for .qa. 2020-07-15 19:21:43 -07:00
Nora Trapp
633bb4db76 "Bump build to 3.13.1.2." 2020-07-15 19:21:43 -07:00
Nora Trapp
5ee337277b Feature flags for .production. 2020-07-15 19:21:43 -07:00
Nora Trapp
531e7f2db8 Update contact icons 2020-07-15 19:21:43 -07:00
Nora Trapp
401c96fefd Pull translations 2020-07-15 18:46:51 -07:00
Nora Trapp
463e0266a4 PR Feedback 2020-07-15 18:41:29 -07:00
Nora Trapp
c7eb281d38 Render profile name changes in conversation 2020-07-15 18:41:14 -07:00
Nora Trapp
4f095af40e Merge branch 'nt/profile-update-messages' 2020-07-15 14:40:59 -07:00
Nora Trapp
0460d9cdea PR Feedback 2020-07-15 11:32:20 -07:00
Nora Trapp
719213e8d9 Render profile name changes in conversation 2020-07-14 19:18:28 -07:00
Nora Trapp
d745cb135a Merge branch 'release/3.13.1' 2020-07-14 15:51:45 -07:00
Michelle Linington
4d4faf833e Merge branch 'mlin/PR/IOS-441-Followup_InvertCDSCheck' 2020-07-14 11:51:59 -07:00
Michelle Linington
5d2267cb15 Invert the modern CDS FeatureFlag check
Accidentally inverted the condition when I swapped the flags. Thanks
Nora for catching this
2020-07-13 19:22:04 -07:00
Michelle Linington
e8a34d15d8 Merge branch 'mlin/PR/IOS-441' 2020-07-13 18:39:36 -07:00
Michelle Linington
34bd513b25 Update Pods submodule commit 2020-07-13 18:37:48 -07:00
Michelle Linington
2d1b90f443 Pull request feedback: retry indefinitely on CDS failure
After some discussion, we're okay considering that if CDS is down, all
of Signal is down. This will help protect session state and reduce the
risk of divergence.

Also changed the FeatureFlag guarding this code to
useOnlyModernContactDiscovery.
2020-07-13 18:20:47 -07:00
Michelle Linington
16583ceafa Additional review feedback:
- Removed static UUIDBackfillTask initializer and removed the
  registration from AppDelegate. Kicking off the task will be handled
  with IOS-631.
- Moved the async perform work to its own function
- Some minor syntactic changes
- Updated database fetch to retrieve empty string UUIDs
- Handles non-e164 numbers fetched from database
- Leverages the MockSSKEnvironment to deal with the shared
  SignalServiceAddressCache. Removes added test support.
- Add tests to exercise new functionality
2020-07-13 18:20:47 -07:00
Michelle Linington
ddb2467ebf Added tests to exercise UUIDBackfillTask
This adds a whole bunch of tests for UUIDBackfillTask. This required a
small change to be made in SignalServiceAddress. Currently,
SignalServiceAddress accesses a singleton cache to force updates to any
existing addresses after a UUID is discovered. This breaks a whole bunch
of test verification.

To workaround this, I've added a testing_ flag to modify the singleton
SignalServiceAddressCache to temporarily disable it. This is going to
cause problems if we ever enable test parallelization, but it's all we
can do for now.

This also adds in incremental backoff logic, changes some of the log
statements and disables the task on production.

Also, adopted some minor feedback Matthew provided in the draft PR,
including:
- Rename: {signal -> registered}RecipientsWithoutUUID
- Move to owsFailDebug instead of assertionFailure
- Adopt `IsNetworkConnectivityFailure` for discerning network failures
- Add some extra assertions around our registered/unregistered sets
2020-07-13 18:20:47 -07:00
Michelle Linington
821f7cfb65 IOS-441: On launch: Perform CDS lookup to backfill SignalRecipients without UUID
Introduces UUIDBackfillTask, which:
- fetches UUID-less SignalRecipients from the database
- creates a ContactDiscoveryOperation to lookup their UUIDs
- updates database with the UUID if available, unregisters otherwise

This is kicked off on an AppReadiness block submitted during
appDidFinishLaunching:
2020-07-13 18:20:47 -07:00
Nora Trapp
169b0a8817 "Bump build to 3.13.1.1." (Internal) 2020-07-13 14:54:39 -07:00
Nora Trapp
3e0c6f6dcc Feature flags for .qa. 2020-07-13 14:54:39 -07:00