Commit Graph

95 Commits

Author SHA1 Message Date
JustArchi
83821e9994 Make usage of login keys optional 2017-11-28 21:31:45 +01:00
JustArchi
6a74084729 Internal improvements regarding https://github.com/SteamRE/SteamKit/issues/491
It also fixes V3.0.4.6 regression reported in http://steamcommunity.com/groups/ascfarm/discussions/1/1488866180608154465 - even though it's just a workaround for Steam Network issue.
2017-11-26 19:08:48 +01:00
JustArchi
d5f44f8f6c ReSharper: update header 2017-11-18 17:27:06 +01:00
JustArchi
8019cdcbb4 Code review according to Jeffrey Richter
> The pattern is to take the basest class or interface possible for your arguments and return the most specific class or interface possible for your return types. This gives your callers the most flexibility in passing in types to your methods and the most opportunities to cast/reuse the return values.
2017-11-16 22:10:11 +01:00
JustArchi
97333e7eb5 Code review 2017-10-12 11:41:19 +02:00
JustArchi
179c162526 Misc 2017-09-18 19:18:22 +02:00
JustArchi
15df745680 Test 2017-09-18 16:54:28 +02:00
JustArchi
49f5dc67ec Revert "Add logic for inventory rate-limiting"
This reverts commit e574e6f9bf.
2017-09-18 16:45:31 +02:00
JustArchi
e574e6f9bf Add logic for inventory rate-limiting 2017-09-18 16:40:01 +02:00
JustArchi
035b70458e Rewrite ASF inventory fetching into new endpoint, #646 2017-09-17 18:01:17 +02:00
JustArchi
5d0a3f5ebe Update ASF to SK2 alpha8+ compatibility 2017-09-09 20:24:57 +02:00
JustArchi
6aa5a633e4 async/dispose code review 2017-08-04 19:26:37 +02:00
JustArchi
bc64c43748 Misc 2017-08-01 19:04:55 +02:00
JustArchi
f4f7935d4c Add a workaround for invalid scheme redirections
https://github.com/JustArchi/ArchiSteamFarm/issues/586#issuecomment-319422864
2017-08-01 18:59:10 +02:00
JustArchi
d39e7a32d6 Add debug for #586 2017-07-31 17:22:18 +02:00
JustArchi
ecc0dac4d9 Closes #593 2017-07-14 16:24:30 +02:00
JustArchi
e6e1b6f061 Add pre-2.0 HttpClient max connections limit 2017-07-09 09:53:26 +02:00
JustArchi
88a7d2e7e9 Code cleanup 2017-07-09 09:09:46 +02:00
JustArchi
c46eee4499 Various auto-update improvements 2017-07-05 07:30:08 +02:00
JustArchi
02f3a74dc9 Fix compilation with preview1 2017-07-03 12:44:14 +02:00
JustArchi
9aa36f1a03 Code style update/fixes 2017-07-03 12:14:23 +02:00
JustArchi
f2d527c0ec Work 2017-07-01 04:06:33 +02:00
JustArchi
4cafcedf1d Misc 2017-06-26 04:03:47 +02:00
JustArchi
7bf1be22a5 Implement https -> http redirections from ArchiBoT 2017-06-26 04:02:11 +02:00
JustArchi
0ecf6da44e Initial .NET Core 2.0 port 2017-06-26 03:36:51 +02:00
JustArchi
fcf9686a79 Revert "Resharper cleanup"
This reverts commit 7c8d7b5ada.

