Commit Graph

56 Commits

Author SHA1 Message Date
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
Fedor Indutny aff9a3213e Import/export avatar colors 2025-03-05 10:56:23 -08:00
Alex Bakon 6a3f0c37f4 Remove libsignal shadowing modes 2025-02-26 10:14:54 -08:00
Alex Bakon 7904b573cd Upgrade libsignal to 0.67.0 2025-02-26 10:14:10 -08:00
Jordan Rose 5958041474 (Re-)Enable Desktop's /v1/keepalive for libsignal chat websockets too 2025-02-05 13:00:42 -08:00
Scott Nonnenberg 460af53865 Use KeepAlive for libsignal-mediated websockets as well 2025-01-28 09:04:51 -08:00
Alex Bakon dfeb54f898 libsignal-net: propagate close code from manual close 2025-01-16 14:05:38 -08:00
Jamie Kyle aa9f53df57 Migrate to private class properties/methods 2025-01-14 11:11:52 -08:00
Alex Konradi 4c75c6875a Use new libsignal chat connection types 2024-12-03 14:46:10 -08:00
Jamie Kyle b26466e59d Add schema utils 2024-10-02 12:03:10 -07:00
Jordan Rose ba6e11614e Hook up LibSignalWebsocketResource.forceKeepAlive 2024-09-24 09:24:24 +10:00
Alex Konradi 14ca19e632 Upgrade to libsignal 0.58.0 2024-09-19 11:32:17 -07:00
Fedor Indutny be4036f4ab Revert "Upgrade to libsignal 0.58.0" 2024-09-18 15:36:47 -07:00
Alex Konradi 86ec8492e8 Upgrade to libsignal 0.58.0
Co-authored-by: Fedor Indutny <indutny@signal.org>
2024-09-18 14:58:44 -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 24a22bf191 Update prettier to 3.3.3 2024-07-23 17:31:40 -07:00
Fedor Indutny 1fd8b0ef23 Update @types/node to 20 2024-07-18 10:17:56 -07:00
Sergey Skrobotov 9295096586 Make LibsignalWebSocketResourse an EventTarget 2024-04-18 15:01:16 -04:00
trevor-signal d31a4d5d91 Close websocket if request times out 2024-04-18 19:16:05 +02:00
Sergey Skrobotov 3456f5e097 Prevent sending shadowing healthcheck on a closed connection 2024-04-12 15:08:16 -07:00
Sergey Skrobotov e388f13910 Upgrade libsignal-client to 0.44.0 and adopt API changes 2024-04-04 14:39:52 -07:00
Sergey Skrobotov cf02337d6d remote config for making CDSI lookups via libsignal 2024-03-27 15:56:43 -07:00
Fedor Indutny 9aff86f02b Simplify online/offline status management 2024-03-18 14:48:00 -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
trevor-signal 711e321d16 Support larger sync messages in large groups 2024-03-11 21:08:28 -04:00
Scott Nonnenberg 7c5e6166ab WebAPI: Increase default timeout to 30 seconds 2023-06-21 17:40:02 -04: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
trevor-signal 73f4374e1e Improved WS request timeout handling 2023-05-17 09:43:33 -07:00
Scott Nonnenberg 0b39ff8b5f Reactions: isSentByConversationId is only for reactions from this device 2023-01-12 12:29:04 -08:00
Jamie Kyle 3705b959d6 Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny ed271d92ea Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Scott Nonnenberg 932043c58f Make attachments more resilient, decrease websocket keepalive 2022-08-16 16:49:47 -07:00
Fedor Indutny 2eaacac151 Use --force-long with pbjs 2022-03-23 13:49:27 -07:00
Evan Hahn ede34ecee3 Enable noImplicitOverride TypeScript compiler option 2021-11-12 15:44:20 -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
Josh Perez 65ddf0a9e8 Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny 5780c3d4b8 Fix socket management for unlinkAndDisconnect 2021-09-15 11:44:27 -07:00
Evan Hahn 4ef56667e2 Move MAX_MESSAGE_SIZE assertion 2021-09-10 13:16:53 -07:00
Scott Nonnenberg 9d4edb5893 WebsocketResources: Increase maximum outgoing message size 2021-09-10 13:43:53 -05:00
Evan Hahn 9e9a815a2b ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Evan Hahn f86f753df9 Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
Fedor Indutny 03874a788f Use smaller batches for receipts and syncs 2021-07-29 18:08:04 -07:00
Fedor Indutny 1c1d0e2da0 Move to websocket for requests to signal server 2021-07-28 14:37:09 -07:00
Fedor Indutny ddbbe3a6b1 More protobufjs migration 2021-07-09 12:36:10 -07:00
Fedor Indutny 299fe2af36 More protobufjs use 2021-07-02 14:21:24 -05:00
Fedor Indutny 584cedecff Wrap all websocket errors, reconnect earlier 2021-06-14 17:12:58 -07:00