Commit graph

26 commits

Author SHA1 Message Date
Tulir Asokan 024d9a0b0e Update go-whatsapp 2021-03-19 20:52:15 +02:00
Tulir Asokan cbdd10e704 Send real-time whatsapp connection state to asmux 2021-03-15 18:06:16 +02:00
Tulir Asokan 69e5a26e01 Improve handling of errors noticed in provisioning API pings 2021-02-24 00:06:11 +02:00
Tulir Asokan 7bd47fabb2 Update go-whatsapp to break everything and maybe improve things 2021-02-18 23:36:14 +02:00
Tulir Asokan 69dd7f803a Move whatsapp-ext to go-whatsapp 2021-02-17 01:21:30 +02:00
Tulir Asokan ba0ec021ba Update go-whatsapp 2021-02-10 21:20:31 +02:00
Tulir Asokan 4304472fc9 Add more logging in provisioning API 2021-02-09 17:03:34 +02:00
Tulir Asokan fec43431f7 Cancel login if websocket is closed 2021-02-07 22:14:13 +02:00
Tulir Asokan eb2c66c753 Fix wrong log type 2021-02-07 21:48:42 +02:00
Tulir Asokan 449943bef8 Log ping status when calling provisioning API 2021-02-07 17:35:06 +02:00
Tulir Asokan 1a6fdf565e Fix error checks in provisioning API login 2021-02-07 16:54:09 +02:00
Tulir Asokan 79229ef19f Remove unused import 2021-02-05 19:36:55 +02:00
Tulir Asokan 3c7ff4bc0c Miscellaneous improvements to connection management 2021-02-05 19:26:09 +02:00
Tulir Asokan 25cca87959 Stringify error message in ping endpoint 2021-01-28 22:46:57 +02:00
Tulir Asokan 48d7ec6919 Allow browsers to authenticate in login websocket 2020-11-24 16:48:29 +02:00
Tulir Asokan b4d7617967 Make force logout the default 2020-11-19 20:08:27 +02:00
Tulir Asokan b24672d6b4 Add force param to logout provisioning API 2020-11-19 19:18:59 +02:00
Tulir Asokan 3dae9b1999 Add connection state to prometheus metrics 2020-09-27 22:30:08 +03:00
Tulir Asokan 63a1a77f26 Update go-whatsapp to handle unknown ping responses 2020-06-23 15:36:08 +03:00
Tulir Asokan e2261b80b6 Include whatsapp user ID in provisioning API ping response 2020-05-28 20:59:36 +03:00
Tulir Asokan 9002bf62ed Fix needing to reconnect after initial login 2020-05-21 19:49:01 +03:00
Tulir Asokan acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Remi Reuvekamp 46b784ca3d Disconnect before reconnecting 2020-03-11 17:21:51 +01:00
Remi Reuvekamp a932911c56 Fix #142
Don't disconnect when trying to reconnect and receiving a ErrAlreadyLoggedIn as a result.
2020-03-11 16:28:14 +01:00
Tulir Asokan 260555b69c Remove provisioning API QR code regen limit 2020-02-09 21:00:29 +02:00
Tulir Asokan 16dc3c8699 Add initial provisioning API 2020-02-09 20:32:14 +02:00