Commit graph

42 commits

Author SHA1 Message Date
Tulir Asokan 103bfc31c6 Update dependencies and lots of code
* Bump minimum Go version to 1.21
* Add contexts everywhere
* Switch database code to new dbutil patterns
* Finish switching away from maulogger
2024-03-11 22:28:06 +02:00
Tulir Asokan 5fc1e0cebc Fix updating puppetsByCustomMXID map 2023-08-22 19:00:58 +03:00
Tulir Asokan bd01c661ef Move double puppeting login code to mautrix-go 2023-08-21 13:52:12 +03:00
Tulir Asokan 1b31a36e60 Update mautrix-go 2023-03-15 16:22:05 +02:00
Tulir Asokan 59b6e9f272 Fix state store not being updated on double puppet requests 2023-02-27 01:28:44 +02:00
Tulir Asokan aceadf18e2 Update mautrix-go and switch to zerolog 2023-02-24 14:45:28 +02:00
Tulir Asokan e5ca572811 Add hidden option to use appservice login for double puppeting 2022-08-16 20:35:49 +03:00
Tulir Asokan 29812932c2 Revert default double puppet device name change 2022-06-21 22:28:57 +03:00
Tulir Asokan 73304cd400 Move Matrix event and command handling to mautrix-go 2022-05-22 16:15:54 +03:00
Tulir Asokan a948ea0146 Move a bunch of stuff to mautrix-go
See d578d1a610

Database upgrades from before v0.4.0 were squashed, users must update
to at least v0.4.0 before updating beyond this commit.
2022-05-22 01:06:30 +03:00
Tulir Asokan 3851fdcded Fix legacy EDU handling 2021-12-09 14:17:13 +02:00
Tulir Asokan 1d8ef6cb89 Add support for MSC2409 2021-12-07 16:02:51 +02:00
Tulir Asokan a909750dcc Mark all messages as read instead of only last one 2021-11-30 16:38:37 +02:00
Tulir Asokan 8e25088d8b Don't try to set WA presence before PushName is known 2021-11-08 13:04:54 +02:00
Tulir Asokan de9977b7d2 Add support for automatic double puppeting from other servers 2021-11-06 13:57:35 +02:00
abmantis 16dee2aa56 Implement DoublePuppetServerMap 2021-11-01 23:17:44 +00:00
Tulir Asokan 630095e28a Add support for group invite messages 2021-10-31 20:42:53 +02:00
Tulir Asokan 2cd6713cc4 Add typing notification bridging in both directions 2021-10-27 19:30:34 +03:00
Tulir Asokan 56850bb698 Initial switch to go.mau.fi/whatsmeow 2021-10-22 20:14:34 +03:00
Tulir Asokan 66f0b04a31 Send double puppeting identifier with read receipts if server supports it 2021-05-18 15:23:19 +03:00
Tulir Asokan d3c0b50d5a Move request retrying to mautrix-go 2021-04-15 16:23:40 +03:00
Tulir Asokan ca285ea9bb Update mautrix-go to use a single http.Client instance 2021-04-06 17:14:32 +03:00
Tulir Asokan ac2ca08007 Sync broadcast list recipients too 2021-02-21 14:45:38 +02:00
Tulir Asokan 67a39bb6c8 Automatically re-login-matrix on M_UNKNOWN_TOKEN 2021-02-11 20:47:17 +02:00
Tulir Asokan bf5be3fe62 Add more debug logs in post-connection code 2020-11-06 02:29:14 +02:00
Tulir Asokan 491d8b232e Stop using github.com/pkg/errors 2020-10-05 22:38:34 +03:00
Tulir Asokan 2638204eaa Add option to update m.direct with double puppeting 2020-08-22 13:07:55 +03:00
Tulir Asokan 25a99c4464 Bridge own read receipts from WhatsApp mobile with double puppeting 2020-07-30 18:08:26 +03:00
Tulir Asokan b7275a763a Make bridging receipts togglable separately from presence 2020-07-10 16:26:55 +03:00
Tulir Asokan 7eb4cfb946 Add command to disable bridging presence and read receipts 2020-07-10 14:53:18 +03:00
Tulir Asokan d625ad0066 Update go-whatsapp 2020-05-24 17:47:05 +03:00
Tulir Asokan 6e50a7c380 Switch appservice module location 2020-05-09 20:08:05 +03:00
Tulir Asokan acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Marco Antonio Alvarez 2d8bc96a09
updated to latest mautrix-go and mautrix-appservice-go (#145) 2020-03-26 19:31:56 +02:00
Tulir Asokan 4bdbe67c94 Mark custom puppets as registered automatically. Fixes #128 2019-12-30 20:40:30 +02:00
Tulir Asokan ec0e60c71c Add option to automatically enable custom puppeting with shared secret login 2019-12-30 20:21:04 +02:00
Tulir Asokan 44a0fc65b8 Handle 400 init response and add ping command. Fixes #87 2019-08-24 22:39:12 +03:00
Tulir Asokan 3345615fc0 Fix indentation in filter json 2019-05-31 23:03:09 +03:00
Tulir Asokan 3f13e13d36 Make not connected errors in sync handling non-fatal 2019-05-27 14:01:30 +03:00
Tulir Asokan bfe5af7edc Add Matrix->WhatsApp EDU bridging 2019-05-27 13:46:04 +03:00
Tulir Asokan 5346e01d2a Add logging for custom puppets and save next batch properly 2019-05-24 14:09:48 +03:00
Tulir Asokan 2c9c473040 Add basic Matrix puppeting support
May contain bugs.
EDUs from /sync are not yet handled.
2019-05-24 02:33:30 +03:00