Tulir Asokan
|
69aacf25b5
|
Bump config message version number
|
2024-02-29 13:42:22 +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
|
59b3b7d0ec
|
Add context for google login and cancel if HTTP request is cancelled
|
2024-02-26 16:10:32 +02:00 |
|
Tulir Asokan
|
207f152c04
|
Add another debug log
|
2024-02-25 00:18:17 +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
|
fa23bd14e8
|
Update mautrix-go
|
2024-02-23 21:20:26 +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
|
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
|
02f0b9e2ca
|
Add Google account pairing support to libgm
|
2024-02-22 22:39:28 +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
|
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
|
766d79562a
|
Bump messages version number
|
2023-10-05 12:52:03 +03:00 |
|
Tulir Asokan
|
e6f9c36d87
|
Send event when ditto ping stops failing
|
2023-09-27 12:35:11 +03:00 |
|
Tulir Asokan
|
6c98afb0cc
|
Bump version to v0.2.0
|
2023-09-16 10:39:51 -04:00 |
|
Tulir Asokan
|
29320b06fa
|
Don't drop missed events after reconnect
|
2023-09-07 17:29:48 +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
|
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
|
c9c13db0b3
|
Use constants instead of string literals
|
2023-09-02 13:29:02 +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
|
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
|
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
|
612fb2bae7
|
Adjust some logs
|
2023-08-25 20:45:01 +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
|
0c5be59fad
|
Include raw protobuf data in events for debugging
|
2023-08-24 14:48:03 +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
|
8140abedd5
|
Log unexpected data
|
2023-08-21 12:10:16 +03:00 |
|
Tulir Asokan
|
ac1a297a58
|
Update web version number
|
2023-08-15 18:35:35 +03:00 |
|
Tulir Asokan
|
37557fcc1a
|
Bump web version number
|
2023-08-14 15:03:40 +03:00 |
|
Tulir Asokan
|
8adad5ea1b
|
Remove unnecessary fake value in protobuf
|
2023-08-10 20:53:43 +03:00 |
|
Tulir Asokan
|
efb0008ca0
|
Make event handling synchronous
|
2023-08-10 15:40:43 +03:00 |
|
Tulir Asokan
|
0169f2140a
|
Enable go vet in pre-commit
|
2023-08-09 17:52:30 +03:00 |
|
Tulir Asokan
|
2116071b73
|
Retry on 4xx errors
|
2023-08-09 15:27:47 +03:00 |
|
Tulir Asokan
|
f9d004a09d
|
Increase ping timeout to 30 seconds
|
2023-08-08 19:05:08 +03:00 |
|
Tulir Asokan
|
0411c6eeac
|
Update version identifier
|
2023-08-08 17:10:41 +03:00 |
|
Tulir Asokan
|
b958401b73
|
Don't resync if session ID doesn't change
|
2023-08-02 15:07:02 +03:00 |
|
Tulir Asokan
|
107f164180
|
Fix field type
|
2023-07-31 19:57:31 +03:00 |
|
Tulir Asokan
|
8b8ac305bb
|
Add better logs for decode errors
|
2023-07-31 19:57:31 +03:00 |
|
Tulir Asokan
|
57dfe0fc72
|
Log conversation status when syncing
|
2023-07-24 16:48:22 +03:00 |
|
Tulir Asokan
|
c742a1fe66
|
Change log level
|
2023-07-20 02:03:50 +03:00 |
|
Tulir Asokan
|
8e814bd05b
|
Send correct bridge state if phone isn't responding
|
2023-07-20 01:11:59 +03:00 |
|
Tulir Asokan
|
7981a11bd9
|
Make initial chat sync count configurable
|
2023-07-19 23:34:25 +03:00 |
|
Tulir Asokan
|
498f210e10
|
Move fetching initial conversations to bridge code
|
2023-07-19 23:30:27 +03:00 |
|
Tulir Asokan
|
ecae11f6b2
|
Fix deduplicating updates that flip back and forth
|
2023-07-19 22:29:30 +03:00 |
|
Tulir Asokan
|
d367469000
|
Sync read only and RCS status as power levels
|
2023-07-19 21:40:39 +03:00 |
|
Tulir Asokan
|
907e6af77b
|
Store all own participant IDs for proper multi-sim support
|
2023-07-19 20:55:52 +03:00 |
|
Tulir Asokan
|
bf277e197f
|
Always close response body in uploads
|
2023-07-19 14:19:09 +03:00 |
|
Tulir Asokan
|
a4639eb668
|
Rename long poll file and functions to be more accurate
|
2023-07-19 14:13:02 +03:00 |
|
Tulir Asokan
|
01464c5cc2
|
Unnest long polling handler
|
2023-07-19 14:12:23 +03:00 |
|
Tulir Asokan
|
d99da61869
|
Refactor all protobuf HTTP request sending into shared functions
|
2023-07-19 13:59:11 +03:00 |
|
Tulir Asokan
|
3e2348447a
|
Merge response waiting methods with sending
|
2023-07-19 01:20:32 +03:00 |
|
Tulir Asokan
|
6caf7e89fb
|
Move start login methods to pair.go
|
2023-07-19 01:19:04 +03:00 |
|
Tulir Asokan
|
b46885ad58
|
Move download method to same file as upload
|
2023-07-19 01:18:06 +03:00 |
|
Tulir Asokan
|
afae081429
|
Merge all RPC call methods into one file
|
2023-07-19 01:17:12 +03:00 |
|
Tulir Asokan
|
1ef5b56259
|
Merge pairing-related code into one file
|
2023-07-19 01:08:13 +03:00 |
|
Tulir Asokan
|
1d32fd14da
|
Remove unnecessary route definitions
|
2023-07-19 01:06:09 +03:00 |
|
Tulir Asokan
|
e7a6c3f7af
|
Fix panic when logging in
|
2023-07-18 15:13:53 +03:00 |
|
Tulir Asokan
|
30bfa14141
|
Don't send listen events in the non-authed poller
|
2023-07-18 14:51:18 +03:00 |
|
Tulir Asokan
|
78d0bcd56d
|
Remove RPC message builder
|
2023-07-18 03:08:01 +03:00 |
|
Tulir Asokan
|
9680040ea1
|
Reorganize protobuf schemas
|
2023-07-18 02:57:20 +03:00 |
|
Tulir Asokan
|
8e5d76b1d3
|
Add get conversation method
|
2023-07-18 02:19:25 +03:00 |
|
Tulir Asokan
|
a6b91da574
|
Use generics for casting responses
|
2023-07-18 02:11:43 +03:00 |
|
Tulir Asokan
|
4599f3f0e5
|
Refactor incoming RPC data parsing to remove useless structs
|
2023-07-18 02:01:06 +03:00 |
|
Tulir Asokan
|
5f450f3294
|
Make attachment decryption less hacky
|
2023-07-17 17:58:11 +03:00 |
|
Tulir Asokan
|
37a6c09dc3
|
Remove unused request functions
|
2023-07-17 16:57:28 +03:00 |
|
Tulir Asokan
|
13124562b7
|
Rename crypto files
|
2023-07-17 16:57:21 +03:00 |
|
Tulir Asokan
|
4d6233d94b
|
Rename binary package to gmproto
|
2023-07-17 16:51:31 +03:00 |
|
Tulir Asokan
|
7008a9ca60
|
Move proto files to binary directory
|
2023-07-17 16:49:49 +03:00 |
|
Tulir Asokan
|
b5bc6bfd61
|
Clean up logs and move some functions
|
2023-07-17 16:43:34 +03:00 |
|
Tulir Asokan
|
84276a631a
|
Use embed package for raw proto descriptions
|
2023-07-17 02:06:35 +03:00 |
|
Tulir Asokan
|
db53aaf3e7
|
Implement start new chat API
|
2023-07-17 01:52:13 +03:00 |
|
Tulir Asokan
|
6786c10fda
|
Add methods for getting contacts and starting chats
|
2023-07-17 01:10:01 +03:00 |
|
Tulir Asokan
|
019f237be1
|
Fix field name casing
|
2023-07-16 16:19:33 +03:00 |
|
Tulir Asokan
|
fa5928e405
|
Remove some panics
|
2023-07-16 16:18:45 +03:00 |
|
Tulir Asokan
|
6225b83d2f
|
Refactor login flow
|
2023-07-16 16:13:11 +03:00 |
|
Tulir Asokan
|
7fe4f0b047
|
Unnest device pair info in AuthData
|
2023-07-16 14:40:28 +03:00 |
|
Tulir Asokan
|
3fefda3a96
|
Refactor more things
|
2023-07-16 14:36:13 +03:00 |
|
Tulir Asokan
|
e6cec49353
|
Move JWK base64 decoding to JSON parsing step
|
2023-07-16 13:35:28 +03:00 |
|
Tulir Asokan
|
360fe208a8
|
Remove more unused utility functions
|
2023-07-16 13:23:44 +03:00 |
|