Commit Graph

1801 Commits

Author SHA1 Message Date
Matthew Chen
bba679eaef Add user-agent for media downloads. 2019-01-25 15:57:48 -05:00
Matthew Chen
0ce9d1a858 Always re-encode link preview images as JPEG even if they don't need to be resized. 2019-01-25 15:33:58 -05:00
Matthew Chen
c68eee5bfe Accept newlines in link preview titles. 2019-01-25 12:57:17 -05:00
Matthew Chen
957a733838 Yet more link preview refinements. 2019-01-25 11:33:09 -05:00
Matthew Chen
b48d5fbcf0 Revise link preview domain whitelists. 2019-01-25 09:46:25 -05:00
Matthew Chen
f174d5be62 Clean up link previews. 2019-01-24 17:26:39 -05:00
Matthew Chen
e7b9f7da99 Flush multi-process writes more aggressively. 2019-01-24 17:03:49 -05:00
Matthew Chen
4c5b9001c3 Elaborate the link preview tests. 2019-01-24 16:51:39 -05:00
Matthew Chen
2e9f2e6154 Elaborate the link preview tests. 2019-01-24 16:17:31 -05:00
Matthew Chen
090dd1f523 Use NSDataDetector to extract URLs for link previews. 2019-01-24 16:01:00 -05:00
Matthew Chen
744d3074ac Fix link preview tests. 2019-01-24 14:34:31 -05:00
Matthew Chen
e4d5926b30 Resize link preview images if necessary. 2019-01-24 13:30:54 -05:00
Matthew Chen
9149282e94 Resize link preview images if necessary. 2019-01-24 13:28:54 -05:00
Matthew Chen
9b33d70d7b Constrain max size of link preview image. 2019-01-24 13:06:22 -05:00
Matthew Chen
c4274d63c8 Fix build warnings in fake profile manager. 2019-01-24 10:22:46 -05:00
Matthew Chen
e172eeff0e Link preview preference should only affect outgoing link previews. 2019-01-24 08:54:07 -05:00
Matthew Chen
23980152fc Segment proxied content downloads. 2019-01-24 08:51:25 -05:00
Matthew Chen
db15ff9a26 Segment proxied content downloads. 2019-01-24 08:51:25 -05:00
Matthew Chen
4e7dbc486d Segment proxied content downloads. 2019-01-24 08:51:25 -05:00
Matthew Chen
635b5740ac Add missing domain to link preview whitelist. 2019-01-23 13:17:23 -05:00
Matthew Chen
e2747dc702 Fix glitch in link loading. 2019-01-23 13:17:23 -05:00
Matthew Chen
b002c0c9e1 Refine link parsing and validation logic. 2019-01-23 13:17:23 -05:00
Matthew Chen
a7d848ef7c Add missing nullability annotations. 2019-01-23 13:12:43 -05:00
Matthew Chen
becd72329b Fix build warnings about nullability. 2019-01-23 13:12:43 -05:00
Matthew Chen
7e9c3b2dac Clean up all message attachments. 2019-01-23 10:01:16 -05:00
Matthew Chen
7d4e89daac Discard link previews if incoming message has attachments. 2019-01-23 09:59:48 -05:00
Matthew Chen
3d757b492a Add link previews to conversation message bubbles. 2019-01-23 09:32:30 -05:00
Matthew Chen
0569ed3f59 Respond to CR. 2019-01-23 09:24:30 -05:00
Matthew Chen
f73f100717 Link preview temp files. 2019-01-23 09:22:16 -05:00
Matthew Chen
c57b0d98cb Add link previews setting. 2019-01-23 09:17:13 -05:00
Matthew Chen
977ee9ffe9 Merge remote-tracking branch 'private/release/2.34.0' 2019-01-22 11:10:04 -05:00
Matthew Chen
f37aacca85 Respond to CR. 2019-01-22 10:17:11 -05:00
Matthew Chen
2dcc79fbca Fix issues around link previews. 2019-01-22 10:15:50 -05:00
Matthew Chen
6e044675ac Respond to CR. 2019-01-22 09:42:25 -05:00
Matthew Chen
8e44bf554c Respond to CR. 2019-01-22 09:42:25 -05:00
Matthew Chen
d775a70a89 Build link previews. 2019-01-22 09:42:25 -05:00
Matthew Chen
31ea64bdaf Build link previews. 2019-01-22 09:42:25 -05:00
Matthew Chen
7878c0fac8 Add feature flag for 'note to self'. 2019-01-18 17:22:12 -05:00
Matthew Chen
343c7d8ece Remove timer queue. 2019-01-17 14:45:43 -05:00
Michael Kirk
323249baa0 NSRunLoop methods should only be accessed on it's corresponding thread. 2019-01-17 14:43:18 -05:00
Michael Kirk
64cdaae02e schedule retry timer on main run loop 2019-01-17 14:43:18 -05:00
Michael Kirk
1d24fa7c50 Fixup WebSocket 2019-01-16 10:58:50 -07:00
Michael Kirk
16c8a1a76e replace SocketRocket with Starscream 2019-01-16 10:44:37 -07:00
Matthew Chen
f13c1de738 Respond to Cr. 2019-01-15 10:36:21 -05:00
Matthew Chen
55376975f5 Add link preview parsing and validation logic. 2019-01-14 17:06:47 -05:00
Matthew Chen
45b93cc4b4 Respond to CR. 2019-01-14 16:44:18 -05:00
Matthew Chen
a477e01a4a Apply LinkPreview model. 2019-01-14 16:20:54 -05:00
Matthew Chen
4eb05e369d Add LinkPreview model. 2019-01-14 16:20:54 -05:00
Matthew Chen
aa916965d0 Update protos to reflect link previews. 2019-01-14 16:19:42 -05:00
Matthew Chen
5a529567aa Update protos to reflect link previews. 2019-01-14 16:19:42 -05:00