Commit graph

26 commits

Author SHA1 Message Date
trevor-signal
09b5e6ef50
Remove autoOrientJPEG and consolidate downscaling logic 2024-03-06 13:49:21 -08:00
Scott Nonnenberg
99b2bc304e
Use streams to download attachments directly to disk
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2023-10-30 09:24:28 -07:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
e6ebfe4fca
Update typescript to 4.8.4 2022-11-14 11:35:37 -08:00
Fedor Indutny
40f16b98e2
Transcode link preview images 2022-04-25 13:56:59 -07:00
Evan Hahn
6500804231
Fix minor errors in link preview comments 2022-04-05 09:07:50 -07:00
Fedor Indutny
0174687542
Use esbuild 2022-02-11 13:38:52 -08:00
Fedor Indutny
67339001a8
Fix getHtmlDocument for compressed documents 2021-12-20 17:45:57 +01:00
Evan Hahn
74fde10ff5
Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Evan Hahn
92f7259272
Respect proxies when fetching link previews 2021-10-14 15:49:36 -07:00
Scott Nonnenberg
da9df293c6
linkPreviewFetch: Increase maximum HTML we'll process to 1000*1024 bytes 2021-10-14 11:53:53 -07:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Josh Perez
9078919545
Transcode heic/heif images 2021-08-09 13:06:21 -07:00
Evan Hahn
e4a632f601
Link previews: clean up AbortSignal types 2021-06-08 13:55:37 -07:00
Evan Hahn
6642652bdb
Fix link preview race condition 2021-06-02 17:19:40 -07:00
Fedor Indutny
2796dfab23 Check charset types in linkPreviewFetch.ts 2021-04-08 23:51:53 -04:00
Sasha Chedygov
e8fb835857
Prefer higher resolution link preview images
See [#5000][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5000
2021-04-02 15:32:45 -05:00
Jost Schulte
9823eb2201
Fix typos in TypeScript and SCSS files
See [#5136][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5136
2021-04-02 15:28:07 -05:00
Evan Hahn
8a72607fa7 Prefer type to interface and add an ESLint rule 2021-01-25 18:29:00 -08:00
Evan Hahn
172598b354
Fix link previews for YouTube Music 2021-01-11 13:43:44 -08:00
Evan Hahn
8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Evan Hahn
dd57963dab Outbound link previews: more lenient loading
Signed-off-by: Josh Perez <josh.p@signal.org>
2020-10-15 14:34:45 -04:00
Evan Hahn
6e1a83ae4e Reject HTTP URLs when loading link previews 2020-10-12 18:10:08 -04:00
Evan Hahn
313faab774 Outbound link previews 2020-10-12 18:10:08 -04:00