Commit graph

158 commits

Author SHA1 Message Date
Tulir Asokan
9843ba048f Update mautrix-go 2023-06-05 18:18:48 +03:00
Tulir Asokan
58aaabeaa3 Simplify default displayname template 2023-06-01 15:35:41 +03:00
Tulir Asokan
42d9d6edf3 Adjust create_portals comment 2023-05-10 22:30:03 +03:00
Tulir Asokan
172ce83318 Add option to disable reply fallbacks 2023-04-19 17:29:31 +03:00
Tulir Asokan
0fcb64c1aa Add option to not set room meta in encrypted rooms 2023-04-14 13:40:35 +03:00
Tulir Asokan
ac5ca1965b Add options to automatically delete/ratchet megolm sessions 2023-04-13 17:25:01 +03:00
Tulir Asokan
139b89cd66 Remove option to disable edit bridging 2023-04-07 12:22:04 +03:00
Tulir Asokan
6df2ff7259 Add config option to bridge cross-room replies 2023-03-08 17:14:31 +02:00
Tulir Asokan
65e0c0019e Implement MSC3952 for incoming messages 2023-03-02 14:02:11 +02:00
Tulir Asokan
aceadf18e2 Update mautrix-go and switch to zerolog 2023-02-24 14:45:28 +02:00
Scott Weber
fa0a69d746 Allow setting segment_user_id in config 2023-01-31 14:11:01 -05:00
Tulir Asokan
3a5ca36d49 Fix disappearing message timing 2023-01-16 17:15:04 +02:00
Tulir Asokan
7a0091bff2 Expose history sync config struct in bridge config 2023-01-04 22:37:25 +02:00
Tulir Asokan
fea1fa6535 Update example homeserver address 2022-12-05 18:05:12 +02:00
Tulir Asokan
4b0302d745 Remove extev v2 option 2022-11-26 18:53:09 +02:00
Tulir Asokan
0232a176d4 Require foreign keys and recommend txlock on SQLite 2022-11-22 21:31:04 +02:00
Tulir Asokan
beb956973e Add option to bridge polls into MSC3381 format 2022-11-17 23:30:42 +02:00
Tulir Asokan
f8a6afd66e Update mautrix-go 2022-11-09 17:09:45 +02:00
Sumner Evans
433d901658 backfill: add option to only sync unread state if chat is younger than threshold
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-10-12 13:48:38 -06: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
859355a3db Implicitly enable private_chat_portal_meta in encrypted rooms 2022-10-07 21:01:05 +03:00
Tulir Asokan
862cd8a0d7 Add option to sync group members in parallel 2022-09-29 14:39:59 +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
46a48541aa Add config option to use AS transactions for e2be 2022-08-25 11:59:09 +03:00
Tulir Asokan
b33bd9c4a7 Enable appservice ephemeral events by default 2022-08-19 14:39:38 +03:00
Tulir Asokan
676ae34bbe Remove default soft timeout on sending 2022-07-01 11:06:20 +03:00
Tulir Asokan
2542f94e00 Add a warning log and more comments 2022-06-30 14:46:46 +03:00
Tulir Asokan
44768c9c93 Improve max message handling duration options 2022-06-30 14:41:37 +03:00
Tulir Asokan
d3d69d1a8a Add option for max message handling duration 2022-06-29 20:05:55 +03:00
Tulir Asokan
219265c706 Fix value in example config 2022-06-27 11:20:24 +03:00
Tulir Asokan
443ff97e7a Add basic support for business messages 2022-06-24 21:50:58 +03:00
Tulir Asokan
1aed6aa94d Update mautrix-go to add proper TOFU 2022-06-23 14:43:43 +03:00
Tulir Asokan
0f8fb8e4dd Update mautrix-go and add new e2be verification config options 2022-06-22 20:09:21 +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
aa0daceb85 Add config option to bundle caption with media message 2022-06-17 11:34:24 +03:00
Tulir Asokan
7d5aeeaf88 Use postgres in example config 2022-06-17 10:16:06 +03:00
Tulir Asokan
43d8fc5d2b Disallow sending status broadcast messages by default
Sending to big contact lists doesn't really work yet
2022-06-13 20:01:39 +03:00
Tulir Asokan
7f27c76659 Improve tracking errors in Matrix->WhatsApp bridging
Closes #231
2022-05-31 17:28:59 +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
Sumner Evans
ec8f75e50e
backfill: add option to mark unread using account data 2022-05-18 10:40:29 -06:00
Tulir Asokan
7c0cf0513a Clean up Segment code 2022-05-16 13:49:40 +03:00
Sumner Evans
e362743f18
config: add settings for automatic media requests 2022-05-11 17:10:55 -06:00
Tulir Asokan
8ff1896b18 Update whatsmeow and add bridge state events for keepalive timeouts 2022-05-11 14:04:59 +03:00
Tulir Asokan
fdb0718670 Remove unused media backfill config 2022-05-02 16:36:07 +03:00
Tulir Asokan
4bc4e92877 Remove media backfill queue and just request immediately 2022-05-02 15:00:57 +03:00
Tulir Asokan
54ad27f644 Add separate config option for status broadcast room tag 2022-04-27 12:46:11 +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
dad5c44680 Update browser name list link 2022-04-20 13:50:06 +03:00
Sumner Evans
f2e762680c
media backfill: add ability to automatically request media not on WA server
This adds a new backfill type for media that sends a request to the
phone for every media that is not available on the WA servers. WA
deletes media from their servers after about two weeks, so you have to
ask the phone to re-upload it.

In order to use this, you need to enable
bridge.history_sync.backfill_media and configure the requests that will
be made per portal using bridge.history_sync.media (which is similar to
the deferred backfill config).

If you already have backfilled portals, but want to do a one-off media
backfill for all existing portals, you can set
bridge.history_sync.enqueue_backfill_media_next_start to true.
2022-04-19 08:12:51 -06:00