Commit Graph

88 Commits

Author SHA1 Message Date
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
Pete Walters
6649b4d4fd
Add archived payment message types 2024-07-11 09:34:37 -05:00
Harry
0b0a995256
Add thread wallpaper migration 2024-07-09 15:37:29 -07:00
Harry
55ba7d5ed1
Fork relevant parts of AttachmentContentValidator for TSAttachment migration 2024-07-09 15:36:49 -07:00
Harry
cbd31f444f
Fork OWSImageSource and PngChunker for TSAttachment migration 2024-07-09 15:36:18 -07:00
Harry
ba8918299e
Fork ImageMetadata for TSAttachment migration 2024-07-09 14:41:04 -07:00
Harry
d478a7fcbc
Fork some bits of OWSMediaUtils and BlurHash for TSAttachment migration 2024-07-09 14:40:33 -07:00
Harry
158010958a
Fork relevant parts of AudioWaveformManager for TSAttachmentMigration 2024-07-09 14:40:05 -07:00
Harry
4f717a0302
Fork database record types for TSAttachment migration 2024-07-09 14:39:22 -07:00
sashaweiss-signal
98bc59de57 Pass correct filter to outgoing messages query 2024-07-09 10:22:51 -07:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00
Sasha Weiss
2f9e627aa0
Update block arguments for thread/interaction enumeration 2024-07-02 17:38:15 -07:00
Adam Sharp
670b3a7627
Preserve current selected chat while filtering by unread 2024-07-02 16:26:10 -04:00
Adam Sharp
3a3f6b850e
Fix integer conversion warnings 2024-07-01 15:20:17 -04:00
Adam Sharp
2908c3c508
Basic support for filtering chat list by unread 2024-07-01 14:04:06 -04:00
Adam Sharp
b2b376cd78
Simplify CLVRenderState and remove unnecessary OrderedDictionary usage 2024-07-01 13:33:07 -04:00
Max Radermacher
dd3bbe97f1
Use randomElement() instead of shuffle() 2024-06-28 11:09:32 -05:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
dfda999430
Add unencryptedByteCount field to Attachment.TransitTierInfo 2024-06-21 14:14:45 -07:00
Harry
8e67976c78
Add AttachmentDownloadQueue table migration 2024-06-21 13:22:30 -07:00
Harry
a34f47682f
ImplementMediaGalleryAttachmentFinder 2024-06-21 13:01:52 -07:00
Sasha Weiss
e8c065b39e
Increment the GRDB schema number 2024-06-18 10:16:28 -07:00
Sasha Weiss
a28a18158a
Add clientUuid field to attachments 2024-06-17 11:56:26 -07:00
Harry
153289a2fc
Tiny fixes that let v2 attachment validate in practice 2024-06-14 09:39:05 -07:00
Max Radermacher
29520ca69b
Remove extraneous disappearing message clause 2024-06-13 17:28:19 -05:00
Harry
e168704676
Add originalAttachmentIdForQuotedReply column to Attachment table 2024-06-12 15:05:49 -07:00