Commit Graph

67 Commits

Author SHA1 Message Date
Max Radermacher
f3ad8a243f
Add CallLink Storage Service placeholders 2024-08-29 15:26:31 -05:00
Ehren Kret
edefa9a440 migrate OWSFakeProfileManager from objc to swift 2024-08-28 15:10:10 -05:00
Sasha Weiss
a1f7e4c1b1
Migrate TSOutgoingMessageRecipientState off of Mantle 2024-08-23 16:17:26 -07:00
Max Radermacher
9ec0c3fd7f
Swiftify PreKeyBundle 2024-08-23 14:50:07 -05:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates 2024-08-22 14:02:03 -07:00
Sasha Weiss
0c3f2cced7
Add more properties to the message builders 2024-08-21 22:16:35 -07:00
Sasha Weiss
0afca3aec7
Add receivedAtTimestamp to message builders 2024-08-07 14:58:50 -07:00
Sasha Weiss
6c44bf955e
Fixes for restoring a Group from Backups 2024-08-07 14:57:02 -07:00
Sasha Weiss
fca19c0c78
Represent serverTimestamp as a UInt64 in IncomingMessageBuilder 2024-08-06 12:28:41 -07:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Sasha Weiss
3cdf735b40
Pare down TSInteraction initializers 2024-08-06 10:06:20 -07:00
Ehren Kret
e1cfd116a2 rename OWSAES256Key in swift to Aes256Key 2024-08-02 09:29:55 -05:00
Ehren Kret
557d6a67cc migrate Cryptography over to swift
`srand` is not accessible in swift. Remove `srand` anyhow as anything
using `rand` for any actual randomness should be considered a bug in
need of fixing rather than viewing `srand` as an acceptable workaround.
2024-08-01 14:43:34 -05:00
Max Radermacher
f11f7833df Swiftify reuploadLocalProfile(…) 2024-08-01 12:18:51 -05:00
Harry
2700cfe624
Block on migrating TSAttachments before creating backups 2024-07-31 15:33:11 -07:00
Max Radermacher
4b15e46318
Rename AccountId → RecipientUniqueId 2024-07-11 10:38:21 -05:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00
Adam Sharp
03e018de09
Raise deployment target to iOS 15
The only remaining code using API deprecated in iOS 15 is navigation bar
styling code that never runs on iOS 15.
2024-07-08 16:04:03 -04:00
Adam Sharp
1dd76032c6 Replace AppContext.interfaceOrientation with UIWindowScene equivalent 2024-07-08 15:58:31 -04:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
dfda999430
Add unencryptedByteCount field to Attachment.TransitTierInfo 2024-06-21 14:14:45 -07:00
Max Radermacher
fc394a2f1d
Properly compute OS expiration dates 2024-06-20 09:02:59 -07:00
Harry
77ec5d2014
Clean up/remove DebugUIMessages attachment actions 2024-06-06 15:55:17 -07:00
Harry
ff1a62475c
Throw on method to mark attachment as uploaded 2024-05-28 15:44:05 -07:00
Harry
9348405216
Take Attachment.TransitTierInfo instead of fanned out params 2024-05-28 15:43:28 -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
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
34eca8a139
Fix some dependency cycles with CallService 2024-05-14 11:46:52 -05:00
Ehren Kret
13a1637608 migrate AppContext protoocl to swift 2024-05-08 07:37:37 -05:00
Max Radermacher
fa48dd4b5d
Fix LocalProfileChecker avatar mismatch handling 2024-05-07 17:04:54 -05:00
Max Radermacher
6f96ebe77d
Swiftify part of OWSGroupCallMessage 2024-05-03 13:36:04 -05:00
Sasha Weiss
a25868491f
Make defaults in TSIncomingMessageBuilder explicit and complete 2024-05-02 15:56:02 -07:00
Max Radermacher
6f4fbd37cb
Fetch profiles in the NSE 2024-05-02 15:32:14 -05:00
Sasha Weiss
b9852224d8
Backup/Restore local group state 2024-04-29 13:49:51 -07:00
Harry
237bf46219
Remove TSAttachment bridging in TSMessage methods 2024-04-25 10:24:00 -07:00
Max Radermacher
351ed2152f
Remove some unused profile manager methods 2024-04-25 12:21:25 -05:00
Ehren Kret
70ac6f28d0 migrate NSString+SSK to swift 2024-04-24 09:26:12 -05:00
Max Radermacher
456f2037ee
Stop putting kLocalProfileUniqueId in addresses 2024-04-23 13:58:27 -05:00
Sasha Weiss
d8627324fa
Require a V2 group model for group creation 2024-04-19 15:37:45 -07:00
Jim Gustafson
218c6f4338
Support multi-recipient message sending
Co-authored-by: Max Radermacher <max@signal.org>
2024-04-19 16:46:09 -05:00
Max Radermacher
558a62dc2e
Download local avatar after Storage Service syncs 2024-04-18 17:43:41 -05:00
Max Radermacher
2b85069f8e
Don’t use inheritance with CallService 2024-04-16 19:36:24 -05:00
Pete Walters
425f7a5d3d
expose setProfileKeyData variant that doesn't do a fetch 2024-04-12 12:08:05 -05:00
Max Radermacher
22c254eecd
Rename NotificationPresenter-related types 2024-04-11 18:45:25 -05:00
Max Radermacher
892b8833e0
Swiftify NotificationsProtocol 2024-04-11 18:42:33 -05:00
Pete Walters
102b8d3219
Backup AccountData 2024-04-11 16:24:01 -05:00
Pete Walters
2c6cfd7f32
Clean up uses of AuthedAccount in profiles 2024-04-11 11:11:43 -05:00
Harry
80dd665843
Eliminate TSAttachment constructors from DebugUI and tests 2024-04-10 20:17:58 -07:00