Commit graph

947 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
63260ee94d Fix registration. 2019-01-08 15:38:08 -05:00
Matthew Chen
46b0cdb872 Caution around group avatars. 2019-01-07 12:47:15 -05:00
Matthew Chen
78d0685cba Discard transient messages if there is no session. 2019-01-07 08:49:31 -05:00
Michael Kirk
432af13b63 Fix timer update message.
This was broken in 5671fd252 while resolving merge conflicts from applying the
sortId changes.
2019-01-04 10:57:13 -07:00
Matthew Chen
449633e0dc Respond to CR. 2019-01-04 09:19:41 -05:00
Matthew Chen
a7909c9c2e Note to Self. 2019-01-03 18:06:56 -05:00
Matthew Chen
dc6dadad43 Respond to CR. 2019-01-03 16:43:52 -05:00
Matthew Chen
1260e7459d Add asserts around attachment crash. 2019-01-03 16:43:52 -05:00
Michael Kirk
df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
2018-12-20 09:54:08 -07:00
Michael Kirk
fc7a713619 CR: use existing transaction rather than open sneaky one 2018-12-19 15:16:36 -07:00
Michael Kirk
af7ee5e1d1 address compiler breakage after rebase 2018-12-19 15:16:36 -07:00
Michael Kirk
9d5753bd81 fix sortId comparison 2018-12-19 15:16:36 -07:00
Michael Kirk
5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
2018-12-19 15:16:36 -07:00
Michael Kirk
dfb985f46c Merge tag '2.33.0.10' 2018-12-19 10:32:46 -07:00
Matthew Chen
4e0cfac911 Respond to CR. 2018-12-18 16:24:06 -05:00
Matthew Chen
07fef16155 Discard typing indicators for blocked and left groups. 2018-12-18 16:24:06 -05:00
Matthew Chen
26a25f861b Start sketching out image editor. 2018-12-18 10:53:41 -05:00
Michael Kirk
67cc1027cc Fix compiler warnings 2018-12-17 14:43:21 -07:00