Commit Graph

215 Commits

Author SHA1 Message Date
Harry
32b93c103b
Remove KnownStickerPack, query MessageAttachmentReference instead 2024-10-23 14:57:20 -07:00
Harry
9956bd3ce0
Disable DatabaseChangeObserver while creating and restoring backups 2024-10-22 10:43:40 -07:00
Harry
b3b14bc97f
Protocolize+make public DatabaseChangeObserver 2024-10-22 10:42:16 -07:00
Harry
c1a4b8828c
Skip serializing empty objects in SDS serialization 2024-10-22 10:41:42 -07:00
Harry
576dad141e
Add BackupFullTextSearchIndexer 2024-10-21 16:20:39 -07:00
Max Radermacher
b902790b93
Add & use global.messageQueueTime remote config 2024-10-18 15:07:10 -05:00
Max Radermacher
e8a0aee759
Remove IncomingGroupSyncJobRecord entirely 2024-10-18 14:01:33 -05:00
Max Radermacher
6e0af60788
Fix SignedPreKeyRecord NSSecureCoding conformance 2024-10-15 13:42:39 -05: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
Max Radermacher
b6b3a78f60
Add GRDB migrations for call links 2024-10-09 14:03:38 -05:00
Max Radermacher
3aceb65513
Add info button support to calls tab 2024-10-08 11:54:58 -05:00
Harry
ce5689dcb3
Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Harry
7c5dcf8b4f
Orphan backup attachments by mediaId as well as mediaName 2024-10-07 07:52:17 -07:00
Harry
ba2f10732e
Parametrize transaction type in DB v2 protocol 2024-10-04 16:12:52 -07:00
Harry
98e4b143ea
Add database connection access method to db v2 transactions 2024-10-04 16:10:47 -07:00
Max Radermacher
0a695ddf90
Add ios.senderKeyMaxAge remote config 2024-10-04 15:10:03 -05:00
Harry
16ea76a8e3
Add OrphanedBackupAttachment table 2024-10-02 09:23:26 -07:00
Max Radermacher
d40fd336df
Adjust “Use awaitableWrite in Tasks” check 2024-10-01 16:17:44 -05:00
Harry
718984472f
Add GRDB db observation method to DB 2024-10-01 12:57:35 -07:00
Max Radermacher
a69ff7d3fd
Add basic support for rendering call links 2024-09-30 21:14:01 -05:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry Sanabria
044f277a28 Pass AppReadiness instance to a ton of classes that need to retain it as an instance var 2024-09-27 15:03:52 -07:00
Harry
13cd59a2a0
Pass AppReadiness instance to a bunch of usage sites that are only 1 layer deep 2024-09-27 14:02:07 -07:00
Harry
fd0a34909e
Add non-global AppReadiness protocol + impl 2024-09-27 12:36:15 -07:00
Pete Walters
a8d12f0be2
Add backup/restore of sticker packs 2024-09-25 11:38:51 -05:00
Harry
28c598f001
Add BackupAttachmentUploadQueue table 2024-09-25 08:44:18 -07:00
Ehren Kret
8057d074c5
fix race condition for cross process sds notifications by no longer using state 2024-09-24 21:28:22 -05:00
Jordan Rose
a3fc08e2e4 Continue tolerating legacy sessions in SSKSessionStore
Rather than relying on SDSKeyValueStore returning nil when
keyed-archive data can't be decoded, do the decoding step in
SSKSessionStore, where we can explicitly allow it. Then write a test
that approximates having the old session data stored.
2024-09-24 17:04:48 -07:00
Ehren Kret
5c1731902b
convert SDSCrossProcess and DarwinNotificationCenter to swift 2024-09-24 15:15:51 -05:00
Max Radermacher
6512d0bc47
Use -> Never for rescue blocks 2024-09-24 14:50:56 -05:00
Sasha Weiss
7314377bbc
Re-add .defaults(to: false) in migration missed during rebase 2024-09-24 12:13:55 -07:00
Sasha Weiss
cb16a9bd59
More propertly handle "contact hidden and in message request state" from Backups 2024-09-24 10:00:36 -07:00
Sasha Weiss
966b6cacdb
Support isSMS for messages restored from Backups 2024-09-23 17:42:11 -07:00
Ehren Kret
f83dff9252 delete legacy axolotl store model types
Note that this may cause some session rebuilds to occur for any
recipients in the iOS client's session store which have devices whose
session records have not been written to in over 3 years.
2024-09-23 15:01:18 -05:00
Ehren Kret
2e928eaa06 convert PreKeyRecord and SignedPreKeyRecord to swift 2024-09-23 15:01:18 -05:00
Ehren Kret
417aaab413 migrate OWS2FAManager from objc to swift 2024-09-23 15:01:18 -05:00
Sasha Weiss
a784a67441
Remove SignalRecipientFinder in favor of RecipientDatabaseTable 2024-09-20 09:40:48 -07:00
Ehren Kret
5d1ae6fd53 remove dead code 2024-09-19 13:01:57 -05:00
Ehren Kret
77ae2c5478 migrate YDBStorage from objc to swift 2024-09-19 13:01:57 -05:00
Ehren Kret
e0cb226ad8 convert SSKSignedPreKeyStore from objc to swift 2024-09-19 13:01:57 -05:00
Ehren Kret
311a9b9ce2 migrate SSKPreKeyStore from objc to swift 2024-09-18 14:29:11 -05:00
Harry
866c20055a
Implement Attachment content validation backfill migrator 2024-09-17 11:38:37 -07:00
Harry
7b69618ae2
Genericize BGProcessingTask runner for reuse 2024-09-17 11:19:29 -07:00
Harry
3c9c891059
Track isViewOnce on MessageAttachmentReference table 2024-09-17 09:04:26 -07:00
Max Radermacher
eae1ab1e12
Upgrade to SwiftProtobuf v1.28.1 2024-09-17 09:11:11 -05:00
Harry
6fd4d5f12f
Don't run TSAttachment migration in main app 2024-09-16 11:48:32 -07:00
Sasha Weiss
a1720def52
Add "simple chat updates" Backup integration test cases 2024-09-10 14:44:51 -07:00
Sasha Weiss
b4f15c7ccb
Add "calls" Backup integration tests 2024-09-10 11:33:28 -07:00
Ehren Kret
7ea7edecd9 migrate OWSFileSystem to swift 2024-09-10 12:24:25 -05:00