Commit Graph

33848 Commits

Author SHA1 Message Date
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
Sasha Weiss
688a7411c5
Add stable-decoding test for DeleteForMeOutgoingSyncMessage 2024-06-18 14:22:06 -07:00
Sasha Weiss
e8c065b39e
Increment the GRDB schema number 2024-06-18 10:16:28 -07:00
Max Radermacher
902a03c4bb
Consolidate code for selecting join button text 2024-06-18 12:14:18 -05:00
Max Radermacher
2f66409dcb
Add Call Link names to call handles 2024-06-18 12:13:55 -05:00
Max Radermacher
91134254cb
Add RemoteConfig for callLinkJoin 2024-06-18 12:13:37 -05:00
Sasha Weiss
180a288401
Enable the delete-sync capability for internal users 2024-06-18 09:55:55 -07:00
Pete Walters
5f2336f9c3
Add payments backup proto definitions 2024-06-18 11:02:49 -05:00
Harry
b93411b375
Implement AttachmentThumbnailService 2024-06-18 08:45:57 -07:00
Harry
bb81eea884
Generate thumbnail cache file urls 2024-06-18 08:45:03 -07:00
Harry
04ff253927
Move around thumbnail constants to new file 2024-06-18 08:44:17 -07:00
Harry
7c0995e658
Define AttachmentThumbnailService for v2 attachments 2024-06-18 08:43:31 -07:00
Sasha Weiss
27e12e3106
Preserve known-nil values for clientUuid in V2 attachments
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-06-17 15:02:05 -07:00
Max Radermacher
ebef6786f2
Don’t show a spinner when in the .pending state 2024-06-17 15:42:25 -05:00
Sasha Weiss
a28a18158a
Add clientUuid field to attachments 2024-06-17 11:56:26 -07:00
Max Radermacher
c1b8b1de4c
Compute isFull properly for Call Links 2024-06-17 12:33:12 -05:00
Max Radermacher
539178ba5e
Group “Unknown” call participants in the lobby 2024-06-17 12:32:55 -05:00
Max Radermacher
1939496edc
Show in-call UI while waiting for admin approval 2024-06-17 12:27:35 -05:00
Max Radermacher
b812f84d81
Support Call Links in CallControls 2024-06-17 12:26:25 -05:00
Max Radermacher
5ee2f9cac7
Support Call Links in CallHeader 2024-06-17 12:25:13 -05:00
Max Radermacher
8e7a4ac427
Fetch Call Links before showing the lobby 2024-06-17 12:19:00 -05:00
Max Radermacher
c730c56c30
Move code to prepare for Call Link changes 2024-06-17 12:17:24 -05:00
Max Radermacher
5a5cac24f4
Add basic support for creating Call Links 2024-06-17 12:15:42 -05:00
Max Radermacher
f0db3c1ba3
Move RingRTC HTTPDelegate into its own type 2024-06-17 11:59:06 -05:00
Max Radermacher
8df9f02b8e
Handle Call Links provided by the system 2024-06-17 11:56:51 -05:00
Sasha Weiss
98f7cccac0
Remove unused TSAttachment initializer 2024-06-14 14:30:02 -07:00
Sasha Weiss
9396eae21d
Set CallLogEvent fields in proto that were missing 2024-06-14 13:55:12 -07:00
Jordan Rose
b3240b1fb1 Update to libsignal v0.51.0 2024-06-14 10:11:05 -07:00
Harry
c6b5bd7645
Cleanups from attachment prep code 2024-06-14 09:39:50 -07:00
Harry
153289a2fc
Tiny fixes that let v2 attachment validate in practice 2024-06-14 09:39:05 -07:00
Max Radermacher
f87b9473e5
Show call controls when calls end unexpectedly 2024-06-13 17:39:07 -05:00
Max Radermacher
8a9d5f6491
Create handles for Call Link calls 2024-06-13 17:28:58 -05:00
Max Radermacher
29520ca69b
Remove extraneous disappearing message clause 2024-06-13 17:28:19 -05:00
Max Radermacher
1bd2fcef47
Consolidate permission checks when starting calls 2024-06-13 16:50:13 -05:00
Harry
cac39bbdbd
Make forwaded message enqueues happen in serial order 2024-06-13 14:24:50 -07:00
Jim Gustafson
c264102c86
Update to RingRTC v2.44.0
Co-authored-by: Rashad Sookram <rashad@signal.org>
2024-06-13 16:21:29 -05:00
Max Radermacher
5e508bfea5
Consolidate similar intent handling branches 2024-06-13 15:02:41 -05:00
Max Radermacher
df19b4eb73
Swiftify CallKitIdStore
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-06-13 13:59:25 -05:00
Sasha Weiss
d193a937c8
Add a capability to enable sending DeleteForMe sync messages 2024-06-13 11:12:05 -07:00