Commit Graph

47 Commits

Author SHA1 Message Date
Pete Walters
1761235f88
Migrate from YYImage to SDWebImage 2025-09-10 21:39:41 -05:00
kate-signal
e52ee7828e
Can't paste multiple photos into compose bar 2025-07-30 13:28:02 -07:00
Harry
dfd1762d78
Make AttachmentContentValidator async 2025-07-25 14:26:30 -07:00
kate-signal
c1b235db6e
Stickers don't send 2025-07-25 09:21:16 -07:00
Harry
f79fd61904
Refetch pasteboard to work around green square 2025-07-10 15:43:29 -07:00
Ehren Kret
83b37e74a3 remove unused objc compat 2025-02-07 05:30:56 -06:00
Talon Brown
fe701d78f0 Use the correct year specifier for Attachment formatting 2025-02-06 16:43:25 -08:00
Sasha Weiss
a593d643f5
Handle large videos shared to the Share Extension and pasted into text input 2025-02-05 14:08:00 -08:00
Harry
428b27fea3
Pipe up memoji from NSAttributedString attributes 2025-01-31 16:01:06 -08:00
Max Radermacher
50b0bbc6a4
Asyncify video segmenting logic 2024-12-13 17:17:28 -06:00
Harry
1fd8d2ed6d
Sayonara, TSResource 2024-12-04 13:30:31 -08:00
Harry
69ec72428a
Remove TSResourceReference, use v2 types directly instead 2024-12-04 13:29:48 -08:00
Harry
2af0bb31dc
Remove TSResource/Stream/Pointer/Thumbnail, use v2 types directly instead 2024-12-04 13:29:06 -08:00
Harry
06f1e2ec9d
Delete TSAttachment managers and other intermediaries 2024-12-04 13:28:12 -08:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Adam Sharp
a813352029
Remove conditional compiler directives 2024-09-18 12:00:57 -04:00
Harry
af270ee518
Be more permissive with file extensions when creating decrypted copies 2024-09-16 10:41:54 -05:00
Ehren Kret
cb27389cef enable swiftlint mark rule 2024-08-30 22:05:59 -05:00
Ehren Kret
91ed508ed7 convert DataSource types from objc to swift 2024-08-28 10:56:41 -05:00
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