Commit Graph

64 Commits

Author SHA1 Message Date
Max Radermacher
13d5fe93dc
Run swiftformat . using v0.60.1 2026-03-26 17:10:38 -05:00
Sasha Weiss
427656e170
Log the association between a message and attachments created for it 2026-02-13 14:32:40 -06:00
Max Radermacher
21d4d8f038
Make attachment limits hot-swappable 2026-01-22 13:46:01 -06:00
Max Radermacher
ff04f9de83
Rename validateContents methods 2026-01-06 13:11:31 -06:00
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Sasha Weiss
3a995f1d29
Remove OwnedAttachmentBuilder from Link Previews, Stories 2025-12-19 13:04:18 -08:00
Max Radermacher
145446f80a
Consolidate shouldConsume logic 2025-12-10 14:05:29 -06:00
Max Radermacher
e4ceece74b
Require ImageQuality when sending all attachments 2025-12-09 13:38:54 -06:00
Max Radermacher
ccf29bdba5
Don’t use SignalAttachment in SendableAttachment 2025-12-09 13:31:33 -06:00
Max Radermacher
037dd9b55a
Add better initializer for SendableAttachment 2025-12-09 13:30:40 -06:00
Max Radermacher
a88c6cef95
Defer SendableAttachment creation until sending 2025-12-09 13:29:25 -06:00
Max Radermacher
e346fcd1fe
Rough-in PreviewableAttachment & SendableAttachment 2025-12-09 13:27:34 -06:00
Max Radermacher
215659ae55
Asyncify AttachmentMultisend 2025-12-04 21:27:40 -06:00
Max Radermacher
818eac21ae
Don’t parallelize segmenting videos 2025-11-24 13:53:32 -06:00
Max Radermacher
0076e26459
Move isViewOnce off of SignalAttachment 2025-11-24 12:05:55 -06:00
Max Radermacher
38c64bd997
Remove SignalAttachment.dataSource wrappers 2025-11-14 20:53:23 -06:00
Harry
9f29ee8022
Inline oversize text in backups 2025-07-30 11:42:39 -07:00
Harry
dfd1762d78
Make AttachmentContentValidator async 2025-07-25 14:26:30 -07:00
Harry
b7a61d2baf
Fix attachment multisend use of AttachmentContentValidator 2025-07-24 12:14:16 -07:00
Harry
dd98cd9cdf
Validate multiple oversized texts at once in AttachmentContentValidator 2025-07-23 14:49:24 -07:00
Max Radermacher
848eb24f74
Update more groupIds to use toHex 2025-04-01 17:58:21 -05:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
Max Radermacher
50b0bbc6a4
Asyncify video segmenting logic 2024-12-13 17:17:28 -06:00
Harry
6390423c59
Clean up some TSAttachment-adjacent code 2024-12-04 13:31:05 -08:00
Harry
1fd8d2ed6d
Sayonara, TSResource 2024-12-04 13:30:31 -08:00
Harry
06f1e2ec9d
Delete TSAttachment managers and other intermediaries 2024-12-04 13:28:12 -08:00
Sasha Weiss
f890ca7bac
Fully Swiftify StorageServiceManager 2024-11-07 17:32:41 -08:00
Ehren Kret
538f5064a6 remove Dependencies protocol entirely 2024-10-12 00:26:22 -05:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Sasha Weiss
a1f7e4c1b1
Migrate TSOutgoingMessageRecipientState off of Mantle 2024-08-23 16:17:26 -07:00
Harry
db47898775
Remove v2 attachment read/write feature flags 2024-08-22 08:49:46 -07:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Max Radermacher
0ca2c7dd47
Add MessageTimestampGenerator 2024-07-25 01:45:20 -05:00
Harry
685d2b2157
Add new container for v2 attachment feature flags 2024-07-24 16:45:27 -07:00
Harry
fcd6828050
V2 attachment feature flags, take 2 2024-07-19 17:23:21 -07:00
Harry
a6f40af7d6
Handle AttachmentMultisend attachment reuse 2024-07-19 17:28:45 -05:00
Harry
75919050c4
Collapse v2 attachment FeatureFlags into one 2024-07-18 16:53:13 -07:00
Harry
10637bfcf9
Dont build story messages in AttachmentMultisend if there aren't story destinations 2024-07-18 13:03:40 -05:00
Pete Walters
3d4d422f97
Convert some writes to awaitableWrite 2024-07-18 10:55:42 -05:00
Harry
7838adccb2
Add rendering flag to PendingAttachment 2024-06-12 15:02:21 -07:00
Harry
d4d61c79ff
Validate SignalAttachment before sending 2024-06-12 14:46:28 -07:00
Harry
60819a4dce
Validate oversized text attachments 2024-06-12 14:44:14 -07:00
Harry
8d7e4c6844
Validate link preview images before sending 2024-06-12 14:40:36 -07:00
Harry
e34e0190b5
Send messages in AttachmentMultisend 2024-04-22 13:52:29 -07:00
Harry
e3dce9b017
Prepare messages in AttachmentMultisend 2024-04-22 13:04:48 -07:00
Harry
021b38d6c2
Add v2 AttachmentMultisend class 2024-04-22 13:00:02 -07:00
Harry
cb0b0c666f
Dedupe private story send messages at creation time 2024-04-22 12:58:53 -07:00
Harry
ef2b8b56df
Copy paste methods only used in TSAttachmentMultisend 2024-04-19 14:28:08 -07:00
Harry
f2c112b5b5
Much ado about nothing 2024-04-19 14:27:05 -07:00