Commit graph

51 commits

Author SHA1 Message Date
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
Tulir Asokan
5542492a32 Further simplify refresh request signing 2023-07-09 18:39:05 +03:00
Tulir Asokan
1615e146b6 Update library
Co-authored-by: zero <108243503+0xzer@users.noreply.github.com>
2023-07-09 14:49:55 +03:00
Tulir Asokan
27b48bc6e8 Change more things 2023-07-02 17:19:00 +03:00
Tulir Asokan
6e7143d532 Change more stuff 2023-07-01 18:19:57 +03:00
Tulir Asokan
b1e2634f33 Fix long polling retries, unpair handling and other things 2023-07-01 12:51:13 +03:00
Tulir Asokan
f3e866bf2f Fix most variable name casing 2023-06-30 16:26:49 +03:00
Tulir Asokan
1866cf86ec Unhardcode receive messages request payload format 2023-06-30 15:50:12 +03:00
Tulir Asokan
2f5c5e2c6d Stop using stdlib log 2023-06-30 14:48:50 +03:00
Tulir Asokan
bbca40d74b Update package name 2023-06-30 14:05:33 +03:00
Tulir Asokan
d1897a2b80 Remove unnecessary base64 util 2023-06-30 13:53:17 +03:00
Tulir Asokan
82ddf46de7 Remove cache 2023-06-30 13:31:25 +03:00