Commit graph

311 commits

Author SHA1 Message Date
Tulir Asokan
b752bb9c15 Update whatsmeow 2023-12-13 20:30:36 +02:00
Toni Spets
2589049f14 Compress portal event channels into one
Use a single channel of pointers to pre-allocate less memory per
portal.
2023-12-06 12:48:59 +02:00
Tulir Asokan
6feebd827b Add basic newsletter support. Fixes #655 2023-10-13 18:10:26 +03:00
Tulir Asokan
d2110f6ee7 Allow sending analytics to custom server 2023-09-29 14:27:38 +03:00
Tulir Asokan
015cc1f19f Add delivery status to MSS events 2023-09-01 15:54:27 +03:00
Tulir Asokan
bd01c661ef Move double puppeting login code to mautrix-go 2023-08-21 13:52:12 +03:00
Tulir Asokan
6178ced1fe Make incoming call message clearer 2023-08-21 12:21:31 +03:00
Tulir Asokan
dcd4ca366c Update whatsmeow and ignore events from @lid users 2023-08-08 15:11:30 +03:00
Tulir Asokan
262940f3a0 Use new GenerateMessageID function 2023-08-03 19:47:42 +03:00
Tulir Asokan
27290b7ebd Enable automatically re-requesting undecryptable messages from phone 2023-08-03 16:44:54 +03:00
Tulir Asokan
ce5707315e Update whatsmeow to retry on 500 connect failures 2023-08-02 18:43:11 +03:00
Tulir Asokan
90ff645122
Merge pull request #620 from vector-im/hs/add-connectionFailures-metric
Add a metric for connection failures
2023-06-16 15:15:35 +03:00
Tulir Asokan
5c5633548f Don't sleep for 5 seconds when creating portal for join via link 2023-06-10 01:19:00 +03:00
Half-Shot
be5e44378f Add a metric for connection failures 2023-06-08 09:21:43 +01:00
Tulir Asokan
5eba642a4d Don't deduplicate group create events with empty create key 2023-06-02 15:42:43 +03:00
Tulir Asokan
fd9cde29dc Allow resyncing groups in provisioning API 2023-05-15 12:30:57 +03:00
Tulir Asokan
e3174a7bd7 Use create key to deduplicate group creates
Doesn't work if there are multiple Matrix users, but better than nothing
2023-05-10 22:41:12 +03:00
Tulir Asokan
1ab3d76db4 Improve logging when handling group info updates 2023-04-26 15:28:38 +03:00
Tulir Asokan
43ed49d4fe Sync puppet info on push name setting app data 2023-04-14 13:45:45 +03:00
Tulir Asokan
aceadf18e2 Update mautrix-go and switch to zerolog 2023-02-24 14:45:28 +02:00
Tulir Asokan
fc743f1ad2 Don't use goroutine for queuing bridge states 2023-02-17 15:51:01 +02:00
Tulir Asokan
0723d60205 Add error code for normal transient disconnects 2023-01-14 13:36:08 +02:00
Tulir Asokan
16277a8702 Update whatsmeow 2023-01-01 13:30:12 +02:00
Tulir Asokan
5881247f73 Add timer to enqueue backfills 2022-12-05 18:05:08 +02:00
Tulir Asokan
27171ea182 Handle group delete events from WhatsApp 2022-12-02 16:30:30 +02:00
Tulir Asokan
738ea1b943 Create parent portal if necessary when updating space 2022-12-02 16:08:45 +02:00
Tulir Asokan
a1192bd0a4 Add support for communities 2022-12-02 15:36:19 +02:00
Tulir Asokan
e0294b64dd Use constants for homeserver software checks 2022-09-12 22:14:50 +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
52072d9650 Update mautrix-go for new bridge status package 2022-08-15 16:36:28 +03:00
vurpo
1600559de7
Delete portal if user deletes chat on WhatsApp (#531) 2022-07-18 16:16:17 +03:00
vurpo
180c8996a8
Implement "Delete for me" support for messages (#530) 2022-07-18 16:08:52 +03:00
Tulir Asokan
35ed840a36 Don't try to do periodic sync on status broadcast chat 2022-07-11 19:47:10 +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
17a9df3297 Always sync private chat portal meta in background sync 2022-07-05 11:11:48 +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
0c0a55b940 Fetch portal info before doing background sync
This ensures it doesn't re-add you if you left the group
2022-06-30 16:59:53 +03:00
Tulir Asokan
d3d69d1a8a Add option for max message handling duration 2022-06-29 20:05:55 +03:00
Tulir Asokan
52e3cdb121 Only resync avatar if the user sync query returns one 2022-06-28 16:25:41 +03:00
Tulir Asokan
19b4c3093a Apply periodic resync for group chats too 2022-06-28 16:22:11 +03:00
Tulir Asokan
f0e93bd938 Add random offset to starting avatar resync loop 2022-06-28 14:50:43 +03:00
Tulir Asokan
9f0901f560 Add periodic ghost avatar resync 2022-06-28 14:37:50 +03:00
Tulir Asokan
443ff97e7a Add basic support for business messages 2022-06-24 21:50:58 +03:00
Tulir Asokan
79fb0d49b3 Move bridge state stuff to mautrix-go 2022-05-31 00:27:44 +03:00
Tulir Asokan
15129c0acc Move permission config to mautrix-go 2022-05-22 22:03:08 +03:00
Tulir Asokan
73304cd400 Move Matrix event and command handling to mautrix-go 2022-05-22 16:15:54 +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