Commit graph

30 commits

Author SHA1 Message Date
Tulir Asokan
d99da61869 Refactor all protobuf HTTP request sending into shared functions 2023-07-19 13:59:11 +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
4599f3f0e5 Refactor incoming RPC data parsing to remove useless structs 2023-07-18 02:01:06 +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
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
8302bc95ee Fix URL constant names 2023-07-16 02:21:53 +03:00
Tulir Asokan
15fbc4b654 Don't reconnect when closing connection manually 2023-07-16 02:16:52 +03:00
Tulir Asokan
f22d4f6ac8 Remove commented logs 2023-07-16 01:04:29 +03:00
Tulir Asokan
3f912f87cf Remove unnecessary wrapping of API methods 2023-07-16 00:26:22 +03:00
Tulir Asokan
cc0325f7eb Don't log error when closing connection manually 2023-07-15 16:20:02 +03:00
Tulir Asokan
08cbe12181 Remove manual json unmarshaling step in pblite 2023-07-15 16:11:36 +03:00
Tulir Asokan
25236fffa9 Remove hackiness in long polling and ack sending 2023-07-15 15:49:51 +03:00
Tulir Asokan
bbc4da21b7 Add better bridge states 2023-07-15 15:05:40 +03:00
Tulir Asokan
8b0717144f Make update deduplication list smaller 2023-07-15 01:51:36 +03:00
Tulir Asokan
c802d2bced Handle events synchronously and ignore duplicates 2023-07-12 02:18:14 +03:00
Tulir Asokan
43ec0da6e9 Notify ditto activity when restarting long polling 2023-07-10 19:52:03 +03:00
Tulir Asokan
fc0882f285 Refresh auth token in long polling loop 2023-07-10 15:12:46 +03:00
Tulir Asokan
a350e4fc00 Fix usages of log package 2023-07-09 23:33:01 +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
922ffdcf6b Update bridge states 2023-07-04 00:03:36 +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
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
zero
02ef5ab82c Add initial Google Messages library 2023-06-30 12:54:08 +03:00