Commit Graph

21 Commits

Author SHA1 Message Date
Harry
d4d61c79ff
Validate SignalAttachment before sending 2024-06-12 14:46:28 -07:00
Harry
e9038e0a38
Abstract ImageMetadata loading so it can use more than just in memory Data 2024-05-30 15:29:15 -07:00
Max Radermacher
03afa77603
Prefer non-SignalCoreKit APIs where possible 2024-05-02 14:23:51 -05:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Harry
5b9fb46243
Delete CloneAsSignalAttachmentRequest, implement SignalAttachmentCloner 2024-04-25 10:20:27 -07:00
Ehren Kret
5068cd3782 finish migrating UIImage+OWS to swift 2024-04-23 07:47:47 -05:00
Harry
b9413d882f
Move TSAttachment->SignalAttachment 'cloning' into dedicated class(es) 2024-04-22 15:16:41 -07:00
Ehren Kret
03aa10a6eb remove some simple to fix warnings 2024-04-19 23:36:23 -05:00
Ehren Kret
f6f205b454 handle receiving a UIImage as public.image into the share extension 2024-04-12 13:43:55 -05:00
Ehren Kret
62954c6e49 migrate supported UTI type functions into swift 2024-04-11 22:19:16 -05:00
Ehren Kret
cf2a2c8148 move two more mime type util functions to swift 2024-04-11 22:19:16 -05:00
Ehren Kret
9197f8ac8e move mimeTypeForFileExtension to swift 2024-04-11 22:19:16 -05:00
Ehren Kret
ed6cdb675a migrate isDefinitelyAnimated/isMaybeAnimated to swift 2024-04-11 22:19:16 -05:00
Ehren Kret
fd94424be0 start migrating MIMETypeUtil to swift 2024-04-11 22:19:16 -05:00
Ehren Kret
02f736ec26 remove old NSItemProvider API usage 2024-04-09 10:48:17 -05:00
Ehren Kret
b6d2d20a47 convert SignalAttachment compressVideoAsMp4 from promise to await 2024-04-05 15:25:13 -05:00
Harry
164f19cfbe
Extend AttachmentDataSource to include copying existing attachments 2024-03-29 11:41:13 -07:00
Harry
06476138e0
Standardize Attachment creation callsites 2024-03-21 14:44:04 -07:00
Harry
fa3dfc924a
Move isVoiceMessage to OutgoingAttachmentInfo initializer 2024-03-20 11:27:05 -07:00
Max Radermacher
42c704a4e3
Remove some debug/verbose lines 2024-03-19 19:24:54 -05:00
Ehren Kret
9b908e5c16 move attachments into SignalServiceKit 2024-03-06 12:47:06 -06:00