Commit Graph

116 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
Harry
2f25b11410
Load queued downloads from database 2024-06-24 09:09:05 -07:00
Harry
93540c5984
Support cancelling attachment downloads 2024-06-21 14:40:13 -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
1715435b21
Add AttachmentDownloadRetryRunner 2024-06-21 13:33:35 -07:00
Sasha Weiss
2769166d79
Add outgoing support for non-expiring messages in delete-sync messages 2024-06-21 12:14:27 -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
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
Harry
7c0995e658
Define AttachmentThumbnailService for v2 attachments 2024-06-18 08:43:31 -07:00
Max Radermacher
5a5cac24f4
Add basic support for creating Call Links 2024-06-17 12:15:42 -05:00
Sasha Weiss
d193a937c8
Add a capability to enable sending DeleteForMe sync messages 2024-06-13 11:12:05 -07:00
Harry
243208af7c
Prepare DraftQuotedReplyModel for sending in QuotedReplyManager 2024-06-12 15:14:53 -07:00
Harry
56fb5f00a1
Implement pending attachment insertion 2024-06-12 15:04:59 -07:00
Harry
b2d621c8c2
Validate wallpaper images before setting them 2024-06-12 14:47:09 -07:00
Harry
77f40f61b0
Validate stickers before sending 2024-06-12 14:45:02 -07:00
Harry
8d7e4c6844
Validate link preview images before sending 2024-06-12 14:40:36 -07:00
Max Radermacher
999ae4a387
Add support for joining Call Link calls 2024-06-12 13:39:41 -05:00
Harry
f4b4b0dbde
Validate ContactShareDraft avatars before sending 2024-06-06 15:40:42 -07:00
Harry
37b1af34ea
Add PendingAttachment to AttachmentDataSource 2024-06-06 15:36:08 -07:00
Harry
36e2fea835
Prepare attachment files in AttachmentValidator 2024-06-06 15:33:15 -07:00
Elaine
1c42793ef7
Incoming raise hand sound effect 2024-06-06 11:09:01 -06:00
Sasha Weiss
e31fb4a8b2
Batch the contents of DeleteForMe sync messages 2024-06-04 15:20:07 -07:00
Sasha Weiss
4a7be90003
Send support for DeleteForMe sync messages 2024-06-04 15:18:39 -07:00
Sasha Weiss
af12f210cb
Receive support for DeleteForMe sync messages 2024-06-04 15:15:24 -07:00
Sasha Weiss
6d378ab60e
Delete stories when deleting a thread 2024-06-04 15:04:51 -07:00
Sasha Weiss
11e9404d76
Add ThreadSoftDeleteManager 2024-06-04 14:58:58 -07:00
Sasha Weiss
0f4289fc73
Replace interaction anyRemove with InteractionDeleteManager 2024-06-04 14:51:52 -07:00
Harry
009248b65d
Implement audio attachment ContentType validation 2024-06-03 15:18:16 -07:00
Harry
0c2d32f1c5
Add AttachmentContentValidator 2024-05-29 19:59:23 -07:00
Harry
ef62e06c82
Build AttachmentReference.OwnerBuilder into a full Owner object 2024-05-29 19:55:37 -07:00
Harry
b300877407
Add OrphanAttachmentCleaner 2024-05-29 19:43:05 -07:00
Max Radermacher
17ab8a1e66
Simplify CallMessageHandler 2024-05-29 11:55:42 -05:00
Harry
f41a1709a8
Implement v2 WallpaperImageStoreImpl 2024-05-24 13:11:54 -07:00
Max Radermacher
7f1bcbf991
Stop tracking pending calls at the app layer 2024-05-24 14:39:57 -05:00
Max Radermacher
fe82d248e1
Rename to CurrentCallProvider 2024-05-24 14:36:14 -05:00
Max Radermacher
3eec477bf1
Process some missed call events more quickly 2024-05-24 14:16:55 -05:00
Sasha Weiss
47a02e1e6a
Remove now-obsolete warning when sending an edit 2024-05-22 13:33:23 -07:00
Harry
5c31047c54
Split out and clean up thread wallpaper image storage 2024-05-21 10:37:05 -07:00
Jordan Rose
0ac5558493 Move libsignal-net proxy handling into SignalProxy
Since this already affects more than just the chat connection, having
it in OWSChatConnection isn't really the best choice. This way we can
be sure the libsignal Net instance's proxy settings will be updated
before any notifications go out.
2024-05-17 16:20:13 -07:00
Sasha Weiss
3ffcc47a66
Scaffold for Backup integration tests 2024-05-17 13:59:49 -07:00
Max Radermacher
503d5c635e
Rip out a bunch of NonCallKitCallUIAdaptee 2024-05-16 18:24:04 -05:00
Harry
427ee2b087
Use TSResource in ViewOnceMessageViewController 2024-05-07 15:04:01 -07:00
Sasha Weiss
05960887cd
Support for Calls in Backups 2024-05-06 11:43:13 -07:00
Max Radermacher
23b3061cb3
Update to LibSignal v0.46.0 2024-05-03 13:37:04 -05:00
Pete Walters
678bfe195d
Add validation methods 2024-05-01 15:37:53 -05:00
Pete Walters
49608a64e6
Add backup download
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-04-30 17:09:31 -05:00
Pete Walters
a2e5c7dc55
Add support for uploading backups.
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-04-30 16:39:25 -05:00
Pete Walters
3fbe2e851e
Add basic reservation/registration initialization call to backups.
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-04-30 16:06:10 -05:00