Commit graph

733 commits

Author SHA1 Message Date
Tulir Asokan
630095e28a Add support for group invite messages 2021-10-31 20:42:53 +02:00
Tulir Asokan
1e5d5c1a3e Implement joining groups and checking invite links 2021-10-31 19:59:30 +02:00
Tulir Asokan
1f91eacc10 Reimplement invite-link command 2021-10-31 15:14:26 +02:00
Tulir Asokan
fca78e1c0d Reimplement reconnect command 2021-10-31 14:12:41 +02:00
Tulir Asokan
dc9e08d39f Stop using ioutil 2021-10-31 13:30:19 +02:00
Tulir Asokan
47105b411f Remove legacy build tags 2021-10-31 13:04:56 +02:00
Tulir Asokan
47a5e8b83c Use example config for default values 2021-10-31 13:04:44 +02:00
Tulir Asokan
1d877771e4 Add ping-matrix command 2021-10-30 23:44:41 +03:00
Tulir Asokan
682c5bff38 Remove/fix some db upgrades 2021-10-30 23:40:38 +03:00
Tulir Asokan
f3d6bbbc4a Replace VARCHAR(255) with TEXT in Matrix state store 2021-10-30 23:31:49 +03:00
Tulir Asokan
5b5cbc2efa Remove legacy state store migration 2021-10-30 23:31:39 +03:00
Tulir Asokan
d19703a02d Update comments in example config 2021-10-30 23:25:23 +03:00
Tulir Asokan
d94cd6a669 Add option to request more history from phone on login 2021-10-30 23:12:16 +03:00
Tulir Asokan
84f6337979 Fix typos 2021-10-30 22:41:18 +03:00
Tulir Asokan
e3aed76f7a Add option to limit age of chats to create portals for 2021-10-30 21:54:35 +03:00
Tulir Asokan
4f11d41a60 Fix bug in bridging captions 2021-10-30 19:17:10 +03:00
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