Commit Graph

145 Commits

Author SHA1 Message Date
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
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
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
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
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
Harry
86ef1d52bc
Migration to split incrementalMac attachment columns to separate media and transit tier values 2024-09-09 16:52:02 -07:00
Max Radermacher
28687e6ba7
Improve performance when generating waveforms 2024-09-04 17:36:58 -05:00
Sasha Weiss
961086eed0
Adopt generated Backup integration tests for AccountData 2024-09-04 14:15:45 -07:00
Sasha Weiss
6e50f123e8
Reorder a column in Attachment 2024-09-04 13:37:18 -07:00
Max Radermacher
929d9eeaef
Remove deprecated VoIP token logic 2024-08-29 15:27:52 -05:00
Pete Walters
605bb08f72
Add mediaTierDigestSHA256Ciphertext to AttachmentRecord 2024-08-26 14:50:27 -05:00
Max Radermacher
412b5ae34b
Fix group & story thread enumeration methods 2024-08-23 18:01:08 -05:00
Max Radermacher
9ec0c3fd7f
Swiftify PreKeyBundle 2024-08-23 14:50:07 -05:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates 2024-08-22 14:02:03 -07:00
Max Radermacher
af03b70346
Migrate blocked recipients to dedicated table 2024-08-21 18:03:22 -05:00
Harry
555e24e65a
Add break glass for TSMessage.TSAttachment migration in prod 2024-08-21 09:20:54 -07:00
Harry
65f20485b9
Swallow file copying error for failed tsattachment file read 2024-08-21 11:55:54 -04:00
Max Radermacher
07baa170f7
Remove “collection” concept from database types 2024-08-20 18:22:00 -05:00
Harry
fc8c8a16ef
Drop story attachment files with file/io errors in migration 2024-08-16 10:24:09 -07:00
Ehren Kret
086b4abfa5 fix several warnings 2024-08-15 16:09:58 -05:00
Pete Walters
f22154db54
Add AttachmentUploadRecord 2024-08-15 10:50:41 -05:00
Harry
c3fb18bf78
Stop incremental migrator when backgrounding app 2024-08-14 11:58:18 -07:00
Harry Sanabria
258826b0ff Add 2 small logs to migration 2024-08-14 11:39:19 -07:00
Harry
df444b685b
Try copying file first if we hit a file i/o error when validating migration attachment file 2024-08-14 11:24:53 -07:00
Harry
d45634cf8e
Avoid uneccesary full log string redaction in attachment migration error log 2024-08-13 09:15:19 -07:00
Harry
8a6b3e4c00
Don't accept directories as attachment files in TSAttachment migration 2024-08-12 17:09:45 -07:00
Harry
fb73508927
Log TSAttachment migration FileHandle error while replacing filename 2024-08-12 14:07:07 -07:00
Max Radermacher
acf50c3559
Reformat code related to message requests 2024-08-12 11:46:41 -05:00
Adam Sharp
ba3098d18c Save selected unread filter to KeyValueStore 2024-08-07 17:52:49 -04:00
Sasha Weiss
3cdf735b40
Pare down TSInteraction initializers 2024-08-06 10:06:20 -07:00
Harry
7a9bd74fd8
Wrap sql/filesystem errors in OWSAssertionErrors 2024-08-06 09:07:45 -07:00
Harry
6078f715a8
Treat message TSAttachment rows we can't parse as if they don't exist, possibly producing invalid TSMessages 2024-08-06 09:06:13 -07:00
Harry
4e8ea9d65a
Mark file invalid instead of throwing when failing to parse audio duration 2024-08-06 09:05:04 -07:00
Harry
0dcf34e5b5
Fall back to quote stubs for more migration quoted reply errors 2024-08-06 09:04:11 -07:00
Harry
4f5d8c8450
Skip messages with easily skippable migration errors 2024-08-06 09:03:01 -07:00
Harry
fffbbe9886
Ignore blob columns that fail to unarchive when migrating TSAttachments 2024-08-06 09:01:57 -07:00
Harry
2b587ac3cf
Don't uneccessarily throw in archive method 2024-08-06 08:57:21 -07:00
Harry
a48353d658
Drop duplicate TSAttachments on a single TSMessage in the migration 2024-08-02 14:49:47 -07:00
Ehren Kret
e1cfd116a2 rename OWSAES256Key in swift to Aes256Key 2024-08-02 09:29:55 -05:00