Commit Graph

10333 Commits

Author SHA1 Message Date
Harry
c4bb73eb5f
Remove unused TSResourceDataSource method 2024-06-12 14:49:40 -07:00
Harry
5ed5ee8b18
Remove unused (and unwanted) unvalidated data source cases from AttachmentDataSource 2024-06-12 14:47:48 -07:00
Harry
b2d621c8c2
Validate wallpaper images before setting them 2024-06-12 14:47:09 -07:00
Harry
d4d61c79ff
Validate SignalAttachment before sending 2024-06-12 14:46:28 -07:00
Harry
40f184a576
Only copy existing sticker from pack for TSAttachment 2024-06-12 14:45:51 -07:00
Harry
77f40f61b0
Validate stickers before sending 2024-06-12 14:45:02 -07:00
Harry
60819a4dce
Validate oversized text attachments 2024-06-12 14:44:14 -07:00
Harry
f15989957f
Validate onboarding story attachment on download 2024-06-12 14:43:15 -07:00
Harry
8d7e4c6844
Validate link preview images before sending 2024-06-12 14:40:36 -07:00
Max Radermacher
999ae4a387
Add support for joining Call Link calls 2024-06-12 13:39:41 -05:00
Max Radermacher
ce2465bc70
Use names in “<name> joined Signal” notifications 2024-06-12 13:39:00 -05:00
Marissa Le Coz
04164b0cec
Remove CallMemberView feature flags 2024-06-12 14:38:47 -04:00
Sasha Weiss
41d2a3d1b2
Informational UX for delete syncs 2024-06-11 16:39:22 -07:00
Pete Walters
84295351e8
Update Signal-Message-Backup-Tests pointer 2024-06-11 16:32:46 -07:00
Harry
9723700039
De-Asyncify AttachmentContentValidator 2024-06-11 14:07:12 -07:00
Harry
c7e2ee8163
Fix typo in HEIC header validation 2024-06-10 17:14:32 -07:00
Harry
c50ae90118
Fix quote replying messages with undownloaded attachments 2024-06-10 09:05:23 -07:00
Max Radermacher
76b027a038
Refactor GroupCall lobby method for call links 2024-06-07 15:28:15 -05:00
Max Radermacher
16c994426e
Wrap CallLinkAuthCredential to make it usable 2024-06-07 15:27:53 -05:00
Max Radermacher
c1f486a48d
Remove TestModel from the database 2024-06-07 14:05:13 -05:00
Max Radermacher
ac0c718aa8
Remove redundant database indexes 2024-06-07 13:25:15 -05:00
Harry
77ec5d2014
Clean up/remove DebugUIMessages attachment actions 2024-06-06 15:55:17 -07:00
Harry
f4b4b0dbde
Validate ContactShareDraft avatars before sending 2024-06-06 15:40:42 -07:00
Harry
37b1af34ea
Add PendingAttachment to AttachmentDataSource 2024-06-06 15:36:08 -07:00
Harry
fa1c9d9369
Consume data sources in AttachmentContentValidator 2024-06-06 15:34:58 -07:00
Harry
cf4dbedaf7
Remove unused caption param (all callers pass nil) 2024-06-06 15:34:06 -07:00
Harry
36e2fea835
Prepare attachment files in AttachmentValidator 2024-06-06 15:33:15 -07:00
Elaine
0bf8af76fe
Enable raise hand internally 2024-06-06 11:40:01 -06:00
Elaine
1c42793ef7
Incoming raise hand sound effect 2024-06-06 11:09:01 -06:00
Harry
b4672579cc
Don't leak weakly-referenced database pool in OrphanedAttachmentCleaner 2024-06-06 08:18:18 -07:00
Harry
cea8dee608
Add validator method to encrypt ancillary attachment files 2024-06-05 16:55:14 -07:00
Harry
f5d47412fe
Add validator method to encrypt an attachment file 2024-06-05 16:54:12 -07:00
Harry
f12bf8e06d
Add validator method to compute attachment plaintext hash 2024-06-05 16:53:31 -07:00
Harry
ea6f268bf0
Compute blurhashes in AttachmentContentValidator 2024-06-05 16:52:50 -07:00
Harry
c4330c3d49
Validate digest for encrypted attachment input files 2024-06-05 16:52:10 -07:00
Harry
6352cbea9c
Prepare pending audio waveform and video still frame files during validation 2024-06-05 16:51:35 -07:00
Harry
cf8a8cdd6a
Generate attachment file paths 2024-06-05 16:50:40 -07:00
Harry
fd0077b15c
Add pending attachment methods to OrphanedAttachmentCleaner 2024-06-05 16:46:32 -07:00
Harry Sanabria
a1af45c7a0 Increment GRDB schema version due to changes in commit af12f21 2024-06-05 15:59:50 -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
Pete Walters
c8f9883e5d
Archive/Restore of story distribution lists 2024-06-05 16:55:35 -05:00
Max Radermacher
59fbc10cc1
Remove deprecated migration code 2024-06-05 16:33:05 -05:00
Max Radermacher
db7e1e39d2
Clean up TSThread database indexes 2024-06-05 16:14:36 -05:00
Sasha Weiss
e31fb4a8b2
Batch the contents of DeleteForMe sync messages 2024-06-04 15:20:07 -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
e969fff067
Add DeleteForMe sync message protos 2024-06-04 15:07:28 -07:00
Sasha Weiss
6d378ab60e
Delete stories when deleting a thread 2024-06-04 15:04:51 -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
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
4350aed7da
Implement video attachment ContentType validation 2024-06-03 15:19:13 -07:00
Harry
009248b65d
Implement audio attachment ContentType validation 2024-06-03 15:18:16 -07:00
Harry
d5a95ed043
Slightly rework AttachmentContentValidator 2024-06-03 15:16:59 -07:00
Max Radermacher
5ca7cb66d4
Handle corruption gracefully when repairing the db 2024-06-03 12:34:51 -05:00
Adam Sharp
3f0405e9fb
When editing a message, prompt before discarding current draft 2024-06-03 12:23:09 -04:00
Marissa Le Coz
8d8b4ea8d2
Update call status strings 2024-05-31 16:06:04 -04:00
Marissa Le Coz
2d5f39e02b
Add Raise Hand button 2024-05-31 15:27:05 -04:00
Jordan Rose
1661eb780b OWSChatConnectionUsingLibsignal: Add proxy support 2024-05-31 12:24:51 -07:00
Harry
161a56db80
Implement image attachment ContentType validation 2024-05-30 15:30:50 -07:00
Harry
03be0659cd
Add file handle variants of OWSImageSource 2024-05-30 15:30:07 -07:00
Harry
e9038e0a38
Abstract ImageMetadata loading so it can use more than just in memory Data 2024-05-30 15:29:15 -07:00
Harry
ee112da330
Switch on mime type in AttachmentContentValidator 2024-05-30 15:00:25 -07:00
Harry
a6164b1ad4
Modernize Data.imageMetadata extension method 2024-05-30 14:57:25 -07:00
Harry
0c2d32f1c5
Add AttachmentContentValidator 2024-05-29 19:59:23 -07:00
Harry
b3a6c306ef
Implement AttachmentManager.createAttachmentPointers 2024-05-29 19:56:32 -07:00
Harry
ef62e06c82
Build AttachmentReference.OwnerBuilder into a full Owner object 2024-05-29 19:55:37 -07:00
Harry
f78239f105
Make TransitTierInfo.encryptedByteCount optional 2024-05-29 19:54:32 -07:00
Harry
c080fb899a
Implement AttachmentManager.removeAllAttachments(from owners:) 2024-05-29 19:53:13 -07:00
Harry
7910a93a0e
Make AttachmentManager.removeAllAttachments(from owners:) throw 2024-05-29 19:52:12 -07:00
Harry
99c97db7f0
Implement AttachmentManager.removeAttachment 2024-05-29 19:50:52 -07:00
Harry
0414598fd5
Implement OrphanedAttachmentCleaner 2024-05-29 19:49:44 -07:00
Harry
387a94699a
Share mock attachment param constructors 2024-05-29 19:43:58 -07:00
Harry
b300877407
Add OrphanAttachmentCleaner 2024-05-29 19:43:05 -07:00
Max Radermacher
5b448444bb
Insert events for missed calls while offline 2024-05-29 14:15:32 -05:00
Max Radermacher
131b174e22
Add CallOfferHandlerImpl 2024-05-29 12:13:06 -05:00
Max Radermacher
17ab8a1e66
Simplify CallMessageHandler 2024-05-29 11:55:42 -05:00
Max Radermacher
ca1b5f4751
Remove SignalCall.thread 2024-05-29 11:47:01 -05:00
Harry
0a07cc6969
Establish directory scheme for v2 Attachments 2024-05-28 15:55:04 -07:00
Harry
3be604bb28
Add fetchAttachment by plaintext hash method 2024-05-28 15:53:09 -07:00
Harry
eba1309d9f
Add addOwner for existing attachment method 2024-05-28 15:51:52 -07:00
Harry
056b68c59e
Throw when inserting a duplicate attachment by plaintext hash 2024-05-28 15:51:06 -07:00
Harry
4966be758a
Add OrphanedAttachmentRecord definition 2024-05-28 15:49:04 -07:00
Harry
5bc0d5c616
Implement marking attachment as uploaded 2024-05-28 15:45:01 -07:00
Harry
ff1a62475c
Throw on method to mark attachment as uploaded 2024-05-28 15:44:05 -07:00
Harry
9348405216
Take Attachment.TransitTierInfo instead of fanned out params 2024-05-28 15:43:28 -07:00
Harry
f32f98d826
Implement attachment owner duplication 2024-05-28 15:42:30 -07:00
Harry
a9e8866956
Change attachment owner duplication method signature 2024-05-28 15:41:49 -07:00
Harry
6f43fca86c
Implement AttachmentStore.removeAllThreadOwners 2024-05-28 15:41:00 -07:00
Harry
a8ab3582e3
Implement attachment owner removal 2024-05-28 15:40:14 -07:00
Harry
08e7989f70
Implement enumerating attachment references by attachment id 2024-05-28 15:39:38 -07:00
Harry
ee8d4369a4
Implement updating MessageAttachmentReference receivedAtTimestamp 2024-05-28 15:38:59 -07:00
Harry
3bd4dca844
Early fail on large UInt64 values in Attachments 2024-05-28 15:38:18 -07:00
Harry
b97a25c3d8
Handle global thread wallpaper reinsertion 2024-05-28 15:37:26 -07:00
Harry
5f01a907fc
Implement attachmentReference fetching by owner 2024-05-28 15:36:03 -07:00
Adam Sharp
21801b8e2a
Update from deprecated function SecTrustEvaluate(_:) 2024-05-28 16:17:13 -04:00
Harry
fc0ac237da
Implement attachment fetching by id 2024-05-28 12:58:33 -07:00
Harry
80de9e532a
Implement Attachment insert 2024-05-28 12:51:49 -07:00
Adam Sharp
c46080e682
Remove dead code after unconditional termination 2024-05-28 11:29:45 -04:00