Max Radermacher
7a396ba9f7
Fix malformed request errors for long URLs
2024-04-05 20:05:17 -05:00
Jordan Rose
e8eed60d35
Shadow successful unauth chat requests with a libsignal request
...
This will help identify scenarios where libsignal is deficient
compared to the current implementation.
2024-04-04 14:43:31 -07:00
Jordan Rose
32612376a9
OWSChatConnection: micro-optimization
2024-04-04 14:43:31 -07:00
Jordan Rose
70b3e6542b
OWSChatConnection: remove unused variable
2024-04-04 14:43:31 -07:00
Jordan Rose
832fd61c82
OWSChatConnection: Simplify/consolidate request building
2024-04-04 14:43:31 -07:00
Jordan Rose
b0de59f2e2
Remove required from every init that is not dynamically dispatched
...
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
`Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
adel-signal
eeb0658bb1
calling: update 1:1 calls to use new calling/relays endpoint
2024-03-28 10:59:08 -07:00
Jordan Rose
8f3b28c09c
OWSChatConnection: percent-encode websocket request paths
...
The server decodes percent-escapes within these paths, so we should
leave them encoded, as URL provides by default.
2024-03-28 10:45:17 -07:00
Harry
b8c55601dd
Update a few simple callsites to use PreparedOutgoingMessage
2024-03-28 10:37:00 -07:00
Jordan Rose
3df4d465fe
Remove AtomicLock; it was just a simple wrapper around UnfairLock
2024-03-27 10:57:32 -07:00
Jordan Rose
2727a70b90
Make AtomicValue's lock-sharing explicit
...
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
and weren't used in practice
2024-03-27 10:57:32 -07:00
Max Radermacher
0d8166682d
Run clang-format on SignalServiceKit/ files
2024-03-27 12:27:06 -05:00
Max Radermacher
e10faa8593
Remove src/ prefix from SignalServiceKit files
2024-03-27 12:22:52 -05:00