Commit graph

426 commits

Author SHA1 Message Date
Carson McManus
0bc5ca7016 combine do_login and do_login_raw 2021-08-14 11:24:15 -04:00
Carson McManus
ca86b44640 add prompt_char helper function 2021-08-14 11:10:21 -04:00
Carson McManus
f38f9b6e52 move input prompting code into tui module 2021-08-14 10:01:25 -04:00
Carson McManus
d594da3b86
Merge pull request #86 from dyc3/account-import
Add the ability to import existing accounts
2021-08-14 09:22:50 -04:00
Carson McManus
5689431f8c add import subcommand 2021-08-13 19:04:03 -04:00
Carson McManus
0aabe95375
Merge pull request #85 from dyc3/default-paths
better maFiles path handling
2021-08-12 18:59:02 -04:00
Carson McManus
f5ac96f722 cargo fmt 2021-08-12 18:54:38 -04:00
Carson McManus
0af027b27e fix default maFiles path from args handling 2021-08-12 18:36:03 -04:00
Carson McManus
a5f9f7671b better logic for determining where the user's maFiles are located 2021-08-12 18:06:18 -04:00
Carson McManus
c9d9d194b2
Merge pull request #83 from dyc3/conflicting-args
make --all and --username conflict with each other
2021-08-11 20:01:47 -04:00
Carson McManus
d460fa8b12 make --all and --username conflict with each other 2021-08-11 19:58:18 -04:00
Carson McManus
47be84aaca
Merge pull request #81 from dyc3/remove-authenticator
add account removal, closes #10
2021-08-11 19:50:08 -04:00
Carson McManus
357d04f34b add account removal, closes #10 2021-08-11 19:39:29 -04:00
Carson McManus
4e208f1840
Merge pull request #80 from dyc3/ci-combine
combine CI workflows
2021-08-10 22:52:20 -04:00
Carson McManus
3e5a0fa175 combine CI workflows 2021-08-10 22:49:19 -04:00
Carson McManus
2346d04725
Merge pull request #79 from dyc3/more-account-setup
more account setup
2021-08-10 22:48:22 -04:00
Carson McManus
d67a93a982 cargo fmt 2021-08-10 22:45:17 -04:00
Carson McManus
847deafe86 save manifest after finalization 2021-08-10 21:10:04 -04:00
Carson McManus
746f76af18 fix login response deserialization 2021-08-10 21:07:04 -04:00
Carson McManus
5fdc12bfb8
Merge pull request #78 from dyc3/account-setup
Rough implementation for account setup
2021-08-10 20:57:49 -04:00
Carson McManus
51fea91577 remove stray line 2021-08-10 20:54:29 -04:00
Carson McManus
5379e9572c document phone_add_ajaxop more 2021-08-10 20:54:01 -04:00
Carson McManus
217a88f0de add phone_add_ajaxop 2021-08-10 20:28:20 -04:00
Carson McManus
72c0acfbf1 cargo fmt 2021-08-10 17:17:41 -04:00
Carson McManus
c3d3f33ec3 add remove_authenticator 2021-08-09 23:08:51 -04:00
Carson McManus
555b47b3fb fix add authenticator response parsing again 2021-08-09 22:46:50 -04:00
Carson McManus
91e2a1b2c6 fix username arg not accepting values 2021-08-09 22:25:39 -04:00
Carson McManus
5cfdb84bc2 add trace logging for finalize_authenticator 2021-08-09 22:11:09 -04:00
Carson McManus
ad2cdd2a7e fix parsing for add authenticator response 2021-08-09 22:00:49 -04:00
Carson McManus
691d927050 adding phone numbers does not work 2021-08-09 21:43:46 -04:00
Carson McManus
c17bdf92a5 apply session id cookie if session is present to all requests 2021-08-09 20:40:06 -04:00
Carson McManus
bb762b2f47 add some more logging in phoneajax 2021-08-09 20:11:15 -04:00
Carson McManus
b2414e0c33 fixed session not being transfered to AccountLinker 2021-08-09 20:05:23 -04:00
Carson McManus
afafe44d60 sometimes webcookie field can be missing?
I got a login response that did not include the `webcookie` field. Added a test case for it.
2021-08-09 19:49:53 -04:00
Carson McManus
071d9d7d2d enable logging for steamguard module 2021-08-09 19:48:18 -04:00
Carson McManus
467e669fb8 actually handle account link errors 2021-08-09 19:09:48 -04:00
Carson McManus
298d29dc07 improve error handling in accountlinker 2021-08-09 18:44:42 -04:00
Carson McManus
db2ec59c07 add account link finalization 2021-08-09 00:09:34 -04:00
Carson McManus
e0578fce39 finish steamapi::finalize_authenticator 2021-08-08 19:11:15 -04:00
Carson McManus
38f41b144f refactor to use SteamApiResponse 2021-08-08 19:09:15 -04:00
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