Commit Graph

52 Commits

Author SHA1 Message Date
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
2c5f47e95e
Consolidate similar InteractionFinder methods 2024-06-04 14:55:36 -07:00
Max Radermacher
5ca7cb66d4
Handle corruption gracefully when repairing the db 2024-06-03 12:34:51 -05:00
Harry
0414598fd5
Implement OrphanedAttachmentCleaner 2024-05-29 19:49:44 -07:00
Adam Sharp
c675ec09c7
Resolve designated initializer warnings in SignalServiceKit 2024-05-28 10:47:15 -04:00
Sasha Weiss
750b1c2a40
Move JobRecords to co-locate with JobQueues 2024-05-23 12:10:36 -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
be974a2551
Rip out unused device transfer code 2024-05-22 15:35:22 -05:00
Max Radermacher
cab7fb76f4
Fix a typo related to storedPrimaryFolderName 2024-05-16 17:58:53 -05:00
Max Radermacher
bcfd4c51a8
Fix crash after using device transfer 2024-05-16 16:01:15 -05:00
Sasha Weiss
47c6f80c27
Track which field is missing in SDSError.missingRequiredField 2024-05-16 12:38:13 -07:00
Harry
17c025f40a
More easy TSAttachment bridging removals 2024-04-25 10:25:26 -07:00
Max Radermacher
d6aaa92ca3
Add DBWriteTransaction.addSyncCompletion 2024-04-23 15:49:03 -05:00
Ehren Kret
cd5b4c2b6a fix warning
This is a convenience initializer not a designated initializer
2024-04-20 13:35:00 -05:00
Ehren Kret
b3ecf6d071 fix warning 2024-04-19 23:41:47 -05:00
Sasha Weiss
f1f4e6977d
Do away with ensureGroupIdMapping 2024-04-19 15:46:18 -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
e9c8d71a53
Rename BroadcastMediaMessageJob->TSAttachmentMultisendJob 2024-04-15 20:45:26 -07:00
Harry
3c8d91b288
Define MediaGalleryAttachmentFinder 2024-04-15 14:38:59 -07:00
Harry
1eb1c377a2
Add receivedAtTimestamp to AttachmentReference 2024-04-15 14:38:20 -07:00
Harry
ec181d09b8
TSAttachment->TSResource cleanups 2024-04-15 09:44:21 -07:00
Harry
22209ec1a4
Use wrapped types in MediaGalleryResourceManager 2024-04-15 09:18:21 -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
363868c46f
Expose wrapped types in MediaGalleryResourceFinder 2024-04-15 09:16:14 -07:00
Max Radermacher
73ad055674
Remove redundant phone numbers from OWSUserProfile 2024-04-12 22:22:49 -05:00
Ehren Kret
3fe01cfc9e merge canMakeThumbnail and isVisualMedia into new function in swift 2024-04-11 22:19:16 -05:00
Max Radermacher
b5c90fb0ed
Always use #if for TESTABLE_BUILD & DEBUG 2024-04-11 18:41:25 -05:00
Harry
b63468b98b
Clean up MediaGalleryResourceFinder API 2024-04-11 09:30:36 -07:00
Harry
a6b2cd966f
Wrap MediaGalleryRecordFinder completely transparently in MediaGalleryResourceFinder 2024-04-11 09:29:47 -07:00
Harry
d9e54de6c4
Add wrapped Media Gallery types 2024-04-11 09:28:56 -07:00
Harry
c898c69ff6
Reorganize MediaGalleryFinder file with no code changes 2024-04-11 09:28:13 -07:00
Harry
80dd665843
Eliminate TSAttachment constructors from DebugUI and tests 2024-04-10 20:17:58 -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
Max Radermacher
20783085bb
Replace SAMKeychain with direct keychain access 2024-04-05 21:50:00 -05:00
Elaine
659e897dc9
Allow nicknames to be saved and displayed 2024-04-05 09:35:57 -06:00
Max Radermacher
4cdae7175f
Stop using NSKeyedArchiver in SignalAccounts 2024-04-02 13:48:57 -05:00
Max Radermacher
638e4f9421
Simplify & stabilize system contact parsing 2024-04-02 12:54:03 -05:00
Jordan Rose
b0de59f2e2 Remove required from every init that is not dynamically dispatched
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
  `Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Elaine
dc71e48e2e
Add nickname record 2024-04-01 12:47:15 -06:00
Harry
3fce7676dc
Add row id fetcher to StoryStore/SDSCodableModel 2024-03-29 15:31:20 -07: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
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