Commit graph

387 commits

Author SHA1 Message Date
Tulir Asokan
574d6f47c3 Extend message handling timeout for scheduled messages 2022-07-11 15:08:34 +03:00
Tulir Asokan
73f4449761 Add log to find which part of message handling takes long 2022-07-11 14:20:31 +03:00
Tulir Asokan
fb74e014ec Improve log and update dependencies 2022-07-09 11:16:43 +03:00
Tulir Asokan
4d059edc48 Update mautrix-go 2022-07-05 16:15:32 +03:00
Tulir Asokan
91b4699e2d Update mautrix-go 2022-07-05 12:00:44 +03:00
Tulir Asokan
d7100cf0bd Update mautrix-go 2022-07-05 11:03:49 +03:00
Tulir Asokan
9a6670eb93 Update mautrix-go 2022-07-01 23:25:13 +03:00
Tulir Asokan
61f3aa9704 Add still_working field for status event on soft timeouts 2022-07-01 11:02:35 +03:00
Tulir Asokan
bf4c01648f Move most double puppet source key adding to mautrix-go 2022-06-30 20:56:26 +03:00
Tulir Asokan
e6240ff68c Update some words and dependencies 2022-06-30 13:52:07 +03:00
Tulir Asokan
d3d69d1a8a Add option for max message handling duration 2022-06-29 20:05:55 +03:00
Tulir Asokan
19b4c3093a Apply periodic resync for group chats too 2022-06-28 16:22:11 +03:00
Tulir Asokan
267799cbe0 Update dependencies 2022-06-28 12:09:12 +03:00
Tulir Asokan
68b0f3d0a4 Re-add support for resend_bridge_info 2022-06-27 11:46:30 +03:00
Tulir Asokan
443ff97e7a Add basic support for business messages 2022-06-24 21:50:58 +03:00
Tulir Asokan
d6db16a4e2 Update mautrix-go 2022-06-24 19:06:30 +03:00
Tulir Asokan
40ea8a8324 Stop using SELECT * 2022-06-24 17:53:28 +03:00
Tulir Asokan
83d41a4e12 Refuse to start bridge if server is missing features 2022-06-23 20:25:09 +03:00
Tulir Asokan
1aed6aa94d Update mautrix-go to add proper TOFU 2022-06-23 14:43:43 +03:00
Tulir Asokan
e59c4e28c8 Update mautrix-go again 2022-06-22 22:10:08 +03:00
Tulir Asokan
7607316db7 Update mautrix-go 2022-06-22 21:38:04 +03:00
Tulir Asokan
0f8fb8e4dd Update mautrix-go and add new e2be verification config options 2022-06-22 20:09:21 +03:00
Tulir Asokan
6cba0d01ff Update whatsmeow 2022-06-22 19:01:54 +03:00
Tulir Asokan
ec86c490a3 Add basic config validation 2022-06-21 21:56:02 +03:00
Sumner Evans
e8c86d43d0
encryption: add ability to control rotation settings
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-06-21 12:33:04 -06:00
Tulir Asokan
90635af114 Update mautrix-go 2022-06-18 13:28:18 +03:00
Tulir Asokan
30c5be305a Update dependencies and changelog 2022-06-14 18:58:12 +03:00
Tulir Asokan
0796d14133 Update changelog and whatsmeow 2022-06-04 23:33:20 +03:00
Tulir Asokan
c5ad896bc0 Update whatsmeow 2022-06-01 00:49:52 +03:00
Tulir Asokan
8d07000013 Update mautrix-go 2022-05-31 19:59:07 +03:00
Tulir Asokan
7f27c76659 Improve tracking errors in Matrix->WhatsApp bridging
Closes #231
2022-05-31 17:28:59 +03:00
Tulir Asokan
df99750636 Update whatsmeow to maybe improve retry receipts 2022-05-31 16:29:55 +03:00
Tulir Asokan
79fb0d49b3 Move bridge state stuff to mautrix-go 2022-05-31 00:27:44 +03:00
Tulir Asokan
49a445e10d Update mautrix-go and add log when room is created 2022-05-29 19:22:07 +03:00
Tulir Asokan
1bfed718fe Update mautrix-go 2022-05-26 14:30:52 +03:00
Tulir Asokan
4865238352 Update dependencies 2022-05-26 11:41:37 +03:00
Tulir Asokan
42fc0f6962 Update mautrix-go 2022-05-25 12:51:06 +03:00
Tulir Asokan
d1698b0e9a Update whatsmeow 2022-05-24 00:08:28 +03:00
Tulir Asokan
a42c7bca17 Remove unused crypto store and fix comment 2022-05-22 22:03:08 +03:00
Tulir Asokan
86b9ae54d5 Re-add matrix event duration metric and move more things 2022-05-22 16:28:50 +03:00
Tulir Asokan
73304cd400 Move Matrix event and command handling to mautrix-go 2022-05-22 16:15:54 +03:00
Tulir Asokan
a8c72a57f9 Update mautrix-go again 2022-05-22 01:19:27 +03:00
Tulir Asokan
125199bbf8 Update mautrix-go 2022-05-22 01:17:05 +03:00
Tulir Asokan
a948ea0146 Move a bunch of stuff to mautrix-go
See d578d1a610

