Commit graph

79 commits

Author SHA1 Message Date
Toni Spets
4e6e486e19 Expose debug API with pprof
Runs along the provisioning API with same authentication.
2023-12-05 11:35:22 +02:00
Tulir Asokan
6feebd827b Add basic newsletter support. Fixes #655 2023-10-13 18:10:26 +03:00
Tulir Asokan
d2110f6ee7 Allow sending analytics to custom server 2023-09-29 14:27:38 +03:00
Tulir Asokan
c19b5b18b0 Remove debug retry receipt provisioning API 2023-08-03 16:44:48 +03:00
Tulir Asokan
5c5633548f Don't sleep for 5 seconds when creating portal for join via link 2023-06-10 01:19:00 +03:00
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