Commit graph

622 commits

Author SHA1 Message Date
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
Tulir Asokan
44a76043a0 Update Docker image to Alpine 3.14 2021-06-25 17:11:53 +03:00
Tulir Asokan
e926d0175e Track WhatsApp message age and processing duration 2021-06-25 15:33:46 +03:00
Tulir Asokan
3eb5f44023 Add support for slightly older voice message identifier 2021-06-23 13:23:00 +03:00
Tulir Asokan
b66f37e373 Add ptt flag when sending MSC3245 voice messages to WhatsApp 2021-06-22 20:33:30 +03:00
Tulir Asokan
252d645fea Fix bridging audio/video duration from/to WhatsApp 2021-06-22 20:05:02 +03:00
Tulir Asokan
bd207df82d Store last message MXID in database for multipart messages 2021-06-22 12:35:38 +03:00
Tulir Asokan
4b80c15a0a Add some logs and increase timestamp difference for short-circuiting deduplication 2021-06-21 13:53:08 +03:00
Tulir Asokan
78ae4205fd Update go-whatsapp 2021-06-19 02:25:14 +03:00
Tulir Asokan
30ddd788ae Don't stop message processing loop if room creation fails 2021-06-19 02:22:21 +03:00
Tulir Asokan
bc7a82c0be Use mutex for accessing go-whatsapp contacts and chats maps 2021-06-19 02:22:01 +03:00
Tulir Asokan
a3669a675b Update go-whatsapp 2021-06-17 12:46:24 +03:00
Tulir Asokan
f9b88839c3 Update mautrix-go 2021-06-17 12:38:04 +03:00
Tulir Asokan
32122c7e54 Bump version to v0.1.7 2021-06-15 21:04:40 +03:00
Tulir Asokan
d3b9f4f637 Handle websocket keepalive errors and update deps 2021-06-15 15:07:42 +03:00
Tulir Asokan
b5c3e8abcb Make sure puppet has displayname set when sending message 2021-06-15 12:34:55 +03:00
Tulir Asokan
d4b7595b6e Add better error messages for some send errors 2021-06-15 12:07:31 +03:00
Tulir Asokan
1a23bfda30 Log type of message when starting handling 2021-06-10 16:29:20 +03:00
Tulir Asokan
b865205198 Update data sent in bridge status updates 2021-06-09 19:15:53 +03:00
Tulir Asokan
d851285787 Send content type with bridge state updates 2021-06-02 21:43:31 +03:00
Tulir Asokan
cea691fdce Add missing authorization header to bridge state requests 2021-06-01 15:57:03 +03:00
Tulir Asokan
06b84c4bb9 Add option to disable status bridging. Fixes #166 2021-06-01 15:28:15 +03:00
Tulir Asokan
74e21b8e1d Make bridge state monitoring more generic 2021-06-01 15:19:47 +03:00