Commit Graph

28 Commits

Author SHA1 Message Date
Adam Sharp
f8bcb88467
Work around AVAssetExportSession.export(to:as:) not being back-deployed
In Xcode 16 beta 4, this API was marked as back-deployed before iOS 18, but
that changed in beta 5. Because calling the older export() API now generates a
(possibly spurious) warning about the export session leaving its isolation,
introduce a wrapper that's available before iOS 18 and uses the proper
isolation.
2024-08-12 20:49:08 -04:00
Adam Sharp
e3cdbb7e6a
Asyncify VideoEditorModel 2024-08-05 14:51:25 -04:00
Harry
e2b72383b9
Check if video SignalAttachments are too large so that we early exit 2024-07-25 17:21:56 -07:00
Harry
932b3ae163
Pass along user-visible filename to sharesheet for v2 attachments 2024-07-24 17:09:21 -07:00
Harry
fcd6828050
V2 attachment feature flags, take 2 2024-07-19 17:23:21 -07:00
Adam Sharp
c2fd39a95c
Switch from deprecated UTI functions to UTType 2024-07-08 10:17:08 -04:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
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