Commit Graph

33886 Commits

Author SHA1 Message Date
Harry
add221d0f4
Source downloads of quote thumbnails from local stream if available 2024-06-24 10:46:10 -07:00
Marissa Le Coz
a631e8ea58
Add blurs to reaction name pills 2024-06-24 12:50:42 -04:00
Harry
aafc2dec5a
Stub method for handling persisted download retries 2024-06-24 09:11:29 -07:00
Harry
d205861d6c
Implement v2 attachment download 2024-06-24 09:10:50 -07:00
Harry
16cbbca4cd
Wrap methods in inner class 2024-06-24 09:09:49 -07:00
Harry
2f25b11410
Load queued downloads from database 2024-06-24 09:09:05 -07:00
Harry
d08648c686
Implement fetching download state for AttachmentTransitPointer 2024-06-24 10:41:28 -05:00
Harry
93540c5984
Support cancelling attachment downloads 2024-06-21 14:40:13 -07:00
Harry
9e6f9ab1d4
Throw on enumerate method instead of swallowing errors 2024-06-21 14:39:42 -07:00
Harry
fef598207d
Update thumbnail quote replies when downloading an original attachment 2024-06-21 14:38:47 -07:00
Harry
8a6f401b67
Update Attachment state after downloading 2024-06-21 14:37:57 -07:00
Harry
af625ecf56
Validate downloaded attachments in AttachmentDownloadManager 2024-06-21 14:35:47 -07:00
Harry
d52e3eb500
Track progress for v2 attachment downloads 2024-06-21 14:34:50 -07:00
Harry
8efc69216e
Accept nil plaintext length in AttachmentContentValidator 2024-06-21 14:34:12 -07:00
Harry
1c332354e9
Estimate encrypted attachment size from plaintext size 2024-06-21 14:33:24 -07:00
Sasha Weiss
185b74c612
Add a dedicated place to store group-story-education-sheet 2024-06-21 14:31:20 -07:00
Harry
08377fdcc3
Add mimeType to v2 DownloadMetadata 2024-06-21 14:16:00 -07:00
Harry
dfda999430
Add unencryptedByteCount field to Attachment.TransitTierInfo 2024-06-21 14:14:45 -07:00
Harry
53c830ee94
Asyncify AttachmentDownloadManager 2024-06-21 14:13:42 -07:00
Harry
e2ec64a177
Don't return promises on attachment download methods 2024-06-21 13:34:13 -07:00
Harry
1715435b21
Add AttachmentDownloadRetryRunner 2024-06-21 13:33:35 -07:00
Harry
54d12c2c16
Add (yet-unimplemented) kick-tires method to AttachmentDownloadManager 2024-06-21 13:29:51 -07:00
Harry
219184f236
Add AttachmentDownloadStore 2024-06-21 13:28:43 -07:00
Harry
8e67976c78
Add AttachmentDownloadQueue table migration 2024-06-21 13:22:30 -07:00
Max Radermacher
3722dd5fce
Use async/await for Sender Key sends 2024-06-21 15:19:50 -05:00
Harry
068b585dc5
Add QueuedAttachmentDownloadRecord 2024-06-21 13:04:32 -07:00
Harry
e3c15ecb99
Collapse "enqueued" and "downloading" AttachmentDownloadState cases into single "enqueuedOrDownloading" case 2024-06-21 13:03:33 -07:00
Harry
0d039ac08f
Update AttachmentDownloadPriority enum 2024-06-21 13:02:41 -07:00
Harry
a34f47682f
ImplementMediaGalleryAttachmentFinder 2024-06-21 13:01:52 -07:00
Sasha Weiss
2769166d79
Add outgoing support for non-expiring messages in delete-sync messages 2024-06-21 12:14:27 -07:00
Elaine
d600ae8055
Add raise hand toast feature flag 2024-06-21 12:48:33 -06:00
Max Radermacher
ec25cc6200
Fix flaky unit test 2024-06-21 13:40:39 -05:00
Sasha Weiss
c870545fb1
Revert to macos-14 runner from -xlarge 2024-06-21 11:18:16 -07:00
Sasha Weiss
32e25cfc87
Add incoming support for non-expiring messages in delete-sync messages 2024-06-21 10:42:33 -07:00
sashaweiss-signal
a06270d438 Build fix after bad rebase 2024-06-21 10:05:59 -07:00
Sasha Weiss
2a25846480
Implement support for outgoing attachment-delete sync messages 2024-06-21 09:52:45 -07:00
Sasha Weiss
eb61c20e27
Implement support for incoming attachment-delete sync messages 2024-06-21 09:47:03 -07:00
Sasha Weiss
fa638568ca
More conditionally restore profile keys from group snapshots in backups 2024-06-20 16:57:04 -07:00
Sasha Weiss
80cb31bf09
Adjust copy for Note to Self synced deletes 2024-06-20 16:56:51 -07:00
Jordan Rose
54e4f752c9 Add OWSAuthConnectionUsingLibSignal
This is a *subclass* of OWSChatConnectionUsingLibSignal, mainly
because the authenticated/identified connection really does have
capabilities the unauth/unidentified one does not, and splitting those
out makes it easier to see which are which.

For now each websocket connection, identified and unidentified, has
its own libsignal ChatService instance, even though ChatService is
designed to manage both connections together. Later on in the
migration it'll make sense to consolidate them, but under the existing
structure of OWSChatConnection this is the easiest way to manage their
lifecycles.

Controlled by new RemoteConfig flag
"ios.experimentalTransportEnabled.libsignalAuth" (and for local
testing, UserDefaults flag UseLibsignalForIdentifiedWebsocket).
2024-06-20 15:42:00 -07:00
sashaweiss-signal
c1d757348f Bump version to 7.18 2024-06-20 12:51:46 -07:00
sashaweiss-signal
8cbfa30431 Update translations 2024-06-20 12:51:40 -07:00
sashaweiss-signal
fdf2eb97f7 Update release notes 2024-06-20 12:48:32 -07:00
Harry
88b17f6bd2
Fail getting backup key if not internal build 2024-06-20 11:27:12 -07:00
Max Radermacher
fc394a2f1d
Properly compute OS expiration dates 2024-06-20 09:02:59 -07:00
Sasha Weiss
6acfaa1288
Take the encrypted digest off of TSAttachmentStream as well as Pointer 2024-06-18 16:08:30 -07:00
Max Radermacher
cdb575d275
Convert CallService send methods to async/await 2024-06-18 17:32:01 -05:00
Max Radermacher
73ad741a7d
Fix Raise Hand during Call Link calls 2024-06-18 16:43:17 -05:00
Max Radermacher
2f802c8240
Fix nullability in CallControlsOverflowView 2024-06-18 16:42:47 -05:00
Sasha Weiss
4d66e0df2b
Proto changes for single-attachment delete-sync 2024-06-18 14:22:42 -07:00