Commit Graph

647 Commits

Author SHA1 Message Date
Max Radermacher
221043a998
Compute mediaName dynamically 2026-06-10 13:51:02 -05:00
Pete Walters
82ce1ead86
Prioritize backup thumbnail downloads for the opened conversation 2026-06-08 17:45:33 -05:00
Sasha Weiss
eb533a72a2
Return PENDING, not TERMINAL, error when attempting to backfill offloaded media 2026-06-08 11:35:45 -07:00
Pete Walters
8a53464a41
Allow non-restore backup tier downloads over cellular 2026-06-02 21:38:48 -05:00
Pete Walters
280fc1f244
Bump webP encoder quality up to default quality (4) 2026-06-02 15:24:53 -05:00
Sasha Weiss
185035784c
Treat images with image/gif MIME types as "GIFs" in the Media Gallery 2026-06-01 12:09:38 -07:00
Pete Walters
79122a2301
Notify when an attachment stops downloading due to exception 2026-05-29 17:19:02 -05:00
Pete Walters
e4b9550f31
Support downloading of file/audio attachments within the media gallery 2026-05-28 09:25:31 -05:00
Pete Walters
87eb0382b3
Update WebP thumbnail quality settings 2026-05-21 17:58:13 -05:00
Pete Walters
2ea672abb3
Better handle deduped attachment download in media gallery 2026-05-20 20:44:47 -05:00
Pete Walters
d0585fd780
Update some download manager methods 2026-05-19 15:30:18 -05:00
Max Radermacher
798ca9c62d
Don’t auto download message request oversize text 2026-05-13 14:45:48 -05:00
Max Radermacher
8bf6c7e6e0 Remove unnecessary do { … } construct 2026-05-12 18:18:03 -05:00
Pete Walters
5e0bfaadbf
Update MediaGallery to tolerate undownloaded attachments 2026-05-11 17:15:04 -05:00
Max Radermacher
0fb3e9b50e
Allow empty files in transit tier info 2026-05-11 12:51:27 -05:00
Pete Walters
c2bafbd764
Migrate OrphanedAttachmentCleaner to TimeGatedBatch 2026-05-11 08:55:17 -05:00
Sasha Weiss
58a66af262
Remove the .animatedImage case from Attachment.ContentType 2026-05-08 16:58:23 -07:00
Sasha Weiss
9821b4aeb3
[RFC] Make Attachment.init(record:) non-throwing 2026-05-08 16:57:33 -07:00
Sasha Weiss
a33cc6affa
Remove the .invalid case from Attachment.ContentType 2026-05-08 16:56:19 -07:00
Sasha Weiss
0767f174e1
Rename Attachment.ContentTypeRaw to ContentType 2026-05-08 16:55:10 -07:00
Sasha Weiss
cd2ab1c654
Ensure all references are reassigned with new content type 2026-05-08 16:54:35 -07:00
Sasha Weiss
4014323806
Add GRDB migration to set Attachment.contentType based on mimeType 2026-05-08 16:53:52 -07:00
Sasha Weiss
b4c777db16
Move contentType to Attachment from StreamInfo, always set based on MIME type 2026-05-08 16:53:08 -07:00
Sasha Weiss
b7269c4d5c
Sort results of fetchReferencedAttachmentsOwnedByMessage by orderInMessage 2026-05-08 16:18:43 -07:00
Pete Walters
7100559ec4
Add image methods that fallback to backup thumbnail image 2026-05-07 10:04:25 -05:00
Pete Walters
32dadefa9f
Add unencryptedBytCount accessor on ReferencedAttachment 2026-05-07 07:59:13 -05:00
Max Radermacher
5483fb0e92
Split DownloadMetadata into distinct pieces 2026-05-04 12:24:02 -05:00
Max Radermacher
3c34f446af
Remove unnecessary special case 2026-05-04 11:31:09 -05:00
Max Radermacher
74f8c963b5
Split downloadTransientAttachment into two methods 2026-05-04 11:28:48 -05:00
Max Radermacher
cb23291721
Rename digestSHA256Ciphertext → ciphertextDigest 2026-05-02 00:28:16 -05:00
Max Radermacher
4617abda31
Rename sha256ContentHash → plaintextHash 2026-05-02 00:26:43 -05:00
Pete Walters
45ec1e8707
add better download resume handling. 2026-05-01 09:20:47 -05:00
Pete Walters
f9b04aae81
Don't retry media tier downloads as transit tier after cancellation 2026-05-01 08:52:46 -05:00
Sasha Weiss
c23eaa6bfc
Remove associated values from Attachment/ContentType
Co-authored-by: Pete Walters <pete@signal.org>
2026-04-30 09:16:49 -07:00
Sasha Weiss
a859dcb003
Make Attachment/ContentType associated values optional 2026-04-30 09:14:41 -07:00
Max Radermacher
42fafbe272
Add comment for malformed TransitTierInfo 2026-04-29 15:21:53 -05:00
Max Radermacher
8ea96c1f5b
Use realistic structure for mock values 2026-04-29 15:15:32 -05:00
Max Radermacher
8668d86a35
Consolidate CGDataProviderDirectCallbacks logic 2026-04-29 14:07:51 -05:00
Max Radermacher
018cb71ab4
Use UInt64 for CdnInfo & downstream fields 2026-04-29 14:07:36 -05:00
Pete Walters
80244548a1
Fix comment typo 2026-04-21 15:55:23 -05:00
Max Radermacher
6c7a166b36
Simplify some non-empty Data checks 2026-04-21 12:30:24 -05:00
Max Radermacher
fb605dd9a2 Fix typo 2026-04-20 17:43:16 -05:00
Max Radermacher
c4b5f6a2f8
Don’t download message request stories 2026-04-10 17:58:02 -05:00
Max Radermacher
b3e799286e
Don’t download message request stickers 2026-04-10 17:57:10 -05:00
Max Radermacher
b0020aaef1
Use different limit for backup proto downloads 2026-04-10 17:56:56 -05:00
Sasha Weiss
7c8d7139ed
Always enqueue for Backup upload when plaintext hash collides 2026-04-08 14:32:09 -07:00
Max Radermacher
c921a39f20
Inject remote config dependency for downloads 2026-04-08 14:55:46 -05:00
Max Radermacher
0ac9e8cbcd
Remove redundant file size validation logic 2026-04-08 14:52:28 -05:00
Max Radermacher
5ff63607c9
Consolidate auto download message request check 2026-04-08 12:20:51 -05:00
Igor Solomennikov
682d86de16
Use CircularProgressView to show media download/upload progress. 2026-04-07 15:23:30 -07:00