Commit Graph

70 Commits

Author SHA1 Message Date
Fedor Indutny
c02565eaa8 Enforce node: schema for builtins, import extensions 2025-09-16 17:39:03 -07:00
Alex Bakon
0ed00f409f Remove non-libsignal-net Chat websocket 2025-09-04 10:43:12 -07:00
Fedor Indutny
1a975fe61b Fix sleep() during background throttling 2025-08-16 00:49:27 +10:00
Scott Nonnenberg
237e239e05 Remove backbone as a dependency
Co-authored-by: Yash <yash@signal.org>
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2025-08-11 14:06:34 -07:00
Scott Nonnenberg
fd794ae90d Donations: Introduce timeouts in early stages of the workflow 2025-07-31 07:15:59 +10:00
Jordan Rose
b440aec88c Set Accept-Language at the connection level for chat connections 2025-07-09 10:57:01 -07:00
andrew-signal
56c70697c9 Rotate experimentalTransportEnabled.prod to .2 2025-06-17 15:57:43 -04:00
Fedor Indutny
4347964030 Scope pino lines with filename 2025-06-16 11:59:31 -07:00
Fedor Indutny
9a4972d59e Refactor build expiration checks 2025-06-10 12:17:07 -07:00
Fedor Indutny
8be2e8e527 Delay storage service sync until empty
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2025-05-30 10:39:39 -04:00
andrew-signal
a2c50b1895 Improve Error Handling from LibSignal's WebSocket Opens 2025-05-29 10:36:18 -07:00
trevor-signal
7c0cbb58ef Support idle primary device warning alert from server 2025-03-14 10:23:47 -04:00
Alex Bakon
5b130ae780 Handle server alerts received on libsignal auth socket
Co-authored-by: trevor-signal <trevor@signal.org>
2025-03-07 15:30:49 -05:00
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