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 |
|
Harry
|
546ae94e7e
|
Drop legacy attachment files that are too big
|
2024-08-01 11:57:05 -07:00 |
|
Harry
|
5a7d154d16
|
Add BackupAttachmentDownloadQueue table
|
2024-08-01 10:24:27 -07:00 |
|
Harry
|
3608e2796f
|
Return a quote stub if we fail to find original attachment in migration of quote
|
2024-07-31 17:00:07 -07:00 |
|
Harry
|
2224160810
|
Use non-crashing sql execute method
|
2024-07-31 16:24:12 -07:00 |
|
Harry
|
2700cfe624
|
Block on migrating TSAttachments before creating backups
|
2024-07-31 15:33:11 -07:00 |
|
Harry Sanabria
|
04b374d49b
|
clean up tmp file
|
2024-07-30 07:28:47 -07:00 |
|
Harry
|
295136c207
|
Retry migration audio duration for aac files using m4a
|
2024-07-30 07:25:19 -07:00 |
|
Harry
|
84689b4439
|
Enable v2 attachments for stories
|
2024-07-24 13:35:52 -07:00 |
|
Harry
|
36a047f5b4
|
Add IncrementalMessageTSAttachmentMigrator to run in a BGProcessingTask
|
2024-07-18 16:48:58 -07:00 |
|
Harry
|
6c1acd5a7a
|
Use non-NSSecureCoding-required APIs for decoding legacy quotedAttachments in migration
|
2024-07-18 16:23:24 -07:00 |
|
Harry
|
bbe57b8122
|
Migrate TSMessage TSAttachments in batches
|
2024-07-18 16:19:39 -07:00 |
|
Harry
|
3fdcc5bc5a
|
Implement logic to migrate all TSAttachments on a single TSMessage
|
2024-07-18 16:18:17 -07:00 |
|
Harry
|
35c7cd1f9a
|
Implement TSMessage TSAttachment migration prep
|
2024-07-18 16:17:33 -07:00 |
|
Harry
|
ed9ccbe937
|
Add logic to migrate a single TSAttachment on a TSMessage
|
2024-07-18 16:16:53 -07:00 |
|
Harry
|
b338ff63ac
|
Add batching/iterating logic for TSMessage TSAttachment migration
|
2024-07-18 16:10:13 -07:00 |
|
Harry
|
13edfa259f
|
Add MessageAttachmentReference index on receivedAtTimestamp
|
2024-07-18 14:17:53 -05:00 |
|
Harry
|
19eb942755
|
Enable v2 attachment wallpapers + wallpaper migration
|
2024-07-18 08:52:29 -07:00 |
|
Harry
|
c6a389d583
|
Split deleting old wallpaper directory into its own migration step
|
2024-07-18 08:51:41 -07:00 |
|
Harry
|
924e841717
|
Handle duplicate thread wallpapers in migration
|
2024-07-18 08:50:35 -07:00 |
|
Harry
|
42c57aea26
|
Add basic decode/encode of TSMessage columns for TSAttachment migration
|
2024-07-17 14:09:21 -07:00 |
|
Harry
|
2187177689
|
Clean up quoted reply method on migration AttachmentValidator
|
2024-07-17 14:08:23 -07:00 |
|
Harry
|
1b2408708b
|
Add StoryMessage TSAttachment migration
|
2024-07-17 14:07:06 -07:00 |
|
Harry
|
7ca9fb6204
|
Duplicate some NSCoding models used in TSAttachmentMigration
|
2024-07-16 18:49:08 -07:00 |
|
Harry
|
46dac08b46
|
Don't fail validation for gifs larger than the max static image size
|
2024-07-16 18:04:11 -07:00 |
|
Harry
|
404179cfab
|
Add enum in migration for message owner type since there are lots of them
|
2024-07-16 14:28:49 -07:00 |
|
Harry
|
c472a9f8fa
|
Either set all or none of the transit tier info fields in v2 attachment migration
|
2024-07-16 14:27:50 -07:00 |
|
Harry
|
6c93b86cfe
|
Add method to delete TSAttachment's files in the migration
|
2024-07-16 14:26:57 -07:00 |
|
Harry
|
cd24a885ec
|
Add TSAttachment migration table
|
2024-07-16 14:26:00 -07:00 |
|
Sasha Weiss
|
8ae61d1e9e
|
Require a TSContactThread to insert a DM-timer-change info message
|
2024-07-15 10:02:39 -07:00 |
|
Sasha Weiss
|
148e88ff69
|
Add a GRDB migration to clean up any dead-end group ID mappings
|
2024-07-11 10:44:21 -05:00 |
|
Max Radermacher
|
4b15e46318
|
Rename AccountId → RecipientUniqueId
|
2024-07-11 10:38:21 -05:00 |
|
Pete Walters
|
6c5780dd59
|
Add ArchivedPayment table and data store
|
2024-07-11 10:10:44 -05:00 |
|