Commit Graph

614 Commits

Author SHA1 Message Date
Harry
efaa46abcb
Access database connection directly in AttachmentStore 2024-10-04 16:11:58 -07:00
Harry
78d39a6604
Make recipient unhiding method properly throw 2024-10-04 16:11:43 -07:00
Harry
98e4b143ea
Add database connection access method to db v2 transactions 2024-10-04 16:10:47 -07:00
Harry
05523587bb
Centralize "can be thumbnailed" logic 2024-10-04 15:24:34 -07:00
Max Radermacher
0a695ddf90
Add ios.senderKeyMaxAge remote config 2024-10-04 15:10:03 -05:00
Harry
e36441b71f
Add enumerateAllAttachments method 2024-10-02 14:05:10 -07:00
Harry
950d6343db
Add method to fetch attachments by media name (has UNIQUE constraint and therefore has index) 2024-10-01 12:56:58 -07:00
Harry
1a6aa23512
Don't download backup tier attachments unless on wifi 2024-10-01 12:54:37 -07:00
Ehren Kret
6e974418aa
migrate OWSReceiptManager to swift 2024-09-30 10:25:39 -07:00
Ehren Kret
38ef7fc309 warning cleanup 2024-09-29 20:03:17 -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 Sanabria
f5ba827d7f Provide appReadiness to warmCaches methods 2024-09-27 14:02:37 -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
4e564fc5ab
Delete AppReadiness shims now that its modernized 2024-09-27 14:01:06 -07:00
Harry
fd0a34909e
Add non-global AppReadiness protocol + impl 2024-09-27 12:36:15 -07:00
Harry
de608c00fb
Add AppReadiness wrapper for the few remaining objc callers 2024-09-27 10:00:53 -07:00
Max Radermacher
9d1f027106
Add CallLinkStateUpdater & CallLinkFetchJobRunner 2024-09-27 11:40:22 -05:00
Harry
ba333be714
Add BackupAttachmentDownloadManager 2024-09-27 07:25:26 -07:00
Ehren Kret
37cbabbb3c remove MainActor assumptions from ReadyFlag and propagate upwards 2024-09-26 20:56:20 -05:00
Ehren Kret
55923db836
convert OWSDisappearingMessagesJob to swift 2024-09-26 15:26:07 -07:00
Harry
4d87719397
Fix backup copy to media tier request 2024-09-25 19:12:48 -05:00
Harry
0edcb508ed
Allow TaskQueueLoader to be stopped 2024-09-25 11:10:48 -07:00
Pete Walters
a8d12f0be2
Add backup/restore of sticker packs 2024-09-25 11:38:51 -05:00
Harry
0227da54df
Enqueue backup attachments for upload 2024-09-25 08:48:11 -07:00
Max Radermacher
ac9bd24386
Update call link link previews to latest spec 2024-09-24 18:03:57 -05:00
Sasha Weiss
cb16a9bd59
More propertly handle "contact hidden and in message request state" from Backups 2024-09-24 10:00:36 -07:00
Harry
a1cf9e62b8
Add TaskQueueLoader 2024-09-23 18:38:16 -07:00
Sasha Weiss
966b6cacdb
Support isSMS for messages restored from Backups 2024-09-23 17:42:11 -07:00
Harry
b94a5faece
Wipe transit tier info off attachment table if we know the upload is gone 2024-09-23 15:06:29 -07:00
Ehren Kret
12ce531f8e eliminate AnyPromise 2024-09-23 15:01:23 -05:00
Ehren Kret
eefdcadf0b convert OWSError to swift 2024-09-23 15:01:18 -05:00
Harry
29511cdf1a
Generate thumbnails for backup attachment uploads 2024-09-20 10:11:22 -07:00
Sasha Weiss
a784a67441
Remove SignalRecipientFinder in favor of RecipientDatabaseTable 2024-09-20 09:40:48 -07:00
Ehren Kret
ce7b5c7617 convert ProfileManagerProtocol and ProtoUtils to swift 2024-09-18 14:29:11 -05:00
Sasha Weiss
6af2388771
Backup integration tests for quote messages 2024-09-18 10:57:19 -07:00
Max Radermacher
39ebf778d2
Don’t retry messages immediately on 5xx errors 2024-09-18 12:08:15 -05:00
Harry Sanabria
c3e3ef1c15 Use proper url in extension derivation 2024-09-18 09:28:32 -07:00
Harry
2889d51077
Send correct encryption key when forwarding an attachment with rotated transit tier info 2024-09-18 09:33:16 -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
9c62efb413
Add receive support for CallLinkUpdate 2024-09-17 09:21:44 -05:00
Sasha Weiss
d6e9c59c09
Backup integration tests for more chat items 2024-09-16 11:44:32 -07:00
Harry
fc1fdbf945
Allow ukranian characters in displayed attachment filenames 2024-09-16 10:43:40 -05:00
Harry
af270ee518
Be more permissive with file extensions when creating decrypted copies 2024-09-16 10:41:54 -05:00
Max Radermacher
0f97a871ea
Use correct type when computing expiresAt 2024-09-13 10:00:36 -04:00
Ehren Kret
c5395a70a1
migrate logic from NSDate OWS category to swift extensions 2024-09-12 12:27:42 -05:00
Ehren Kret
8476d64a01
remove NSData+OWS 2024-09-12 12:01:19 -05:00
Sasha Weiss
a1720def52
Add "simple chat updates" Backup integration test cases 2024-09-10 14:44:51 -07:00