Commit Graph

122 Commits

Author SHA1 Message Date
JustArchi
07af05ad00 Revert recent confirmations rate-limiting, add debug 2016-07-29 22:34:52 +02:00
JustArchi
4f01dc39fc Code review 2016-07-25 06:08:45 +02:00
JustArchi
b19a5c533f GetMySteamInventory() hardening 2016-07-23 01:58:56 +02:00
JustArchi
afbfb62bed Always expect english responses, closes #301
Also some misc fixes while I'm at it
2016-07-19 20:14:21 +02:00
JustArchi
7bc8dab972 Fix new confirmation method for proper multi-confirmations support, closes #297 2016-07-16 21:03:39 +02:00
JustArchi
2c2dccec2a EXPERIMENTAL: Move 2FA to multi-confirmations, closes #295
Some further tests would be cool to do
2016-07-15 16:13:36 +02:00
JustArchi
feb3fbfe59 Get used to null propagation 2016-07-10 20:17:35 +02:00
JustArchi
561fb66e7a Correct harmless VS code analysis warnings 2016-07-08 07:41:36 +02:00
JustArchi
1ca31ee33e Upgrade old SK2 conversions 2016-07-08 07:11:37 +02:00
JustArchi
4b0e65b76b Treat timeouts as warnings 2016-07-04 20:57:33 +02:00
JustArchi
af956f22e9 Allow empty descriptions 2016-07-01 16:34:32 +02:00
JustArchi
aac72d4c5b Avoid code duplication 2016-07-01 16:33:27 +02:00
JustArchi
831856cf15 Misc 2016-06-30 18:13:22 +02:00
JustArchi
3b8315073b Fix regressions 2016-06-30 09:33:22 +02:00
JustArchi
a90b5adaf5 Further hardening 2016-06-29 20:33:52 +02:00
JustArchi
4380679df6 JSON code review 2016-06-29 20:18:47 +02:00
JustArchi
e3030dccdb Fix GetTradeHoldDuration() sometimes failing
Forgot to ensure the session is active
2016-06-29 09:11:59 +02:00
JustArchi
8d9fbce2ed Add support for encrypted passwords, closes #267 2016-06-28 04:32:48 +02:00
JustArchi
12aa933355 Misc 2016-06-26 20:29:56 +02:00
JustArchi
d16228b2a5 Steam talks more crap than I thought 2016-06-25 04:05:30 +02:00
JustArchi
56a6e10189 Correct retry logic of API requests
Timeout will result in WebClient does not support concurrent I/O operations for concurrent calls
Therefore, retry with new WebClient instead
2016-06-22 02:02:43 +02:00
JustArchi
017c5eb7ef Fix misc issue with steam gifts in trades 2016-06-20 15:02:26 +02:00
JustArchi
19da8c6d11 Try to solve language problem in non-invasive way 2016-06-20 14:40:14 +02:00
JustArchi
3d19a69c60 Let's hope this is the last one 2016-06-20 13:51:17 +02:00
JustArchi
f6a8d16c85 More fixes 2016-06-20 13:45:12 +02:00
JustArchi
40a3d6558d GabeN broke more than I thought 2016-06-20 13:26:30 +02:00
JustArchi
fd49ff5483 Thanks GabeN 2016-06-20 13:09:27 +02:00
JustArchi
687de60476 Final performance improvements of new ASF 2FA 2016-06-20 06:51:42 +02:00
JustArchi
6d087a9ac9 Misc 2016-06-19 13:59:56 +02:00
JustArchi
3a5edab651 Code review 2016-06-19 12:20:12 +02:00
JustArchi
d662d9dd6a Misc 2016-06-19 09:34:09 +02:00
JustArchi
38f48841bd Time to break things, closes #169 2016-06-19 05:57:29 +02:00
JustArchi
2ebce59ee7 WIP: Gigantic work on #252
TODO: Market confirmations, cleanup, code review, shitload of tests...
2016-06-19 05:40:46 +02:00
JustArchi
ac10f32431 Forward ArchiBoT logic of trade holds for steam sale cards 2016-06-12 02:18:18 +02:00
JustArchi
1a6c5a3cff Fix trades with non-steam items 2016-06-10 01:16:05 +02:00
JustArchi
c4f47c56da Misc 2016-06-08 13:01:41 +02:00
JustArchi
aae41d5c1f Add IsBotAccount + misc 2016-06-04 22:02:38 +02:00
JustArchi
aa9d78af95 Misc 2016-06-03 00:06:13 +02:00
JustArchi
550effd7c1 EXPERIMENTAL: Base key on classID only
I've just received trade offer from Endorlight game which used different combinations of classID/instanceID for the same items, such as <1450080555, 246376127> and <1450080555, 0> for Birdy trading card.
This is the first time I've seen something like that, as up to this point all classID + instanceID matched nicely. It's not good because it results in possibly wrong results regarding numbers of the same cards.
It's not any major problem scamming-wise, as ASF does other checks (including appID checks) so in worst case we could accept a trade that is not neutral+ for us, such as 1 -> 2 dupes one.

This commit fixes wrong logic for that particular trade I've encountered, and many similar ones, but I have no idea if we can really base key on classID only.
Number seems big enough to fit all steam items, but if there ever happens item that will have same classID as other one, we'll be in deep sh*t.

I ran a test on my Steam account with 7.5k+ items and didn't find any item which could cause such conflict, so I can at least assume that the issue doesn't exist for majority of Steam users.
Sadly there doesn't seem to be any good way to solve it either, as if such conflicts happens, then we will have 3 items such as <7, 1>, <7, 4> and <7, 0>. We can't know if 0 should be 1 or 4 (thanks GabeN).
This seems to be best solution for that problem, and until we find clasID conflict, we can sleep in peace.
2016-06-02 23:56:59 +02:00
JustArchi
73af6b369a Fix ASF accidentally dismissing profile notifications 2016-05-30 23:25:50 +02:00
JustArchi
88d722c14b Fix mono quirks
At least it already works on nightly...
2016-05-30 02:24:56 +02:00
JustArchi
cdcaa9b06c Code review 2016-05-30 01:57:06 +02:00
JustArchi
b8faca2517 Gigantic code review (with ReSharper) 2016-05-13 06:32:42 +02:00
JustArchi
8630cc40c8 Small WebBrowser enhancements, closes #212 2016-04-29 16:37:42 +02:00
JustArchi
3683195a0e Misc 2016-04-29 15:47:07 +02:00
JustArchi
7f5b946645 Use API is possible in GetOwnedGames, closes #213 2016-04-29 15:44:11 +02:00
JustArchi
351d45e049 Fix more regressions 2016-04-25 10:46:29 +02:00
JustArchi
f81bbc60c5 Fix regression 2016-04-25 10:40:36 +02:00
JustArchi
eb6e93a172 Code review 2016-04-24 23:32:23 +02:00
JustArchi
77386ecae5 Misc 2016-04-22 17:51:13 +02:00