Commit Graph

9730 Commits

Author SHA1 Message Date
Jordan Rose
53f12dff89 Don't check app expiry in OWSChatConnection, leave it to HTTPUtils
This was effectively being checked three times instead of just once.
2024-03-25 14:20:58 -07:00
Jordan Rose
ee5c0e37b8 Remove init from SSKWebSocket protocol
Web sockets are always constructed by a factory that knows what
concrete type is being instantiated.
2024-03-25 14:20:58 -07:00
Harry
23b961560c
Don't set albumMessageId on contact sync attachments 2024-03-25 11:10:02 -07:00
Harry
83fe46e62c
Build and fetch MessageSticker attachments using TSResourceManager 2024-03-22 18:17:25 -07:00
Harry
5ccabf61f7
Add ReferencedAttachment 2024-03-22 15:32:05 -07:00
Max Radermacher
301bd870ae
Save CallLinkAuthCredentials to the database 2024-03-22 16:59:22 -05:00
Max Radermacher
e26c9f6322
Move AuthCredential logic to its own class 2024-03-22 16:58:36 -05:00
Sasha Weiss
c6a51a66f0
Translate the PNI update source for accepting group invite to an ACI 2024-03-21 17:47:25 -07:00
Harry
fe3f5bae2f
Mark attachment id as legacy on StickerMessage 2024-03-21 17:08:48 -07:00
Max Radermacher
36c694ba3c
Remove unused FeatureFlag levels 2024-03-21 19:07:05 -05:00
Harry
360cc7e224
Add MessageSticker serialization test 2024-03-21 18:35:23 -05:00
Harry
129393e2a8
Push easy parts of OWSContact avatar logic into TSResourceStore/Manager 2024-03-21 14:49:50 -07:00
Harry
ac33fcfe24
Remove unused isProfileAvatar field 2024-03-21 14:46:37 -07:00
Harry
870d82d371
Add OWSContactSerializationTest 2024-03-21 14:45:53 -07:00
Harry
1df68c2b32
Remove link preview extension 2024-03-21 14:45:03 -07:00
Harry
06476138e0
Standardize Attachment creation callsites 2024-03-21 14:44:04 -07:00
Harry
5136c7dae3
Rename IncomingQuotedReplyReceiver->QuotedReplyManager 2024-03-21 14:06:29 -07:00
Pete Walters
1c65ecfbdd
Async-ify GroupsV2Impl 2024-03-21 15:51:22 -05:00
Max Radermacher
bf27cb8b33
Remove ObjC support from TSConstants 2024-03-21 13:45:29 -05:00
Max Radermacher
76be345901
Update to LibSignal v0.42.0 2024-03-21 13:45:15 -05:00
Max Radermacher
f6fcc0bb49
Fix inverted check 2024-03-21 13:44:25 -05:00
Max Radermacher
83ca18747b
Add parsing/encoding support for call links 2024-03-21 13:10:38 -05:00
Sasha Weiss
7c85428f7b
Add unit tests for CallRecordMissedCallManager 2024-03-21 11:07:36 -07:00
Sasha Weiss
2b791566d9
Mark calls as read when opening the relevant conversation 2024-03-21 10:18:40 -07:00
Sasha Weiss
1041070dd2
Move markAsRead into Swift for calls messages 2024-03-21 10:02:37 -07:00
Sasha Weiss
32a08b4ced
Include group call messages when looking for oldest unread message 2024-03-21 10:01:52 -07:00
Pete Walters
ac17e14d9f
Skip checking the upload progress on the first upload attempt. 2024-03-21 10:50:20 -05:00
Jordan Rose
a4bbe75320
Rename OWSWebSocket -> OWSChatConnection, SocketManager -> ChatConnectionManager
Plus some small cleanups in OWSChatConnection.
2024-03-20 16:36:20 -07:00
Max Radermacher
6dab037024
Fix optimized Xcode 14 build 2024-03-20 15:25:30 -05:00
Harry
fa3dfc924a
Move isVoiceMessage to OutgoingAttachmentInfo initializer 2024-03-20 11:27:05 -07:00
Harry
104facbaa6
Split OWSAttachmentInfo generation from quoted reply attachment cloning in AttachmentManager 2024-03-20 11:26:20 -07:00
Harry
7e1d8e0fca
Remove mimeType and sourceFilename from quoted reply info; fetch directly from the attachment everywhere 2024-03-20 11:25:12 -07:00
Harry
b6598a0248
Add OWSAttachmentInfoSerializationTest 2024-03-20 11:23:29 -07:00
Harry
1ad5804cd9
Move OwnedAttachmentBuilder abstraction up to TSResourceManager 2024-03-20 11:22:48 -07:00
Max Radermacher
b80cfa6019
Use async/await for GroupCallPeekClient 2024-03-20 12:23:20 -05:00
Sasha Weiss
3f686ef5e3
Move CallRecord+ConversationId into a mockable adapter 2024-03-20 08:57:59 -07:00
Max Radermacher
42c704a4e3
Remove some debug/verbose lines 2024-03-19 19:24:54 -05:00
Harry
48f631cbc6
Allow attachment builder finalizing to throw 2024-03-19 17:21:23 -07:00
Harry
b2d25a6e55
Migrate remaining link preview builders to LinkPreviewManager/TSResourceManager 2024-03-19 17:20:37 -07:00
Max Radermacher
d4b1e864ef
Clean up message queue batching 2024-03-19 18:25:02 -05:00
Marissa Le Coz
ee30ebb73c
Enable new CallMemberView and redesign for local call members 2024-03-19 19:22:08 -04:00
Max Radermacher
5e8f359c59
Use async/await in group call update code 2024-03-19 17:55:18 -05:00
Max Radermacher
76e0e865ad
Swiftify CallMessageHandler 2024-03-19 17:53:35 -05:00
Max Radermacher
a9d7496db7
Use a sort that’s actually stable for contact sync 2024-03-19 17:50:24 -05:00
Max Radermacher
2901729a2f
Don’t check unmatched system contacts for avatars 2024-03-19 17:40:06 -05:00
Max Radermacher
079b20ff66
Fix broken contact hash computation 2024-03-19 17:39:19 -05:00
Max Radermacher
b9e0c4bfde
Fix contact sync pruning for phone number hiding 2024-03-19 17:38:15 -05:00
Sasha Weiss
2dd9eb6b83
Add outgoing support for call identifiers in CallLogEvent sync messages 2024-03-19 14:45:28 -07:00
Sasha Weiss
170dd57a41
Include NULL editState in interaction queries 2024-03-19 14:26:54 -07:00
Harry
daf8f12b55
Build outgoing OWSLinkPreviews using LinkPreviewManager/TSResourceManager 2024-03-19 13:48:31 -07:00