Commit graph

960 commits

Author SHA1 Message Date
Tulir Asokan
b389354bcc Send blank protocol message if phone is offline for too long 2022-02-18 12:12:15 +02:00
Tulir Asokan
3c274e6d35 Add proper error message for outdated client errors 2022-02-17 15:33:31 +02:00
Tulir Asokan
66d0817081 Add provisioning API endpoints to list contacts and start chats 2022-02-17 15:14:53 +02:00
Tulir Asokan
1a1fd68812 Improve connection error handling 2022-02-17 14:09:40 +02:00
Tulir Asokan
79648ea9ec Bump version to v0.2.4 2022-02-16 12:15:38 +02:00
Tulir Asokan
e215850fcf Get displayname when converting mentions of Matrix users. Fixes #338 2022-02-16 01:00:49 +02:00
Tulir Asokan
cf1ae3b102 Fix check 2022-02-16 00:11:38 +02:00
Tulir Asokan
78f666c9cd Update whatsmeow 2022-02-16 00:09:06 +02:00
Tulir Asokan
a40d143cef Update IsFakeJID check to handle backfill end markers 2022-02-16 00:05:23 +02:00
Tulir Asokan
10a7c781e6 Add support for asking homeserver for URL previews 2022-02-15 16:28:20 +02:00
Tulir Asokan
d668c031f7 Update dependencies 2022-02-15 14:20:36 +02:00
Tulir Asokan
6b8d478305 Use low-res thumbnail for url previews if full image isn't available 2022-02-15 13:37:05 +02:00
Tulir Asokan
d257c80327 Only clear custom keys for encrypted events 2022-02-15 13:36:44 +02:00
Tulir Asokan
eee404c62d Fix formatting not being parsed in incoming messages 2022-02-15 13:15:41 +02:00
Tulir Asokan
e303a1decb Update changelog 2022-02-10 19:57:21 +02:00
Tulir Asokan
7aab7870fa Move custom keys to m.new_content in media retry handler 2022-02-10 19:56:30 +02:00
Tulir Asokan
1fbbe7fa06 Remove unused gob register 2022-02-10 19:50:49 +02:00
Tulir Asokan
dd58e8d1e7 Add '♻️' as an alternative reaction for retrying media 2022-02-10 19:46:46 +02:00
Tulir Asokan
4d19d27dad Fix storing own message sender metadata from history syncs 2022-02-10 19:41:34 +02:00
Tulir Asokan
9a9414db34 Add some extra metadata for gifs 2022-02-10 19:26:16 +02:00
Tulir Asokan
528fbda53f Add initial support for requesting media retries from phone 2022-02-10 19:18:49 +02:00
Tulir Asokan
7ae5791aa3 Bridge audio message waveforms in both directions 2022-02-10 12:50:04 +02:00
Tulir Asokan
94e880c2cc Add support for setting group avatar from Matrix 2022-02-10 12:46:25 +02:00
Tulir Asokan
663abeeb04 Merge remote-tracking branch 'origin/sumner/bri-1873' 2022-02-07 13:55:02 +02:00
Sumner Evans
b6352c4991
link previews: only include in Matrix event when there's an actual link 2022-02-06 22:30:00 -07:00
Sumner Evans
bc6b9266a9
link previews: fix logic if there are no previews
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2022-02-06 17:53:49 -07:00
Tulir Asokan
c3a9f75ffd Add word to unsupported database error message 2022-02-06 21:03:04 +02:00
Tulir Asokan
b240eb94d8 Update changelog 2022-02-06 20:43:41 +02:00
Tulir Asokan
41272e9dff Include current and latest known versions in unsupported db error 2022-02-06 20:43:36 +02:00
Tulir Asokan
6d8c71ab36 Update JID validity check in !wa open. Fixes #438 2022-02-06 14:40:39 +02:00
Sumner Evans
711548c0ba
link previews: update to support a list
Uses com.beeper.linkpreviews instead of com.beeper.linkpreview
2022-02-04 18:17:01 -07:00
Tulir Asokan
04f8518ad9
Merge pull request #435 from mautrix/adamvy/link-preview
Add support for bridging embedded link previews
2022-02-04 23:14:33 +02:00
Tulir Asokan
9fee8a50a4 Add support for encrypting preview image 2022-02-04 23:06:35 +02:00
Tulir Asokan
d4334f5df8 Clean up embedded link preview code 2022-02-04 22:19:55 +02:00
Adam Van Ymeren
779e591e60 fix formatting 2022-02-04 06:56:32 +00:00
Adam Van Ymeren
3ab04e65c8 Add support for bridging embedded link previews
Uses experimental com.beeper.linkpreview content extension
2022-02-04 04:02:03 +00:00
Tulir Asokan
7e6c645f19 Add some simple metrics for retry receipts 2022-01-28 15:06:19 +02:00
Sumner Evans
3a4b118956
ci: add go workflow 2022-01-27 09:52:00 -07:00
Sumner Evans
b3e15cc843
pre-commit: add configuration 2022-01-27 09:50:37 -07:00
Tulir Asokan
125ccd3dbb Make sure portal still exists when scheduling disappearing messages 2022-01-27 16:49:25 +02:00
Tulir Asokan
e8c77c7ec6 Try to track when the phone is online and warn user if it's offline for too long 2022-01-25 14:26:24 +02:00
Tulir Asokan
aacb1d57df Set portal disappearing message timer from history sync 2022-01-19 16:23:25 +02:00
Tulir Asokan
9e39ce565b Move read receipt handling to portal loop
This ensures that read receipts are only handled after the message
they're pointing at, even if the read receipt is sent immediately
(e.g. when the user has WhatsApp open on their phone).
2022-01-19 14:18:34 +02:00
Tulir Asokan
f151dc4e9e Fix wrong log message 2022-01-19 14:13:06 +02:00
Tulir Asokan
1ebfeedcb7 Send fully read marker too when bridging read receipts to Matrix 2022-01-17 22:56:18 +02:00
Tulir Asokan
cd29b36a07 Send not logged in bridge status before clearing JID 2022-01-17 16:58:19 +02:00
Tulir Asokan
a093b7f157 Remove redundant double-inviting of users 2022-01-17 16:26:26 +02:00
Tulir Asokan
4a49de388c Update mautrix-go to fix state store not being updated in some cases 2022-01-17 15:44:00 +02:00
Tulir Asokan
abdfcdc8a6 Handle incoming Matrix messages as implicit read receipts 2022-01-17 12:00:02 +02:00
Tulir Asokan
3dd30280a1 Fix state store logging errors when power levels aren't cached 2022-01-17 10:45:36 +02:00