Commit Graph

125 Commits

Author SHA1 Message Date
JustArchi
45cbb59144 Finish websocket tests
At least for now, SK2 guys have enough to do.
2017-08-31 18:28:21 +02:00
JustArchi
9718245793 Packages update + websocket tests 2017-08-28 12:13:59 +02:00
JustArchi
e397b7f7cc Bump IdleFarmingPeriod 2017-08-16 01:08:30 +02:00
JustArchi
8b8671c679 Use TCP by default
We'll play it safe, websocket/udp is not fully tested yet.
2017-08-14 17:58:30 +02:00
JustArchi
c13fd10bd8 Implement BackgroundGCPeriod
Tough decision to make, but I promised going for full performance, so there is that.
2017-08-14 05:31:01 +02:00
JustArchi
09e8a52811 Packages update + config defaults 2017-08-02 14:32:01 +02:00
JustArchi
f24be67c8c Bunch of stuff for #605 2017-08-01 12:41:57 +02:00
JustArchi
7bb3b38ea4 Closes #522 2017-07-23 10:27:20 +02:00
JustArchi
65c2b81d0a Closes #580 2017-07-23 01:34:02 +02:00
JustArchi
f564cc5ebb Update ASF base code to SK 2.0 alpha5
There is a lot of changes in this one, I like how we got rid of SteamProtocol and got SteamProtocols instead.
2017-07-21 02:13:03 +02:00
JustArchi
f17f2959b7 Don't put foil cards by default in matchable types, #586 2017-07-14 17:16:45 +02:00
JustArchi
5b2b00a9f0 Add MatchableTypes
As well as unit testing so I'm sure that part is not screwed up.
2017-07-10 08:20:15 +02:00
JustArchi
9aa36f1a03 Code style update/fixes 2017-07-03 12:14:23 +02:00
JustArchi
0b5fe21457 Add JS helpers for @Aareksio 2017-07-01 13:39:53 +02:00
JustArchi
a42ec697b0 Implement basic HttpListener IPC as WCF alternative 2017-06-26 08:42:00 +02:00
JustArchi
adfc992f26 Resharper Cleanup v2 2017-04-05 17:23:18 +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
JustArchi
39a8d9c8a2 SteamUserPermissions revolution
This is needed for defining multiple operators and/or masters, as well as eventual further enhancements
2017-03-15 11:56:20 +01:00
TheSergiooo
3be60fc638 Added SteamOperatorID 2017-03-14 08:22:50 +03:00
JustArchi
ea15b6c017 Remove default entries from Blacklist
It doesn't make any sense for them to be there, if we don't allow to edit them anyway
2017-02-27 19:59:52 +01:00
JustArchi
e9f55b2b0b Remove AcceptConfirmationsPeriod
This property was added when ASF 2FA existed in solo + import mode, and the purpose was automatic accept of confirmations in solo mode. Due to the fact that ASF 2FA exists only in import mode, and user should be using authenticator of his choice for all 2FA-related tasks, this properly is no longer in ASF 2FA scope, and should be removed to avoid confusion. Yet another reason for this is the fact that it actually didn't work since quite a while, together with SendTradePeriod.
2017-02-19 12:21:41 +01:00
JustArchi
ec4439afb4 Make DismissInventoryNotifications false by default
The amount of people that have no clue what is happening is too damn high.
2017-02-09 13:16:30 +01:00
JustArchi
8926297614 WCFProtocol -> WCFBinding
More appropriate
2017-02-03 09:59:02 +01:00
JustArchi
24350dcba5 Closes #448
Everything works on Windows, pending tests on Mono
2017-02-03 09:54:09 +01:00
JustArchi
0d6942b8ec Modify TradingPreferences default to None
Since introducing automated API keys, we do not want to make AcceptDonations the default option.
Existing configs will not be changed anyway.
2017-02-03 08:57:42 +01:00
JustArchi
8691050ed7 Closes #412
!*all commands are out - since we already have reserved 'ASF' botName, use this for targetting all bots in the process.
Also first parts of #445
2017-01-30 22:17:25 +01:00
JustArchi
21be4c5c72 Code cleanup 2017-01-23 00:34:48 +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
de897aaa92 Rewrite #414 in a way that makes me happy 2017-01-11 15:22:00 +01:00
JustArchi
ff0c2eed09 Prepare ConfigGenerator for localization 2017-01-08 15:09:30 +01:00
JustArchi
63bff8432a Allow changing default language 2017-01-08 05:32:59 +01:00
JustArchi
63cfa1341b Remove Gift and Coupon from Steam EType
It doesn't make any sense when we're always asking for community items, no need for extra confusion, and code is also shorter.
This IS another breaking change for past configs, so if you're using pre-release you should adapt your configs. But if you're using pre-release, I guess you know that such things happen.
2016-12-26 23:53:51 +01:00
JustArchi
ec2c78ea81 Unify Forwarding and Distributing under RedeemingPreferences
Similar to TradingPreferences
2016-12-25 06:29:13 +01:00
JustArchi
eb88814c72 Adapt structure of JSON files to the one generated by sorted ConfigGenerator 2016-12-25 06:04:29 +01:00
JustArchi
d36eaebbfe Closes #383 2016-12-25 05:52:17 +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
1bb19415d4 Closes #371 2016-12-15 03:38:16 +01:00
JustArchi
cf4e9172ee Closes #373 2016-12-11 16:56:33 +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
afa547d66f Misc 2016-11-05 08:50:49 +01:00
JustArchi
af45ac1e2d Implement TradingPreferences, closes #351
It also kills deprecated now SteamTradeMatcher bool property
2016-10-21 20:32:22 +02:00
JustArchi
96dc3246b8 Add Paused bot config property, closes #344 2016-10-01 21:09:24 +02:00
JustArchi
f88bfe9f83 Make CardDropsRestricted true by default
After evaluation, it seems that more accounts have card drops restricted rather than not, and having it as true when in reality it's false results in less performance degradation than the other way
2016-08-03 17:16:11 +02:00
JustArchi
c94547c68e Move FarmingOrder a bit higher and add missing example.json property
In general we should prioritize properties according to the ones user will want to modify first, but as it's unpredictable, we can only guess and do it more or less
2016-07-30 00:17:58 +02:00
JustArchi
de013850bc Add CustomGamePlayedWhileFarming
Also make it possible for CustomGamePlayedWhileIdle and GamesPlayedWhileIdle to coexist
2016-07-12 04:40:56 +02:00
JustArchi
561fb66e7a Correct harmless VS code analysis warnings 2016-07-08 07:41:36 +02:00
JustArchi
bdc3d07720 Remove LogToFile
Logging to file is now always enabled (unless running as a service). For advanced logging configuration https://github.com/JustArchi/ArchiSteamFarm/wiki/Logging is available
2016-07-07 22:35:22 +02:00
JustArchi
3627a01f59 Correct example.json, default is 0 2016-06-28 04:36:31 +02:00
JustArchi
8d9fbce2ed Add support for encrypted passwords, closes #267 2016-06-28 04:32:48 +02:00