Commit Graph

73 Commits

Author SHA1 Message Date
Harry
83ebf96c0d
Add media tier attachment download source enum cases 2024-08-07 15:43:38 -07:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Max Radermacher
57016de8ac
Asyncify group update methods 2024-07-25 02:22:11 -05:00
Sasha Weiss
bffc980d53
Clean up disappearing message timer methods in GroupManager 2024-07-11 10:10:38 -07:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00
Max Radermacher
17b1ccfaf6
Handle errors when enqueuing message sends jobs 2024-07-01 12:02:11 -05:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
1c332354e9
Estimate encrypted attachment size from plaintext size 2024-06-21 14:33:24 -07:00
Harry
08377fdcc3
Add mimeType to v2 DownloadMetadata 2024-06-21 14:16:00 -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
Sasha Weiss
750b1c2a40
Move JobRecords to co-locate with JobQueues 2024-05-23 12:10:36 -07:00
Sasha Weiss
a1eb3d145a
Specify seconds in DM timer construction 2024-04-25 14:08:47 -07:00
Harry
17c025f40a
More easy TSAttachment bridging removals 2024-04-25 10:25:26 -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
Harry
eb7c1a2563
Unify TSAttachmentMultisend sharesheet and main app methods 2024-04-16 16:23:34 -07:00
Harry
e9c8d71a53
Rename BroadcastMediaMessageJob->TSAttachmentMultisendJob 2024-04-15 20:45:26 -07:00
Harry
dfaf09be1a
Download in IncomingContactSyncJobRecord without creating a TSAttachment 2024-04-10 20:17:18 -07:00
Harry
dc1192b0ee
Rename IncomingGroupSyncJobRecord.attachmentId->legacyAttachmentId and make optional 2024-04-10 09:29:41 -05:00
Harry
6acaf28187
Clean up PreparedOutgoingMessage 2024-04-04 12:55:20 -07:00
Harry
3915fd14db
Use PreparedOutgoingMessage in MessageSender 2024-04-03 13:26:49 -07:00
Harry
ef97f3d8f1
Pre-upload contact syncs before sending 2024-04-03 13:26:05 -07:00
Harry
85f08fdabe
Add TSResourceUploadManager and AttachmentUploadManager 2024-03-29 18:20:00 -07:00
Harry
16d810e9fa
Use TSResourceId in upload notifications 2024-03-29 14:44:00 -07:00
Harry
ca54b1d54f
rename UploadManager->TSAttachmentUploadManager 2024-03-29 15:43:41 -05:00
Harry
0e24aa35ff
Add edit message as an explicit type in the new message send preparers 2024-03-29 11:24:18 -07:00
Harry
71f06fc3c2
Remove OutgoingMessagePreparer from MessageSendJobQueue 2024-03-28 10:38:12 -07:00
Harry
4059335aac
Use PreparedOutgoingMessage for all transient message enqueuing 2024-03-28 10:36:24 -07:00
Harry
4119d9bd26
Use PreparedOutgoingMessage for gift badge sends 2024-03-28 10:35:42 -07:00
Harry
0236ac4491
Use new PreparedOutgoingMessage in attachment multisend 2024-03-28 09:51:44 -07:00
Harry
038a5f0ac0
Accept PreparedOutgoingMessage in MessageSenderQueue 2024-03-28 09:50:02 -07:00
Jordan Rose
3df4d465fe Remove AtomicLock; it was just a simple wrapper around UnfairLock 2024-03-27 10:57:32 -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
517de6a9bd
Clean up some debug/verbose lines 2024-03-26 16:37:23 -05:00
Harry
9aa258b58c
Remove unneeded objc declarations on methods 2024-03-26 13:28:09 -07:00
Harry
8090e47a73
Use an explicit enum on MessageSenderJobRecord 2024-03-26 13:26:47 -07:00
Sasha Weiss
3f686ef5e3
Move CallRecord+ConversationId into a mockable adapter 2024-03-20 08:57:59 -07:00
Max Radermacher
b9e0c4bfde
Fix contact sync pruning for phone number hiding 2024-03-19 17:38:15 -05:00
Sasha Weiss
2dd9eb6b83
Add outgoing support for call identifiers in CallLogEvent sync messages 2024-03-19 14:45:28 -07:00
Ehren Kret
fd8e2950ea move remaining Subscriptions and Jobs code to SignalServiceKit 2024-03-12 03:35:34 -05:00
Ehren Kret
f796931255 move IncomingContactSyncJobQueue to SignalServiceKit 2024-03-12 03:35:34 -05:00
Ehren Kret
8c22301ba4 move ThreadUtil and SessionResetJob to SignalServiceKit 2024-03-12 03:35:34 -05:00
Ehren Kret
efcebb4b97 move OWSGroupSyncProcessingJobQueue to SignalServiceKit 2024-03-12 03:35:34 -05:00
Ehren Kret
f87203b48c move BroadcastMediaMessageJob to SignalServiceKit 2024-03-12 03:35:34 -05:00
Sasha Weiss
e188a8f1ac
Use the most-recent call's timestamp as the delete-all timestamp 2024-03-11 10:58:53 -07:00
Sasha Weiss
13cab8a5c3
Add sync message for clearing missed-call badge 2024-02-27 15:24:24 -08:00
Harry
768535363c
Require transaction in TSMessage.hasRenderableContent 2024-02-27 14:21:41 -08:00