Tulir Asokan
59b3b7d0ec
Add context for google login and cancel if HTTP request is cancelled
2024-02-26 16:10:32 +02:00
Tulir Asokan
7db7fdf20b
Properly reset login in progress flag after google login
2024-02-26 15:34:12 +02:00
Tulir Asokan
8eed8382cb
Add proper error codes in google login provisioning API
2024-02-26 15:30:57 +02:00
Tulir Asokan
6c4d8d8744
Properly set phone ID when pairing with google account
2024-02-23 22:52:04 +02:00
Tulir Asokan
2ca85cf2bd
Add log after SetActiveSession call and fix LoginGoogle error message
2024-02-23 22:44:06 +02:00
Tulir Asokan
fec15f4bc8
Fix /google_login/wait provisioning API and add some logs
2024-02-23 22:07:50 +02:00
Tulir Asokan
fa23bd14e8
Update mautrix-go
2024-02-23 21:20:26 +02:00
Tulir Asokan
c360b69ca6
Update pairing type disconnection error messages
2024-02-23 20:45:24 +02:00
Tulir Asokan
b134453801
Handle logout events in a hacky way
2024-02-23 20:25:31 +02:00
Tulir Asokan
49a3fd983f
Add support for unpairing google logins
2024-02-23 16:32:12 +02:00
Tulir Asokan
ca15922d7c
Add provisioning API for google login
2024-02-23 16:11:10 +02:00
Tulir Asokan
20d05c90d3
Add command for Google account login
2024-02-22 23:05:00 +02:00
Tulir Asokan
9c6ef9b665
Clear state flags when disconnecting
2024-01-16 14:21:13 +02:00
Tulir Asokan
13fdedd9fc
Fix connected bridge state after switching to QR login
2023-12-14 01:36:43 +02:00
Tulir Asokan
5b1f6e4c7b
Add hacks to send bad credentials on startup too
2023-12-14 01:35:21 +02:00
Tulir Asokan
62bf2e608b
Send error notice if user switches to google account pairing
2023-12-14 01:18:17 +02:00
Tulir Asokan
cb5f3fa3f9
Only send unknown error state after 2 ping fails
2023-11-06 16:06:30 +02:00
John Newman
c7244e67da
add generic analytics section for segment compatible api
2023-10-09 13:03:58 +01:00
Tulir Asokan
500f030fb3
Send phone not responding alerts to management room
2023-10-05 12:56:42 +03:00
Tulir Asokan
29320b06fa
Don't drop missed events after reconnect
2023-09-07 17:29:48 +03:00
Tulir Asokan
0ddfd65b8b
Undo bad credentials state on non-default sms app
2023-09-04 16:47:23 +03:00
Tulir Asokan
51c68f4919
Send bad credentials state if default sms app flag is false
2023-09-04 14:43:03 +03:00
Tulir Asokan
a4bb7e69cf
Add separate error code for requested entity not found errors
2023-09-04 14:33:08 +03:00
Tulir Asokan
dc2d34127f
Handle HTTP error responses properly
2023-09-04 14:28:22 +03:00
Tulir Asokan
1618051a12
Store phone settings for users
2023-08-30 20:45:51 +03:00
Tulir Asokan
2f8af9b6eb
Include sim metadata with outgoing messages
2023-08-30 19:35:02 +03:00
Tulir Asokan
5767138006
Handle delete events during portal create sleep
...
Probably fixes #7
2023-08-25 20:47:26 +03:00
Tulir Asokan
0c5be59fad
Include raw protobuf data in events for debugging
2023-08-24 14:48:03 +03:00
Tulir Asokan
2ec1dcda6c
Log incoming message metadata before processing it
2023-08-24 14:34:45 +03:00
Tulir Asokan
c0fe4a16df
Improve suspicious data detection
2023-08-24 14:23:15 +03:00
Tulir Asokan
5f47cbc6e6
Adjust constants and defaults
2023-08-24 13:37:21 +03:00
Tulir Asokan
97a3c97b8e
Handle conversations moving into spam
2023-08-21 19:59:42 +03:00
Tulir Asokan
4229f85d09
Move double puppeting login code to mautrix-go
2023-08-21 13:52:03 +03:00
Tulir Asokan
fdce256a03
Ignore conversation events where DM turns into group
...
Google seems to randomly send group chat info with a DM ID, then revert
back to the correct DM data in the next update. Since DMs should never
turn into groups, just ignore those events entirely.
2023-08-21 12:11:56 +03:00
Tulir Asokan
18288b5ea5
Don't send notifications from batch sending if last message is old
2023-08-15 11:05:21 +03:00
Tulir Asokan
b05212e47d
Add support for messages moving to different chats
2023-08-14 15:03:29 +03:00
Tulir Asokan
bd213bf550
Delete state if phone ID changes on login
2023-08-10 15:55:33 +03:00
Tulir Asokan
efb0008ca0
Make event handling synchronous
2023-08-10 15:40:43 +03:00
Tulir Asokan
ad4b9a84b7
Adjust error messages
2023-08-10 11:39:18 +03:00
Tulir Asokan
211f000b28
Stop bridging protocol switch messages
2023-08-10 11:30:17 +03:00
Tulir Asokan
d1ba596504
Handle message updates properly instead of dropping in-progress messages
2023-08-09 17:54:46 +03:00
Tulir Asokan
3df8296d9f
Mark chat as read on conversation events
2023-08-09 17:52:38 +03:00
Tulir Asokan
439f5d1033
Delay missed backfill if messages are recent
2023-08-08 17:05:56 +03:00
Tulir Asokan
b958401b73
Don't resync if session ID doesn't change
2023-08-02 15:07:02 +03:00
Tulir Asokan
20599e93f3
Include room ID in portal logger
2023-08-02 15:02:54 +03:00
Tulir Asokan
13a8d9b9a9
Add more logs for syncing conversations
2023-08-02 14:54:13 +03:00
Tulir Asokan
7618afed7f
Log conversation data when syncing (ref #6 )
2023-08-02 14:37:01 +03:00
Tulir Asokan
57dfe0fc72
Log conversation status when syncing
2023-07-24 16:48:22 +03:00
Tulir Asokan
d7d1abc3b7
Fix some bugs
2023-07-20 01:54:30 +03:00
Tulir Asokan
8e814bd05b
Send correct bridge state if phone isn't responding
2023-07-20 01:11:59 +03:00