Commit graph

159 commits

Author SHA1 Message Date
Łukasz Domeradzki
7b65c1aeb7
Add support for telling plugins if runtime is trimmed 2024-09-16 17:58:35 +02:00
ArchiBot
9540e564fc
Automatic translations update 2024-08-13 02:15:24 +00:00
Łukasz Domeradzki
773698a0d4
Closes #3264
THANKS @ezhevita
2024-08-05 02:37:50 +02:00
Łukasz Domeradzki
08907e8953
Emit format methods for ItemsMatcher, #3264 2024-08-05 02:15:58 +02:00
Łukasz Domeradzki
332e9a53d7
Misc 2024-08-05 01:44:34 +02:00
Łukasz Domeradzki
7a8e2091a6
Use Microsoft.CodeAnalysis.ResxSourceGenerator for localization 2024-08-05 01:42:09 +02:00
Łukasz Domeradzki
d3dbfc5e9e
Closes #3262 2024-08-03 15:36:45 +02:00
Łukasz Domeradzki
b664b85495
Remove ConfigureAwaitChecker.Analyzer
Appropriate detecion is now available in Roslyn
2024-07-20 01:01:45 +02:00
ArchiBot
fe76ada8d0
Automatic translations update 2024-07-10 02:11:36 +00:00
Łukasz Domeradzki
ca3f3e0cab
Resolve selected .NET 9 analyzer warnings 2024-06-25 00:18:38 +02:00
ArchiBot
ba4f3aea7b
Automatic translations update 2024-04-14 02:27:34 +00:00
ArchiBot
698e567c63
Automatic translations update 2024-04-12 02:06:30 +00:00
Łukasz Domeradzki
746e28c3a2
Misc 2024-04-12 01:00:05 +02:00
Łukasz Domeradzki
0ccec4c8c1
Address latest Rider code inspections 2024-04-11 23:24:01 +02:00
Łukasz Domeradzki
1841cde776
Misc code enhancements 2024-04-04 02:15:16 +02:00
Łukasz Domeradzki
5e81c3fdef
Closes #3175 2024-03-29 14:44:07 +01:00
Łukasz Domeradzki
9a02c79e0a
Closes #3174 2024-03-27 19:55:07 +01:00
Łukasz Domeradzki
4c38de75ab
Further enhance plugin updates selection 2024-03-26 17:44:42 +01:00
Łukasz Domeradzki
53ec07a7f1
Correct plugin names we distribute outselves 2024-03-26 01:15:17 +01:00
Archi
84ff83bbe2
Improve performance when matching multiple users 2024-03-18 13:52:12 +01:00
Archi
787bcc3546
Extract ItemsMatcher-exclusively parts out of ASF core, decrease dependency on DeepClone() 2024-03-18 13:45:13 +01:00
Archi
fd811d8cf4
Implement DeepClone() for asset and description 2024-03-18 12:44:29 +01:00
Archi
b86f83a634
Misc 2024-03-17 02:54:28 +01:00
Archi
48a14136a9
Update all file headers, again 2024-03-17 02:35:40 +01:00
Archi
c9acbb7bf2
Big post-PR cleanup 2024-03-17 02:29:04 +01:00
Archi
f98a159799
File header update 2024-03-17 00:06:13 +01:00
Vita Chumakova
184232995d
Inventory fetching through CM (#3155)
* New inventory fetching

* use new method everywhere

* Store description in the asset, add protobuf body as a backing field for InventoryDescription, add properties to description

* parse trade offers as json, stub descriptions, fix build

* formatting, misc fixes

* fix pragma comments

* fix passing tradable property

* fix convesion of assets, add compatibility method

* fix fetching tradeoffers

* use 40k as default count per request

* throw an exception instead of silencing the error
2024-03-16 23:57:25 +01:00
Archi
556f3fdac0
Misc 2024-02-28 21:40:54 +01:00
Łukasz Domeradzki
6b0bf0f9c1
Closes #3061 (#3145)
* Good start

* Misc

* Make ApiAuthenticationMiddleware use new json

* Remove first newtonsoft dependency

* Pull latest ASFB json enhancements

* Start reimplementing newtonsoft!

* One thing at a time

* Keep doing all kind of breaking changes which need to be tested later

* Add back ShouldSerialize() support

* Misc

* Eradicate remaining parts of newtonsoft

* WIP

* Workaround STJ stupidity in regards to derived types

STJ can't serialize derived type properties by default, so we'll use another approach in our serializable file function

* Make CI happy

* Bunch of further fixes

* Fix AddFreeLicense() after rewrite

* Add full support for JsonDisallowNullAttribute

* Optimize our json utilities even further

* Misc

* Add support for fields in disallow null

* Misc optimization

* Fix deserialization of GlobalCache in STD

* Fix non-public [JsonExtensionData]

* Fix IM missing method exception, correct db storage helpers

* Fix saving into generic databases

Thanks STJ

* Make Save() function abstract to force inheritors to implement it properly

* Correct ShouldSerializeAdditionalProperties to be a method

* Misc cleanup

* Code review

* Allow JSON comments in configs, among other

* Allow trailing commas in configs

Users very often add them accidentally, no reason to throw on them

* Fix confirmation ID

Probably needs further fixes, will need to check later

* Correct confirmations deserialization

* Use JsonNumberHandling

* Misc

* Misc

* [JsonDisallowNull] corrections

* Forbid [JsonDisallowNull] on non-nullable structs

* Not really but okay

* Add and use ToJson() helpers

* Misc

* Misc
2024-02-21 03:09:36 +01:00
Archi
348c43b259
Skip spamming ASFB with requests from unlicensed users
Check license prior to fetching inventory and sending data to ASFB, will also limit traffic on Steam side.
2024-02-04 22:28:59 +01:00
ArchiBot
70e3649e60
Automatic translations update 2024-02-02 02:04:28 +00:00
ArchiBot
d020a97209
Automatic translations update 2024-01-15 02:09:55 +00:00
Archi
042fadca28
Merge branch 'main' of https://github.com/JustArchiNET/ArchiSteamFarm 2024-01-11 16:46:48 +01:00
Archi
4a9e6f6cc6
Deprioritize bots with 1-game inventory
Those are usually stash accounts, and while we still want to match them, we can leave them only as a last resort if no other bots are available.

This decreases chance of hitting a bot that was just recently turned off or had its items traded away, as what usually happens with such accounts.
2024-01-11 16:46:45 +01:00
Sebastian Göls
dbf7148fbe
Happy new year! (#3121)
Co-authored-by: Sebastian Göls <sebastian.goels@salvagninigroup.com>
2024-01-08 11:33:28 +01:00
Archi
12c4b7e924
Apply frozen collections optimizations 2024-01-03 13:46:54 +01:00
Archi
be2e173404
Misc followup 2024-01-03 00:34:12 +01:00
Archi
3d503ed5ee
Fix invalid heartbeats from inactive STM accounts
It was possible before if the inventory state was the same as previously announced, even if server purged the info long time ago. Also, add required logic for recovery if that happens regardless.
2024-01-03 00:23:27 +01:00
Archi
7f1ecdd585
Misc 2024-01-01 23:22:19 +01:00
Archi
d398e84f25
Misc 2024-01-01 23:00:58 +01:00
Archi
ac427ed1ec
Misc match improvements 2024-01-01 22:58:54 +01:00
ArchiBot
e6c6bce8a7
Automatic translations update 2023-12-25 02:07:40 +00:00
Archi
2bef94e3b4
Misc 2023-12-23 23:37:29 +01:00
Archi
cf94c417d2
Misc 2023-12-23 23:16:44 +01:00
Archi
e480aca8b2
Use inventories items deduplication logic aligned with ASFB 2023-12-22 00:18:52 +01:00
Archi
2befe20f76
Use set parts also as inventories request optimization 2023-12-21 23:46:42 +01:00
Archi
40ab1d848c
.NET 8 code enhancements 2023-12-11 23:55:13 +01:00
ArchiBot
85bb68825b
Automatic translations update 2023-12-05 02:08:13 +00:00
Archi
92858de9e2
Misc 2023-12-05 00:04:38 +01:00
Archi
a7b1e01161
Revert "Disable server-side functionality in custom ASF builds"
This reverts commit 42ceb6d413.
2023-12-04 23:06:11 +01:00