Commit Graph

10214 Commits

Author SHA1 Message Date
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
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
c5e142019f
Update variable names from builder->constructionparams for attachments 2024-05-24 13:52:46 -07:00
Harry
3bc52c4954
Add a bunch of AttachmentStore tests 2024-05-24 13:52:06 -07:00
Harry
f41a1709a8
Implement v2 WallpaperImageStoreImpl 2024-05-24 13:11:54 -07:00
Max Radermacher
7f1bcbf991
Stop tracking pending calls at the app layer 2024-05-24 14:39:57 -05:00
Max Radermacher
fe82d248e1
Rename to CurrentCallProvider 2024-05-24 14:36:14 -05:00
Max Radermacher
3eec477bf1
Process some missed call events more quickly 2024-05-24 14:16:55 -05:00
Max Radermacher
e1b903c711
Move some of IndividualCall to CallEventInserter 2024-05-24 14:09:37 -05:00
Harry
37c5fa83e4
Factor out AttachmentStoreImpl methods for testing 2024-05-24 11:19:55 -07:00
Harry
5bd57c6559
Move AttachmentReference.OwnerBuilder to a different file 2024-05-24 11:16:23 -07:00
Harry
0ac8f86603
Add AttachmentReference.ConstructionParams 2024-05-24 11:13:22 -07:00
Harry
3f9b412ab2
Add Attachment.Builder 2024-05-24 11:01:20 -07:00
Harry
5ccd1c3ce1
Make AttachmentStore write methods throw 2024-05-24 10:48:24 -07:00
Sasha Weiss
750b1c2a40
Move JobRecords to co-locate with JobQueues 2024-05-23 12:10:36 -07:00
Harry
e6c47c9250
Initialize Attachment.Record from Attachment 2024-05-23 09:14:28 -07:00
Harry
e5787cd5a1
Define Attachment and AttachmentReference Record types for reading/writing to the database 2024-05-23 09:13:13 -07:00
Harry
0d85470991
Create V2 Attachment table (+ friends) migration 2024-05-23 09:12:22 -07:00
Max Radermacher
50ba587dc9
Simplify PushKit handling for calls 2024-05-22 23:21:58 -05:00