Commit graph

74 commits

Author SHA1 Message Date
Tulir Asokan
fd9cde29dc Allow resyncing groups in provisioning API 2023-05-15 12:30:57 +03:00
Tulir Asokan
a97f9765bc Add provisioning API for using group invite links 2023-05-06 16:36:31 +03:00
Sumner Evans
e1b734e52f
provisioning: add logging for timezone
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-01-13 16:18:55 -07:00
Max Sandholm
ee5cf7fe11 Fix reconnect on remote logout issues 2023-01-05 16:29:10 +02:00
Tulir Asokan
52072d9650 Update mautrix-go for new bridge status package 2022-08-15 16:36:28 +03:00
Sumner Evans
2a44a2bf7d provisioning: better logging around authentication 2022-07-27 13:01:12 -07:00
Sumner Evans
07a43e6541
provisioning/list_contacts: make augmentation with avatar more efficient
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-07-01 13:15:08 -06:00
Tulir Asokan
79fb0d49b3 Move bridge state stuff to mautrix-go 2022-05-31 00:27:44 +03:00
Sumner Evans
9a10240293
Merge pull request #501 from mautrix/sumner/bri-3528
provisioning/login: set timezone sooner
2022-05-22 08:44:54 -06:00
Sumner Evans
32032161e2
provisioning/login: set timezone sooner 2022-05-21 16:46:49 -06: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
Sumner Evans
e133516fed
provisioning/contacts: send avatar URL 2022-05-20 17:33:33 -06:00
Tulir Asokan
e81acef840 Add debug endpoint for sending retry receipts 2022-05-18 00:08:38 +03:00
Tulir Asokan
7c0cf0513a Clean up Segment code 2022-05-16 13:49:40 +03:00
Tulir Asokan
5f82ead5b7 Short-circuit resolveIdentifier if the input looks like an email 2022-05-14 14:26:36 +03:00
Sumner Evans
d686912c74
provisioning: only update timezone after login success 2022-05-12 08:56:00 -06:00
Sumner Evans
08e77fab29
media backfill: send retry requests at the configured time
Only does the batch send of requests if the request method is 'local_time'
2022-05-11 17:10:55 -06:00
Tulir Asokan
6f5fee5d37 Include main device platform in ping and login APIs 2022-05-04 19:47:36 +03:00
Tulir Asokan
2e15edb209 Add endpoints for checking if number is on WhatsApp 2022-04-21 13:30:40 +03:00
Sumner Evans
c664e5f107
Updates from CR
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2022-04-06 08:56:58 -06:00
Sumner Evans
8a49fea812
backfill: backfill conversation when started
This applies to when the conversation is started via the provisioning
API (start new chat) or when a new message comes in to that portal.
2022-03-29 23:40:22 -06:00
Sumner Evans
12a23e2ca5
historysync: refactor to utilize backfill queue
Also sends the `m.room.marker` event when a backfill stage is complete.
2022-03-29 19:26:11 -06:00
Tulir Asokan
7322f78d56 Delete connection and update JID map on remote logout 2022-03-10 22:21:24 +02:00
Sumner Evans
a68bce35fc
segment: add tracking to provisioning API
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2022-03-10 11:55:04 -07:00
Tulir Asokan
1eb210c249 Add support for bridging reactions 2022-03-05 21:22:31 +02:00
Tulir Asokan
082bdcca11 Move provisioning endpoint version into code 2022-03-01 20:43:05 +02:00
Tulir Asokan
8e5442300c Add endpoints to list groups and open group portals 2022-03-01 20:25:46 +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
d31910ab05 Add provisioning API to sync appstate 2022-01-10 12:31:13 +02:00
Tulir Asokan
b8a8dcffaf Fix handling login events 2021-12-09 15:57:26 +02:00
Tulir Asokan
9a3bb28801 Fix mistake in login code 2021-12-09 15:54:01 +02:00
Tulir Asokan
c7aa4ff338 Update whatsmeow 2021-12-09 12:27:31 +02:00
Tulir Asokan
231691ebbd Update whatsmeow to maybe fix retry receipts 2021-11-30 15:14:56 +02:00
Tulir Asokan
0d6af45dcf Fix small mistakes 2021-11-15 14:42:06 +02:00
Tulir Asokan
a89d0f43fb Update whatsmeow 2021-11-15 13:39:39 +02:00
Tulir Asokan
c0e69e31bb Include phone and device number in /ping API response 2021-11-04 12:06:56 +02:00
Tulir Asokan
38dd02e788 Fix provisioning API including jid field at the wrong time 2021-11-01 18:45:58 +02:00
Tulir Asokan
745dd1cd63 Fix incorrect bridge state after logging out 2021-10-29 22:03:00 +03:00
Tulir Asokan
b9d918a1d1 Don't close login websocket on multidevice disabled error 2021-10-29 21:41:03 +03:00
Tulir Asokan
4695ce450f Show error message if user scans QR code with multidevice disabled 2021-10-28 21:22:34 +03:00
Tulir Asokan
b1baa0a0a1 Rename relay permission level 2021-10-28 14:03:55 +03:00
Tulir Asokan
ded2fb9799 Implement logout and provisioning API login 2021-10-27 15:54:34 +03:00
Tulir Asokan
56850bb698 Initial switch to go.mau.fi/whatsmeow 2021-10-22 20:14:34 +03:00
Tulir Asokan
74870ec638 Add proper error message for multi-device 2021-09-23 14:09:03 -04:00
Tulir Asokan
abbff16e66 Switch bridge state system to using state events 2021-08-04 16:14:47 +03:00
Tulir Asokan
74e21b8e1d Make bridge state monitoring more generic 2021-06-01 15:19:47 +03:00
Tulir Asokan
b9b4c11d81 Update dependencies 2021-05-12 14:54:40 +03:00
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