Commit graph

62 commits

Author SHA1 Message Date
Tulir Asokan
3d0983203d Send extra GET_UPDATES requests instead of IS_BUGLE_DEFAULT 2024-04-05 12:54:49 +03:00
Tulir Asokan
03db8d9296 Add periodic bugle default check 2024-04-03 17:31:17 +03:00
Tulir Asokan
fab55c21b9 Enable checking bugle default on gaia pairing 2024-04-03 15:58:31 +03:00
Tulir Asokan
42d56b9e71 Add even more hacky workarounds for connecting after google login 2024-03-13 18:12:47 +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
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
0f4f00295c Add hacky sleep before sending set active session request 2024-02-26 16:54:06 +02:00
Tulir Asokan
207f152c04 Add another debug log 2024-02-25 00:18:17 +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
49a3fd983f Add support for unpairing google logins 2024-02-23 16:32:12 +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
52a703c94d Don't panic if fetching web version fails 2023-09-05 00:34:22 +03:00
Tulir Asokan
dc2d34127f Handle HTTP error responses properly 2023-09-04 14:28:22 +03:00
Tulir Asokan
b958401b73 Don't resync if session ID doesn't change 2023-08-02 15:07:02 +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
ecae11f6b2 Fix deduplicating updates that flip back and forth 2023-07-19 22:29:30 +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
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
1d32fd14da Remove unnecessary route definitions 2023-07-19 01:06:09 +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
9680040ea1 Reorganize protobuf schemas 2023-07-18 02:57:20 +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
4d6233d94b Rename binary package to gmproto 2023-07-17 16:51:31 +03:00
Tulir Asokan
b5bc6bfd61 Clean up logs and move some functions 2023-07-17 16:43:34 +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
Tulir Asokan
8302bc95ee Fix URL constant names 2023-07-16 02:21:53 +03:00
Tulir Asokan
10affb59b1 Make response waiting less hacky 2023-07-16 01:55:41 +03:00
Tulir Asokan
50c2d45316 Fix image decryption race condition 2023-07-16 01:45:19 +03:00
Tulir Asokan
3f912f87cf Remove unnecessary wrapping of API methods 2023-07-16 00:26:22 +03:00
Tulir Asokan
45d5a556ba Remove useless utility functions 2023-07-15 20:47:56 +03:00
Tulir Asokan
ffd84f5039 Remove unnecessary utility functions 2023-07-15 16:39:11 +03:00
Tulir Asokan
c46e47aba8 Clean up some protobuf things 2023-07-15 16:37:44 +03:00
Tulir Asokan
08cbe12181 Remove manual json unmarshaling step in pblite 2023-07-15 16:11:36 +03:00
Tulir Asokan
4f4b8818e5 Remove unnecessary fetched message media downloading 2023-07-11 01:20:11 +03:00
Tulir Asokan
a350e4fc00 Fix usages of log package 2023-07-09 23:33:01 +03:00
Tulir Asokan
7372bc4927 Add basic support for incoming media messages 2023-07-09 20:28:20 +03:00