Commit Graph

57 Commits

Author SHA1 Message Date
trevor-signal
f5fe787ed7 Show critical-idle-primary-device banner in response to WS upgrade response headers 2025-03-06 12:58:57 -05:00
Alex Bakon
6a3f0c37f4 Remove libsignal shadowing modes 2025-02-26 10:14:54 -08:00
trevor-signal
1bc5cc339b Add mock test for libsignal websockets 2025-02-21 12:00:56 -05:00
Alex Bakon
aa8cc4d445 Pass proxy down to libsignal Net instance 2025-02-19 06:36:51 +10:00
trevor-signal
4c3db76bde Refactor app initialization logic 2025-02-12 13:37:30 -05:00
Alex Bakon
efe7195bb6 Notify libsignal-net on network availability 2025-02-05 09:48:43 +10:00
Fedor Indutny
ba80d310d2 QR code rotation 2025-01-14 12:14:32 -08:00
Jamie Kyle
aa9f53df57 Migrate to private class properties/methods 2025-01-14 11:11:52 -08:00
Fedor Indutny
34cc87e8a8 Add new release line for testing 2024-11-20 19:14:21 -08:00
Fedor Indutny
b7d67b453a Handle abort signal in SocketManager 2024-11-14 12:38:43 -08:00
Jordan Rose
7d25988888 Handle libsignal websocket connect() errors 2024-10-04 11:00:43 +10:00
trevor-signal
f730b0c82b Use authorization header for websocket authentication 2024-10-01 16:33:15 -04:00
Jordan Rose
ba6e11614e Hook up LibSignalWebsocketResource.forceKeepAlive 2024-09-24 09:24:24 +10:00
Scott Nonnenberg
cd2bb537fa Alert internal users if first message on websocket is repeated 2024-09-20 14:27:39 -04:00
Alex Konradi
14ca19e632 Upgrade to libsignal 0.58.0 2024-09-19 11:32:17 -07:00
Sergey Skrobotov
30a419bb2a Adopt libsignal-net version with no auto-reconnect
Co-authored-by: Jordan Rose <jrose@signal.org>
2024-08-15 13:08:50 +10:00
Sergey Skrobotov
de33410be1 libsignal authenticated websocket 2024-08-06 14:21:15 -07:00
Fedor Indutny
31cbb89b0d Move sticker creator API to chat service 2024-05-15 15:26:37 -07:00
trevor-signal
c18559b6da Mark offline if websocket connection attempt times out 2024-05-02 22:53:53 +02:00
Sergey Skrobotov
ae4fa04e95 Pass disableIPv6 setting to libsignal-net 2024-04-23 16:54:24 -07:00
Sergey Skrobotov
df1240049a Add a remote config option to disable libsignal transport in prod 2024-04-18 11:46:48 -07:00
trevor-signal
ec2a17a0e4 Ensure unauthenticated websocket reconnects if using LibSignal's transport 2024-04-18 19:00:16 +02:00
Fedor Indutny
97f5430541 Fix lazy creation of ProxyAgent 2024-04-17 16:13:15 -07:00
Sergey Skrobotov
e388f13910 Upgrade libsignal-client to 0.44.0 and adopt API changes 2024-04-04 14:39:52 -07:00
trevor-signal
dfd564e67f Simplify messageReceiver initialization & reset
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-04-02 13:43:20 -07:00
Fedor Indutny
091b50c414 Lazy import proxy-agent 2024-03-20 11:05:10 -07:00
Fedor Indutny
9aff86f02b Simplify online/offline status management 2024-03-18 14:48:00 -07:00
Fedor Indutny
6f4730b42c Don't unlink on 4409 2024-03-18 10:08:36 -07:00
Sergey Skrobotov
9f40562b19 unauthenticated WebSocket via libsignal: shadowing mode
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-03-14 14:08:51 -07:00
Fedor Indutny
1823f7eca9 Introduce outage network status
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-03-12 12:52:02 -07:00
Jamie Kyle
a27890b988 Unlink on device conflict 4409 2024-02-21 12:33:56 -08:00
Fedor Indutny
56ba8fea4d Support Happy Eyeballs in proxy-agent 2023-08-30 01:58:48 +02:00
Scott Nonnenberg
efc237d106 Additional logging, more reliable contact/group sync fetch 2023-06-14 13:51:49 -07:00
Fedor Indutny
7abd2280bc Simplify WebSocket keepalive logic 2023-06-06 17:36:38 -07:00
Fedor Indutny
fad0529080 New sticker creator button 2023-02-27 14:34:43 -08:00
Fedor Indutny
ed271d92ea Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Fedor Indutny
ebafc933b9 Use X-Signal-Receive-Stories header 2022-10-04 17:48:25 -07:00
Dimitris Apostolou
718d0a7046 Fix typos 2022-03-13 11:10:17 +02:00
Fedor Indutny
84407cb005 Use human-readable names for websockets 2021-12-01 19:55:17 +01:00
Evan Hahn
ede34ecee3 Enable noImplicitOverride TypeScript compiler option 2021-11-12 15:44:20 -08:00
Fedor Indutny
409bf1fc82 WebSocket API for CDS 2021-11-08 15:32:31 -08:00
Evan Hahn
74fde10ff5 Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Fedor Indutny
27573e6dce Use non-throttled timeouts for websockets 2021-10-07 11:18:22 -07:00
Fedor Indutny
1466f9f1b2 Update got/form-data to latest 2021-10-06 09:25:22 -07:00
Fedor Indutny
cd710bb8d2 Add jitter support to BackOff class 2021-09-28 15:12:43 -07:00
Fedor Indutny
4ef0bf96cc Uint8Array migration 2021-09-23 17:49:05 -07:00
Josh Perez
65ddf0a9e8 Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny
f937eba94e Update socket status more eagerly 2021-09-16 13:18:42 -07:00
Fedor Indutny
5780c3d4b8 Fix socket management for unlinkAndDisconnect 2021-09-15 11:44:27 -07:00
Evan Hahn
9e9a815a2b ESLint: allow for..of 2021-08-26 13:18:00 -05:00