Harry
e3c15ecb99
Collapse "enqueued" and "downloading" AttachmentDownloadState cases into single "enqueuedOrDownloading" case
2024-06-21 13:03:33 -07:00
Sasha Weiss
41d2a3d1b2
Informational UX for delete syncs
2024-06-11 16:39:22 -07:00
Sasha Weiss
4a7be90003
Send support for DeleteForMe sync messages
2024-06-04 15:18:39 -07:00
Sasha Weiss
af12f210cb
Receive support for DeleteForMe sync messages
2024-06-04 15:15:24 -07:00
Sasha Weiss
11e9404d76
Add ThreadSoftDeleteManager
2024-06-04 14:58:58 -07:00
Sasha Weiss
2c5f47e95e
Consolidate similar InteractionFinder methods
2024-06-04 14:55:36 -07:00
Sasha Weiss
da934a3039
Don't display story onboarding overlay if already viewed
2024-05-20 14:50:52 -07:00
Harry
36784dcced
Add invalid v2 Attachment content type
2024-05-07 15:06:59 -07:00
Harry
d7918a3274
Save story v2 attachments
2024-05-03 16:26:30 -07:00
Harry
9993694197
Use TSResourceStream directly in VideoPlayer to create an AVAsset
2024-05-03 14:34:30 -07:00
Harry
fb4410c4c3
Get YYImages off AttachmentStream/TSResourceStream
2024-05-03 14:33:10 -07:00
Harry
025b88e35b
AttachmentSharing for v2 Attachments
2024-05-03 13:03:22 -07:00
Ehren Kret
a99f79ceed
remove availability checks for iOS 14 and 14.0
2024-04-27 13:07:03 -05:00
Max Radermacher
590eda6dac
Use non-deprecated requestReview API
2024-04-26 14:41:53 -05:00
Ehren Kret
c0e959a59f
update deployment target to iOS 14
2024-04-26 05:36:49 -05:00
Max Radermacher
177b43e229
Update to Lottie v4.4.3
2024-04-25 18:19:25 -05: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
a6664300d3
Remove a bunch of TSAttachment bridging in stories display
2024-04-25 10:21:57 -07:00
Max Radermacher
dd42e10e88
Smoosh together various places that fetch profiles
2024-04-23 15:22:37 -05:00
Ehren Kret
3b51f00f6a
migrate two factory methods of UIImage+OWS to swift
2024-04-22 00:17:31 -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
Ehren Kret
7ef51cc823
remove deprecated conformance to UIViewControllerPreviewingDelegate
...
The context menu interaction is already hooked up on
CLVTableDataSource using the internal methods so the extension is
retained but conformance to the deprecated protocol is no longer
required so it is removed.
2024-04-21 08:23:45 -05:00
Max Radermacher
a241f40621
Fix a few build warnings
2024-04-17 19:11:13 -05:00
Max Radermacher
12df76782f
Fix crash when entering the background on iPad
2024-04-17 19:10:32 -05:00
Max Radermacher
bc74ec3953
Tweak or remove redundant/noisy info lines
2024-04-16 19:37:25 -05:00
Max Radermacher
972bb6d37a
Tweak some info and warning lines
2024-04-16 18:10:49 -05:00
Harry Sanabria
ce14200d4a
Fix story loading
2024-04-15 12:47:40 -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
Pete Walters
f7ba1643d6
Move story onboarding settings kvstore from view -> manager
2024-04-09 17:39:29 -05:00
Harry
3c5682e653
Use TSResourceManager in story construction
2024-04-09 14:04:23 -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
Elaine
f7e109e50b
Reload chat list thread view models on contact change
2024-03-29 13:14:00 -06:00
Harry
b8c55601dd
Update a few simple callsites to use PreparedOutgoingMessage
2024-03-28 10:37:00 -07:00
Jordan Rose
3df4d465fe
Remove AtomicLock; it was just a simple wrapper around UnfairLock
2024-03-27 10:57:32 -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
Max Radermacher
be4cada92d
Clean up some info lines
2024-03-27 12:08:43 -05:00
Harry
c5268b134f
Modernize QuotedReplyModel types
2024-03-25 21:10:55 -07:00
Harry
1e1487b6bd
Use TSResourceStore everywhere for Story message attachments
2024-03-25 21:10:12 -07:00
Harry
2b23e1e38f
Separate DraftQuotedReplyModel from QuotedReplyModel
2024-03-25 21:09:39 -07:00
Jordan Rose
95776b610f
ChatConnectionManager: only expose state of identified connection
...
Nobody was using the unidentified connection, and also we expect the
unidentified connection to be allowed to go idle in a way the
identified one does not.
2024-03-25 14:20:58 -07:00
Max Radermacher
2cca071925
Move around calling files in the Signal target
2024-03-25 13:25:37 -05:00
Elaine
f7f9d1ef82
Update existing bar button items using the new convenience methods
2024-03-25 12:20:19 -06:00
Elaine
e0ded06335
Add convenience methods for creating bar buttons
2024-03-22 09:28:55 -06:00
Sasha Weiss
2b791566d9
Mark calls as read when opening the relevant conversation
2024-03-21 10:18:40 -07:00