Database upgrades from before v0.4.0 were squashed, users must update
to at least v0.4.0 before updating beyond this commit.
2022-05-22 01:06:30 +03:00
Tulir Asokan
962179fb75 Handle edge cases with missing senders in historical messages 2022-05-19 12:08:31 +03:00
Tulir Asokan
f39fff3285
Send first batch of events without historical flag (#498) 2022-05-19 11:36:42 +03:00
Tulir Asokan
e81acef840 Add debug endpoint for sending retry receipts 2022-05-18 00:08:38 +03:00
Tulir Asokan
e062ddc51a Include obfuscated phone number in retry receipt metrics 2022-05-17 19:30:46 +03:00
Tulir Asokan
9fd07c0759 Bump version to v0.4.0 2022-05-16 20:31:32 +03:00
Tulir Asokan
46ba3981c1 Add Segment events for retry receipts and undecryptable messages 2022-05-16 13:49:43 +03:00
Tulir Asokan
512ca6be89 Update whatsmeow 2022-05-16 11:54:38 +03:00
Tulir Asokan
3cafd59cf7 Handle key missing errors when syncing app state 2022-05-16 11:43:09 +03:00
Tulir Asokan
3ee7c8527a Send a valid request when doing hacky phone pings 2022-05-16 11:22:41 +03:00
Tulir Asokan
0ed0f61ced Add command to change disappearing timer 2022-05-15 14:01:23 +03:00
Tulir Asokan
a4f57d175c Update dependencies and changelog 2022-05-15 11:12:31 +03:00
Tulir Asokan
f74af8eb30 Update whatsmeow and improve history sync logging 2022-05-14 14:17:03 +03:00
Tulir Asokan
6f14475667 Switch to ParseWebMessage from whatsmeow 2022-05-13 16:08:33 +03:00
Tulir Asokan
feaaf51970 Update changelog and whatsmeow again 2022-05-11 14:33:19 +03:00
Tulir Asokan
8ff1896b18 Update whatsmeow and add bridge state events for keepalive timeouts 2022-05-11 14:04:59 +03:00
Tulir Asokan
8e2579936f Fix sending media 2022-05-10 14:47:45 +03:00
Tulir Asokan
57339187e5 Add message send retry on xml-not-well-formed errors 2022-05-10 13:55:33 +03:00
Tulir Asokan
9dcd8f4f96 Maybe improve retry receipt handling 2022-05-10 12:15:00 +03:00
Tulir Asokan
85d29011d1 Update whatsmeow 2022-05-10 11:39:10 +03:00
Tulir Asokan
7a3241161b Log warning if server doesn't advertise Matrix 1.1+ support 2022-05-10 11:33:14 +03:00
Tulir Asokan
380ca00c34 Update whatsmeow 2022-05-05 12:22:42 +03:00
Tulir Asokan
7c579ad972 Update whatsmeow for new xml-not-well-formed debugging 2022-05-03 15:35:02 +03:00
Tulir Asokan
a3810c1414 Update whatsmeow 2022-05-02 15:43:51 +03:00
Tulir Asokan
8b39175b76 Drop support for appservice login with unstable prefix 2022-04-29 22:04:28 +03:00
Tulir Asokan
4c0d43fee7 Update whatsmeow 2022-04-29 19:40:15 +03:00
Tulir Asokan
4b22e786f5 Make signal store retry if postgres dies 2022-04-29 19:38:44 +03:00
Tulir Asokan
7a4de157ce Update mautrix-go and changelog 2022-04-29 16:10:03 +03:00
Tulir Asokan
66f505303d Update 403 error message
Apparently it happens when switching phones, not only when banned
2022-04-28 20:09:44 +03:00
Tulir Asokan
387148849a Update mautrix-go again 2022-04-27 23:48:55 +03:00
Tulir Asokan
0b036204ca Update dependencies and reduce memory usage when encryping files 2022-04-27 14:31:57 +03:00
Tulir Asokan
ea3bcec1cf Add option to maybe detect xml-not-well-formed errors 2022-04-25 17:21:43 +03:00
Tulir Asokan
30fd0d7c85 Update whatsmeow 2022-04-25 11:17:30 +03:00
Tulir Asokan
2f91b225e2 Update mautrix-go to prevent unnecessary displayname requests 2022-04-22 13:20:46 +03:00
Tulir Asokan
7f2d12aa5f Update mautrix-go to switch to /v3 paths 2022-04-17 13:09:54 +03:00
Tulir Asokan
8e9fd57491 Update dependencies 2022-04-16 23:17:52 +03:00
Tulir Asokan
25c77b0fb5 Update mautrix-go and whatsmeow 2022-03-29 21:14:16 +03:00
Tulir Asokan
0a61d21373 Update whatsmeow 2022-03-29 16:10:28 +03:00
Tulir Asokan
f79ca422e8 Add option to use async media uploads
https://github.com/matrix-org/matrix-spec-proposals/pull/2246
2022-03-21 21:08:48 +02:00
Tulir Asokan
34954fc9f6 Update whatsmeow 2022-03-20 02:00:24 +02:00
Tulir Asokan
3a6c314878 Normalize variation selectors in emojis in both directions
Remove for WhatsApp, add for Matrix
2022-03-18 01:12:25 +02:00
Tulir Asokan
756040c6a9 Bump version to v0.3.0 2022-03-16 01:32:15 +02:00
Tulir Asokan
e31788541a Check for WhatsApp web updates on bridge startup 2022-03-12 20:05:57 +02:00
Tulir Asokan
766e6a5130 Invite bot when user enables encryption in DM portal 2022-03-11 20:11:27 +02:00
Tulir Asokan
031d712905 Update whatsmeow 2022-03-09 16:44:25 +02:00
Tulir Asokan
621ecc0d62 Update dependencies 2022-03-08 14:11:21 +02:00
Tulir Asokan
9730c5e570 Update mautrix-go to remove msgtype from stickers 2022-02-28 22:27:14 +02:00
Tulir Asokan
e60d5351a5 Update whatsmeow to fix syncing topics 2022-02-25 21:47:41 +02:00
Tulir Asokan
f36b4c18f2 Add config option for always sending active delivery receipts 2022-02-25 01:27:24 +02:00
Tulir Asokan
b389354bcc Send blank protocol message if phone is offline for too long 2022-02-18 12:12:15 +02:00
Tulir Asokan
3c274e6d35 Add proper error message for outdated client errors 2022-02-17 15:33:31 +02:00
Tulir Asokan
66d0817081 Add provisioning API endpoints to list contacts and start chats 2022-02-17 15:14:53 +02:00
Tulir Asokan
1a1fd68812 Improve connection error handling 2022-02-17 14:09:40 +02:00
Tulir Asokan
79648ea9ec Bump version to v0.2.4 2022-02-16 12:15:38 +02:00
Tulir Asokan
78f666c9cd Update whatsmeow 2022-02-16 00:09:06 +02:00
Tulir Asokan
10a7c781e6 Add support for asking homeserver for URL previews 2022-02-15 16:28:20 +02:00
Tulir Asokan
d668c031f7 Update dependencies 2022-02-15 14:20:36 +02:00