1
0
Fork 0
mirror of https://github.com/mautrix/signal.git synced 2026-05-15 13:46:55 -04:00
Commit graph

71 commits

Author SHA1 Message Date
Tulir Asokan
08d70602e1 signalmeow/web: split non-retrying errors into different type 2025-10-20 11:52:14 +03:00
Tulir Asokan
31164440c6 signalmeow/receiving: don't send decryption errors for context cancellations 2025-07-08 19:12:33 +03:00
Tulir Asokan
bd5cc56cfc signalmeow/web: make SendRequest nil-safe 2025-07-07 15:35:45 +03:00
Tulir Asokan
b8d7cd4f49 signalmeow/receiving: adjust decryption logs 2025-06-09 21:13:54 +03:00
Tulir Asokan
901b812bb8 signalmeow/receiving: delete old incoming ciphertext hashes 2025-05-12 18:37:19 +03:00
Nick Mills-Barrett
d3b05748cb
signalmeow: immediately react to context cancellations in the websocket loop 2025-05-07 15:39:13 +01:00
Nick Mills-Barrett
cfa7f3c496
signalmeow: increase initial backoff to 10s 2025-05-07 15:39:13 +01:00
Tulir Asokan
760ae1ed09 signalmeow/web: fix panic caused by race on close 2025-04-29 23:41:49 +03:00
Toni Spets
5e72e4dadd
signalwebsocket: Close and wait for main loop when socket is closed (#597) 2025-04-29 14:12:08 +03:00
Tulir Asokan
ebf7e9a60d signalmeow/web: fix writing to send channel during close 2025-03-25 12:52:13 +02:00
Tulir Asokan
6d621fc2aa signalmeow/web: fix error type on disconnects 2025-03-20 17:37:53 +02:00
Tulir Asokan
72b0616261 signalmeow/web: don't deadlock on status channel 2025-03-13 17:43:11 +02:00
Tulir Asokan
e55601d0e0 signalmeow/web: fix another oversized channel 2025-03-13 16:41:39 +02:00
Tulir Asokan
f09966c148 signalmeow/web: remove redundant use of function pointer 2025-03-13 14:49:40 +02:00
Tulir Asokan
521f5e569d signalmeow/web: add logs for missing responses 2025-03-13 14:48:09 +02:00
Tulir Asokan
870f0d152e signalmeow: fix propagating errors when disconnected 2025-02-26 19:10:01 +02:00
Tulir Asokan
8afde9b247 signalmeow: update websocket auth 2025-01-15 23:40:50 +02:00
Tulir Asokan
d205154aed signalmeow/websocket: add log when ping stops failing 2025-01-10 17:20:36 +02:00
Tulir Asokan
44f363fa4b signalmeow/websocket: don't disconnect on first ping timeout 2025-01-07 19:08:27 +02:00
Tulir Asokan
4b63486389 signalmeow/web: add small sleep for all reconnects 2024-12-17 12:49:18 +02:00
Tulir Asokan
b01a912320 signalmeow/web: wait for all websocket loops to close 2024-12-17 12:44:01 +02:00
Tulir Asokan
710068e90c signalmeow/web: clean up websocket code slightly 2024-12-17 12:44:01 +02:00
Tulir Asokan
58dacbd6ac signalmeow/attachments: add basic support for TUS uploads 2024-10-18 14:55:31 +03:00
Tulir Asokan
11686cbe96 signalmeow/web: log attachment download http status 2024-09-14 19:47:11 +03:00
Tulir Asokan
4ede5dc9e1 dependencies: switch to new import path for websocket library 2024-09-13 12:35:31 +03:00
Tulir Asokan
58416d1d16 signalmeow/web: fix unnecessary NewBuffer use 2024-09-09 21:05:15 +03:00
Tulir Asokan
3a32a7f46e signalmeow: move keepalive log to trace level 2024-08-15 16:56:34 +03:00
Scott Weber
b602e9472b
Make Signal ping kill and rebuild websocket if it takes more than 20s (#507) 2024-05-01 10:17:15 +02:00
Tulir Asokan
00f58da3d5 Move keepalive log to debug level. Fixes #473 2024-03-26 18:11:59 +02:00
Tulir Asokan
ea0dfaa61a Set user agents in signal requests 2024-01-14 13:31:17 +02:00
Tulir Asokan
b9f29abfcf Add CDSI client 2024-01-13 16:26:29 +02:00
Sumner Evans
6b98c3f955
signalmeow/web: use context logger, make SendHTTPRequest use context
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-01-07 13:23:59 -07:00
Tulir Asokan
429125dbf5 Clean up some attachment-related things 2024-01-03 22:35:24 +02:00
Sumner Evans
59e4efd598
signalmeow: use structured logging
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-01-02 21:45:06 -07:00
Sumner Evans
5558469743
http: use http.Method* instead of hard-coded methods
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2024-01-02 21:35:42 -07:00
Tulir Asokan
5842da7c4a Add Signal root CA cert 2023-12-31 17:14:22 +01:00
Tulir Asokan
bb94d392a7 Improve ping command 2023-12-30 20:53:47 +01:00
Tulir Asokan
49ce1f530c Add copyright headers 2023-12-17 15:54:35 +02:00
Scott Weber
8f3f50eb87 Handle ws == nil, and ws reconnect loops 2023-11-22 23:06:41 -05:00
Scott Weber
e20d746376 Increase WS read limit to 1MB from default of 32KB 2023-11-22 21:59:55 -05:00
Scott Weber
b2da336627 Perform "ClearKeysAndDisconnect" on prekey decryption errors
Might be a bit aggressive, but necessary because right now there are a
bunch of bridges with broken prekeys.

Required extensive work on disconnect/reconnect logic.
2023-11-20 22:28:49 -05:00
Scott Weber
da5eb0c8e7 Add TransientDisconnect debouncing, and fix BridgeState sending bug 2023-11-03 16:55:02 -04:00
Scott Weber
b308af43c4 Fix TRANSIENT_DISCONNECT on shutdown again
errors.Wrap would return nil if err was nil, while fmt.Errorf does not
2023-10-02 00:30:09 -04:00
Tulir Asokan
db656d4890 Fix incorrect usage of legacy pkg/errors 2023-09-30 14:39:26 +03:00
Scott Weber
2142a9b3c2 Don't emit bridge state during clean shutdown 2023-09-27 14:25:02 -04:00
Scott Weber
125c686eaa Improve logging for HTTP requests 2023-09-22 10:29:14 -04:00
Scott Weber
12f7bb9df1 Make message sending more robust, particularly in the face of bad networking 2023-09-06 00:47:08 -04:00
Scott Weber
c2460ead6b Fix out-of-bounds in web.go path check 2023-09-05 11:41:35 -04:00
Scott Weber
a12c5bb5d1 Download, decrypt, upload user profile avatar. But need to figure out caching 2023-08-31 20:17:23 -04:00
Scott Weber
f52f236780 Sending images! 2023-08-31 12:58:18 -04:00