Commit Graph

4939 Commits

Author SHA1 Message Date
Matthew Chen
3ba14dff98 Merge remote-tracking branch 'private/release/3.14.2' 2020-08-18 10:55:28 -03:00
Matthew Chen
5bb36abd7e Feature flags for .production. 2020-08-18 10:46:48 -03:00
Matthew Chen
6ae62c7197 Feature flags for .beta. 2020-08-18 10:46:23 -03:00
Nora Trapp
102aaec0a7 Default screen security on for existing users 2020-08-18 01:27:41 -07:00
Nora Trapp
648aad7337 Always show empty inbox state when no threads 2020-08-18 00:18:12 -07:00
Nora Trapp
34d9f9eeb0 Updated icoons and design feedback 2020-08-17 22:58:39 -07:00
Matthew Chen
07bbe9550c Don't load pre-existing profile avatars during profile fetches. 2020-08-18 02:18:54 -03:00
Matthew Chen
4b4fe56b2a Improve handling of UD edge case. 2020-08-18 00:55:54 -03:00
Nora Trapp
1bef18e1c6 Add icons to group updates 2020-08-17 17:11:24 -07:00
Nora Trapp
5c6fec5963 Restyle system messages 2020-08-17 17:11:24 -07:00
Nora Trapp
95c5383ca8 Move writes off the main thread 2020-08-17 15:41:11 -07:00
Nora Trapp
7137cf75b5 Don't use CallKit for video calls received while the app is active 2020-08-17 15:41:10 -07:00
Matthew Chen
d5a4bbfad9 Feature flags for .production. 2020-08-17 14:13:08 -03:00
Matthew Chen
673fc02dd2 Feature flags for .beta. 2020-08-17 14:12:47 -03:00
Nora Trapp
d3b56cf454 Update schema 2020-08-14 20:44:04 -07:00
Nora Trapp
7e66682837 Remove calling feature flag 2020-08-14 20:44:04 -07:00
Nora Trapp
1110491f6e Cleanup mute status icon 2020-08-14 20:44:04 -07:00
Nora Trapp
5a48ec066d Move disappearing timer status to subtitle 2020-08-14 20:44:03 -07:00
Nora Trapp
b035d35510 Add dedicated video call button 2020-08-14 20:44:03 -07:00
Matthew Chen
93462f1e79 Merge remote-tracking branch 'private/release/3.14.0' 2020-08-14 16:35:13 -03:00
Michelle Linington
a6aaff6138 PR Feedback: ContactDiscoveryTask should just drop non-e164
Parsing to e164 is expensive and callers should be handing us e164s
anyway.
2020-08-14 12:25:39 -07: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
d097f52828 Feature flags for .qa. 2020-08-14 13:56:11 -03:00
Matthew Chen
a950f39d61 Feature flags for .production. 2020-08-14 13:56:03 -03:00
Matthew Chen
6c4622c2d3 Feature flags for .beta. 2020-08-14 13:55:55 -03:00
Matthew Chen
015fb5818a Expose more message details in internal builds. 2020-08-14 09:34:33 -03:00
Matthew Chen
5141ec5939 Merge branch 'release/3.14.0' 2020-08-13 22:45:12 -03:00
Matthew Chen
67efe2cbd0 Feature flags for .qa. 2020-08-13 22:17:00 -03:00
Matthew Chen
9e21dddcd9 Feature flags for .production. 2020-08-13 22:16:52 -03:00
Matthew Chen
3e35ad2188 Feature flags for .beta. 2020-08-13 22:16:40 -03:00
Matthew Chen
6430da51e9 Update flags for CDS, UUID safety numbers. 2020-08-13 22:13:39 -03:00
Michelle Linington
7d256bbab6 Some last bits of PR feedback 2020-08-13 15:53:31 -07:00
Michelle Linington
5da0078bbe Run precommit script 2020-08-13 15:08:12 -07:00
Michelle Linington
d76b9f9f9a PR feedback 2020-08-13 15:08:12 -07:00
Michelle Linington
8e4fd443cc Adopt new CDS errors in LegacyContactDiscoveryService
Also, made some changes for better error handling in
ContactDiscoveryTask clients
2020-08-13 15:08:12 -07:00
Michelle Linington
cd26048e43 Add tests for ContactDiscoveryTask.RateLimiter 2020-08-13 15:08:12 -07:00
Michelle Linington
3bc0fb03ba Make ContactDiscoveryError an NSError subclass
Also, changes how ContactDiscoveryTask is used by callers. Now, callers
check the provided error's retry after to determine when to schedule the
next attempt.

(Except OWSMessageSender for now)
2020-08-13 15:08:05 -07:00
Michelle Linington
18ce525c2e Add some tests to exercise date parsing
Date+SSKTest has a suite of tests that checks parsing of HTTP and
IOS8601 dates directly

NSURLSessionDataTask+OWS_HTTPTest validates that the Retry-After parsing
of NSHTTPURLResponse works as expected

Also, this change renames the NSURLSessionDataTask extension header to
something more generally appropriate
2020-08-13 14:40:22 -07:00
Michelle Linington
49f82ed6da IOS-711: Re-expose existing rate-limit errors in modern CDS
This change adds retry-after header parsing.
ModernContactDiscoveryOperations will now parse any httpStatusCodes from
errors it hits and return build an appropriate ContactDiscoveryError in
response.
2020-08-13 14:40:16 -07:00
Nora Trapp
64178b6ea2 Allow receiving link previews from non-whitelisted domains 2020-08-13 13:40:24 -07:00
Matthew Chen
0a3410efb4 Add remote config flag for attachmentUploadV3. 2020-08-13 12:48:12 -03:00
Matthew Chen
614720113f Clean up background task continuity. 2020-08-13 12:45:54 -03:00
Matthew Chen
d30dd10090 Merge branch 'release/3.14.0' 2020-08-13 12:01:42 -03:00
Matthew Chen
e536d529d4 Feature flags for .qa. 2020-08-13 11:48:34 -03:00
Matthew Chen
f827128185 Feature flags for .beta. 2020-08-13 11:48:11 -03:00
Nora Trapp
cbaaf90fb2 Add mentions megaphone 2020-08-13 10:58:28 -03:00
Nora Trapp
5388aa01b8 Use common run loop mode for some timers 2020-08-13 10:45:32 -03:00
Matthew Chen
c846da367c Refine error retry handling. 2020-08-13 10:32:40 -03:00
Matthew Chen
debfabda42 Refine error retry handling. 2020-08-13 10:32:40 -03:00
Matthew Chen
3f2d227c94 Merge remote-tracking branch 'private/release/3.14.0' 2020-08-13 10:31:28 -03:00