Commit Graph

73 Commits

Author SHA1 Message Date
Harry
04ff253927
Move around thumbnail constants to new file 2024-06-18 08:44:17 -07:00
Harry
8cafb12cde
Construct quoted reply attachments from QuotedReplyAttachmentDataSource in AttachmentManager 2024-06-12 15:15:36 -07:00
Harry
243208af7c
Prepare DraftQuotedReplyModel for sending in QuotedReplyManager 2024-06-12 15:14:53 -07:00
Harry
e8ed187a45
Add DraftQuotedReplyModel+ForSending 2024-06-12 15:14:19 -07:00
Harry
3dc41f2469
Add threadUniqueId to DraftQuotedReplyModel 2024-06-12 15:11:39 -07:00
Harry
3a92f1bbd7
Remove QuotedMessageInfo wrapper around TSQuotedMessage 2024-06-12 15:10:53 -07:00
Harry
f2311d00ae
Use fallbacks for easier handling of quoting v1 attachments as v2 attachments 2024-06-12 15:07:20 -07:00
Harry
23fed9d786
Add convenience validation from data (instead of going through DataSourceValue) 2024-06-12 15:03:14 -07:00
Harry
7838adccb2
Add rendering flag to PendingAttachment 2024-06-12 15:02:21 -07:00
Harry
8d7e4c6844
Validate link preview images before sending 2024-06-12 14:40:36 -07:00
Sasha Weiss
41d2a3d1b2
Informational UX for delete syncs 2024-06-11 16:39:22 -07:00
Harry
9723700039
De-Asyncify AttachmentContentValidator 2024-06-11 14:07:12 -07:00
Harry
f4b4b0dbde
Validate ContactShareDraft avatars before sending 2024-06-06 15:40:42 -07:00
Harry
cf4dbedaf7
Remove unused caption param (all callers pass nil) 2024-06-06 15:34:06 -07:00
Harry
23861132fa
[RFC] Avoid CNContact loading round trip when loading avatar for already-loaded CNContact 2024-06-05 15:08:44 -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
0f4289fc73
Replace interaction anyRemove with InteractionDeleteManager 2024-06-04 14:51:52 -07:00
Harry
194d39ddea
Don't discard link previews sent alongside oversize text attachments 2024-06-03 16:07:08 -07:00
Harry
7910a93a0e
Make AttachmentManager.removeAllAttachments(from owners:) throw 2024-05-29 19:52:12 -07:00
Adam Sharp
c675ec09c7
Resolve designated initializer warnings in SignalServiceKit 2024-05-28 10:47:15 -04:00
Adam Sharp
0f41ad1d74
Fix codegen formatting 2024-05-28 10:45:10 -04:00
Harry
96ffe02d8b
Clean up new group info message events 2024-05-16 14:11:32 -07:00
Sasha Weiss
47c6f80c27
Track which field is missing in SDSError.missingRequiredField 2024-05-16 12:38:13 -07:00
Harry
6835de9ba5
Always treat OWSPaymentMessages as having renderable content 2024-05-14 14:31:47 -07:00
Ehren Kret
13a1637608 migrate AppContext protoocl to swift 2024-05-08 07:37:37 -05:00
Harry
82efa4eb7f
Audit usages of TSResource.mimeType to ensure we check contentType first 2024-05-07 15:06:11 -07:00
Sasha Weiss
6ff76dd7e6
Do away with some ObjC test infra 2024-05-06 09:57:21 -07:00
Harry
0e228ab878
Feature parity with desktop on lottie sticker support (aka drop support) 2024-05-03 14:59:07 -07:00
Sasha Weiss
a25868491f
Make defaults in TSIncomingMessageBuilder explicit and complete 2024-05-02 15:56:02 -07:00
Max Radermacher
bd93c4a3d9
Use kOversizeTextMessageSizeThreshold consistently 2024-05-02 15:32:36 -05:00
Harry
d6dbc85694
Clean up TSResourceStream file access API 2024-05-01 16:56:10 -07:00
Max Radermacher
0b3d2a8f18
Remove and fix confusing substring methods 2024-05-01 15:46:25 -05:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Harry
b26bc0af7b
Define v2 AttachmentDownloadState 2024-04-25 15:44:02 -07:00
Harry
237bf46219
Remove TSAttachment bridging in TSMessage methods 2024-04-25 10:24:00 -07:00
Max Radermacher
456f2037ee
Stop putting kLocalProfileUniqueId in addresses 2024-04-23 13:58:27 -05:00
Ehren Kret
5068cd3782 finish migrating UIImage+OWS to swift 2024-04-23 07:47:47 -05:00
Ehren Kret
03aa10a6eb remove some simple to fix warnings 2024-04-19 23:36:23 -05:00
Sasha Weiss
f1f4e6977d
Do away with ensureGroupIdMapping 2024-04-19 15:46:18 -07:00
Jim Gustafson
218c6f4338
Support multi-recipient message sending
Co-authored-by: Max Radermacher <max@signal.org>
2024-04-19 16:46:09 -05:00
Harry
f2c112b5b5
Much ado about nothing 2024-04-19 14:27:05 -07:00
Harry
6fdb7a2f5d
Protocolize MediaGalleryResourceManager 2024-04-15 09:17:11 -07:00
Harry
69c9dad519
Transparently wrap MediaGalleryRecordManager in MediaGalleryResourceManager 2024-04-15 09:16:45 -07:00
Harry
d246764d58
Fix casting to TSAttachmentPointer 2024-04-12 10:01:47 -07:00
Ehren Kret
bdf6b9a4da remove MIMETypeUtil.h/m and finish swift conversion 2024-04-11 22:19:16 -05:00
Ehren Kret
3fe01cfc9e merge canMakeThumbnail and isVisualMedia into new function in 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
Max Radermacher
22c254eecd
Rename NotificationPresenter-related types 2024-04-11 18:45:25 -05:00