Commit Graph

2982 Commits

Author SHA1 Message Date
Michelle Linington
44e7e456ca IOS-797: Configuration sync messages incorrectly updating local config on nil message fields
Configuration sync messages use proto2, so the value for a given field
may or may not exist. When we receive an incoming sync message, we
should only adopt any properties if they're already set. Otherwise we
risk interpreting an unset field as set NO.
2020-08-21 20:09:19 -07:00
Nora Trapp
915a44d874 Merge branch 'release/3.15.0' 2020-08-21 18:45:40 -07:00
Nora Trapp
5d97da4fd4 Extend approval footer view behind keyboard 2020-08-21 17:40:19 -07:00
Nora Trapp
634402f039 Merge branch 'release/3.15.0' 2020-08-20 18:10:37 -07:00
Nora Trapp
a631a890d1 Extend attachment input toolbar behind keyboard. 2020-08-20 17:26:35 -07:00
Nora Trapp
abcafc19e7 Fix localization of conversation dates 2020-08-20 17:20:15 -07:00
Nora Trapp
4b3908077b Migration to add serverDeliveryTimestamp 2020-08-20 16:48:54 -07:00
Nora Trapp
5457c37ba8 Handle x-signal-timestamp header 2020-08-20 16:48:54 -07:00
Matthew Chen
2e126d2fae Merge remote-tracking branch 'private/release/3.15.0' 2020-08-20 16:35:40 -03:00
Matthew Chen
dd279beb5c Clean up censorship circumvention. 2020-08-20 15:40:34 -03:00
gte-signal
e7eb016e62 Nickname support
Add nickname support. 1:1 threads are now named using the nickname of the contact if available. I expect there'll be design input about how to present this. For now I've gone with putting quotes around the nickname. Also, there's a lot of contact stuff so I'd appreciate checking that I did the correct thing here.
2020-08-20 14:14:49 -03:00
Matthew Chen
351cbba766 Merge remote-tracking branch 'private/release/3.15.0' 2020-08-20 09:33:41 -03:00
Michelle Linington
a2791717fd IOS-782: +[Theme sharedInstance] re-enterant initialization
This bug fixes an issue where if the +[Theme sharedInstance] was first
initialized after AppReady and while in dark mode, we'd reenterantly
call +sharedInstance and crash on a dispatch_once assert.

This has been an existing issue that's only manifest recently due to
unrelated changes (will document below). To workaround this limitation,
we need to break the synchronous chain from +sharedInstance to
-themeDidChange. The most straightforward way to do that is to re-async.

This is a tiny bit of fallout from dc543ce. That commit did a bunch of
work to simplify OWSNavigationController's handling of its navigation
bar. Before, the navigation bar would be configured during
-[OWSNavigationController init]. It looks like UIKit lazily initializes
the navigation bar at first access, and the navigation bar would call
out to +[Theme sharedInstance].

Now, that work doesn't happen during -init. This means that the
sharesheet extension used to indirectly call +[Theme sharedInstance]
before AppReady, but now it doesn't. Now, its first call to +[Theme
sharedInstance] happens after AppReady.
2020-08-19 10:28:43 -07:00
Matthew Chen
7c047d5798 Minor cleanup. 2020-08-19 10:51:57 -03:00
Nora Trapp
9c93fe0836 Fix pip animation 2020-08-18 13:26:05 -07:00
Matthew Chen
3ba14dff98 Merge remote-tracking branch 'private/release/3.14.2' 2020-08-18 10:55:28 -03:00
Matthew Chen
9a19cc86aa Respond to CR. 2020-08-18 10:42:33 -03:00
Matthew Chen
eea7ff16f9 Re-use existing profile avatars if possible. 2020-08-18 10:42:33 -03:00
Nora Trapp
abac6ab601 Allow expanding truncated messages inline 2020-08-18 00:59:42 -07:00
Nora Trapp
03c0f70dbe Default screen security to off 2020-08-18 00:18:12 -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
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
1f1cc7398b Fix call video orientation handling 2020-08-17 15:41:11 -07:00
Nora Trapp
e868369ee0 improve pip gesture interaction 2020-08-17 15:41:11 -07:00
Nora Trapp
35ca25dbe7 Improve iPad calling experience 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
Nora Trapp
dc543ce24f Restyle return to call view 2020-08-17 15:41:10 -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
a8c33c5c4a Redesigned incoming and ongoing call controls 2020-08-14 20:44:03 -07:00
Nora Trapp
b035d35510 Add dedicated video call button 2020-08-14 20:44:03 -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
5141ec5939 Merge branch 'release/3.14.0' 2020-08-13 22:45:12 -03: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
Nora Trapp
e7ee726df8 Remove confusing mention settings 2020-08-13 13:41:31 -07:00
Matthew Chen
d30dd10090 Merge branch 'release/3.14.0' 2020-08-13 12:01:42 -03:00
Nora Trapp
7ffcb089e4 Add haptic feedback to mention picker 2020-08-13 10:58:28 -03:00
Nora Trapp
29c9f3627d Use a blur for the mention picker background 2020-08-13 10:58:28 -03:00
Nora Trapp
cbaaf90fb2 Add mentions megaphone 2020-08-13 10:58:28 -03:00
Nora Trapp
f295cd9c33 Increase mention picker avatar size 2020-08-13 10:58:27 -03:00
Nora Trapp
08fbe326a3 Fix 'read more' on deleted messages 2020-08-13 10:58:27 -03:00
Nora Trapp
c5cf585ae2 Fix some mention picker sizing issues 2020-08-13 10:58:27 -03:00
Nora Trapp
566d53d3fc Fix mention picker when caching keyboard height 2020-08-13 10:58:27 -03:00
Nora Trapp
0d374f77a3 Fix mention picker contentSize change handling 2020-08-13 10:58:27 -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
e576de5bfc Respond to CR. 2020-08-13 10:22:23 -03:00