Commit graph

316 commits

Author SHA1 Message Date
Tulir Asokan
4599f3f0e5 Refactor incoming RPC data parsing to remove useless structs 2023-07-18 02:01:06 +03:00
Tulir Asokan
604aa19a46 Remove warning in readme 2023-07-17 18:40:52 +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
c9a26566c4 Mark .pb.raw files as binary 2023-07-17 02:09:54 +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
6602e6c937 Add provisioning API 2023-07-17 01:27:12 +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
Tulir Asokan
1f8ea3ddda Update dependencies 2023-07-16 13:17:35 +03:00
Tulir Asokan
014b257ff5 Allow configuring device details shown on phone 2023-07-16 02:51:26 +03:00
Tulir Asokan
511e85c242 Handle pair revoke events 2023-07-16 02:41:34 +03:00
Tulir Asokan
9f189d913b Remove manual X.509 public key encoding 2023-07-16 02:35:35 +03:00
Tulir Asokan
2d69a3c42f Remove some unnecessary event wrappers 2023-07-16 02:24:39 +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
5d7edac1e8 Move some things out of payload package 2023-07-16 02:16:10 +03:00
Tulir Asokan
abb2c8a21f Send unpair request when logging out 2023-07-16 02:11:25 +03:00
Tulir Asokan
00b7dd1268 Remove duplicate AuthMessage type 2023-07-16 01:56:11 +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
f22d4f6ac8 Remove commented logs 2023-07-16 01:04:29 +03:00
Tulir Asokan
14084b9832 Update list conversations payload 2023-07-16 00:55:55 +03:00
Tulir Asokan
4931b1a666 Remove duplicate log 2023-07-16 00:28:00 +03:00
Tulir Asokan
3f912f87cf Remove unnecessary wrapping of API methods 2023-07-16 00:26:22 +03:00
Tulir Asokan
d04b1bde39 Fix some error messages 2023-07-16 00:16:36 +03:00
Tulir Asokan
45d5a556ba Remove useless utility functions 2023-07-15 20:47:56 +03:00
Tulir Asokan
aa89c98353 Add support for sending attachments from Matrix 2023-07-15 20:29:43 +03:00
Tulir Asokan
63d2aab736 Add support for MMS subjects 2023-07-15 19:57:13 +03:00
Tulir Asokan
b2e6d206bd Remove message builder 2023-07-15 19:51:43 +03:00
Tulir Asokan
b8d4b49de3 Add method for sending typing notification 2023-07-15 19:48:11 +03:00
Tulir Asokan
5de0cf774b Make ack log more readable 2023-07-15 18:49:28 +03:00
Tulir Asokan
50ea658fc9 Remove unnecessary JWK functions 2023-07-15 16:45:50 +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
cc0325f7eb Don't log error when closing connection manually 2023-07-15 16:20:02 +03:00
Tulir Asokan
cb7e12290b Log all pblite response contents 2023-07-15 16:17:02 +03:00
Tulir Asokan
08cbe12181 Remove manual json unmarshaling step in pblite 2023-07-15 16:11:36 +03:00
Tulir Asokan
e086846574 Add lock around ackMap 2023-07-15 15:57:07 +03:00