Commit Graph

39 Commits

Author SHA1 Message Date
Harry
6b74605739
Fix forwarding logic for attachments 2024-04-18 14:03:35 -07: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
Max Radermacher
a241f40621
Fix a few build warnings 2024-04-17 19:11:13 -05:00
Max Radermacher
bc74ec3953
Tweak or remove redundant/noisy info lines 2024-04-16 19:37:25 -05:00
Max Radermacher
2b85069f8e
Don’t use inheritance with CallService 2024-04-16 19:36:24 -05:00
Harry
d3362e2e77
Explicit compute vs cached value for TSResourceContentType metadata 2024-04-15 19:39:39 -05:00
Harry Sanabria
ce14200d4a Fix story loading 2024-04-15 12:47:40 -07:00
Harry
0be599960e
Add isVisualMedia equivalent to TSResourceStream 2024-04-15 09:44:57 -07:00
Harry
ec181d09b8
TSAttachment->TSResource cleanups 2024-04-15 09:44:21 -07:00
Harry
40af904a24
Another chunk of TSResource type migrations for conversation view classes 2024-04-15 09:15:27 -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
cf2a2c8148 move two more mime type util functions 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
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
Ehren Kret
b6d2d20a47 convert SignalAttachment compressVideoAsMp4 from promise to await 2024-04-05 15:25:13 -05:00
Harry
fef8d8d109
Explicitly drop draft quoted replies for edits 2024-04-05 11:24:00 -07:00
Harry
71f4db0c01
Split ThreadUtil.enqueue for edits vs normal messages 2024-04-04 15:34:00 -07:00
Harry
44cd5c6b88
Clean up some unused TSMessage params 2024-04-04 15:32:52 -07:00
Harry
2c2c839cd0
Clean up EditManager shims 2024-04-04 13:00:01 -07:00
Harry
741e52c119
Make EditManager a protocol + impl 2024-04-04 12:57:31 -07:00
Max Radermacher
f471dffa84
Clean up dependencies/ObjC in some calling types 2024-04-03 12:12:19 -05:00
Max Radermacher
c06d92f163
Split Contact & SystemContact 2024-04-02 13:37:36 -05:00
Max Radermacher
638e4f9421
Simplify & stabilize system contact parsing 2024-04-02 12:54:03 -05: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
393a152a2b
Add more contact badges 2024-03-29 16:08:35 -06:00
Harry
16d810e9fa
Use TSResourceId in upload notifications 2024-03-29 14:44:00 -07:00
Harry
600daabd6f
Build outgoing contact avatars using TSResourceManager 2024-03-29 11:36:11 -07:00
Harry
4059335aac
Use PreparedOutgoingMessage for all transient message enqueuing 2024-03-28 10:36:24 -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
Sasha Weiss
a1d91d8392
Rename isPlaceholderModel on TSGroupModel 2024-03-26 14:29:54 -07:00
Harry
c5268b134f
Modernize QuotedReplyModel types 2024-03-25 21:10:55 -07:00
Harry
2b23e1e38f
Separate DraftQuotedReplyModel from QuotedReplyModel 2024-03-25 21:09:39 -07:00
Max Radermacher
8910fc4d5b
Move around files in SignalUI/ and the share ext 2024-03-25 14:22:28 -05:00
Max Radermacher
2e91c8d92c
Move around a bunch of files in Signal/ 2024-03-25 13:26:31 -05:00