Commit graph

7948 commits

Author SHA1 Message Date
dependabot-preview[bot]
6862af1323 Bump System.IO.FileSystem.AccessControl from 4.7.0 to 5.0.0
Bumps [System.IO.FileSystem.AccessControl](https://github.com/dotnet/runtime) from 4.7.0 to 5.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 08:55:44 +00:00
dependabot-preview[bot]
4cc8d37d33 Bump System.Composition from 1.4.1 to 5.0.0
Bumps [System.Composition](https://github.com/dotnet/runtime) from 1.4.1 to 5.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 08:55:19 +00:00
GitHub Action
289815878a Automatic translations update 2020-11-10 02:09:30 +00:00
dependabot-preview[bot]
9829d3c243 Bump Microsoft.AspNetCore.Mvc.NewtonsoftJson from 3.1.9 to 3.1.10
Bumps [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://github.com/aspnet/AspNetCore) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/aspnet/AspNetCore/releases)
- [Commits](https://github.com/aspnet/AspNetCore/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 00:05:53 +00:00
dependabot-preview[bot]
2be4a43425 Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 21:06:14 +00:00
GitHub Action
095006d12c Automatic translations update 2020-11-09 02:09:24 +00:00
dependabot-preview[bot]
52fd5d352f Bump wiki from f30a5aa to 411c274
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `f30a5aa` to `411c274`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](f30a5aa4c6...411c274bfd)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 01:46:34 +00:00
dependabot-preview[bot]
a9cdf2bc6f Bump ASF-ui from d34e000 to fd35997
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `d34e000` to `fd35997`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](d34e000ad5...fd35997e3a)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 01:37:51 +00:00
JustArchi
83f8187dbd Bump 2020-11-08 15:38:59 +01:00
GitHub Action
7ed9085c31 Automatic translations update 2020-11-08 02:09:16 +00:00
GitHub Action
ff9d025b65 Automatic translations update 2020-11-07 02:08:35 +00:00
GitHub Action
99dd35250c Automatic translations update 2020-11-06 02:08:36 +00:00
dependabot-preview[bot]
69b2c875fe Bump ASF-ui from eaf71d5 to d34e000
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `eaf71d5` to `d34e000`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](eaf71d5ec0...d34e000ad5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 01:31:41 +00:00
dependabot-preview[bot]
bf4aeeb809 Bump wiki from e784ce7 to 7b2cc54
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `e784ce7` to `7b2cc54`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](e784ce72b9...7b2cc54d4d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 01:26:34 +00:00
GitHub Action
ad90f79907 Automatic translations update 2020-11-05 02:08:30 +00:00
dependabot-preview[bot]
0a935ce583 Bump ASF-ui from e02507a to eaf71d5
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `e02507a` to `eaf71d5`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](e02507a473...eaf71d5ec0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 01:32:59 +00:00
dependabot-preview[bot]
0aef2d93fc Bump wiki from e624186 to a0cada9
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `e624186` to `a0cada9`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](e624186b12...a0cada9c76)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 01:26:44 +00:00
JustArchi
f99d296687 Closes #2014 2020-11-04 23:39:57 +01:00
GitHub Action
12e232e240 Automatic translations update 2020-11-04 02:08:04 +00:00
dependabot-preview[bot]
1da0f01d16 Bump ASF-ui from 4688587 to e02507a
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `4688587` to `e02507a`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](46885878d2...e02507a473)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 01:29:13 +00:00
GitHub Action
943f538953 Automatic translations update 2020-11-03 02:08:15 +00:00
dependabot-preview[bot]
b642139679 Bump ASF-ui from 6f3c7e7 to 4688587
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `6f3c7e7` to `4688587`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](6f3c7e7e02...46885878d2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 01:25:35 +00:00
dependabot-preview[bot]
b0227f7e9f Bump ASF-ui from 802bd70 to 6f3c7e7
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `802bd70` to `6f3c7e7`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](802bd705ab...6f3c7e7e02)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 01:35:14 +00:00
JustArchi
4319175905 Improve trading locks usage 2020-10-31 19:48:47 +01:00
dependabot-preview[bot]
12c97d16b8 Bump ASF-ui from ef34421 to 802bd70
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `ef34421` to `802bd70`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](ef34421da9...802bd705ab)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 01:27:09 +00:00
dependabot-preview[bot]
64d8eb85c5 Bump ASF-ui from 7ecfec2 to ef34421
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `7ecfec2` to `ef34421`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](7ecfec2b4a...ef34421da9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 01:26:48 +00:00
dependabot-preview[bot]
55028b829c Bump ASF-ui from 56869af to 7ecfec2
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `56869af` to `7ecfec2`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](56869af1b6...7ecfec2b4a)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 01:26:05 +00:00
dependabot-preview[bot]
182f6d7857 Bump ASF-ui from 3f03638 to 56869af
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `3f03638` to `56869af`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](3f03638a10...56869af1b6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 01:38:27 +00:00
GitHub Action
efc610b17d Automatic translations update 2020-10-24 02:11:56 +00:00
GitHub Action
d51f1e93c7 Automatic translations update 2020-10-23 02:12:21 +00:00
dependabot-preview[bot]
000e1607f8 Bump wiki from 80cb235 to 8ce2ab5
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `80cb235` to `8ce2ab5`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](80cb235cfc...8ce2ab5e27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 01:25:49 +00:00
JustArchi
2aee05201d Bump 2020-10-22 23:04:59 +02:00
JustArchi
bad0db1775 Correct @Abrynos overlook 2020-10-22 22:48:59 +02:00
JustArchi
8835b4db7f Bump 2020-10-22 19:18:23 +02:00
Vitaliy
93cd30f820
Add itemsPerTrade argument (#2011)
* Add itemsPerTrade argument

* Validate parameter, add to Actions.SendInventory

* Add check, fix merge
2020-10-21 21:41:09 +02:00
JustArchi
4b00be7f66 Misc 2020-10-21 18:49:49 +02:00
JustArchi
25e549b7e2 Code cleanup after #2004 2020-10-21 18:48:13 +02:00
Sebastian Göls
1f8b68f5ee
Implement #852 (#2004)
* Update Actions.cs, Bot.cs, and BotConfig.cs

* First round of refactoring

* Check all badge pages

* Update Bot.cs

* Make sure multiple pages of badges work with foil badges and Make item selection algorithm work with all kinds of amount values we could get from Valve

* Change order of params in Actions.SendInventory(...), Cache amount of cards for game ids, Count card elements on page when fetching card count per game, Calculate items to send for all games in parallel

* Add unit tests

* Make sure only one real app id and one asset type are present while computing cards to send and Test it

* Update ArchiWebHandler.cs

* Update Bot.cs

* Fix iteration over badge pages

* Update Bot.cs

* Make stackable item stacks smaller if possible

* Simplify code based on changing stack size of stackable items and Adapt tests

* Consider only cards of the same rarity to be of one set and Add handling of already crafted level 5 badges

* Implement feedback

* Update Bot.cs

* Update Bot.cs

* Implement feedback from review

* Adapt tests

* Improve XPath efficiency

* Check real result for additional values in unit tests

* Implement feedback

* Add additional test combining classID, type and rarity

* Make collections readonly wherever you can

* Optimize misc. code and Add SetTypesToComplete to BotConfig

* Throw exception if we have more card types than cards per set

* Remove SendSetsOnCompleted and Make CompleteTypesToSend empty per default

* Fix existing unit tests and add new ones due to new exception

* Please nitpicky Archi

* Update Bot.cs

* Change expected exception type

* Make appID constants local

* Update Bot.cs and BotConfig.cs

* Do as JetBrains Rider says

* Only fetch card count for badge if we have cards for it

* Improve naming and fix handling of URIs for foil badges

* Add Bot.LoadCardsPerSet(...), Bot.GetItemsForFullSets(...) and Trading.GetInventorySets(...) to public API

* Let AWH do its job

* Make Bot.GetPossiblyCompletedBadgeAppIDs() part of public API as well
2020-10-21 18:41:20 +02:00
dependabot-preview[bot]
4f44475629 Bump ASF-ui from 2a76d80 to 3f03638
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `2a76d80` to `3f03638`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](2a76d80638...3f03638a10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 01:24:57 +00:00
JustArchi
ba08fe9631 Make it EVEN better! 2020-10-21 00:32:51 +02:00
JustArchi
71174f5978 Slight change of approach 2020-10-21 00:26:43 +02:00
JustArchi
e38887c607 Improve update process by preloading assemblies 2020-10-21 00:22:03 +02:00
dependabot-preview[bot]
7aea765612 Bump ASF-ui from b1ebde6 to 2a76d80
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `b1ebde6` to `2a76d80`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](b1ebde6c78...2a76d80638)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 01:27:11 +00:00
dependabot-preview[bot]
9fbae6eb08 Bump ASF-ui from 7c973cc to b1ebde6
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `7c973cc` to `b1ebde6`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](7c973cced4...b1ebde6c78)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 11:24:05 +00:00
JustArchi
fe0df93176 Expose CanUpdate property in ASF API 2020-10-18 20:29:56 +02:00
GitHub Action
f0e6cdaecc Automatic translations update 2020-10-16 02:10:41 +00:00
dependabot-preview[bot]
a90b9883d1 Bump ASF-ui from b9efdba to 7c973cc
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `b9efdba` to `7c973cc`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](b9efdbac90...7c973cced4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 01:27:36 +00:00
dependabot-preview[bot]
a8a1c4c64e Bump ASF-ui from f525fc9 to b9efdba
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `f525fc9` to `b9efdba`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](f525fc91c1...b9efdbac90)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 01:25:51 +00:00
JustArchi
b4f62362a3 Bump 2020-10-14 14:26:08 +02:00
JustArchi
37ee5e2a76 Bump to 4.3.1.0 2020-10-14 14:25:43 +02:00