Tulir Asokan
58fa6fdedb
Move all SQL queries to constants
2023-09-05 01:46:56 +03:00
Tulir Asokan
95c0cfa983
Set room avatar for DM portals
2023-09-05 01:42:39 +03:00
Tulir Asokan
a415444fc0
Implement avatars
2023-09-05 01:42:36 +03:00
Tulir Asokan
75468e87d8
Add trace log with successful HTTP response data
2023-09-05 00:34:51 +03:00
Tulir Asokan
52a703c94d
Don't panic if fetching web version fails
2023-09-05 00:34:22 +03:00
Tulir Asokan
f6712be804
Remove unnecessary byte spam in trace logs
2023-09-05 00:31:50 +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
e863120b51
Fix RequestError.Is
2023-09-04 14:31:59 +03:00
Tulir Asokan
fece6ec681
Add test for RequestError parsing
2023-09-04 14:28:27 +03:00
Tulir Asokan
dc2d34127f
Handle HTTP error responses properly
2023-09-04 14:28:22 +03:00
Tulir Asokan
88ba4b12b6
Add list support to pblite deserializer
2023-09-04 14:25:40 +03:00
Tulir Asokan
d757ced271
Update changelog and add comment to protobuf
...
[skip ci]
2023-09-04 12:14:35 +03:00
Tulir Asokan
bbcfff623d
Catch panics in portal message handler
2023-09-04 11:51:55 +03:00
Tulir Asokan
53e992c25d
Fix handling updates to multipart messages
2023-09-04 11:33:03 +03:00
Tulir Asokan
a947eddcee
Use beeper gallery types in mautrix-go
2023-09-02 13:29:48 +03:00
Tulir Asokan
c9c13db0b3
Use constants instead of string literals
2023-09-02 13:29:02 +03:00
Tulir Asokan
9137cdfc68
Fall back to second media ID field if first is empty
2023-09-02 12:09:59 +03:00
Tulir Asokan
2439be0f71
Add debug logs for pending attachments
2023-09-01 21:33:53 +03:00
Tulir Asokan
101fad5ca6
Add support for Beeper galleries
2023-09-01 17:34:52 +03:00
Tulir Asokan
701f878235
Update changelog
2023-09-01 13:49:56 +03:00
Tulir Asokan
e1bce0d74b
Track settings when send fails
2023-09-01 13:49:27 +03:00
Tulir Asokan
328a3eac53
Handle send error statuses properly
2023-09-01 13:42:52 +03:00
Tulir Asokan
1618051a12
Store phone settings for users
2023-08-30 20:45:51 +03:00
Tulir Asokan
48d761a397
Log google messages send response type
2023-08-30 19:37:04 +03:00
Tulir Asokan
2f8af9b6eb
Include sim metadata with outgoing messages
2023-08-30 19:35:02 +03:00
Tulir Asokan
e0eb5b8e3f
Decode with schema in manualdecrypt utility
2023-08-30 18:23:22 +03:00
Tulir Asokan
1d86a6c129
Handle all parts of message failing to send
2023-08-30 17:16:24 +03:00
Tulir Asokan
1b774b11ac
Add readme to manualdecrypt
...
[skip ci]
2023-08-27 13:11:35 +03:00
Tulir Asokan
1a16cad2d3
Add manual decrypt utility
2023-08-27 12:49:14 +03:00
Tulir Asokan
f24e8f029f
Fix GetConversationTypeRequest struct name
2023-08-27 12:35:47 +03:00
Tulir Asokan
e4fc031c12
Move gmtest inside libgm
2023-08-27 12:10:48 +03:00
Tulir Asokan
f2927db865
Cancel batch sending if there's nothing to send
2023-08-26 16:45:11 +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
612fb2bae7
Adjust some logs
2023-08-25 20:45:01 +03:00
Tulir Asokan
f5c680d76e
Ignore chat creation tombstones
2023-08-25 20:44:47 +03:00
Tulir Asokan
ce364fee5a
Update changelog
2023-08-25 18:44:13 +03:00
Tulir Asokan
821849a25b
Fix protobuf type of incoming message/conversation events
2023-08-25 18:29:27 +03:00
Tulir Asokan
8fcb4283a9
Sleep before reconnecting after pair success
2023-08-24 21:52:40 +03:00
Tulir Asokan
2b1f046e75
Log outgoing participant ID when sending
2023-08-24 14:56:41 +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
6f21016ccf
Fix device type field and default to tablet. Fixes #8
2023-08-24 11:21:24 +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
8140abedd5
Log unexpected data
2023-08-21 12:10:16 +03:00