Commit Graph

5102 Commits

Author SHA1 Message Date
GitHub Action
38e1ece16f Automatic translations update 2020-11-20 02:09:16 +00:00
JustArchi
f259d2a846 Misc fixes 2020-11-19 21:08:50 +01:00
JustArchi
792babb049 Misc cleanup 2020-11-19 21:04:45 +01:00
JustArchi
a34b1724b1 Misc cleanup 2020-11-19 21:03:09 +01:00
JustArchi
51ad3b0c76 Improve runtime compatibility
This commit does 3 things:
- adds safeguard against running generic-netf in unsupported environments
- adds notice about providing ASF with unknown command-line arguments
- refactors old pre+post args parsing into a single window
2020-11-19 21:01:17 +01:00
GitHub Action
63bec34d7a Automatic translations update 2020-11-18 02:09:09 +00:00
JustArchi
b51e4c459c Fix ASF being unable to chmod +x things anymore 2020-11-17 14:13:36 +01:00
JustArchi
88c659ac77 Update TrimmerRoots.xml 2020-11-17 11:50:00 +01:00
JustArchi
d890a6b345 Misc
No reason for ICrossProcessSemaphore to be IDisposable
2020-11-16 00:52:43 +01:00
JustArchi
c37d935a1d Final touches 2020-11-16 00:44:37 +01:00
JustArchi
986090fb9c Implement TrimMode=link 2020-11-15 22:37:00 +01:00
JustArchi
76818e28d7 Fix deserialization mistakes 2020-11-15 00:30:20 +01:00
JustArchi
9642b067a0 Add System.Runtime for plugins usage 2020-11-14 23:40:36 +01:00
JustArchi
e82560259b Final code cleanup 2020-11-14 22:37:00 +01:00
JustArchi
d126824dfd Misc 2020-11-11 21:19:29 +01:00
JustArchi
cc923523be Misc 2020-11-11 21:16:51 +01:00
JustArchi
102ed7282a Closes #2048 2020-11-11 21:06:17 +01:00
JustArchi
47b42d6fc0 More code cleanups 2020-11-11 19:51:52 +01:00
JustArchi
6a811008eb More code cleanups 2020-11-11 18:02:17 +01:00
JustArchi
1ebd9888be Update ArchiSteamFarm.csproj 2020-11-11 16:52:10 +01:00
JustArchi
60ae4977da Initial code cleanup 2020-11-11 16:51:31 +01:00
Łukasz Domeradzki
35f4651ed6 .NET 5.0 (#1999)
* Initial work

* Fix CIs

* Fix warnings

* Update .travis.yml

* Update dockerfiles

* Update libraries to .NET 5.0

* Misc

* Remove workaround for #1812

* Update cc.sh

* CI updates

* CI updates

* Update .travis.yml
2020-11-10 23:22:57 +01:00
dependabot-preview[bot]
9a248858a5 Bump System.Linq.Async from 4.1.1 to 5.0.0
Bumps [System.Linq.Async](https://github.com/dotnet/reactive) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/dotnet/reactive/releases)
- [Commits](https://github.com/dotnet/reactive/compare/ixnet-v4.1.1...ixnet-v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 16:23:56 +00:00
dependabot-preview[bot]
7df85b5fad Bump Microsoft.Extensions.Logging.Configuration from 3.1.9 to 5.0.0
Bumps [Microsoft.Extensions.Logging.Configuration](https://github.com/dotnet/runtime) from 3.1.9 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 09:36:23 +00:00
dependabot-preview[bot]
c45a5872c7 Bump System.Security.Cryptography.ProtectedData from 4.7.0 to 5.0.0
Bumps [System.Security.Cryptography.ProtectedData](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 09:26:38 +00:00
dependabot-preview[bot]
4deee0d990 Bump Microsoft.Extensions.Configuration.Json from 3.1.9 to 5.0.0
Bumps [Microsoft.Extensions.Configuration.Json](https://github.com/dotnet/runtime) from 3.1.9 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:59 +00:00
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
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
JustArchi
f99d296687 Closes #2014 2020-11-04 23:39:57 +01:00
GitHub Action
943f538953 Automatic translations update 2020-11-03 02:08:15 +00:00
JustArchi
4319175905 Improve trading locks usage 2020-10-31 19:48:47 +01:00
GitHub Action
efc610b17d Automatic translations update 2020-10-24 02:11:56 +00:00
JustArchi
bad0db1775 Correct @Abrynos overlook 2020-10-22 22:48:59 +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
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
JustArchi
fe0df93176 Expose CanUpdate property in ASF API 2020-10-18 20:29:56 +02:00
JustArchi
deb886066b Misc 2020-10-14 14:24:53 +02:00
JustArchi
4cd581ec04 Avoid crash on commandPrefix message + hardening 2020-10-14 12:06:42 +02:00
dependabot-preview[bot]
cbbcc3a69e Bump Microsoft.Extensions.Logging.Configuration from 3.1.8 to 3.1.9
Bumps [Microsoft.Extensions.Logging.Configuration](https://github.com/aspnet/Extensions) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/aspnet/Extensions/releases)
- [Commits](https://github.com/aspnet/Extensions/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 15:13:24 +00:00
dependabot-preview[bot]
55dd3ab113 Bump Microsoft.AspNetCore.Mvc.NewtonsoftJson from 3.1.8 to 3.1.9
Bumps [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://github.com/aspnet/AspNetCore) from 3.1.8 to 3.1.9.
- [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-10-13 15:03:31 +00:00
dependabot-preview[bot]
9741cfc2f6 Bump Microsoft.Extensions.Configuration.Json from 3.1.8 to 3.1.9
Bumps [Microsoft.Extensions.Configuration.Json](https://github.com/aspnet/Extensions) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/aspnet/Extensions/releases)
- [Commits](https://github.com/aspnet/Extensions/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 14:49:56 +00:00
JustArchi
c1ba2b5338 Misc 2020-10-07 21:25:15 +02:00
Ryzhehvost
2a71e2cb0b add logging of invites (#2005)
* add logging of invites

* required changes

* revert not needed changes

* remove not needed convertation
2020-10-07 21:22:39 +02:00
JustArchi
e1e4f9a8b4 Misc kestrel improvements 2020-10-07 19:49:06 +02:00