Commit graph

431 commits

Author SHA1 Message Date
Tulir Asokan
27171ea182 Handle group delete events from WhatsApp 2022-12-02 16:30:30 +02:00
Tulir Asokan
a1192bd0a4 Add support for communities 2022-12-02 15:36:19 +02:00
Tulir Asokan
5143f32707 Update whatsmeow and try to future-proof incoming reactions 2022-11-26 19:36:21 +02:00
Tulir Asokan
0232a176d4 Require foreign keys and recommend txlock on SQLite 2022-11-22 21:31:04 +02:00
Tulir Asokan
626f73fc62 Update whatsmeow 2022-11-22 10:53:32 +02:00
Tulir Asokan
1da1b9935b Add support for poll creation messages 2022-11-17 23:02:02 +02:00
Tulir Asokan
a2bb46c22d Bump version to v0.7.2 2022-11-16 12:12:13 +02:00
Tulir Asokan
2d362ea48e Update dependencies and changelog 2022-11-13 16:07:00 +02:00
Tulir Asokan
f8a6afd66e Update mautrix-go 2022-11-09 17:09:45 +02:00
Tulir Asokan
37f4182aa7 Update mautrix-go 2022-11-05 11:29:11 +02:00
Tulir Asokan
f7064812ea Update dependencies 2022-11-04 12:54:46 +02:00
Tulir Asokan
a7fe1a56f5 Update whatsmeow and add sender timestamp to edits 2022-11-02 09:24:33 +02:00
Tulir Asokan
1829490e10 Update mautrix-go 2022-10-26 16:39:57 +03:00
Tulir Asokan
b17ebe9d05 Bump version to v0.7.1 2022-10-16 17:17:53 +03:00
Tulir Asokan
187f471496 Update dependencies 2022-10-15 14:00:53 +03:00
Tulir Asokan
eadc774160 Add support for sending members in /createRoom 2022-10-10 17:07:38 +03:00
Tulir Asokan
1105530c9a Add initial support for WhatsApp message edits
Sending will be disabled by default until official WhatsApp clients
start rendering edits. The implementation may also be incorrect.
2022-10-08 17:47:52 +03:00
Tulir Asokan
bb9ac16cea Revert "Use mautrix-go branch"
This reverts commit 232827af27.
2022-10-05 20:56:53 +03:00
Tulir Asokan
232827af27 Use mautrix-go branch 2022-10-05 20:56:32 +03:00
Tulir Asokan
53bc4dab28 Drop large media messages before downloading 2022-10-03 10:09:07 +03:00
Tulir Asokan
6c517eaaeb Add support for wa.me/qr links in resolve command. Fixes #556 2022-09-28 14:45:09 +03:00
Tulir Asokan
c3dedef328 Update whatsmeow and mautrix-go 2022-09-16 12:42:33 +03:00
Tulir Asokan
126b6a1745 Actually update mautrix-go 2022-09-15 13:02:46 +03:00
Tulir Asokan
4ce0a55c33 Update mautrix-go to fix MSC3870 media uploads 2022-09-15 12:58:03 +03:00
Tulir Asokan
bcf67b89b6 Update mautrix-go to fix MSC2409 to-device event field 2022-09-14 21:09:36 +03:00
Tulir Asokan
60506593e5 Handle StreamReplaced errors 2022-09-06 15:38:47 -04:00
Tulir Asokan
b8ffe971fc Replace asmux flag with generic software config option 2022-08-25 12:04:42 +03:00
Tulir Asokan
76c9660849 Reject unsupported message types and add some more conversions
Closes #524
Closes #539
Fixes #510
2022-08-22 15:05:51 +03:00
Tulir Asokan
cdf5a98b29 Update mautrix-go and bump minimum Go version 2022-08-22 15:05:46 +03:00
Tulir Asokan
e464ea78f4 Update dependencies 2022-08-16 11:03:04 +03:00
Tulir Asokan
52072d9650 Update mautrix-go for new bridge status package 2022-08-15 16:36:28 +03:00
Tulir Asokan
f79efa9037 Update mautrix-go 2022-08-14 19:37:11 +03:00
Tulir Asokan
b7514fdc8d Update whatsmeow 2022-08-04 20:53:02 +03:00
Tulir Asokan
e50ac52014 Update mautrix-go 2022-08-04 20:42:03 +03:00
Tulir Asokan
3617b991c8 Update whatsmeow 2022-08-01 09:49:27 +03:00
vurpo
1600559de7
Delete portal if user deletes chat on WhatsApp (#531) 2022-07-18 16:16:17 +03:00
Tulir Asokan
6f5070b243 Add message and status fields to status events 2022-07-12 13:15:49 +03:00
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