Bad cleanup.
2017-04-05 17:01:18 +02:00
JustArchi
7c8d7b5ada Resharper cleanup 2017-04-05 16:59:48 +02:00
Logerfo
e4da0c05d5 Merge branch 'master' into master 2017-04-05 10:33:13 -03:00
JustArchi
275f7d03f8 Log unexpected json content when debugging 2017-04-05 14:16:47 +02:00
JustArchi
7c13fde5a1 Lower default limit of conc connections 2017-03-27 04:13:35 +02:00
Bruno Logerfo
f8b2fcda7a C# 7.0 syntax sugars 2017-03-14 08:20:29 -03:00
JustArchi
0184d39485 Misc 2017-02-23 18:30:35 +01:00
JustArchi
d04e17a046 Code cleanup 2017-02-06 15:46:42 +01:00
JustArchi
fa99281d49 Misc 2017-02-01 11:53:59 +01:00
JustArchi
a61a70c27e Misc 2017-01-31 09:08:53 +01:00
JustArchi
001e41124c Fix parsing HtmlDocuments with special chars
ArchiBoT accidentally found that this is unnecessary and actually causes problems with incorrectly used special characters.
Further tests needed, who knows if it doesn't break somewhere else now.
2017-01-26 03:58:34 +01:00
JustArchi
21fa824b60 HttpTimeout -> ConnectionTimeout
Since HttpTimeout started affecting WCF timeout as well, and now I'm about to add yet another responsibility to this, this should be renamed to ConnectionTimeout.
Basically new HeartBeats() are cool, but user should have a direct way to configure the number of failed attempts allowed, as it can differ between stable and unstable networks, same like HttpTimeout.
This change apart from renaming HttpTimeout makes HeartBeats depend on it, allowing ConnectionTimeout / 10 failed attempts, and giving ConnectionTimeout / 30 minutes for steam servers to respond to out connection attempt. Both divisions are rounded up.
This should allow people with less unstable networks to get less clients being abandoned due to steam instability
2017-01-22 20:10:28 +01:00
JustArchi
28e2cfbc7c Localizing... 2017-01-06 15:32:12 +01:00
JustArchi
ba8d70aebb Copyright update 2017-01-02 20:05:21 +01:00
JustArchi
cc317e10a8 Remove ForceHttp option
Initially I wanted to make it configurable to choose either HTTPS (preferred), or HTTP, depending on user choice.
I strongly believed that it WAS possible without much headache, and solve many older Mono issues without any strong code drawbacks.
However, Volvo proved me wrong yet again, as it seems that using HTTP just like that for accepting a trade makes it impossible, and that's ONLY because we're using HTTP and not HTTPS, even if all other data, including referer, post and request, looks exactly the same.
It's quite sad that I must remove this option, but I literally discovered that switching this to true makes accepting trades impossible, and that is beyond the point I can accept, as user could switch this to true when he doesn't need it, and limit program functionality without even knowing that this is the cause.
Everybody using up-to-date Mono should have no issues using HTTPS, even legacy TLS 1.0, so hopefully this won't hurt that marginal percent of users that had this set to true in the past. It was mentioned in the wiki that this option might disappear later on, and this is the moment when it doesn't only should, but MUST, disappear... 😢
2016-12-23 19:04:36 +01:00
JustArchi
8eeab55d0b Adapt debug routines to debug log level 2016-12-08 03:47:07 +01:00
JustArchi
556a56f2d3 Start logging failing requests on debug level now 2016-12-08 01:02:45 +01:00
JustArchi
e480053f86 Enhance Statistics
This will be used for public list of ASF STM bots in the future
2016-12-04 01:07:37 +01:00
JustArchi
b7f15daa91 Misc 2016-11-24 07:49:44 +01:00
JustArchi
137a53ef89 Improve readability of some specific segments 2016-11-24 07:46:37 +01:00
JustArchi
df218074ad Gigantic code cleanup
Time to enforce some common file layout, as general mess started to annoying me. Sorry in advance for people using custom forks and having merge conflicts, this will help everybody in long-run
2016-11-24 07:32:16 +01:00
JustArchi
1063da5124 Add support for adding appIDs from store 2016-11-17 21:30:17 +01:00
JustArchi
8b3b822938 Rewrite entire ASF logging, as preparation for #354 2016-11-06 12:06:02 +01:00
JustArchi
b9b4cdb3f9 Revert "Fix Mono 4.8+"
This reverts commit a261dc44fd.

No longer needed, Mono switched to legacy TLS once again due to those issues.
2016-10-05 00:38:22 +02:00
JustArchi
a261dc44fd Fix Mono 4.8+ 2016-10-01 23:16:44 +02:00