Commit Graph

698 Commits

Author SHA1 Message Date
Nora Trapp
0c50994da5 Fix text approval view keyboard animation 2020-09-09 14:50:31 -07:00
Nora Trapp
e0e784e9ce Fix ordering of pinned threads when sharing 2020-09-08 19:59:16 -07:00
Nora Trapp
f67bffd637 Add link preview support to share extension and forwarding 2020-09-08 19:58:29 -07:00
Nora Trapp
7da0a9fc66 Sort pinned threads to the top of the 'recent items' section when sharing 2020-09-04 15:27:09 -07:00
Matthew Chen
1f01bc709e Apply design updates to group links UI. 2020-09-03 18:33:43 -03:00
Matthew Chen
c464a2efac Respond to CR. 2020-09-02 17:14:52 -03:00
Matthew Chen
2d8d52c7e9 Allow user to cancel attachment preparation in the send media flow. 2020-09-02 17:05:14 -03:00
Matthew Chen
7d4db98ccb Reduce sticker change event frequency. 2020-09-02 16:33:35 -03:00
Matthew Chen
dcb4d09269 Fix de-bouncing of sticker pack data source change events. 2020-09-02 16:32:22 -03:00
Matthew Chen
4841a9eefb Add possible support for animated lottie, webp, apng. 2020-09-02 13:44:14 -03:00
Matthew Chen
95c52e21b6 Add support for animated stickers. 2020-09-02 13:44:14 -03:00
Matthew Chen
a7aeba72b4 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
fc47aa83b4 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
1708087a76 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
f80059f8e9 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
b2e9111ddd Add group invite link action sheet. 2020-09-01 17:25:02 -03:00
Matthew Chen
ed6ec5362d Add group link view. 2020-09-01 17:11:09 -03:00
Michelle Linington
a0cfcc87f0 Pull request feedback and removing unnecessary code
- Rename URL -> Url to follow convention
- Remove some duplicated/unnecessary code
- Parse the returned image Data with ImageData
2020-08-26 16:49:22 -07:00
Michelle Linington
1f9b6906df IOS-807: Fetch link preview content directly
This change updates the link preview fetch flow to fetch content
directly rather than through the proxy. This means we can remove the
allowed domain list and fetch content from most provided domains.

This almost moves HTML content parsing outside of OWSLinkPreview.
Currently we'll still only fetch the same content, but it's extensible
enough to fetch all sorts of different opengraph tags.

AFHTTPSessionManager will no longer faildebug on a request failure.
Since we're going to be firing opportunistic fetch requests as we parse
a URL, it's expected that some will fail.
2020-08-26 16:47:49 -07:00
Nora Trapp
1e7a3384c9 Add a donate link to settings 2020-08-25 17:42:46 -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
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
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
dc543ce24f Restyle return to call view 2020-08-17 15:41:10 -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
ddd31dbc19 Respond to CR. 2020-08-11 17:51:41 -03:00
Matthew Chen
73c8839061 Convert ContactsViewHelper to singleton. 2020-08-11 17:51:40 -03:00
Nora Trapp
cfe9862d94 Mentions Remote Flag 2020-08-07 17:16:35 -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
510200a880 Respond to CR. 2020-08-05 14:28:15 -03:00
Nora Trapp
340f8366d9 Allow tapping mentions in message bubbles 2020-08-04 14:09:06 -07:00
Nora Trapp
4696a4d993 Mention sending 2020-08-04 14:08:30 -07:00
Michelle Linington
d9b481b1ac Run precommit script
Old habits die hard
2020-08-04 13:38:05 -07:00
Michelle Linington
224fb2ad41 IOS-696: Changes to title in OWSTableContents after -loadView not handled
Fixes a minor bug that I discovered while playing with the support
flow. Navigation titles weren't showing up in the new view controllers.

It seems OWSTableViewController was only reading an OWSTableContents
title during -loadView. My first pass at the support flow's view
controllers overrode the -contents property, so this was working
originally. Later, I started setting -contents during -viewDidLoad which
is too late for OWSTableViewController.

Now, OWSTableViewController will update the title any time the
OWSTableContents changes and there's a non-zero length title provided.
2020-08-04 13:38:05 -07:00
Matthew Chen
587b8f2c36 Resumable attachment download. 2020-08-01 12:18:13 -03:00
Matthew Chen
001d36f73a Merge remote-tracking branch 'private/release/3.13.3' 2020-07-30 22:25:57 -03:00
Michelle Linington
872ad2de76 IOS-362: new support flow
Most of the UI work for the new support flow. This still needs some
tuning, but I wanted to checkpoint some of this work. This adds a couple
new views and view controllers to facilitate the new support flow.

What's left to be done:
- Putting together the send-message infrastructure
- Attach actions to all of the buttons
- Make sure the colors all match up with the spec
- Reach out to design for feedback
- Testing with various accessibility settings
2020-07-30 13:02:00 -07:00
Nora Trapp
90e1d54ce3 Add mention picker support to attachment flows 2020-07-30 11:23:45 -07:00
Matthew Chen
49397a55b3 Small fixes. 2020-07-27 14:08:59 -03:00
Matthew Chen
92769483bf Respond to CR. 2020-07-27 13:54:00 -03:00
Matthew Chen
19398ecd57 Design updates for legacy group indicator. 2020-07-24 17:46:58 -03:00
Matthew Chen
4d30176b92 Respond to CR. 2020-07-10 11:13:00 -03:00
Matthew Chen
00d5af278d Add owsFail() methods. 2020-07-10 10:59:24 -03:00