Commit graph

644 commits

Author SHA1 Message Date
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
Tulir Asokan
46dcd11527 Update displayname template 2021-09-01 15:49:19 +03:00
Tulir Asokan
3bef9ebfc0 Update readiness endpoint at the end of Start() 2021-08-25 20:46:52 +03:00
Tulir Asokan
9f614a3a81 Update bridge state ping endpoint response format 2021-08-25 15:04:40 +03:00
Tulir Asokan
b11a6360f4 Actually maybe fix database migration (ref #304 and #335) 2021-08-21 23:55:09 +03:00
Tulir Asokan
d52b012b37 Maybe fix database migration
Fixes #335
Fixes #304
2021-08-19 19:32:17 +03:00
Tulir Asokan
da9fadb009 Add comment 2021-08-19 19:20:11 +03:00
Tulir Asokan
b3312bc663 Always use blank content for replies
It seems to work fine on the iOS, Android and Web versions of WhatsApp,
so let's save the two LoadMessages calls.
2021-08-19 19:17:46 +03:00
Tulir Asokan
4fe179d0d7 Remove content from message table. Fixes #320 2021-08-19 19:17:19 +03:00
Tulir Asokan
b2878d5d34 Respond to bridge state ping with unconfigured if there's no session 2021-08-18 20:17:28 +03:00
Tulir Asokan
52484dc992 Add flag to invite events that will be auto-accepted 2021-08-18 16:24:13 +03:00
Tulir Asokan
f84bb162ca Don't send typing notifications if Matrix room hasn't been created 2021-08-18 15:52:50 +03:00
Tulir Asokan
8dbb67a49c Update mautrix-go 2021-08-17 01:29:13 +03:00
Tulir Asokan
ed5f530d54 Make CI binaries slightly smaller
Disables symbol table and DWARF generation. Stack traces and other runtime
debugging features should still work, only external tools like gdb won't.
2021-08-15 22:53:08 +03:00
Tulir Asokan
9b889e7de8 Update go-whatsapp to support ephemeral and view once messages 2021-08-08 15:22:21 +03:00
Tulir Asokan
f4a7394b67 Bump version to v0.1.8 2021-08-07 15:04:24 +03:00
Tulir Asokan
ce16432318 Update repo path 2021-08-06 17:46:57 +03:00
Tulir Asokan
039059df45 Ignore WhatsApp file length and hash mismatches 2021-08-06 01:33:17 +03:00
Tulir Asokan
b4ad4f0921 Rename error_source to source in bridge status 2021-08-05 15:44:55 +03:00
Tulir Asokan
abbff16e66 Switch bridge state system to using state events 2021-08-04 16:14:47 +03:00
Tulir Asokan
f1dd496a2d Add support for Matrix->WhatsApp location messages 2021-08-04 10:56:55 +03:00
Tulir Asokan
e2acab694c Fix handling gifs in stickers 2021-07-23 22:44:35 +03:00
Tulir Asokan
e78dda0883 Move UserTyping calls to sendMessage 2021-07-07 15:11:00 +03:00
Tulir Asokan
98e638495a Rename whatsapp_message and whatsapp_message_age metrics 2021-06-30 15:13:48 +03:00