Commit graph

667 commits

Author SHA1 Message Date
Tulir Asokan
b80e0c8db5 Merge branch 'multidevice'
Fixes #330
2021-10-30 18:53:34 +03:00
Tulir Asokan
2b2f1abd85 Improve unhandled message log 2021-10-30 14:47:46 +03:00
Tulir Asokan
91e3868e93 Update whatsmeow 2021-10-30 14:33:42 +03:00
Tulir Asokan
a829a887f0 Clear stored usernames from postgres in multidevice upgrade 2021-10-30 14:22:58 +03:00
Tulir Asokan
7b1c320295 Fix history sync config 2021-10-29 22:11:19 +03:00
Tulir Asokan
c6ff126151 Add some logs for history sync handling 2021-10-29 22:07:40 +03:00
Tulir Asokan
745dd1cd63 Fix incorrect bridge state after logging out 2021-10-29 22:03:00 +03:00
Tulir Asokan
b9d918a1d1 Don't close login websocket on multidevice disabled error 2021-10-29 21:41:03 +03:00
Tulir Asokan
70214bdc42 Fix some issues with login/logout 2021-10-29 21:38:30 +03:00
Tulir Asokan
3d384a6db7 Clean up and fix some things 2021-10-29 16:50:29 +03:00
Tulir Asokan
4695ce450f Show error message if user scans QR code with multidevice disabled 2021-10-28 21:22:34 +03:00
Tulir Asokan
91e1c5428f Bump version to v0.1.9 2021-10-28 16:15:08 +03:00
Tulir Asokan
73f0f0bbd7 Remove more unused config fields 2021-10-28 15:04:27 +03:00
Tulir Asokan
43a9d90b13 Add error responses to unimplemented commands 2021-10-28 14:35:09 +03:00
Tulir Asokan
b2e6a614b9 Update delete-all-portals and remove commented code 2021-10-28 14:27:59 +03:00
Tulir Asokan
1f6d316ff3 Update build tags 2021-10-28 14:04:12 +03:00
Tulir Asokan
b1baa0a0a1 Rename relay permission level 2021-10-28 14:03:55 +03:00
Tulir Asokan
56004031df Remove legacy multi-user check in invite accepting 2021-10-28 14:01:03 +03:00
Tulir Asokan
a8b9c88707 Merge branch 'master' into multidevice 2021-10-28 14:00:10 +03:00
Justin Carlson
0063c2a804
Add support for custom management room messages (#355)
Co-authored-by: Will Hunt <willh@matrix.org>
2021-10-28 13:58:20 +03:00
Tadeusz Sośnierz
13cb1e5c5b Make sure MetricsHandler doesn't crash upon multiple concurrent writes
With heavy traffic, concurrent usage of TrackLoginState() and similar
could result in `fatal error: concurrent map read and map write`,
crashing the whole process.
2021-10-28 13:58:07 +03:00
Tulir Asokan
bb9a0f6528 Make relay mode more like the Signal bridge 2021-10-28 13:57:15 +03:00
Tulir Asokan
d5bf8dd417 Update ROADMAP.md 2021-10-28 12:59:36 +03:00
Tulir Asokan
149e9bc8af Implement WhatsApp->Matrix group info updates 2021-10-28 12:59:22 +03:00
Tulir Asokan
1ad17048cc Add better logs for Matrix redaction handling 2021-10-27 21:34:22 +03:00
Tulir Asokan
0784132649 Fix choosing intent to handle redaction 2021-10-27 21:09:36 +03:00
Tulir Asokan
92c9ec6203 Remove some commented code and add note about future code to remove 2021-10-27 19:48:14 +03:00
Tulir Asokan
2cd6713cc4 Add typing notification bridging in both directions 2021-10-27 19:30:34 +03:00
Tulir Asokan
9dfcbd2941 Update whatsmeow to fix storing outgoing message IDs 2021-10-27 19:00:01 +03:00
Tulir Asokan
43922cf09e Pre-render markdown for undecryptable message notice 2021-10-27 18:44:17 +03:00
Tulir Asokan
b918b4f261 Handle decryption errors from WhatsApp properly 2021-10-27 18:31:33 +03:00
Tulir Asokan
ded2fb9799 Implement logout and provisioning API login 2021-10-27 15:54:34 +03:00
Tulir Asokan
7aa838dce6 Make delete-all-portals temporarily admin-only 2021-10-26 22:13:31 +03:00
Tulir Asokan
b874d324eb Send dummy event after backfill
This is necessary in case there aren't any real messages before the next
backfill. Otherwise the next backfill would go before the old backfill
(at the top of the room) rather than at the bottom of the room.
2021-10-26 21:30:44 +03:00
Tulir Asokan
0b4d0bbbe1 Handle history sync payloads with MSC2716 batch sending 2021-10-26 17:01:10 +03:00
Tulir Asokan
b45e6b29f5 Fix panic and double puppeting 2021-10-25 18:31:37 +03:00
Tulir Asokan
be3fd24e9a Remove some unused config fields 2021-10-25 16:08:49 +03:00
Tulir Asokan
304f8ebb60 Update whatsmeow to fix building on 32-bit architectures 2021-10-22 20:39:01 +03:00
Tulir Asokan
56850bb698 Initial switch to go.mau.fi/whatsmeow 2021-10-22 20:14:34 +03:00
Sumner Evans
923f9c4b21
Merge pull request #353 from mautrix/ci-update-container-versions-on-success
ci: only update container versions on success
2021-10-14 12:31:53 -06:00
Sumner Evans
511b342065
ci: only update container versions on success 2021-10-14 09:48:23 -06:00
Tulir Asokan
3048817a36 Update comment in encryption config 2021-10-08 19:11:06 +03:00
Alexandar Mechev
9ca18ea548
Convert webp images to png when sending to WhatsApp (#346)
WhatsApp doesn't seem to like webp images
2021-10-06 21:11:37 +03:00
Tulir Asokan
f7b387a4ff Don't return CONNECTING bridge state if there's no session 2021-10-04 14:59:07 +03:00
Tulir Asokan
cad99ece0a Improve logging in reconnection loop 2021-09-24 14:07:32 -04:00
Tulir Asokan
74870ec638 Add proper error message for multi-device 2021-09-23 14:09:03 -04:00
Tulir Asokan
59fa4e6480 Always return RUNNING as global bridge state event 2021-09-23 14:04:20 -04:00
Christian Paul
cc80c90565 Login help text: Remove trailing apostrophe 2021-09-23 11:03:56 -04:00
Sumner Evans
b0070403fe
Merge pull request #349 from mautrix/ci-auto-update-version
ci: deploy to dev stable and internal automatically
2021-09-17 19:04:03 -04:00
Sumner Evans
f4849b474c
ci: deploy to dev stable and internal automatically 2021-09-17 12:21:22 -04:00