Elaine
07e1df5272
Update undownloadable image icon and toast
2025-03-06 11:20:27 -07:00
Elaine
a26ebaa2de
Handle undownloadable attachment rendering
2025-02-11 09:38:31 -07:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category
2025-02-05 11:06:42 -06:00
Harry
8df602b184
Render most undownloadable attachments
2025-01-31 14:43:48 -08:00
Harry
b81666d6e9
Add AttachmentBackupPointer and AttachmentPointer
2025-01-27 08:54:25 -08:00
Harry
1fd8d2ed6d
Sayonara, TSResource
2024-12-04 13:30:31 -08:00
Harry
2af0bb31dc
Remove TSResource/Stream/Pointer/Thumbnail, use v2 types directly instead
2024-12-04 13:29:06 -08:00
Ehren Kret
a4d65d6119
remove Dependencies+MainApp.swift
2024-10-11 23:47:02 -05:00
Ehren Kret
de32c7799d
remove NSObject and Dependencies extension computed vars for SignalServiceKit
2024-10-11 23:12:59 -05:00
Harry
8666ca69a2
Show audio waveform fallback as long as we have a duration
2024-10-08 21:02:58 -07:00
Ehren Kret
5ea36cd91b
enable internal imports by default
2024-09-29 20:03:17 -05:00
Sasha Weiss
966b6cacdb
Support isSMS for messages restored from Backups
2024-09-23 17:42:11 -07:00
Ehren Kret
9a0abc1ea1
fix swiftlint 0.57.0 lint warnings
2024-09-10 12:26:26 -05:00
Pete Walters
e30895e342
Add support for downloading/rendering backup thumbnails
2024-08-30 16:34:32 -05:00
Pete Walters
3e3ce9d983
Set of fixes to enable basic media tier attachment restore
2024-08-30 14:30:08 -05:00
Harry
1210f747fd
Fix icon tint colors throughout the app
2024-08-29 12:54:19 -07:00
Adam Sharp
1a8c9fb5c6
Fix iOS 18 crash on launch due to offscreen rendering
...
Creating a UIImageView outside a view hierarchy now crashes on iOS 18. We can
avoid this offscreen rendering technique by removing UIImage.asTintedImage(),
configuring the tint colour and template rendering on the UIImage directly, and
rendering with UIGraphicsImageRenderer instead of lower-level Core Graphics
APIs.
2024-08-20 10:47:28 -04:00
Harry
d756daaf00
Update misleading log line
2024-08-13 16:55:22 -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
e3c15ecb99
Collapse "enqueued" and "downloading" AttachmentDownloadState cases into single "enqueuedOrDownloading" case
2024-06-21 13:03:33 -07:00
Harry
04ff253927
Move around thumbnail constants to new file
2024-06-18 08:44:17 -07:00
Harry
918b2d5ffe
Handle message bubble single-tap (dismiss keyboard) vs double-tap (edit message) conflicts
2024-05-23 12:30:28 -07:00
Ehren Kret
0ab16e43a4
remove the last chunk of objc in the main app target
2024-05-13 12:35:01 -05:00
Harry
36784dcced
Add invalid v2 Attachment content type
2024-05-07 15:06:59 -07:00
Harry
633014ae72
Remove a few easy TSAttachmentStream bridges
2024-05-03 14:33:53 -07:00
Harry
fb4410c4c3
Get YYImages off AttachmentStream/TSResourceStream
2024-05-03 14:33:10 -07:00
Harry
5aac1ec836
CVAttachmentProgressView.ProgressType.downloading doesn't always mean downloading
2024-04-30 13:30:18 -04:00
Harry
e955e607a3
Modernize + asyncify AudioWaveformManager
2024-04-29 13:11:16 -07:00
Max Radermacher
177b43e229
Update to Lottie v4.4.3
2024-04-25 18:19:25 -05:00
Harry
01b494ef15
Move audioWaveform generation up to TSResourceStream
2024-04-25 15:47:15 -07:00
Harry
4b48f11636
Typo fix unenecrypted->unencrypted
2024-04-25 15:44:52 -07:00
Harry
b26bc0af7b
Define v2 AttachmentDownloadState
2024-04-25 15:44:02 -07:00
Harry
5b9fb46243
Delete CloneAsSignalAttachmentRequest, implement SignalAttachmentCloner
2024-04-25 10:20:27 -07: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
f8f892af6a
Fix isAnimatedImage usage (gifs)
2024-04-18 11:32:20 -07:00
Harry
51817bee42
Fix stickers ( #8342 )
2024-04-18 10:04:04 -07:00
Harry
4fca9517f4
Update a ton of CV code from TSAttachment->TSResource
2024-04-15 09:12:59 -07:00
Harry
d246764d58
Fix casting to TSAttachmentPointer
2024-04-12 10:01:47 -07:00
Ehren Kret
ed6cdb675a
migrate isDefinitelyAnimated/isMaybeAnimated to swift
2024-04-11 22:19:16 -05:00
Ehren Kret
de101a0c31
inline isAudio/isVideo/isImage/isBinaryData
2024-04-11 22:19:16 -05:00
Ehren Kret
fd94424be0
start migrating MIMETypeUtil to swift
2024-04-11 22:19:16 -05: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
Harry
16d810e9fa
Use TSResourceId in upload notifications
2024-03-29 14:44:00 -07: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
Harry
c5268b134f
Modernize QuotedReplyModel types
2024-03-25 21:10:55 -07:00
Max Radermacher
2e91c8d92c
Move around a bunch of files in Signal/
2024-03-25 13:26:31 -05:00