Commit graph

350 commits

Author SHA1 Message Date
Tulir Asokan
159bc453ec Add license exceptions 2024-03-11 15:48:03 +02:00
Tulir Asokan
aa3340006f Update dependencies 2024-03-11 15:39:29 +02:00
Tulir Asokan
515fcc0418 Update changelog 2024-03-11 15:36:09 +02:00
Tulir Asokan
993addf632 Bump gmessages version number 2024-03-11 15:31:25 +02:00
Tulir Asokan
6a630151d7 Fix media upload code 2024-03-11 15:31:15 +02:00
Tulir Asokan
114cf622d6 Add longer hacky sleep to make google login post-connect work 2024-03-11 15:06:39 +02:00
Tulir Asokan
c8478eaa33 Try adding SIM payload when sending reactions 2024-03-08 01:45:18 +02:00
Tulir Asokan
0799d550fd Revert "Try sending hearts as custom reaction type"
This reverts commit 96253a90d3.
2024-03-08 01:41:56 +02:00
Tulir Asokan
96253a90d3 Try sending hearts as custom reaction type 2024-03-07 17:55:35 +02:00
Tulir Asokan
d01ae575d2 Fully qualify emojis instead of removing variation selector 2024-03-07 17:05:42 +02:00
Tulir Asokan
e5b70c0b18 Fill httpTransport field 2024-03-05 19:31:12 +02:00
Tulir Asokan
90b5346763 Add timeouts for HTTP requests 2024-03-05 19:14:14 +02:00
Tulir Asokan
96c09b4752 Send acks before sending set active request 2024-03-05 13:11:27 +02:00
Tulir Asokan
94e59bbb3f Further improve hacky deduplication algorithm 2024-03-01 17:56:01 +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
27d7edcb6d Re-set contact info if phone or contact ID changes 2024-03-01 14:44:29 +02:00
Tulir Asokan
765dc618e6 Add more logs for avatar syncing 2024-03-01 14:43:25 +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
072c002198 Improve hacky deduplication algorithm 2024-03-01 13:53:46 +02:00
Tulir Asokan
c88187b99f Remove sus conversation data filtering 2024-03-01 13:51:36 +02:00
Tulir Asokan
69764df5f8 Use bot for kicking if necessary 2024-03-01 13:34:27 +02:00
Tulir Asokan
04828bef39 Try another algorithm for DM participant deduplication 2024-03-01 13:26:45 +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
2b41398074 Fix power levels when main intent changes 2024-02-29 17:33:15 +02:00
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