Commit graph

28 commits

Author SHA1 Message Date
cf4484f123 Add user options to disable battery and certain connected messages
Some checks failed
Go / Lint ${{ matrix.go-version == '1.22' && '(latest)' || '(old)' }} (1.21) (push) Has been cancelled
Go / Lint ${{ matrix.go-version == '1.22' && '(latest)' || '(old)' }} (1.22) (push) Has been cancelled
2024-06-18 23:44:53 -04:00
Tulir Asokan
0b6648eeed Resync if hacky GET_UPDATES works 2024-04-05 13:06:06 +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
6c4d8d8744 Properly set phone ID when pairing with google account 2024-02-23 22:52:04 +02:00
Tulir Asokan
b134453801 Handle logout events in a hacky way 2024-02-23 20:25:31 +02:00
Tulir Asokan
5b1f6e4c7b Add hacks to send bad credentials on startup too 2023-12-14 01:35:21 +02:00
Tulir Asokan
cb5f3fa3f9 Only send unknown error state after 2 ping fails 2023-11-06 16:06:30 +02: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
8e814bd05b Send correct bridge state if phone isn't responding 2023-07-20 01:11:59 +03:00
Tulir Asokan
498f210e10 Move fetching initial conversations to bridge code 2023-07-19 23:30:27 +03:00
Tulir Asokan
d99da61869 Refactor all protobuf HTTP request sending into shared functions 2023-07-19 13:59:11 +03:00
Tulir Asokan
9680040ea1 Reorganize protobuf schemas 2023-07-18 02:57:20 +03:00
Tulir Asokan
4d6233d94b Rename binary package to gmproto 2023-07-17 16:51:31 +03:00
Tulir Asokan
6225b83d2f Refactor login flow 2023-07-16 16:13:11 +03:00
Tulir Asokan
2d69a3c42f Remove some unnecessary event wrappers 2023-07-16 02:24:39 +03:00
Tulir Asokan
bbc4da21b7 Add better bridge states 2023-07-15 15:05:40 +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
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
c09a0063a7 Fix event names 2023-06-30 16:09:29 +03:00
Tulir Asokan
ceedfb1192 Add PairSuccessful event 2023-06-30 14:48:58 +03:00
Tulir Asokan
13f47319b2 Remove unnecessary QR image generation 2023-06-30 13:44:48 +03:00
Tulir Asokan
82ddf46de7 Remove cache 2023-06-30 13:31:25 +03:00
Tulir Asokan
cdf9b1e4a0 Run goimports 2023-06-30 12:55:49 +03:00
zero
02ef5ab82c Add initial Google Messages library 2023-06-30 12:54:08 +03:00