Commit graph

471 commits

Author SHA1 Message Date
Tulir Asokan
c7b6826455 Update dependencies 2023-04-25 15:48:19 +03:00
Tulir Asokan
d9344ac099 Update mautrix-go 2023-04-19 17:30:21 +03:00
Tulir Asokan
fb7d0364e5 Update dependencies 2023-04-16 15:30:41 +03:00
Tulir Asokan
d2054a39b2 Update whatsmeow 2023-04-14 13:41:11 +03:00
Tulir Asokan
ac5ca1965b Add options to automatically delete/ratchet megolm sessions 2023-04-13 17:25:01 +03:00
vurpo
a6dca47740
Add custom contact info fields to puppet profile (#605)
* Add custom contact info fields to puppet profile

* Rename the field names in the new contact info

* Set contact info for puppets on startup

* Check for hungry inside the contact info function

* appservice bot: add contact info to bridge bot

Signed-off-by: Sumner Evans <sumner@beeper.com>

* go.sum: tidy

Signed-off-by: Sumner Evans <sumner@beeper.com>

* puppet/UpdateContactInfo: reduce nesting

Signed-off-by: Sumner Evans <sumner@beeper.com>

---------

Signed-off-by: Sumner Evans <sumner@beeper.com>
Co-authored-by: Sumner Evans <sumner@beeper.com>
2023-04-10 18:39:05 +03:00
Tulir Asokan
f24f3bcb79 Re-request media from WhatsApp on 403 2023-04-10 12:18:45 +03:00
Tulir Asokan
67f27c9baf Fix bug 2023-04-06 15:11:05 +03:00
Tulir Asokan
23c75948f5 Undo incorrect changes 2023-04-06 14:31:21 +03:00
Tulir Asokan
5ffd92731b Add better errors for rejected edits 2023-04-06 14:18:09 +03:00
Tulir Asokan
c2bda58ad6 Update outgoing edit format 2023-04-06 13:54:29 +03:00
Tulir Asokan
6d10547d6e Update changelog and dependencies 2023-03-16 12:40:00 +02:00
Tulir Asokan
1b31a36e60 Update mautrix-go 2023-03-15 16:22:05 +02:00
Tulir Asokan
6df2ff7259 Add config option to bridge cross-room replies 2023-03-08 17:14:31 +02:00
Tulir Asokan
6bea8539ab Update whatsmeow 2023-03-08 16:45:31 +02:00
Tulir Asokan
65e0c0019e Implement MSC3952 for incoming messages 2023-03-02 14:02:11 +02:00
Tulir Asokan
59b6e9f272 Fix state store not being updated on double puppet requests 2023-02-27 01:28:44 +02:00
Tulir Asokan
5f06d1d537 Update changelog and dependencies 2023-02-26 15:02:57 +02:00
Tulir Asokan
aceadf18e2 Update mautrix-go and switch to zerolog 2023-02-24 14:45:28 +02:00
Tulir Asokan
998d81f48a Update whatsmeow 2023-02-22 15:19:51 +02:00
Tulir Asokan
e0a9b0e8bb Update whatsmeow 2023-02-17 19:38:11 +02:00
Tulir Asokan
da1aa50757 Update whatsmeow 2023-02-17 01:42:29 +02:00
Tulir Asokan
3056599509 Bump minimum Go version to 1.19
[skip ci]
2023-02-16 16:57:40 +02:00
Tulir Asokan
81028cf2c2 Bump version to v0.8.2 2023-02-16 13:11:47 +02:00
Tulir Asokan
96092af492 Add missing field for sending files. Fixes #595 2023-02-15 16:04:08 +02:00
Tulir Asokan
918792ce85 Update whatsmeow to auto-reconnect on connect failure 503 2023-02-13 19:56:00 +02:00
Tulir Asokan
8e47607602 Update dependencies 2023-02-13 15:38:34 +02:00
Tulir Asokan
edc682c657 Update dependencies and changelog 2023-02-04 20:17:30 +02:00
Tulir Asokan
e5d32cc1e2 Update whatsmeow to handle some message send errors 2023-01-28 21:51:40 +02:00
Tulir Asokan
3025523089 Update dependencies 2023-01-16 14:07:21 +02:00
Tulir Asokan
7f96510771 Update mautrix-go 2023-01-14 13:36:08 +02:00
Tulir Asokan
426e9df3f7 Update mautrix-go 2023-01-04 22:11:33 +02:00
Tulir Asokan
c42b1f1e93 Update mautrix-go 2023-01-04 12:41:45 +02:00
Tulir Asokan
1ce4e4a219 Fix some database transaction bugs 2023-01-04 02:13:20 +02:00
Tulir Asokan
16277a8702 Update whatsmeow 2023-01-01 13:30:12 +02:00
Tulir Asokan
52876bb607 Handle WhatsApp poll creation message v2 2022-12-21 23:21:23 +02:00
Tulir Asokan
5b3b3bd9c2 Update mautrix-go 2022-12-16 17:19:40 +02:00
Tulir Asokan
a8a98264fb Fix syncing community avatars 2022-12-14 01:04:14 +02:00
Tulir Asokan
abfbc1bab5 update mautrix-go 2022-12-09 13:10:00 +02:00
Tulir Asokan
fea1fa6535 Update example homeserver address 2022-12-05 18:05:12 +02:00
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