Commit Graph

160 Commits

Author SHA1 Message Date
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
dc543ce24f Restyle return to call view 2020-08-17 15:41:10 -07:00
Nora Trapp
4696a4d993 Mention sending 2020-08-04 14:08:30 -07:00
Matthew Chen
587b8f2c36 Resumable attachment download. 2020-08-01 12:18:13 -03:00
Matthew Chen
059909bd1b Address sticker perf hotspots. 2020-06-23 10:07:18 -03:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Matthew Chen
1ad4a5b9ae Retain all promises until complete. 2020-05-15 18:13:12 -03:00
Matthew Chen
f8b9b209ff Respond to CR. 2020-05-11 10:19:52 -03:00
Matthew Chen
046b94318a Apply theme blue tint colors. 2020-04-23 10:59:12 -03:00
Matthew Chen
3bbbb1aae0 Revise dark theme. 2020-04-16 11:32:35 -03:00
Matthew Chen
817780f201 Revise dark theme. 2020-04-16 11:25:32 -03:00
Matthew Chen
b42f1968cc Fix build warnings around initializers. 2020-04-08 16:05:54 -03:00
Matthew Chen
b5c069ed95 Clean up VC initializers. 2020-04-08 09:26:25 -03:00
Matthew Chen
c7df10eb36 Apply CGSize(square:). 2020-04-06 11:34:21 -03:00
Matthew Chen
e097239dcd Sketch out revised "new group" view. 2020-03-17 10:31:20 -03:00
Nora Trapp
4ad7479ff9 Use new accent blue color everywhere except launch screen related views 2020-03-04 10:00:55 -08:00
Michael Kirk
c62205cb75 remove sticker feature flags 2020-02-12 15:19:56 -07:00
Matthew Chen
993dca8ec9 Remove redundant NotificationName. 2020-01-27 10:53:23 -03:00
Nora Trapp
4d55468bd3 Merge branch 'release/3.2.0' 2020-01-02 16:50:14 -08:00
Michael Kirk
c63eb41777 aspectFit for stickers 2020-01-02 17:43:47 -07:00
Nora Trapp
ff8dedaf93 Avoid flash when long pressing between stickers. 2020-01-02 16:29:10 -08:00
Michael Kirk
4a7bdaf44c avoid undesirable vertical scroll in sticker recommender 2020-01-02 16:38:56 -07:00
Michael Kirk
2c62050fcd dimiss any presented keyboard when presenting sticker view
To reproduce:

1. pop keyboard
2. open external app, e.g. twitter, and tap on sticker share url
3. you're back in Signal with the sticker share UI presented, but the CVC keyboard is *on top*.
2019-12-18 15:13:16 -08:00
Nora Trapp
5eacd2eb6b Fix sticker pack view sizing after sharing 2019-12-17 10:08:37 -08:00
Matthew Chen
b2fc179543 Use transient data sources for uninstalled blessed packs. 2019-12-17 15:06:58 -03:00
Matthew Chen
8185d4f5e2 Show blessed pack authors in blue. 2019-12-17 10:01:17 -03:00
Nora Trapp
6cedc5f4a7 Fix Sticker Pack View blur 2019-12-14 23:05:17 -08:00
Matthew Chen
a0ee6deb78 Always show modal activity indicator when installing and uninstalling sticker packs. 2019-12-14 04:52:45 -03:00
Michael Kirk
ddbda0f36a refactor - no change in functionality 2019-12-13 22:26:23 -08:00
Nora Trapp
05e35bb829 Dismiss the sticker pack view immediately after install to avoid a long delay 2019-12-13 13:19:51 -08:00
Nora Trapp
8f99abec64 Don't update the sticker pack content during dismissal 2019-12-13 13:19:51 -08:00
Nora Trapp
7c8110efc2 Always dark forward icon on sticker pack vc 2019-12-13 13:19:51 -08:00
Nora Trapp
b264bb7d68 Dismiss the sticker keyboard if all packs are uninstalled 2019-12-13 13:19:51 -08:00
Nora Trapp
35cc7ff346 Make sure the sticker paging is correct after a pack is installed / removed 2019-12-13 13:19:51 -08:00
Nora Trapp
d05519dc1a Fix some sticker pack view controller presentation issues 2019-12-13 13:19:51 -08:00
Matthew Chen
98c337271e Respond to CR. 2019-12-04 14:22:03 -03:00
Matthew Chen
9fb478132a Fix crash after uninstalling sticker pack. 2019-12-04 14:22:03 -03:00
Matthew Chen
ba24e21eb5 Refine sticker pack view presentation on iPad; fix sticker pack view background. 2019-12-04 14:10:45 -03:00
Nora Trapp
cd828e44b6 PR Feedback 2019-12-03 15:26:01 -08:00
Matthew Chen
6908104279 Update the download/save icon. 2019-11-07 15:28:39 -03:00
Nora Trapp
deab39e2a6 Don't send sticker sync messages in response to sticker sync messages. 2019-11-04 13:00:22 -08:00
Matthew Chen
93c7e33c53 Merge tag '2.45.1.1' 2019-11-02 08:25:02 -03:00
Nora Trapp
56d21eecd6 Fix sticker keyboard orientation change on iPad 2019-10-31 12:28:53 -07:00
Matthew Chen
50899f5ca3 Fix display of transient sticker packs. 2019-10-30 13:31:20 -03:00
Nora Trapp
65d54e7282 UIAlertController -> ActionSheetController 2019-10-28 14:43:59 -07:00
Matthew Chen
b3da578085 Merge tag '2.45.0.17' 2019-10-18 17:33:30 -03:00
Matthew Chen
044ee4014b Fix transaction usage in manage stickers view. 2019-10-18 17:17:22 -03:00
Nora Trapp
473b88b497 Don't require ConversationViewController to maintain first responder status. 2019-10-17 11:41:58 -07:00