Commit graph

236 commits

Author SHA1 Message Date
Carson McManus
58897b6695 implement the first step for account linking process 2021-08-08 18:32:50 -04:00
Carson McManus
2e4058cfca add add_authenticator to steamapi module 2021-08-08 15:25:27 -04:00
Carson McManus
e4d7ea4475 move phoneajax methods to steamapi module 2021-08-08 13:39:18 -04:00
Carson McManus
31a888c0e4 add NetworkFailure to AccountLinkError 2021-08-08 13:06:29 -04:00
Carson McManus
8a3408b405
Merge pull request #77 from dyc3/reorganize
Reorganize to make managing cookies easier
2021-08-08 12:57:48 -04:00
Carson McManus
b57bc38341 add rustfmt.toml and run cargo fmt 2021-08-08 12:54:46 -04:00
Carson McManus
52d247f102 cargo fmt 2021-08-08 12:34:06 -04:00
Carson McManus
a808fa1fe6 move userlogin to another module 2021-08-08 12:23:17 -04:00
Carson McManus
8b18e9a292 fix user login for cases where transfer_login is not required 2021-08-08 11:16:06 -04:00
Carson McManus
7e7a192ff7 add vscode debug launchers 2021-08-08 11:08:33 -04:00
Carson McManus
79f8341aad move most http requests to the steam API into SteamApiClient 2021-08-08 01:26:25 -04:00
Carson McManus
c17a17e1b8
Merge pull request #76 from dyc3/shared-refs
change `accounts` to type `Vec<Arc<Mutex<SteamGuardAccount>>>` to make sure state stays in one place in memory
2021-08-01 12:37:37 -04:00
Carson McManus
b5ed878659 change accounts to type Vec<Arc<Mutex<SteamGuardAccount>>> to make sure state stays in one place in memory 2021-08-01 12:34:13 -04:00
Carson McManus
31cc0f884e
Merge pull request #73 from dyc3/save-sessions
Save accounts and manifest
2021-08-01 11:24:52 -04:00
Carson McManus
afc09a35ac implement saving manifest and accounts 2021-08-01 11:20:57 -04:00
Carson McManus
d6cdbd5541 simplify manifest and account loading 2021-08-01 09:47:50 -04:00
Carson McManus
258e758395
Merge pull request #72 from tilosp/rustfmt
Run cargo fmt and check it using github actions
2021-08-01 09:30:47 -04:00
Tilo Spannagel
2f6647d85e Check code style in ci 2021-08-01 13:23:09 +00:00
Carson McManus
e42d130741
Merge pull request #69 from dyc3/add-rust-ci
Add github actions for running rust tests
2021-08-01 09:21:53 -04:00
Tilo Spannagel
f3910790bb Run "cargo fmt" 2021-08-01 12:43:18 +00:00
Carson McManus
e040630088
Create rust.yml 2021-07-31 17:10:07 -04:00
Carson McManus
8567a06f54
Merge pull request #68 from dyc3/multiple-confirmations-fix
refactor confirmations parsing, fixes #66
2021-07-31 17:07:48 -04:00
Carson McManus
6c34a8f2df refactor confirmations parsing, fixes #66 2021-07-31 16:57:51 -04:00
Carson McManus
ca93b7289c
Merge pull request #65 from dyc3/cleanup
Misc cleanup for rust code
2021-07-31 12:27:51 -04:00
Carson McManus
c6d9fd0d75 seperate cli stuff from library stuff, and put it in another crate 2021-07-31 12:24:49 -04:00
Carson McManus
d6aedb771c add comment 2021-07-31 12:01:23 -04:00
Carson McManus
67a7b9b0ee use to_be_bytes for build_time_bytes 2021-07-31 11:47:37 -04:00
Carson McManus
fcc56d6d73 change parse_shared_secret to not panic, add test for build_time_bytes 2021-07-31 11:44:56 -04:00
Carson McManus
7c58e28d56 clean up imports 2021-07-31 11:08:41 -04:00
Carson McManus
66731164d6 remove commented code 2021-07-31 11:00:22 -04:00
Carson McManus
9aea25ea32 change import 2021-07-31 10:57:02 -04:00
Carson McManus
e0a668fa1e change LoginResult to Result<Session, LoginError> 2021-07-31 10:55:55 -04:00
Carson McManus
cc48bc9537 clean up and improve encrypt_password unit test 2021-07-31 10:39:48 -04:00
Carson McManus
98d0bb72c5
Merge pull request #56 from dyc3/rust-rewrite
rust rewrite
2021-07-30 12:33:49 -04:00
Carson McManus
5e7b614e92 update readme 2021-07-29 23:03:55 -04:00
Carson McManus
4be38f8854 update to rsa 0.5 2021-07-29 22:52:48 -04:00
Carson McManus
3dcccd1e63 add interactive confirmation menu 2021-07-29 19:42:45 -04:00
Carson McManus
bbc2f77b30 adjust trade subcommand loop 2021-07-29 09:08:06 -04:00
Carson McManus
e3f7d10394 add get_confirmation_details 2021-07-28 16:09:21 -04:00
Carson McManus
d4c1758f1b implement --accept-all 2021-07-28 15:48:06 -04:00
Carson McManus
489842cc78 add send_confirmation_ajax 2021-07-28 15:07:15 -04:00
Carson McManus
8b5d0ef0ff move confirmation description to function
probably temporary
2021-07-28 14:10:14 -04:00
Carson McManus
c23db2a5e9 add Confirmation struct, and improve confirmation parsing 2021-07-27 23:49:53 -04:00
Carson McManus
d2bf5478ba require login only when session is invalid 2021-07-27 19:50:39 -04:00
Carson McManus
d8ffc179e0 add incomplete account linker 2021-07-27 16:24:56 -04:00
Carson McManus
c936d9a0ac add uuid crate 2021-07-27 10:10:20 -04:00
Carson McManus
e47a2173b1
Merge pull request #61 from cyrant/patch-2
Fix build issues
2021-05-23 19:01:24 -04:00
cyrant
fcc5900494
Fix build issues
I am sorry, I made mistake.
2021-05-23 21:25:56 +00:00
Carson McManus
e9475585ca
Merge pull request #60 from cyrant/patch-1
Fix build issues
2021-05-22 13:47:32 -04:00
cyrant
7385028554
Fix build issues
Fixes clean-chroot build for Arch User Repository
2021-05-20 18:15:04 +00:00