Max Radermacher
26cd893f69
Clean up various things with profile fetches
2024-10-16 12:46:17 -05:00
Ehren Kret
538f5064a6
remove Dependencies protocol entirely
2024-10-12 00:26:22 -05:00
Ehren Kret
de32c7799d
remove NSObject and Dependencies extension computed vars for SignalServiceKit
2024-10-11 23:12:59 -05:00
Ehren Kret
114afd8fe8
remove shared extensions
2024-10-11 10:58:08 -05:00
Pete Walters
dcb847c207
Update header
2024-10-07 19:17:09 -05:00
Pete Walters
6b3d2a174e
Update SNI headers
2024-10-07 14:01:11 -05:00
Ehren Kret
3b03c172e1
misc cleanup
2024-10-07 11:19:29 -05:00
Harry
6c20092eb3
Add OrphanedBackupAttachmentManager to delete attachments off backup cdn
2024-10-07 07:28:48 -07:00
Harry
ba2f10732e
Parametrize transaction type in DB v2 protocol
2024-10-04 16:12:52 -07:00
Ehren Kret
a88c9f99a9
use header authentication on the websocket
2024-10-01 11:55:14 -05:00
Ehren Kret
5ea36cd91b
enable internal imports by default
2024-09-29 20:03:17 -05:00
Harry Sanabria
983f0445ca
Pass AppReadiness instance to ChatConnectionManager and friends
2024-09-27 15:18:34 -07:00
Harry Sanabria
044f277a28
Pass AppReadiness instance to a ton of classes that need to retain it as an instance var
2024-09-27 15:03:52 -07:00
Harry Sanabria
f5ba827d7f
Provide appReadiness to warmCaches methods
2024-09-27 14:02:37 -07:00
Harry
4e564fc5ab
Delete AppReadiness shims now that its modernized
2024-09-27 14:01:06 -07:00
Harry
fd0a34909e
Add non-global AppReadiness protocol + impl
2024-09-27 12:36:15 -07:00
Max Radermacher
ef678d2720
Keep the web socket open while on a call
2024-09-27 11:40:39 -05:00
Ehren Kret
3c3651ac9a
convert OWSHttpSecurityPolicy to swift
...
additionally cleanup duplicate certificate loading code scattered
about in the codebase
2024-09-27 11:37:40 -05:00
Harry
4d87719397
Fix backup copy to media tier request
2024-09-25 19:12:48 -05:00
Ehren Kret
12ce531f8e
eliminate AnyPromise
2024-09-23 15:01:23 -05:00
Ehren Kret
417aaab413
migrate OWS2FAManager from objc to swift
2024-09-23 15:01:18 -05:00
Jonathan Klabunde Tomer
054e303207
use /v1/accounts/whoami instead of deprecated /v1/accounts/me
2024-09-23 11:39:27 -07:00
Max Radermacher
a03631e620
Tweak exponential backoff parameters
2024-09-23 12:07:56 -05:00
Jordan Rose
9e72dcbb3d
OWSChatConnection: Eliminate DependenciesBridge
...
The libsignal-based connections now have all dependencies passed in
explicitly; the classic and shadowing connections still have a few
GlobalDependencies, but those classes will be eliminated altogether in
the long term.
2024-09-19 10:25:36 -07:00
Sasha Weiss
e691714201
Drop profileKey fields from GroupSnapshots in Backups
...
Co-authored-by: Jordan Rose <jrose@signal.org>
2024-09-18 10:30:59 -07:00
Max Radermacher
eae1ab1e12
Upgrade to SwiftProtobuf v1.28.1
2024-09-17 09:11:11 -05:00
Max Radermacher
960e3db81f
Asyncify some 2FA code
2024-09-10 19:04:17 -05:00
Max Radermacher
f3900acd01
Remove ObjC support from OutageDetection
2024-08-30 18:28:23 -05:00
Max Radermacher
929d9eeaef
Remove deprecated VoIP token logic
2024-08-29 15:27:52 -05:00
Max Radermacher
99ff1a6858
Swiftify OWSRequestFactory
2024-08-28 16:05:58 -05:00
Ehren Kret
edefa9a440
migrate OWSFakeProfileManager from objc to swift
2024-08-28 15:10:10 -05:00
Pete Walters
3f4ffb6e6f
Remaining backup API requests
2024-08-26 14:51:17 -05:00
Ehren Kret
84a77bd96e
improve regional networking options
2024-08-26 14:35:54 -05:00
Max Radermacher
527280f78f
Use RemoteConfig as an instance type
2024-08-23 14:59:44 -05:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates
2024-08-22 14:02:03 -07:00
Jordan Rose
04bf92ed43
Let libsignal know when reachability changes
2024-08-21 16:23:43 -07:00
Pete Walters
d69ad25c3a
Add media tier backup API request
2024-08-21 15:25:45 -05:00
Ehren Kret
91cf6f20ff
improve regional networking options
2024-08-20 21:08:40 -05:00
Max Radermacher
07baa170f7
Remove “collection” concept from database types
2024-08-20 18:22:00 -05:00
Ehren Kret
086b4abfa5
fix several warnings
2024-08-15 16:09:58 -05:00
Ehren Kret
cbd5d860bc
networking code cleanup and improvements
2024-08-14 15:30:39 -05:00
Jordan Rose
71cd1da89a
Update libsignal to v0.55.0, OWSChatConnection to account for no-auto-reconnect
2024-08-12 15:51:05 -07:00
Max Radermacher
0ea8a1b814
Remove unused OWSRequestFactory methods
2024-08-12 16:30:03 -05:00
Max Radermacher
46a3e9c58a
Extract cooperative timeout & cancellation logic
2024-08-12 13:46:37 -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
5fa7eddd0b
Use the Aci type when handling gv2 messages
2024-07-31 18:30:02 -05:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type
2024-07-26 21:45:22 -05:00
Jordan Rose
9a3377216d
Update to libsignal 0.54.0
...
Includes code changes for libsignal splitting ChatService into
AuthenticatedChatService and UnauthenticatedChatService, which is more
in line with how iOS does things anyway. Also now supports receiving
stories on the auth connection using libsignal.
2024-07-26 17:16:56 -07:00
Max Radermacher
2344354d2b
Consolidate “download too large” code
2024-07-25 02:37:38 -05:00
Max Radermacher
664b7781fe
Asyncify GroupV2Updates
2024-07-25 02:17:01 -05:00