Commit graph

426 commits

Author SHA1 Message Date
Tulir Asokan
d35936e857 Actually apply hacky deduplication for DM participants 2024-02-29 17:25:51 +02:00
Tulir Asokan
173644423c Add hacky deduplication for DM participants 2024-02-29 17:19:48 +02:00
Tulir Asokan
c409f75797 Don't set blank gmsg-contact URI in ghost identifiers 2024-02-29 15:50:19 +02:00
Tulir Asokan
4998d4a34b Bridge custom emoji reactions as :custom:
Official web app doesn't support them yet either, this is probably
better than the raw UUID
2024-02-29 15:49:36 +02:00
Tulir Asokan
6d7bfc1ba8 Refactor pinger 2024-02-29 14:20:58 +02:00
Tulir Asokan
69aacf25b5 Bump config message version number 2024-02-29 13:42:22 +02:00
Tulir Asokan
ca0e0a09a1 Add warning log when messages are dropped 2024-02-29 13:38:57 +02:00
Tulir Asokan
8b4f19fd2f Ack failed messages too 2024-02-26 17:08:24 +02:00
Tulir Asokan
0f4f00295c Add hacky sleep before sending set active session request 2024-02-26 16:54:06 +02:00
Tulir Asokan
eccbb9910e Check cookies are present before trying to log in 2024-02-26 16:54:06 +02:00
Tulir Asokan
b3457907fa Add missing return 2024-02-26 16:54:05 +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
207f152c04 Add another debug log 2024-02-25 00:18:17 +02:00
Tulir Asokan
aa7c66496f Use dbutil.QueryHelper for database stuff 2024-02-25 00:18:06 +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
c806258b82 Redact cookies when logging in 2024-02-23 22:00:39 +02:00
Tulir Asokan
fa23bd14e8 Update mautrix-go 2024-02-23 21:20:26 +02:00
Tulir Asokan
c6570863f6 Update Docker image to Alpine 3.19 2024-02-23 21:20:23 +02:00
Tulir Asokan
9893a0c639 Update pre-commit hooks and Go version used for linting 2024-02-23 21:20:20 +02:00
Tulir Asokan
00488409ed Merge branch 'tulir/google-account-pairing' 2024-02-23 21:20:16 +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
f99201f8e6 Fix some things 2024-02-23 19:26:49 +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
a59074a026 Add hack to ignore weird pre-response data 2024-02-23 15:35:59 +02:00
Tulir Asokan
1df5dfe99a Add network field to auth data 2024-02-23 14:53:19 +02:00
Tulir Asokan
e3f965eff6 Save incoming cookie changes 2024-02-22 23:19:00 +02:00
Tulir Asokan
20d05c90d3 Add command for Google account login 2024-02-22 23:05:00 +02:00
Tulir Asokan
02f0b9e2ca Add Google account pairing support to libgm 2024-02-22 22:39:28 +02:00
Tulir Asokan
7d84b7100d Bump version to v0.2.4 2024-01-16 16:18:59 +02:00
Tulir Asokan
850727c676 Update changelog 2024-01-16 14:21:13 +02:00
Tulir Asokan
9c6ef9b665 Clear state flags when disconnecting 2024-01-16 14:21:13 +02:00
Tulir Asokan
9b498149be Fix panic when handling read receipt if user isn't connected 2024-01-16 14:21:13 +02:00
Tulir Asokan
cd5e83478a Update actions and run on both supported Go versions
[skip cd]
2023-12-28 17:25:19 +01:00
Tulir Asokan
e756ef8caf Bump version to v0.2.3 2023-12-16 23:36:26 +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
Toni Spets
47fc0a19e2 Expose debug API with pprof
Runs along the provisioning API with same authentication.
2023-12-05 16:23:12 +02:00
Tulir Asokan
98d9fd5a95 Bump version to v0.2.2 2023-11-16 15:29:14 +02:00
Tulir Asokan
d027e1b147 Update dependencies 2023-11-16 15:22:34 +02:00
Tulir Asokan
cb5f3fa3f9 Only send unknown error state after 2 ping fails 2023-11-06 16:06:30 +02:00
Tulir Asokan
a94ccb0489 Update gitignore 2023-11-06 16:06:30 +02:00
Tulir Asokan
7c60a757f0 Remove metrics config. Fixes #13 2023-10-17 15:59:01 +03:00
Tulir Asokan
c5c415cd08 Bump version to v0.2.1 2023-10-16 13:35:41 +03:00