Commit graph

94 commits

Author SHA1 Message Date
Tulir Asokan
bbfb5e7b5b Improve login failure analytics 2024-04-08 19:04:40 +03:00
Tulir Asokan
b131f50e51 Improve missed data resync logic 2024-04-08 12:47:00 +03:00
Tulir Asokan
e2c8d92382 Adjust hacky GET_UPDATES behavior 2024-04-05 17:05:20 +03:00
Tulir Asokan
7167eff883 Log warning if set active results in backfill 2024-04-05 16:41:11 +03:00
Tulir Asokan
0b6648eeed Resync if hacky GET_UPDATES works 2024-04-05 13:06:06 +03:00
Tulir Asokan
135bd5f5bb Don't try to set unconfigured tags 2024-04-05 12:54:57 +03:00
Tulir Asokan
074ad64773 Cancel previous async login when starting new one 2024-03-28 16:31:42 +02:00
Tulir Asokan
205e6a9751 Add missing nil check 2024-03-27 20:01:38 +02:00
Tulir Asokan
914e4ea280 Ignore read receipts pointing at old messages 2024-03-23 01:46:57 +02:00
Tulir Asokan
0456b8c3de Clear puppet phone numbers when phone ID changes 2024-03-18 15:14:29 +02:00
Tulir Asokan
c41dbebc0d Remove maulogger 2024-03-13 18:41:50 +02:00
Tulir Asokan
42d56b9e71 Add even more hacky workarounds for connecting after google login 2024-03-13 18:12:47 +02:00
Tulir Asokan
ea507552b0 Add analytics events for google login 2024-03-11 15:55:24 +02:00
Tulir Asokan
c03191856c Cancel async login if it's not waited 5 seconds after completion 2024-03-01 16:30:49 +02:00
Tulir Asokan
89b9f46301 Don't clear puppets when phone ID changes
Otherwise the avatars will remain on the server and won't be properly reset
when new contact info comes in for the same user.
2024-03-01 14:42:40 +02:00
Tulir Asokan
c88187b99f Remove sus conversation data filtering 2024-03-01 13:51:36 +02:00
Tulir Asokan
e9ec6b5e64 Don't include chat info in every log line when syncing 2024-02-29 17:36:03 +02:00
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