Commit graph

42 commits

Author SHA1 Message Date
Tulir Asokan
308e3583b0 Add contexts to event handlers 2024-01-13 18:56:12 +02:00
Tulir Asokan
25bc36bc7a Add more contexts everywhere 2024-01-07 22:45:02 +02:00
Tulir Asokan
48bfc596f0 Fix incorrect context.Backgrounds 2024-01-07 15:35:58 +02:00
Joakim Recht
753cdb2e1c
Add context parameter to all client and bridge API functions (#144) 2023-12-15 16:23:31 +02:00
Sumner Evans
4784d6d09f
MembershipHandlingPortal: add full event to handlers
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-11-17 09:01:33 -07:00
Tulir Asokan
f47b2ce7bd Add context for bridge command events 2023-11-17 13:21:44 +02:00
Tulir Asokan
37d5493a56 Send encryption error replies in thread if applicable 2023-11-12 12:47:20 +02:00
Tulir Asokan
69c80b473a Send checkpoint if portal isn't found 2023-10-25 12:38:35 +03:00
Tulir Asokan
f6c8bf2e4a Check for duplicate message indices on failed decryptions 2023-05-25 16:15:32 +03:00
Tulir Asokan
90d9aeb7f6 Send error notice if bridge isn't configured to support encryption
Fixes mautrix/whatsapp#366
2023-05-12 00:52:11 +03:00
Tulir Asokan
e45bdbb8b0 Add better messages when trying to decrypt with withheld session 2023-05-09 14:15:18 +03:00
Tulir Asokan
0f35052822 Send MSS events for commands 2023-05-05 14:59:24 +03:00
Tulir Asokan
96df4ac112 Add better message for group session withheld 2023-03-15 01:32:32 +02:00
Tulir Asokan
d9721d201d Add different human-readable message for unknown message index errors 2023-03-15 01:29:25 +02:00
Tulir Asokan
cad1fe72da Log message index after encrypting/decrypting events 2023-03-04 18:50:10 +02:00
Tulir Asokan
2f16ec0cd8 Switch Matrix handler in bridge module to zerolog 2023-02-24 13:44:59 +02:00
Tulir Asokan
9d8cb0223c Switch bridge module to zerolog 2023-02-24 12:20:47 +02:00
Tulir Asokan
4a2a7653e4 Expose raw args in commands 2023-01-29 12:46:40 +02:00
Tulir Asokan
d54d86c329 Bump maximum delay for receiving decryption keys 2023-01-27 22:47:19 +02:00
Tulir Asokan
5eaad99c9f Remove legacy booleans in MSS events and add m.bridge_unavailable reason 2022-12-27 22:40:18 +02:00
Tulir Asokan
b00e31daa1 Send message checkpoints for bridge commands 2022-12-03 00:03:00 +02:00
Tulir Asokan
e511c408c3 Deprecate MessageEventContent.GetReplyTo
RelatesTo.GetReplyTo can be used instead since it's nil-safe as of
78f80c20b1
2022-10-28 23:44:32 +03:00
Tulir Asokan
0955308e7e Add thread ID to read receipts 2022-09-27 11:38:45 +03:00
Tulir Asokan
ba1fce8fce Move bridge status and message checkpoints to subpackage 2022-08-15 16:34:25 +03:00
Tulir Asokan
5cea718763 Update read receipt event content to be more dynamic 2022-08-09 12:41:16 +03:00
Tulir Asokan
3467963a8f Update decryption error status events 2022-07-12 13:13:32 +03:00
Tulir Asokan
546455a7c0 Hackily copy a key when decrypting events 2022-07-11 15:06:26 +03:00
Tulir Asokan
a5a1e7e5df Add some logs and utilities for tracking message handling duration 2022-07-11 13:35:51 +03:00
Tulir Asokan
88353c2b55 Log trust source when rejecting event due to insufficient verification 2022-07-05 11:56:59 +03:00
Tulir Asokan
eebf23cd31 Add double puppet key to all events sent from custom intents 2022-06-30 19:57:40 +03:00
Tulir Asokan
7d24574b59 Ignore double puppeted redactions 2022-06-30 19:20:15 +03:00
Tulir Asokan
9162944672 Add cross-signing TOFU support 2022-06-23 14:42:05 +03:00
Tulir Asokan
a7f7bd5217 Flip field names 2022-06-22 20:08:40 +03:00
Tulir Asokan
6d5a9d184c Make required trust level in e2be configurable 2022-06-22 20:05:22 +03:00
Tulir Asokan
7eec0bd4d3 Switch bridge event processor to handle events in order 2022-05-30 15:08:27 +03:00
Tulir Asokan
a9ec53efa9 Refactor message checkpoints a bit 2022-05-30 15:01:17 +03:00
Tulir Asokan
fe1dfbeb4e Move message send checkpoints to bridge module 2022-05-30 14:22:33 +03:00
Tulir Asokan
45d989575c Only accept bot invites from user level 2022-05-28 22:56:46 +03:00
Tulir Asokan
a9044b80e3 Export DoublePuppetKey 2022-05-27 14:48:46 +03:00
Tulir Asokan
ec20c3fc99 Change things 2022-05-22 22:00:42 +03:00
Tulir Asokan
2c92f0b465 Move bridge permission config from mautrix-whatsapp 2022-05-22 18:20:49 +03:00
Tulir Asokan
ccd7a575b8 Move Matrix event and command handling from mautrix-whatsapp 2022-05-22 16:11:29 +03:00