Commit Graph

37 Commits

Author SHA1 Message Date
Pete Walters
1761235f88
Migrate from YYImage to SDWebImage 2025-09-10 21:39:41 -05:00
Harry
a72cc4ce92
Allow forwarding link previews even when fetching link previews is disabled 2025-06-26 15:46:37 -07:00
Jordan Rose
03b80c3594
Link previews for image URLs 2025-06-18 12:26:04 -07:00
Max Radermacher
0755f1878b
Remove side effects when fetching group links 2025-04-30 12:00:14 -05:00
Harry
e80785c72a
Fix link preview showing failed icon when downloading image 2025-04-14 14:32:38 -07:00
Max Radermacher
0a15c338e9
Fix race conditions in LinkPreviewFetchStateTest 2025-04-14 15:50:44 -05:00
Max Radermacher
10cb6f69f7
Use HttpHeaders in more places 2025-03-21 13:53:38 -05:00
Max Radermacher
8029e258f7
Rename OWSHttpHeaders → HttpHeaders 2025-03-21 13:52:25 -05:00
Max Radermacher
c2070943a5
Prefer infallible String → Data construct 2025-03-06 13:56:16 -06:00
Harry
8df602b184
Render most undownloadable attachments 2025-01-31 14:43:48 -08:00
Harry
2af0bb31dc
Remove TSResource/Stream/Pointer/Thumbnail, use v2 types directly instead 2024-12-04 13:29:06 -08:00
Max Radermacher
0d655f9e1a
Consolidate error handling for OWSURLSession 2024-11-04 15:49:11 -06:00
Max Radermacher
6d14b97ab6
Use new async OWSUrlSession methods 2024-11-04 15:29:53 -06:00
Harry
0c3c55ce32
Check for >0 timestamps for link previews 2024-10-22 15:06:09 -04:00
Harry
ce5689dcb3
Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Ehren Kret
f4b772a7f1 convert #file to #fileID by enabling concise magic file upcoming feature 2024-09-29 20:03:17 -05:00
Marissa Le Coz
279c42674c
Remove isCallLink from LinkPreviewState 2024-09-27 16:09:30 -04:00
Marissa Le Coz
a84400a4fe
Make call links icon into UIImage using UIGraphics 2024-09-26 16:57:38 -04:00
Max Radermacher
ac9bd24386
Update call link link previews to latest spec 2024-09-24 18:03:57 -05:00
Marissa Le Coz
752dffb2c1
Add image to call link previews for sent messages 2024-09-24 17:40:34 -04:00
Max Radermacher
4d9d555941
Clean up link preview rendering code 2024-08-01 12:21:48 -05:00
Max Radermacher
b9f49023ad
Send call link link previews 2024-07-26 22:00:54 -05:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Max Radermacher
82a87d6c9f
Asyncify LinkPreviewManager 2024-07-25 02:33:13 -05:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
36784dcced
Add invalid v2 Attachment content type 2024-05-07 15:06:59 -07:00
Harry
fb4410c4c3
Get YYImages off AttachmentStream/TSResourceStream 2024-05-03 14:33:10 -07:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Ehren Kret
039d2625b9 convert OWSMath.h to swift
OWSMath.swift overlaps somewhat with Math+OWS.swift but no worse than
OWSMath.h did previously. There are future refactoring efforts that
should occur there to use more of the extensions of Math+OWS.swift and
less of the extensions from OWSMath.swift
2024-04-21 23:26:16 -05:00
Harry
d3362e2e77
Explicit compute vs cached value for TSResourceContentType metadata 2024-04-15 19:39:39 -05:00
Harry
ec181d09b8
TSAttachment->TSResource cleanups 2024-04-15 09:44:21 -07:00
Harry
ae67a311ff
Replace foo as? TSAttachmentStream with foo.asResourceStream() 2024-04-11 13:46:40 -07:00
Jordan Rose
b0de59f2e2 Remove required from every init that is not dynamically dispatched
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
  `Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Max Radermacher
0928223d57
Colocate SignalUI tests with the files they test 2024-03-28 02:25:56 -05:00
Jordan Rose
2727a70b90 Make AtomicValue's lock-sharing explicit
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
  and weren't used in practice
2024-03-27 10:57:32 -07:00
Max Radermacher
8910fc4d5b
Move around files in SignalUI/ and the share ext 2024-03-25 14:22:28 -05:00