Commit Graph

204 Commits

Author SHA1 Message Date
Harry
d9be87a76d
Make TSAttachment migration non-blocking again
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-12-16 18:09:20 -08:00
Harry
3467b671c5
Pass an NSProgress into the TSAttachment migration
Co-authored-by: Elaine <elaine@signal.org>
2024-12-13 15:51:12 -08:00
Max Radermacher
3c9fa13b2f
Add MainActor annotations for db change observers 2024-12-13 17:14:49 -06:00
Harry
401c361db0
Don't block on failure to delete TSAttachment folder 2024-12-12 14:45:23 -08:00
Harry
d3bb029a90
Don't fail TSAttachment migration on quoted reply validation errors 2024-12-12 10:25:59 -08:00
Harry
d62d96424e
Reduce memory usage of TSAttachment migration 2024-12-05 16:40:42 -08:00
Sasha Weiss
c42557903a
Make Backup subscription redemption durable 2024-12-05 14:43:11 -08:00
Harry
b76fae88ba
Don't fail when unable to read quote image in TSAttachment migration 2024-12-05 14:47:47 -06:00
Harry
10c8f35fe6
Adios, MediaGalleryRecord 2024-12-04 14:26:00 -08:00
Harry
fedb96ec75
Arrivederci, TSAttachment 2024-12-04 13:33:14 -08:00
Harry
89b6db602f
Deprecate attachmentIds TSInteraction column 2024-12-04 13:32:16 -08:00
Harry
39557cf5b8
Drop TSAttachment fields from JobRecords 2024-12-04 13:31:41 -08:00
Harry
06f1e2ec9d
Delete TSAttachment managers and other intermediaries 2024-12-04 13:28:12 -08:00
Harry
7d88672c21
Remove versioned expire timer capability checking 2024-12-02 14:07:53 -08:00
Harry
061227f414
Track IsPastEditRevision for media gallery filtering 2024-12-02 08:27:54 -08:00
Harry
5a14e3842b
Make TSMessage TSAttachment migration blocking 2024-11-26 08:52:16 -08:00
Max Radermacher
54eafa1bd9
Clean up app reset method 2024-11-22 17:08:36 -06:00
Pete Walters
71014389ab
Quote columns when building db restore query 2024-11-22 16:14:23 -06:00
Max Radermacher
5ab2ab6f49
Remove unused SDSSwiftSerializable 2024-11-19 17:30:39 -06:00
Max Radermacher
f9554761e4
Adopt non-deprecated NSKeyedUnarchiver method 2024-11-19 16:44:02 -06:00
Max Radermacher
7fe3d40a1a
Remove KeyValueStore protocol file 2024-11-18 14:35:04 -06:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Sasha Weiss
dadca9e032
Directly adopt KeyValueStore in SDSKeyValueStore 2024-11-15 14:54:30 -08:00
Sasha Weiss
1be742f639
Drop ObjC from KeyValueStore 2024-11-15 09:17:55 -08:00
Harry
44770cef3d
Add retrying to MessageBackupAvatarFetcher 2024-11-12 13:29:36 -08:00
Harry
7591e35fd2
Restore group and contact avatars after backup restore 2024-11-11 17:30:05 -08:00
Harry
f3c786fdc9
Drop group story replies for missing stories 2024-11-08 12:45:43 -08:00
Harry
1f56ed5181
[RFC] Run IncrementalTSAttachmentMigrator when the main app is foregrounded 2024-11-08 09:06:40 -08:00
Ehren Kret
3d0a7d0e36 remove dead code 2024-11-07 09:27:31 -06:00
Ehren Kret
236d436d09 remove dead code: DB.writePromiseWithTxCompletion 2024-11-05 10:46:46 -06:00
Harry
aca2204448
Improve post-backup FullTestSearchIndexer error handling 2024-11-04 08:30:01 -08:00
Max Radermacher
c3cd9f13cc
Clean up some noisy lines 2024-11-01 17:33:38 -05:00
Harry
9937e97d6a
Add database writeWithTxCompletion variants 2024-10-30 12:45:45 -07:00
Ehren Kret
a6fd1765f9 remove unnecessary @objc from SDSDatabaseStorage 2024-10-30 12:01:54 -05:00
Harry
8f9c66cc5c
Clean up SDSDatabaseStorage's layers and layers of methods 2024-10-29 14:51:23 -07:00
Sasha Weiss
f54409b92d
Stop persisting a ReceiptCredentialPresentation on job records 2024-10-29 11:31:04 -07:00
Max Radermacher
71950c3e52
Don’t use escaping block for awaitableWrite 2024-10-25 13:00:37 -05:00
Sasha Weiss
46b5b4a9e4
Prefix donations-related types with Donations 2024-10-25 10:14:56 -07:00
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
Max Radermacher
e8a0aee759
Remove IncomingGroupSyncJobRecord entirely 2024-10-18 14:01:33 -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