Compare commits

..

487 Commits

Author SHA1 Message Date
Łukasz Domeradzki
2bbf197108 Add extra synchronization to IPC state management
Thanks @ezhevita
2025-09-08 23:39:29 +02:00
Łukasz Domeradzki
5d2665207a Handle one more case of Steam being down
Thanks @ezhevita
2025-09-08 23:30:11 +02:00
Łukasz Domeradzki
8618b01800 Fix for edge case of MatchableTypes being empty
Thanks @ezhevita
2025-09-08 23:17:23 +02:00
Łukasz Domeradzki
d59d51ae33 Bump 2025-09-08 22:51:03 +02:00
Łukasz Domeradzki
a313a19cec Add support for machine name 2025-09-08 22:50:23 +02:00
Łukasz Domeradzki
c5f7565ac0 Misc 2025-09-08 03:42:12 +02:00
Łukasz Domeradzki
f52486528b Cache generated swagger.json by default 2025-09-08 03:29:17 +02:00
Łukasz Domeradzki
d17399d98b Misc 2025-09-08 02:42:33 +02:00
Łukasz Domeradzki
1eadaad9bd Fix rp command not working with badge upgrades
Of course volvo had to use different endpoint for that, it'd be too easy otherwise
2025-09-08 02:41:31 +02:00
ArchiBot
22e424a78c Automatic translations update 2025-09-07 02:22:59 +00:00
renovate[bot]
712b57e46b chore(deps): update asf-ui digest to 96606b8 2025-09-06 08:37:05 +00:00
renovate[bot]
bc914f0a09 chore(deps): update asf-ui digest to 64ee49e 2025-09-05 21:29:58 +00:00
renovate[bot]
1da2ccbb1c chore(deps): update asf-ui digest to 4e72d57 2025-09-05 03:11:25 +00:00
Łukasz Domeradzki
c58d802c30 Enable immutable releases 2025-09-05 00:43:05 +02:00
Łukasz Domeradzki
8cdd5c69e6 Remove workaround after JB fixes 2025-09-04 23:55:41 +02:00
renovate[bot]
2b61e80336 chore(deps): update ncipollo/release-action action to v1.20.0 2025-09-04 20:24:07 +00:00
renovate[bot]
d831c47fcd chore(deps): update crowdin/github-action action to v2.11.0 2025-09-04 17:11:33 +00:00
renovate[bot]
53955cb9d2 chore(deps): update dependency mstest to 3.10.4 2025-09-04 15:59:08 +00:00
renovate[bot]
2d9c68c10a chore(deps): update dependency jetbrains.annotations.sources to 2025.2.2 2025-09-04 15:15:48 +00:00
renovate[bot]
c987db7941 chore(deps): update asf-ui digest to 62ed8b8 2025-09-04 12:33:08 +00:00
Łukasz Domeradzki
b1d4eb5c8c Cleanup obsolete parts (#3471) 2025-09-04 14:32:34 +02:00
renovate[bot]
c929efbf24 chore(deps): update actions/setup-node action to v5 (#3478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 14:32:13 +02:00
renovate[bot]
0c3f379fb3 chore(deps): update actions/setup-dotnet action to v5 (#3477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 14:32:03 +02:00
Łukasz Domeradzki
2d79ae9e7a Bump 2025-09-04 13:46:33 +02:00
ArchiBot
d0ac9b3a94 Automatic translations update 2025-09-04 02:20:39 +00:00
ArchiBot
719824b518 Automatic translations update 2025-09-01 02:32:04 +00:00
ArchiBot
f6f290878a Automatic translations update 2025-08-31 02:23:59 +00:00
renovate[bot]
4ee9bfc450 chore(deps): update actions/attest-build-provenance action to v3 (#3476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-29 10:38:20 +02:00
Łukasz Domeradzki
d3f45fc33d JetBrains.Annotations.Sources updates 2025-08-29 09:22:54 +02:00
renovate[bot]
ee4cefc813 chore(deps): update dependency mstest to 3.10.3 (#3475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-27 09:42:40 +02:00
renovate[bot]
4b7f570ba5 chore(deps): update asf-ui digest to 25f5d5e 2025-08-26 06:11:27 +00:00
renovate[bot]
6981018003 chore(deps): update dependency scalar.aspnetcore to 2.7.2 2025-08-26 00:53:57 +00:00
ArchiBot
380f27a0bc Automatic translations update 2025-08-25 02:26:46 +00:00
Łukasz Domeradzki
d489bebb85 Misc 2025-08-24 19:09:03 +02:00
Łukasz Domeradzki
2df1c439c4 Misc optimization 2025-08-24 15:04:20 +02:00
renovate[bot]
83ac485f19 chore(deps): update asf-ui digest to 75a61d2 2025-08-24 06:15:00 +00:00
ArchiBot
1c6bf2e828 Automatic translations update 2025-08-24 02:30:35 +00:00
renovate[bot]
bfdab76d71 chore(deps): update crowdin/github-action action to v2.10.0 (#3472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-23 08:42:03 +00:00
ArchiBot
90dba00c07 Automatic translations update 2025-08-23 02:22:51 +00:00
renovate[bot]
1d38521819 chore(deps): update dependency scalar.aspnetcore to 2.7.0 2025-08-22 22:57:31 +00:00
ArchiBot
bc8b56018d Automatic translations update 2025-08-22 02:24:26 +00:00
renovate[bot]
073b22de40 chore(deps): update wiki digest to 44fb363 2025-08-21 19:39:18 +00:00
Łukasz Domeradzki
8bc8efe6c0 Bump 2025-08-21 13:06:33 +02:00
Łukasz Domeradzki
fe80d3029b Add support for GamingDeviceType, kill OnlinePreferences 2025-08-21 13:01:38 +02:00
ArchiBot
86410d4407 Automatic translations update 2025-08-20 02:23:58 +00:00
ArchiBot
aba19cf986 Automatic translations update 2025-08-19 02:25:24 +00:00
renovate[bot]
0a2ca64bf7 chore(deps): update wiki digest to 396caad 2025-08-18 11:30:00 +00:00
ArchiBot
4761393e88 Automatic translations update 2025-08-18 02:35:59 +00:00
renovate[bot]
298026491a chore(deps): update wiki digest to ee43c97 2025-08-17 16:49:10 +00:00
ArchiBot
2fe2c47289 Automatic translations update 2025-08-17 02:34:57 +00:00
Łukasz Domeradzki
2d968c6c14 Don't generate or publish xml documentation files by default 2025-08-16 14:05:06 +02:00
renovate[bot]
0708a4a1e2 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.14.0 2025-08-16 02:28:43 +00:00
renovate[bot]
d2c234db1f chore(deps): update asf-ui digest to 41d408b 2025-08-15 06:29:07 +00:00
ArchiBot
d2b7ffba3b Automatic translations update 2025-08-15 02:31:09 +00:00
Łukasz Domeradzki
ff2a2a728d Use new C# features for serializable files 2025-08-13 22:15:41 +02:00
ArchiBot
2b43cec8fe Automatic translations update 2025-08-13 02:29:47 +00:00
renovate[bot]
6359014017 chore(deps): update asf-ui digest to 63dc959 2025-08-12 19:12:15 +00:00
renovate[bot]
d305c3d6e5 chore(deps): update dependency mstest to 3.10.2 2025-08-12 09:38:54 +00:00
renovate[bot]
9b5c5f39a4 chore(deps): update asf-ui digest to f3053c2 2025-08-11 20:40:55 +00:00
renovate[bot]
627f88508a chore(deps): update dependency scalar.aspnetcore to 2.6.9 2025-08-11 19:49:36 +00:00
renovate[bot]
6e6f2c5675 chore(deps): update actions/checkout action to v5 (#3465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 21:49:11 +02:00
renovate[bot]
7d5aaed8fb chore(deps): update actions/checkout action to v4.3.0 2025-08-11 13:07:56 +00:00
renovate[bot]
eac98c4846 chore(deps): update dependency nlog.web.aspnetcore to 6.0.3 2025-08-10 20:55:16 +00:00
Łukasz Domeradzki
f048513338 Misc optimization 2025-08-10 22:02:00 +02:00
Łukasz Domeradzki
4780031b87 Misc 2025-08-10 03:05:24 +02:00
Łukasz Domeradzki
f54d30ff42 Misc 2025-08-10 02:38:37 +02:00
renovate[bot]
17e97afb97 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.13.1 2025-08-09 04:27:32 +00:00
Łukasz Domeradzki
d79db74385 Clean unused code
It seems this call is pointless, if trade check timer is not null, it's already running, as we never initialize it without enabling it too.
2025-08-09 03:22:48 +02:00
Łukasz Domeradzki
c412a47139 Optimize memory allocations when dealing with Steam items
This removes totally unnecessary allocation of asset and description when we already have it in the response and merely initializing to correct reference.
2025-08-08 23:10:35 +02:00
Łukasz Domeradzki
2387f2462e Update ArchiSteamFarm.sln.DotSettings 2025-08-08 20:51:09 +02:00
Łukasz Domeradzki
6bd2e088fc Misc 2025-08-08 19:37:57 +02:00
Łukasz Domeradzki
b4874a05c6 Code cleanups 2025-08-08 19:32:32 +02:00
Łukasz Domeradzki
a77586ec95 Misc 2025-08-08 17:49:04 +02:00
Łukasz Domeradzki
ed9efe8d72 Misc 2025-08-08 01:05:46 +02:00
Łukasz Domeradzki
f7431b0b10 Bump 2025-08-08 01:04:34 +02:00
Łukasz Domeradzki
a340de9da8 Top commit of all time
This is how you avoid doing breaking changes, kids
2025-08-08 01:02:50 +02:00
renovate[bot]
bf11cf8a7b chore(deps): update asf-ui digest to 5c8cf52 2025-08-06 07:20:38 +00:00
renovate[bot]
b4dc8b493a chore(deps): update actions/download-artifact action to v5 (#3462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-06 09:19:41 +02:00
renovate[bot]
ce1cf6f4b1 chore(deps): update dependency mstest to 3.10.1 2025-08-05 20:32:28 +00:00
renovate[bot]
8d6422e8b4 chore(deps): update dotnet monorepo to 9.0.8 2025-08-05 01:55:47 +00:00
renovate[bot]
b3c28266cb chore(deps): update docker/login-action action to v3.5.0 2025-08-04 15:28:12 +00:00
Łukasz Domeradzki
074f2e343f Misc optimization 2025-08-03 22:49:50 +02:00
renovate[bot]
8f6f7334a0 chore(deps): update dependency scalar.aspnetcore to 2.6.8 2025-08-03 17:30:21 +00:00
Łukasz Domeradzki
b467c22baa Misc 2025-08-03 15:19:49 +02:00
Łukasz Domeradzki
15d3dd8c74 Bump 2025-08-03 15:12:37 +02:00
Łukasz Domeradzki
2010f3e455 Bump 2025-08-03 15:12:19 +02:00
Łukasz Domeradzki
cc95917d53 Misc cleanups 2025-08-03 15:12:05 +02:00
Łukasz Domeradzki
f918fbb504 Make /Api/NLog/File more flexible in terms of log file location 2025-08-03 15:05:02 +02:00
Łukasz Domeradzki
6d4d644900 Add support for detecting history target in wrapper 2025-08-03 14:24:10 +02:00
ArchiBot
a046af7b8d Automatic translations update 2025-08-03 02:43:27 +00:00
renovate[bot]
bde00df3ad chore(deps): update dependency scalar.aspnetcore to 2.6.7 2025-08-02 19:00:59 +00:00
renovate[bot]
d1080bbb42 chore(deps): update dependency scalar.aspnetcore to 2.6.6 2025-08-02 11:15:01 +00:00
renovate[bot]
875d9be7e5 chore(deps): update asf-ui digest to f6e8455 2025-08-02 04:51:40 +00:00
ArchiBot
e683b3b9ad Automatic translations update 2025-08-02 02:33:10 +00:00
renovate[bot]
199e098704 chore(deps): update asf-ui digest to 73d10a1 2025-08-01 22:26:42 +00:00
renovate[bot]
b4cdfa3011 chore(deps): update crowdin/github-action action to v2.9.1 2025-08-01 10:07:26 +00:00
ArchiBot
92bfeb96e2 Automatic translations update 2025-08-01 02:44:48 +00:00
ArchiBot
f4c9c9de1a Automatic translations update 2025-07-31 02:37:08 +00:00
renovate[bot]
e60293a0ce chore(deps): update dependency scalar.aspnetcore to 2.6.5 2025-07-30 01:14:46 +00:00
renovate[bot]
5659818313 chore(deps): update dependency mstest to 3.10.0 (#3458)
* chore(deps): update dependency mstest to 3.10.0

* Adapt to new analyzers

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>
2025-07-30 03:14:13 +02:00
renovate[bot]
1de5bfd809 chore(deps): update asf-ui digest to 11faf95 2025-07-29 04:46:21 +00:00
Łukasz Domeradzki
0fa3b25f12 Bump 2025-07-28 12:21:55 +02:00
Łukasz Domeradzki
02f505d962 Change null purchase_receipt_info to BadResponse 2025-07-28 12:17:10 +02:00
Łukasz Domeradzki
abdb303069 Fix for edge case that is more edge than nowadays teenagers 2025-07-28 12:03:45 +02:00
Łukasz Domeradzki
c1e5cd5d59 Add fix against null purchase_receipt_info 2025-07-28 11:57:04 +02:00
renovate[bot]
7ea0dda562 chore(deps): update asf-ui digest to cd42a02 2025-07-26 02:52:18 +00:00
ArchiBot
947e63fc61 Automatic translations update 2025-07-26 02:32:34 +00:00
Łukasz Domeradzki
882e561416 Bump 2025-07-25 13:49:41 +02:00
Łukasz Domeradzki
1e531a7259 Misc reorder 2025-07-25 13:49:12 +02:00
Outzzz
2967ae167b public api (#3456) 2025-07-25 13:47:57 +02:00
ArchiBot
089840438d Automatic translations update 2025-07-25 02:35:53 +00:00
renovate[bot]
bcd9ae047e chore(deps): update dependency opentelemetry.exporter.prometheus.aspnetcore to 1.12.0-beta.1 2025-07-24 15:55:39 +00:00
renovate[bot]
20de66a3be chore(deps): update wiki digest to ecb0e1f 2025-07-24 15:07:18 +00:00
renovate[bot]
7587f5f07a chore(deps): update dependency microsoft.codeanalysis.resxsourcegenerator to v5 (#3454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 17:06:40 +02:00
Łukasz Domeradzki
4ad450f0ba Update renovate.json5 2025-07-24 15:22:14 +02:00
Łukasz Domeradzki
2883f42a19 Update renovate.json5
As per https://github.com/renovatebot/renovate/discussions/37142
2025-07-24 15:17:13 +02:00
Łukasz Domeradzki
d788efbaf6 Workaround Jetbrains.Annotations issues 2025-07-24 15:06:58 +02:00
Łukasz Domeradzki
ca0bd87357 Move from JetBrains.Annotations to JetBrains.Annotations.Sources 2025-07-24 14:05:07 +02:00
renovate[bot]
e246d0dfa0 chore(deps): update asf-ui digest to 9869857 2025-07-24 08:46:15 +00:00
renovate[bot]
f93c319427 chore(deps): update asf-ui digest to d9173d5 2025-07-23 23:04:20 +00:00
renovate[bot]
eb591e3b4a chore(deps): update dependency jetbrains.annotations to v2025 (#3448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-23 00:44:38 +02:00
renovate[bot]
37d7f14148 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.13.0 2025-07-21 23:36:17 +00:00
renovate[bot]
86b1814698 chore(deps): update dependency scalar.aspnetcore to 2.6.4 2025-07-21 13:35:49 +00:00
renovate[bot]
d15fae3674 chore(deps): update dependency nlog.web.aspnetcore to 6.0.2 2025-07-20 17:40:12 +00:00
Łukasz Domeradzki
6d3a6168d2 Bump 2025-07-19 14:41:57 +02:00
Łukasz Domeradzki
0467dc1da3 Make trade message disappear for all non-steam appids 2025-07-19 14:36:03 +02:00
Łukasz Domeradzki
d81e8d2de0 Bump 2025-07-19 13:22:05 +02:00
Łukasz Domeradzki
ec59e2e556 Add support for new trade messages acknowledge 2025-07-18 09:52:31 +02:00
ArchiBot
cfdb8c06f3 Automatic translations update 2025-07-18 02:35:51 +00:00
Łukasz Domeradzki
32bf5cd0a7 Bump 2025-07-17 13:45:20 +02:00
Łukasz Domeradzki
a0401a3962 Improve efficiency of MatchActively
Trade hold duration check made sense, but back when we were fetching inventories ourselves. Now, it's much better to find match first, as we have the full data loaded, and only if match is found, check user next.
2025-07-17 13:40:35 +02:00
renovate[bot]
4def44ed1e chore(deps): update dependency scalar.aspnetcore to 2.6.3 2025-07-17 03:52:21 +00:00
ArchiBot
bd472b68a1 Automatic translations update 2025-07-17 02:34:52 +00:00
renovate[bot]
142bac7275 chore(deps): update asf-ui digest to 1d94b49 2025-07-16 04:44:45 +00:00
ArchiBot
80d4ab1dea Automatic translations update 2025-07-16 02:34:20 +00:00
Outzzz
481c995481 new confirmation type (#3442) 2025-07-15 18:56:19 +02:00
ArchiBot
76e3059b34 Automatic translations update 2025-07-14 02:36:38 +00:00
renovate[bot]
9c6157563e chore(deps): update dependency scalar.aspnetcore to 2.6.1 2025-07-13 18:02:53 +00:00
renovate[bot]
c362900290 chore(deps): update asf-ui digest to 0822736 2025-07-12 03:10:35 +00:00
ArchiBot
1573707d39 Automatic translations update 2025-07-12 02:33:47 +00:00
ArchiBot
acce592f02 Automatic translations update 2025-07-11 02:34:06 +00:00
renovate[bot]
24cc03e4ed chore(deps): update asf-ui digest to 75cb11d 2025-07-10 22:00:47 +00:00
renovate[bot]
aec1f45023 chore(deps): update dependency scalar.aspnetcore to 2.6.0 2025-07-10 18:01:49 +00:00
renovate[bot]
e208a3cce0 chore(deps): update crowdin/github-action action to v2.9.0 2025-07-10 11:33:24 +00:00
ArchiBot
2f275e19bd Automatic translations update 2025-07-10 02:32:36 +00:00
renovate[bot]
ac8f12f438 chore(deps): update asf-ui digest to 7a782d7 2025-07-09 23:58:29 +00:00
renovate[bot]
c14580965f chore(deps): update wiki digest to c122ded 2025-07-09 17:02:47 +00:00
renovate[bot]
436a5ab3f9 chore(deps): update dotnet monorepo to 9.0.7 2025-07-09 04:24:15 +00:00
ArchiBot
3e1fde4515 Automatic translations update 2025-07-09 02:31:52 +00:00
renovate[bot]
9beec69e85 chore(deps): update asf-ui digest to 5c24f54 2025-07-08 05:00:15 +00:00
ArchiBot
a1116a87df Automatic translations update 2025-07-08 02:31:32 +00:00
renovate[bot]
cd4bc01d66 chore(deps): update dependency scalar.aspnetcore to 2.5.6 2025-07-07 20:07:16 +00:00
renovate[bot]
7e30601246 chore(deps): update wiki digest to 70b21c1 2025-07-07 13:06:35 +00:00
ArchiBot
708b3792c9 Automatic translations update 2025-07-07 02:34:03 +00:00
renovate[bot]
3c52408579 chore(deps): update wiki digest to f30f4d5 2025-07-06 12:35:34 +00:00
ArchiBot
ea5f729d58 Automatic translations update 2025-07-06 02:36:06 +00:00
renovate[bot]
4d3f7f0b5a chore(deps): update wiki digest to 522bba8 2025-07-05 14:26:30 +00:00
Łukasz Domeradzki
078f6eabdd Bump 2025-07-05 16:25:46 +02:00
Łukasz Domeradzki
6d6da98e8c Bump 2025-07-05 16:05:31 +02:00
renovate[bot]
49f1910425 chore(deps): update dependency nlog.web.aspnetcore to 6.0.1 2025-07-05 13:40:07 +00:00
renovate[bot]
4ba034f988 chore(deps): update dependency nlog.web.aspnetcore to v6 (#3438)
* chore(deps): update dependency nlog.web.aspnetcore to v6

* Adapt ASF to NLog v6

* Use another approach for NLog file archiving

* Use cached ${currentdir} to improve performance

* Misc fix

* Update suffix format

* Misc

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>
2025-07-05 15:39:37 +02:00
ArchiBot
e93ea74def Automatic translations update 2025-07-05 02:26:37 +00:00
Łukasz Domeradzki
5dadbe9090 Allow plugins to initialize new configs with some changed properties 2025-07-03 13:12:10 +02:00
renovate[bot]
e3c1a8c5fb chore(deps): update asf-ui digest to 545f9e1 2025-07-02 23:39:29 +00:00
Łukasz Domeradzki
8e50e9553a Misc fix 2025-07-02 16:55:09 +02:00
Łukasz Domeradzki
ed47c8268b Add optional cookies to WebAPI base 2025-07-02 08:57:44 +02:00
Łukasz Domeradzki
e0cdeaf09e Bump 2025-07-01 16:14:16 +02:00
Łukasz Domeradzki
fc198d6eae Update MaxItemsInSingleInventoryRequest 2025-07-01 16:13:47 +02:00
ArchiBot
977816baa9 Automatic translations update 2025-07-01 02:37:39 +00:00
renovate[bot]
758c0a0385 chore(deps): update asf-ui digest to b984a9d 2025-06-30 07:31:35 +00:00
ArchiBot
e4d7e9dda7 Automatic translations update 2025-06-30 02:33:41 +00:00
renovate[bot]
baadfee9e0 chore(deps): update ncipollo/release-action action to v1.18.0 2025-06-29 21:11:10 +00:00
renovate[bot]
25620603b5 chore(deps): update ncipollo/release-action action to v1.17.0 2025-06-29 06:24:51 +00:00
ArchiBot
a5e306ccae Automatic translations update 2025-06-29 02:36:53 +00:00
Łukasz Domeradzki
e09801442e Bump 2025-06-28 13:11:58 +02:00
Łukasz Domeradzki
08fb3ccb76 Fix serializable files not always getting written on change
In some cases, STJ might decide to replace the object rather than populating it. This will work for majority of properties and use cases, however, we actually set up events on some properties to notify us back if they change during runtime. That event registration did not work properly, as the object was replaced with the new, that did not have appropriate listeners set up.

Populate rather than replacing those selected properties, which fixes the problem.
2025-06-28 13:10:13 +02:00
ArchiBot
e9887cf89e Automatic translations update 2025-06-28 02:26:50 +00:00
renovate[bot]
de33bd057f chore(deps): update asf-ui digest to 49b98a8 2025-06-27 04:14:17 +00:00
ArchiBot
e04d37a694 Automatic translations update 2025-06-27 02:29:29 +00:00
renovate[bot]
6e7a1ea09b chore(deps): update dependency scalar.aspnetcore to 2.5.3 2025-06-26 16:37:37 +00:00
Łukasz Domeradzki
08b2c3186d Misc 2025-06-26 14:23:12 +02:00
renovate[bot]
6ca3989635 chore(deps): update dependency scalar.aspnetcore to 2.5.1 2025-06-26 02:58:11 +00:00
ArchiBot
c3019bed16 Automatic translations update 2025-06-26 02:29:26 +00:00
renovate[bot]
7f5615d109 chore(deps): update asf-ui digest to 220a8ec 2025-06-25 18:05:14 +00:00
renovate[bot]
43c76dc1af chore(deps): update crowdin/github-action action to v2.8.0 2025-06-25 07:11:07 +00:00
renovate[bot]
89deff7e06 chore(deps): update dependency markdig.signed to 0.41.3 2025-06-24 11:03:02 +00:00
ArchiBot
d536f7f56c Automatic translations update 2025-06-24 02:29:43 +00:00
renovate[bot]
8f43575a19 chore(deps): pin dependencies (#3439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-22 17:46:37 +02:00
Łukasz Domeradzki
53adc67be1 Misc 2025-06-22 17:46:18 +02:00
Łukasz Domeradzki
e4addcadc8 Update renovate.json5 2025-06-22 16:23:21 +02:00
Łukasz Domeradzki
c48c1e6acd Kill build environment
It causes only unnecessary spam in PRs, the other environments still make sense
2025-06-22 15:47:17 +02:00
ArchiBot
cd2baa25c8 Automatic translations update 2025-06-22 02:35:38 +00:00
renovate[bot]
93e19d0f82 chore(deps): update dependency scalar.aspnetcore to 2.5.0 2025-06-21 17:53:08 +00:00
renovate[bot]
a8527dee70 chore(deps): update asf-ui digest to 622b78e 2025-06-21 10:10:38 +00:00
ArchiBot
b209be1618 Automatic translations update 2025-06-21 02:26:29 +00:00
renovate[bot]
fa55d9f402 chore(deps): update wiki digest to fb78823 2025-06-20 19:56:55 +00:00
renovate[bot]
c1aeb0b0a1 chore(deps): update dependency scalar.aspnetcore to 2.4.22 2025-06-19 22:56:09 +00:00
Łukasz Domeradzki
6e2bd99600 Bump 2025-06-20 00:55:39 +02:00
Jack Nolddor
a99c1f93e1 chore: blacklist summer sale 2025 appid (#3437) 2025-06-20 00:54:11 +02:00
ArchiBot
abc2e2be69 Automatic translations update 2025-06-19 02:28:53 +00:00
renovate[bot]
7aff1f857b chore(deps): update docker/setup-buildx-action action to v3.11.1 2025-06-18 11:50:02 +00:00
renovate[bot]
e47a94aeaa chore(deps): update dependency scalar.aspnetcore to 2.4.19 2025-06-18 02:34:15 +00:00
renovate[bot]
12730e6cb5 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.12.1 2025-06-17 23:46:43 +00:00
renovate[bot]
9909a211a4 chore(deps): update dependency mstest to 3.9.3 2025-06-17 16:53:55 +00:00
renovate[bot]
32591514de chore(deps): update dependency system.linq.async to 6.0.3 2025-06-17 03:14:00 +00:00
ArchiBot
05f65e0d9d Automatic translations update 2025-06-17 02:29:31 +00:00
renovate[bot]
353b032efd chore(deps): update dependency scalar.aspnetcore to 2.4.17 2025-06-16 20:08:55 +00:00
renovate[bot]
fb16a9e50c chore(deps): update docker/setup-buildx-action action to v3.11.0 2025-06-16 16:08:38 +00:00
ArchiBot
32165af41d Automatic translations update 2025-06-15 02:35:26 +00:00
renovate[bot]
3860d8d2fc chore(deps): update asf-ui digest to 6a9af77 2025-06-14 19:20:54 +00:00
Łukasz Domeradzki
dd6a8cdb80 Bump 2025-06-14 21:19:36 +02:00
Łukasz Domeradzki
27562e52ef Respect LastAnnouncement fully in public listing
I don't recall why we needed that ShouldSendHeartBeats condition here before, it causes the routine to run always if the bot is currently not listed, which is unwanted e.g. if the server tells user to go away, or due to any other reason.
2025-06-14 21:10:00 +02:00
renovate[bot]
693c9d67dc chore(deps): update dependency scalar.aspnetcore to 2.4.16 2025-06-14 09:50:47 +00:00
renovate[bot]
71cd68d38f chore(deps): update asf-ui digest to ecaf0d8 2025-06-14 06:15:43 +00:00
ArchiBot
624283cee7 Automatic translations update 2025-06-14 02:26:04 +00:00
renovate[bot]
0bf9d2f040 chore(deps): update dependency scalar.aspnetcore to 2.4.15 2025-06-13 21:38:40 +00:00
renovate[bot]
c01d893b6b chore(deps): update dependency scalar.aspnetcore to 2.4.14 2025-06-13 15:54:48 +00:00
renovate[bot]
3b9d5c7ab6 chore(deps): update wiki digest to 4dd4924 2025-06-13 12:00:30 +00:00
Łukasz Domeradzki
05d5d90e3e Bump 2025-06-13 13:59:41 +02:00
Łukasz Domeradzki
53b84a9271 Closes #3436 2025-06-13 13:41:36 +02:00
Łukasz Domeradzki
44688a4ce8 Misc 2025-06-13 09:44:18 +02:00
ArchiBot
908f7f5ccb Automatic translations update 2025-06-13 02:29:04 +00:00
Łukasz Domeradzki
79c3ce14e8 Misc 2025-06-12 23:33:47 +02:00
ArchiBot
d8d0b1deb8 Automatic translations update 2025-06-12 02:28:23 +00:00
renovate[bot]
22b9f92663 chore(deps): update actions/attest-build-provenance action to v2.4.0 2025-06-11 22:41:25 +00:00
renovate[bot]
0900480e62 chore(deps): update wiki digest to 6a30b79 2025-06-11 19:44:23 +00:00
renovate[bot]
6b41f91543 chore(deps): update dotnet monorepo to 9.0.6 2025-06-11 02:39:44 +00:00
ArchiBot
708de736e0 Automatic translations update 2025-06-11 02:28:49 +00:00
renovate[bot]
816b23e277 chore(deps): update dependency mstest to 3.9.2 2025-06-10 17:29:17 +00:00
renovate[bot]
b1e472879f chore(deps): update asf-ui digest to ec7099f 2025-06-10 09:26:25 +00:00
Łukasz Domeradzki
714f734e58 Bump 2025-06-10 11:25:30 +02:00
Łukasz Domeradzki
4f279f1068 Misc 2025-06-10 11:19:20 +02:00
Łukasz Domeradzki
e2194894ce Reset temporary account credentials upon turning off bot for wrong ones 2025-06-10 11:07:37 +02:00
ArchiBot
6bfc7d5c7f Automatic translations update 2025-06-10 02:29:39 +00:00
Łukasz Domeradzki
0018da8f8e Bump 2025-06-09 21:38:58 +02:00
renovate[bot]
a4ddac5039 chore(deps): update dependency steamkit2 to 3.3.0 (#3435)
* chore(deps): update dependency steamkit2 to 3.3.0

* Adapt to SK2 breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>
2025-06-09 21:34:16 +02:00
ArchiBot
839bc06f88 Automatic translations update 2025-06-09 02:31:55 +00:00
Łukasz Domeradzki
2a1228c949 Bump 2025-06-09 00:23:01 +02:00
Łukasz Domeradzki
921d56a13d Bump 2025-06-09 00:15:16 +02:00
Łukasz Domeradzki
9fa1549e09 Closes #3434 2025-06-09 00:05:58 +02:00
ArchiBot
e0d19e256f Automatic translations update 2025-06-08 02:34:31 +00:00
renovate[bot]
18e8bf56e6 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.12.0 2025-06-07 18:52:25 +00:00
renovate[bot]
83500b7af5 chore(deps): update dependency scalar.aspnetcore to 2.4.13 2025-06-07 12:49:10 +00:00
renovate[bot]
548e8af27b chore(deps): update crowdin/github-action action to v2.7.1 2025-06-07 09:47:16 +00:00
renovate[bot]
54afced00a chore(deps): update asf-ui digest to 2526417 2025-06-07 05:05:49 +00:00
ArchiBot
b89967ecac Automatic translations update 2025-06-07 02:26:38 +00:00
renovate[bot]
130a25deaa chore(deps): update wiki digest to 5ef3932 2025-06-06 22:02:59 +00:00
ArchiBot
bc52dad3f5 Automatic translations update 2025-06-06 02:27:28 +00:00
renovate[bot]
4ce75e3ab0 chore(deps): update dependency markdig.signed to 0.41.2 2025-06-05 11:01:51 +00:00
renovate[bot]
a681b31630 chore(deps): update dependency scalar.aspnetcore to 2.4.8 2025-06-05 04:46:49 +00:00
ArchiBot
9777e87b0f Automatic translations update 2025-06-05 02:27:57 +00:00
renovate[bot]
8647201b1e chore(deps): update asf-ui digest to c0e3f38 2025-06-04 22:12:31 +00:00
Łukasz Domeradzki
543d3f2f85 Bump 2025-06-05 00:11:50 +02:00
Łukasz Domeradzki
0cd02d8de8 Misc chat ack improvements 2025-06-05 00:11:33 +02:00
ArchiBot
e93a486a85 Automatic translations update 2025-06-04 02:29:00 +00:00
ArchiBot
2225903719 Automatic translations update 2025-06-03 02:28:32 +00:00
ArchiBot
a854ba3ddf Automatic translations update 2025-06-02 02:30:53 +00:00
renovate[bot]
bededf4bec chore(deps): update asf-ui digest to e90f82b 2025-05-31 09:36:33 +00:00
ArchiBot
2fcb35e46c Automatic translations update 2025-05-31 02:24:32 +00:00
renovate[bot]
120509a02e chore(deps): update dependency scalar.aspnetcore to 2.4.7 2025-05-30 19:50:18 +00:00
renovate[bot]
6aca3ea0cc chore(deps): update dependency scalar.aspnetcore to 2.4.6 2025-05-30 11:50:30 +00:00
renovate[bot]
93ab09f6c5 chore(deps): update dependency scalar.aspnetcore to 2.4.5 2025-05-29 21:34:12 +00:00
Łukasz Domeradzki
c9fe2eb1d5 Bump 2025-05-29 23:33:36 +02:00
Łukasz Domeradzki
5d4666d538 Adapt to yet another Steam's breaking change 2025-05-29 23:29:40 +02:00
renovate[bot]
44549e2b2a chore(deps): update dependency nlog.web.aspnetcore to 5.5.0 (#3429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-29 21:38:13 +02:00
ArchiBot
b20f8adb5f Automatic translations update 2025-05-29 02:26:58 +00:00
renovate[bot]
0983ef309f chore(deps): update docker/build-push-action action to v6.18.0 2025-05-28 08:44:36 +00:00
renovate[bot]
8a24c037ed chore(deps): update dependency scalar.aspnetcore to 2.4.4 2025-05-28 03:29:38 +00:00
renovate[bot]
dad1d7fda9 chore(deps): update asf-ui digest to 9920764 2025-05-27 23:04:44 +00:00
renovate[bot]
cce7c1c7c8 chore(deps): update dependency mstest to 3.9.1 2025-05-27 16:45:59 +00:00
ArchiBot
ac209cfefb Automatic translations update 2025-05-27 02:25:49 +00:00
Łukasz Domeradzki
62e9058966 Bump 2025-05-25 19:21:24 +02:00
Łukasz Domeradzki
21a202e47d Misc 2025-05-25 19:18:36 +02:00
Łukasz Domeradzki
274c63c166 Log less info about failing request by default
Some URLs can expose potentially-sensitive details otherwise, such as GetTradeOffers
2025-05-25 19:15:58 +02:00
ArchiBot
207d10c2be Automatic translations update 2025-05-25 02:32:04 +00:00
Łukasz Domeradzki
9dc220e0d5 Bump 2025-05-24 21:50:14 +02:00
Łukasz Domeradzki
73f0cf23f8 Add workaround for 429 in trade offers 2025-05-24 21:49:45 +02:00
Łukasz Domeradzki
0b24380b2e Improve logging of api calls 2025-05-24 18:51:51 +02:00
Łukasz Domeradzki
ff485845bf Log less info about failing request by default
Some URLs can expose potentially-sensitive details otherwise, such as GetTradeOffers
2025-05-24 18:33:23 +02:00
ArchiBot
198e408ba4 Automatic translations update 2025-05-24 02:23:52 +00:00
renovate[bot]
2f5f4661c2 chore(deps): update dependency scalar.aspnetcore to 2.4.3 2025-05-23 22:45:17 +00:00
renovate[bot]
430dad82db chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.11.0 2025-05-23 18:27:09 +00:00
renovate[bot]
9fce02c2ef chore(deps): update dependency scalar.aspnetcore to 2.4.2 2025-05-23 02:53:14 +00:00
ArchiBot
9d2d7e33e3 Automatic translations update 2025-05-23 02:26:27 +00:00
renovate[bot]
fc390e0b4c chore(deps): update wiki digest to 9d8da2b 2025-05-22 16:52:03 +00:00
Łukasz Domeradzki
2d3fbf3080 Bump 2025-05-22 13:49:52 +02:00
Łukasz Domeradzki
b7152bfb0a Closes #3428 2025-05-22 13:46:19 +02:00
renovate[bot]
b3f216d25d chore(deps): update dependency scalar.aspnetcore to 2.4.1 2025-05-22 07:51:36 +00:00
ArchiBot
1caa12c7e8 Automatic translations update 2025-05-22 02:25:48 +00:00
renovate[bot]
94e3a9a5f8 chore(deps): update asf-ui digest to 30223b6 2025-05-20 23:32:22 +00:00
renovate[bot]
9cf20708e6 chore(deps): update dependency mstest to 3.9.0 2025-05-20 12:52:58 +00:00
ArchiBot
c60b7b0252 Automatic translations update 2025-05-20 02:26:56 +00:00
ArchiBot
3477bcefc3 Automatic translations update 2025-05-19 02:29:36 +00:00
ArchiBot
549a76ee7e Automatic translations update 2025-05-18 02:30:19 +00:00
renovate[bot]
6c32cebe83 chore(deps): update wiki digest to 2cd6a9f 2025-05-17 18:31:15 +00:00
renovate[bot]
d30d4d202a chore(deps): update asf-ui digest to 9eee3d3 2025-05-16 11:19:02 +00:00
renovate[bot]
d545622d0c chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.10.0 2025-05-16 02:44:52 +00:00
renovate[bot]
f33016d523 chore(deps): update dependency scalar.aspnetcore to 2.3.1 2025-05-15 23:53:22 +00:00
renovate[bot]
8a531262e7 chore(deps): update docker/build-push-action action to v6.17.0 2025-05-15 18:52:16 +00:00
ArchiBot
cf0dd510c2 Automatic translations update 2025-05-15 02:24:28 +00:00
renovate[bot]
d735d1bda8 chore(deps): update dotnet monorepo 2025-05-14 02:54:23 +00:00
ArchiBot
e4dc83fc86 Automatic translations update 2025-05-14 02:25:22 +00:00
renovate[bot]
13263a8d1e chore(deps): update asf-ui digest to 0b5af7a 2025-05-13 07:05:57 +00:00
renovate[bot]
3e06b5f8c8 chore(deps): update dependency scalar.aspnetcore to 2.3.0 2025-05-13 03:08:45 +00:00
ArchiBot
857fc6a3c6 Automatic translations update 2025-05-13 02:26:39 +00:00
Łukasz Domeradzki
ad461e5b8c Misc 2025-05-12 21:51:06 +02:00
Łukasz Domeradzki
5464ef4353 Misc 2025-05-12 21:35:13 +02:00
Łukasz Domeradzki
e8f4737e81 Misc 2025-05-12 21:31:30 +02:00
Łukasz Domeradzki
1dcaf98774 Always update app change numbers 2025-05-12 10:14:54 +02:00
ArchiBot
e081267a9b Automatic translations update 2025-05-12 02:27:47 +00:00
Łukasz Domeradzki
6ec7f4609a Even further misc 2025-05-11 22:25:15 +02:00
Łukasz Domeradzki
0bef5ccfa9 Misc
Edge case if previously-store-only package suddenly pops up in license list (normally would fix itself only after 7 days)
2025-05-11 22:21:43 +02:00
Łukasz Domeradzki
512545b657 Bump 2025-05-11 21:45:16 +02:00
Łukasz Domeradzki
390d9ac57c Use LINQ chunks in STD 2025-05-11 21:42:00 +02:00
Łukasz Domeradzki
10abfb847f Closes #3415 (#3427)
* Closes #3415

* Misc

* Refresh tokens always for non-listed packages
2025-05-11 21:36:16 +02:00
renovate[bot]
a19611c3ae chore(deps): update asf-ui digest to f2af2b8 2025-05-11 06:46:09 +00:00
ArchiBot
44840aa0ff Automatic translations update 2025-05-11 02:28:49 +00:00
ArchiBot
f0945efd3a Automatic translations update 2025-05-10 02:23:04 +00:00
Łukasz Domeradzki
cba29bb2c5 Resolve misc TODOs 2025-05-09 23:31:27 +02:00
ArchiBot
08c9636cd9 Automatic translations update 2025-05-09 02:24:46 +00:00
renovate[bot]
d940c4ac82 chore(deps): update asf-ui digest to 1205ace (#3425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 12:41:38 +02:00
ArchiBot
208e844c97 Automatic translations update 2025-05-08 02:25:45 +00:00
renovate[bot]
9f808a42a3 chore(deps): update dependency humanizer to 3.0.0-beta.96 2025-05-07 21:58:53 +00:00
Łukasz Domeradzki
cf9a578815 Misc tests improvement 2025-05-07 23:58:11 +02:00
Łukasz Domeradzki
449f3556a7 Add extra unit test 2025-05-07 23:49:08 +02:00
Łukasz Domeradzki
a3736d6cd6 Misc optimization 2025-05-07 23:21:04 +02:00
Łukasz Domeradzki
f975af721e Misc 2025-05-07 23:18:41 +02:00
Łukasz Domeradzki
e23dfe7846 Be more strict with plugin asset names 2025-05-07 18:55:32 +02:00
renovate[bot]
255a72e2ae chore(deps): update asf-ui digest to afc4c5a 2025-05-07 03:42:36 +00:00
renovate[bot]
de3aa36b1f chore(deps): update opentelemetry-dotnet-contrib monorepo to 1.12.0 2025-05-05 19:33:15 +00:00
renovate[bot]
ea844f6501 chore(deps): update dependency scalar.aspnetcore to 2.2.7 2025-05-05 15:42:53 +00:00
ArchiBot
9bbdc5f8d9 Automatic translations update 2025-05-05 02:26:45 +00:00
Łukasz Domeradzki
0644e634e7 Bump 2025-05-05 00:49:37 +02:00
Łukasz Domeradzki
66774631e7 Closes #3424 2025-05-05 00:48:48 +02:00
ArchiBot
735982ce4e Automatic translations update 2025-05-03 02:23:17 +00:00
Łukasz Domeradzki
0c207b4e2f Make NowFarming property public 2025-05-02 23:49:34 +02:00
Łukasz Domeradzki
cf5d7fd192 Misc 2025-05-02 13:23:59 +02:00
Łukasz Domeradzki
a19aadd826 Bump 2025-05-02 12:59:21 +02:00
Łukasz Domeradzki
f62da0e273 Closes #3420 2025-05-02 12:56:54 +02:00
Łukasz Domeradzki
af6f9466a8 Misc 2025-05-02 09:27:24 +02:00
ArchiBot
2ee53d8318 Automatic translations update 2025-05-02 02:23:48 +00:00
Łukasz Domeradzki
b6a5989770 Misc 2025-05-01 23:54:03 +02:00
Łukasz Domeradzki
193811cb9b Add support for Japanese Steam client language 2025-05-01 23:50:07 +02:00
Łukasz Domeradzki
0c23177455 Bump 2025-05-01 21:23:05 +02:00
Łukasz Domeradzki
c525ca5642 Bump 2025-05-01 21:22:33 +02:00
renovate[bot]
e4a726672d chore(deps): update dependency scalar.aspnetcore to 2.2.5 2025-05-01 14:53:32 +00:00
renovate[bot]
a897615d0e chore(deps): update asf-ui digest to af94f76 2025-05-01 09:09:15 +00:00
Łukasz Domeradzki
3e5ffe10b7 Misc further improvements to cross-process semaphores 2025-05-01 10:14:23 +02:00
ArchiBot
13131c769c Automatic translations update 2025-05-01 02:29:48 +00:00
renovate[bot]
449050b6df chore(deps): update dependency opentelemetry.extensions.hosting to 1.12.0 2025-04-30 08:35:30 +00:00
renovate[bot]
01b5251a39 chore(deps): update dependency scalar.aspnetcore to 2.2.2 2025-04-30 04:02:17 +00:00
Łukasz Domeradzki
6b6c976061 Modernize access modes upon creation
We can make use of some newly introduced overloads, not only improving on performance but also fixing potential (impossible to achieve in practice) crash between creation and mode setting
2025-04-29 18:34:25 +02:00
Łukasz Domeradzki
eeed61a9f6 Avoid some extra overhead if www folder is not found 2025-04-29 16:24:22 +02:00
Łukasz Domeradzki
4afe7654af Misc
The execute permission is unnecessary on temporary files, only directories need it
2025-04-29 15:37:30 +02:00
renovate[bot]
acdd504a7c chore(deps): update actions/attest-build-provenance action to v2.3.0 2025-04-28 16:58:21 +00:00
renovate[bot]
65c9477bb9 chore(deps): update dependency markdig.signed to 0.41.1 2025-04-28 11:50:58 +00:00
ArchiBot
eaa11c76ab Automatic translations update 2025-04-27 02:26:09 +00:00
ArchiBot
2ba0eb77ad Automatic translations update 2025-04-26 02:22:25 +00:00
renovate[bot]
3761e07c6d chore(deps): update asf-ui digest to 7c49cd8 2025-04-25 23:31:21 +00:00
renovate[bot]
c787c8ece7 chore(deps): update docker/build-push-action action to v6.16.0 2025-04-25 19:27:04 +00:00
renovate[bot]
f8e8e2c8a4 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.9.0 2025-04-25 13:54:23 +00:00
renovate[bot]
3960ec16b4 chore(deps): update asf-ui digest to 5165da4 2025-04-25 07:26:01 +00:00
Łukasz Domeradzki
ddb04b97a8 Bump 2025-04-25 09:25:24 +02:00
ArchiBot
868d593c5c Automatic translations update 2025-04-25 02:23:51 +00:00
renovate[bot]
e6a5524cbc chore(deps): update actions/download-artifact action to v4.3.0 2025-04-24 16:54:03 +00:00
renovate[bot]
cf179878ae chore(deps): update dependency scalar.aspnetcore to 2.2.1 2025-04-24 02:53:43 +00:00
ArchiBot
394f10f384 Automatic translations update 2025-04-24 02:23:45 +00:00
renovate[bot]
df814b1acb chore(deps): update wiki digest to cb76466 2025-04-23 16:44:22 +00:00
renovate[bot]
b7439693fc chore(deps): update dependency scalar.aspnetcore to 2.1.18 2025-04-22 19:25:42 +00:00
renovate[bot]
c009fc8dc8 chore(deps): update asf-ui digest to 6f0393c 2025-04-22 13:10:44 +00:00
renovate[bot]
cf62c0802f chore(deps): update dependency steamkit2 to 3.1.0 2025-04-21 15:29:13 +00:00
renovate[bot]
5f19372429 chore(deps): update dependency anglesharp to 1.3.0 2025-04-19 01:52:51 +00:00
renovate[bot]
adf2eccc9c chore(deps): update dependency scalar.aspnetcore to 2.1.17 2025-04-18 23:31:32 +00:00
renovate[bot]
ce463bf780 chore(deps): update asf-ui digest to 992890b 2025-04-18 18:58:10 +00:00
renovate[bot]
31fe442476 chore(deps): update dependency scalar.aspnetcore to 2.1.16 2025-04-17 01:36:25 +00:00
renovate[bot]
45daa46cf9 chore(deps): update dependency scalar.aspnetcore to 2.1.15 2025-04-16 19:57:00 +00:00
ArchiBot
83c12f5636 Automatic translations update 2025-04-16 02:23:33 +00:00
renovate[bot]
1683729772 chore(deps): update dependency markdig.signed to 0.41.0 2025-04-15 11:44:30 +00:00
renovate[bot]
21cd3d8dbb chore(deps): update asf-ui digest to c4ddfac 2025-04-14 11:09:57 +00:00
renovate[bot]
4b34905358 chore(deps): update actions/setup-node action to v4.4.0 2025-04-14 07:30:15 +00:00
Łukasz Domeradzki
c0214f16fc Bump 2025-04-14 09:29:37 +02:00
Łukasz Domeradzki
458cb95422 Bump 2025-04-14 09:29:09 +02:00
Łukasz Domeradzki
ef844c168c Bump 2025-04-14 09:18:23 +02:00
Łukasz Domeradzki
96e5924c0c Misc bulletproofing 2025-04-14 09:17:52 +02:00
Outzzz
d20fa79897 get inventory with language (#3409)
* get inventory with language

* get inventory with language

* edit

* edit
2025-04-14 09:15:11 +02:00
renovate[bot]
f1a49cdff0 chore(deps): update dependency scalar.aspnetcore to 2.1.13 2025-04-11 22:01:40 +00:00
renovate[bot]
baa1339573 chore(deps): update dependency scalar.aspnetcore to 2.1.11 2025-04-11 02:24:16 +00:00
renovate[bot]
53802829b6 chore(deps): update dependency scalar.aspnetcore to 2.1.10 2025-04-10 18:53:30 +00:00
renovate[bot]
ee7866590f chore(deps): update dotnet monorepo to 9.0.4 2025-04-10 01:48:00 +00:00
renovate[bot]
94cb4e4e0a chore(deps): update dependency scalar.aspnetcore to 2.1.9 2025-04-09 22:33:44 +00:00
renovate[bot]
78e5ab2cbb chore(deps): update asf-ui digest to 6596a83 2025-04-09 16:37:01 +00:00
renovate[bot]
a52bf7774c chore(deps): update dependency scalar.aspnetcore to 2.1.8 2025-04-09 10:52:51 +00:00
renovate[bot]
4aed278f9c chore(deps): update dependency microsoft.codeanalysis.resxsourcegenerator to 3.11.0-beta1.25123.3 2025-04-09 07:37:20 +00:00
renovate[bot]
1631e1687b chore(deps): update asf-ui digest to e425aab 2025-04-09 03:19:38 +00:00
ArchiBot
4738171fd3 Automatic translations update 2025-04-09 02:23:30 +00:00
renovate[bot]
001eabe25d chore(deps): update asf-ui digest to fdcd3c3 2025-04-08 11:07:38 +00:00
renovate[bot]
3d535c4c72 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.8.0 2025-04-08 06:32:55 +00:00
renovate[bot]
f59a3ca233 chore(deps): update asf-ui digest to cda7dfa 2025-04-07 23:28:05 +00:00
renovate[bot]
d3134afc5a chore(deps): update dependency scalar.aspnetcore to 2.1.7 2025-04-07 20:02:29 +00:00
ArchiBot
39bf821f78 Automatic translations update 2025-04-07 02:23:52 +00:00
ArchiBot
5324dad0c6 Automatic translations update 2025-04-06 02:24:03 +00:00
renovate[bot]
ab92bbf3d3 chore(deps): update dependency scalar.aspnetcore to 2.1.6 2025-04-04 19:35:03 +00:00
renovate[bot]
63a481629e chore(deps): update asf-ui digest to e9c6a29 2025-04-04 06:36:58 +00:00
renovate[bot]
d44d075b20 chore(deps): update peter-evans/dockerhub-description action to v4.0.2 2025-04-03 16:06:11 +00:00
renovate[bot]
030d71c52a chore(deps): update asf-ui digest to a69ee58 2025-04-03 10:06:29 +00:00
renovate[bot]
2fe0a2635e chore(deps): update dependency scalar.aspnetcore to 2.1.5 2025-04-03 02:41:38 +00:00
ArchiBot
ae45f474e3 Automatic translations update 2025-04-03 02:22:55 +00:00
renovate[bot]
33e98a995e chore(deps): update crowdin/github-action action to v2.7.0 (#3404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 09:21:24 +02:00
renovate[bot]
92b0e4bfb6 chore(deps): update asf-ui digest to 2771a20 (#3406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 05:30:59 +00:00
ArchiBot
2403ac17dc Automatic translations update 2025-04-02 02:23:43 +00:00
ArchiBot
ca74047828 Automatic translations update 2025-04-01 08:23:24 +00:00
Łukasz Domeradzki
21e951092d Update translations.yml 2025-04-01 10:22:47 +02:00
renovate[bot]
3ba97b49ba chore(deps): update peter-evans/dockerhub-description action to v4.0.1 2025-04-01 03:16:02 +00:00
renovate[bot]
5e739e483e chore(deps): update dependency scalar.aspnetcore to 2.1.4 2025-03-31 23:41:00 +00:00
renovate[bot]
992a4563c2 chore(deps): update asf-ui digest to b0cf3f0 2025-03-31 18:26:47 +00:00
renovate[bot]
3e9e1cb6ed chore(deps): update wiki digest to 55469ee 2025-03-31 12:35:58 +00:00
Łukasz Domeradzki
61f876480a General code cleanups 2025-03-31 00:06:05 +02:00
Łukasz Domeradzki
c2b1d1356c Misc optimization 2025-03-30 21:12:24 +02:00
Łukasz Domeradzki
d5ac569a6a Bump 2025-03-30 21:06:57 +02:00
Łukasz Domeradzki
0b1ddd39d5 Optimize serializable file writes 2025-03-30 21:06:33 +02:00
renovate[bot]
cbe0502154 chore(deps): update asf-ui digest to c311378 2025-03-30 06:14:12 +00:00
renovate[bot]
816914dd10 chore(deps): update crazy-max/ghaction-import-gpg action to v6.3.0 2025-03-30 02:09:52 +00:00
renovate[bot]
bcb4320f5d chore(deps): update dependency scalar.aspnetcore to 2.1.3 2025-03-28 22:48:05 +00:00
renovate[bot]
bc4d5d37ff chore(deps): update asf-ui digest to c16acf5 2025-03-27 12:04:46 +00:00
renovate[bot]
1996763751 chore(deps): update dependency scalar.aspnetcore to 2.1.2 2025-03-26 18:53:18 +00:00
renovate[bot]
99a0a5cc48 chore(deps): update asf-ui digest to a93167e 2025-03-26 05:57:09 +00:00
ArchiBot
63c91d2d19 Automatic translations update 2025-03-26 02:22:32 +00:00
renovate[bot]
d6be6cf435 chore(deps): update asf-ui digest to ee55958 2025-03-25 03:00:04 +00:00
renovate[bot]
8f7f9a27ee chore(deps): update asf-ui digest to 0b9c0c2 2025-03-22 06:46:28 +00:00
ArchiBot
b776d4d882 Automatic translations update 2025-03-22 02:21:23 +00:00
renovate[bot]
63c81c2403 chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.7.0 2025-03-21 19:49:13 +00:00
renovate[bot]
ad9a77ff19 chore(deps): update dependency scalar.aspnetcore to 2.1.1 2025-03-20 19:28:04 +00:00
renovate[bot]
2e17a15d60 chore(deps): update asf-ui digest to 5dcfb93 2025-03-20 03:09:58 +00:00
renovate[bot]
3fae20673b chore(deps): update actions/upload-artifact action to v4.6.2 2025-03-19 22:42:10 +00:00
renovate[bot]
5b36c1c286 chore(deps): update actions/download-artifact action to v4.2.1 2025-03-19 17:14:20 +00:00
renovate[bot]
4fc4d011f2 chore(deps): update dependency scalar.aspnetcore to 2.1.0 2025-03-19 07:40:28 +00:00
ArchiBot
91aa9754bb Automatic translations update 2025-03-19 02:22:16 +00:00
renovate[bot]
a6ba407ebf chore(deps): update actions/download-artifact action to v4.2.0 2025-03-18 18:54:59 +00:00
Łukasz Domeradzki
1cdb128c6b Bump 2025-03-18 19:54:28 +01:00
Łukasz Domeradzki
38ca6b7642 Update Scalar.AspNetCore 2025-03-18 19:50:45 +01:00
Łukasz Domeradzki
65c7a60c92 Switch to scalar for swagger-ui generation (#3391) 2025-03-18 19:47:43 +01:00
renovate[bot]
77c802ee5f chore(deps): update dependency swashbuckle.aspnetcore.swaggerui to 7.3.2 2025-03-18 11:31:12 +00:00
renovate[bot]
a8f23159f4 chore(deps): update asf-ui digest to d847829 2025-03-18 03:09:59 +00:00
renovate[bot]
ee8a7a6f61 chore(deps): update actions/setup-node action to v4.3.0 2025-03-17 23:28:51 +00:00
renovate[bot]
4a612b9436 chore(deps): update dependency mstest to 3.8.3 2025-03-17 16:55:26 +00:00
renovate[bot]
4d89995016 chore(deps): update asf-ui digest to f2393a2 2025-03-17 12:10:41 +00:00
renovate[bot]
368c453504 chore(deps): update actions/setup-dotnet action to v4.3.1 2025-03-17 05:46:02 +00:00
ArchiBot
1694851395 Automatic translations update 2025-03-16 02:23:25 +00:00
renovate[bot]
1ed4f3f456 chore(deps): update docker/login-action action to v3.4.0 2025-03-14 11:57:11 +00:00
renovate[bot]
588d49eeb9 chore(deps): update asf-ui digest to 41bfaf0 2025-03-12 19:26:11 +00:00
renovate[bot]
22d4f22da6 chore(deps): update asf-ui digest to 2c3829f (#3396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 11:39:52 +00:00
renovate[bot]
ced640f024 chore(deps): update dotnet monorepo to 9.0.3 2025-03-11 21:54:46 +00:00
renovate[bot]
7b8804b53c chore(deps): update dependency microsoft.codeanalysis.resxsourcegenerator to 3.11.0-beta1.25076.3 2025-03-11 19:08:49 +00:00
renovate[bot]
5d25742faf chore(deps): update asf-ui digest to bc98426 2025-03-11 03:22:59 +00:00
ArchiBot
4460b18c5e Automatic translations update 2025-03-11 02:21:55 +00:00
ArchiBot
cb5eb499d9 Automatic translations update 2025-03-10 02:11:40 +00:00
Łukasz Domeradzki
9382c6d390 Bump 2025-03-09 23:51:11 +01:00
Łukasz Domeradzki
7cd091cfa2 Implement dummy answer to ClientGetClientAppList request 2025-03-09 23:47:10 +01:00
renovate[bot]
961dc4cf5d chore(deps): update asf-ui digest to c1e8e5b 2025-03-09 05:32:53 +00:00
ArchiBot
f77193dc48 Automatic translations update 2025-03-09 02:10:59 +00:00
renovate[bot]
a4b31d2cdc chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to 8.6.1 (#3393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-08 21:50:56 +00:00
renovate[bot]
83b3edae86 chore(deps): update asf-ui digest to a48983b (#3394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-08 17:55:33 +00:00
Łukasz Domeradzki
ebc4601ed4 Add another useful json helper 2025-03-08 15:00:38 +01:00
Łukasz Domeradzki
a478c02967 Remove qodana support 2025-03-08 11:56:56 +01:00
renovate[bot]
aac1f81704 chore(deps): update opentelemetry-dotnet-contrib monorepo to 1.11.1 2025-03-06 05:37:39 +00:00
ArchiBot
100b85abe0 Automatic translations update 2025-03-06 02:21:28 +00:00
renovate[bot]
bb52122db1 chore(deps): update actions/attest-build-provenance action to v2.2.3 2025-03-05 23:37:03 +00:00
renovate[bot]
397b36c557 chore(deps): update asf-ui digest to 4cba2a6 2025-03-05 12:14:04 +00:00
renovate[bot]
77b041ea67 chore(deps): update dependency opentelemetry.extensions.hosting to 1.11.2 2025-03-04 22:34:48 +00:00
renovate[bot]
b1d896ae70 chore(deps): update asf-ui digest to c8faaa2 2025-03-04 03:28:37 +00:00
ArchiBot
8f5157d8dd Automatic translations update 2025-03-03 08:39:18 +00:00
Łukasz Domeradzki
c5cf5f70c8 Bump 2025-03-02 22:17:40 +01:00
ArchiBot
88f7856c9b Automatic translations update 2025-03-02 11:26:14 +00:00
Łukasz Domeradzki
d843d1d5b1 Remove deprecated functionalities, bump 2025-03-01 15:22:04 +01:00
renovate[bot]
921b416374 chore(deps): update asf-ui digest to e0efa0f 2025-02-28 22:08:34 +00:00
renovate[bot]
c2eac39145 chore(deps): update dependency swashbuckle.aspnetcore.swaggerui to 7.3.1 2025-02-27 23:10:42 +00:00
renovate[bot]
467dbf723d chore(deps): update actions/attest-build-provenance action to v2.2.2 2025-02-27 19:21:44 +00:00
renovate[bot]
9460b476dd chore(deps): update docker/setup-buildx-action action to v3.10.0 2025-02-27 06:38:29 +00:00
renovate[bot]
16fb5a7d98 chore(deps): update actions/attest-build-provenance action to v2.2.1 2025-02-27 01:35:23 +00:00
renovate[bot]
c17da5951d chore(deps): update asf-ui digest to 19776b3 2025-02-26 22:25:40 +00:00
renovate[bot]
66a959d21c chore(deps): update docker/build-push-action action to v6.15.0 2025-02-26 16:27:29 +00:00
renovate[bot]
480037b84b chore(deps): update dependency swashbuckle.aspnetcore.swaggerui to 7.3.0 2025-02-26 11:52:42 +00:00
renovate[bot]
fa7867ab18 chore(deps): update actions/download-artifact action to v4.1.9 2025-02-26 02:52:48 +00:00
ArchiBot
0c5cdfae0a Automatic translations update 2025-02-26 02:20:45 +00:00
renovate[bot]
7e5f82d65b chore(deps): update asf-ui digest to 9546310 2025-02-25 07:33:09 +00:00
Łukasz Domeradzki
9753b36769 Misc 2025-02-23 19:56:23 +01:00
Łukasz Domeradzki
fd2c1e8c24 Bump 2025-02-23 19:21:50 +01:00
128 changed files with 3897 additions and 1804 deletions

View File

@@ -1,7 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"config:best-practices",
":assignee(JustArchi)",
":automergeBranch",
":automergeDigest",
@@ -10,7 +11,17 @@
":disableRateLimiting",
":label(🤖 Automatic)"
],
"git-submodules": {
"enabled": true
}
},
"packageRules": [
{
// TODO: Allow updates of selected packages with no stable release (yet) to latest versions
"matchManagers": [ "nuget" ],
"matchPackageNames": [ "Microsoft.CodeAnalysis.ResxSourceGenerator", "OpenTelemetry.Exporter.Prometheus.AspNetCore" ],
"ignoreUnstable": false
}
]
}

View File

@@ -21,13 +21,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v4.3.0
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
with:
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
@@ -38,4 +38,4 @@ jobs:
run: dotnet build -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo
- name: Run ${{ matrix.configuration }} ArchiSteamFarm.Tests
run: dotnet test ArchiSteamFarm.Tests -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo
run: dotnet test ArchiSteamFarm.Tests -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --filter TestCategory!=Manual --nologo

View File

@@ -1,39 +0,0 @@
name: ASF-code-quality
on:
- push
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
permissions:
checks: write
contents: write
pull-requests: write
security-events: write
jobs:
main:
environment: qa-qodana
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
with:
show-progress: false
- name: Run Qodana scan
uses: JetBrains/qodana-action@v2024.3.4
with:
args: --config,.github/qodana.yaml,--property=idea.headless.enable.statistics=false
pr-mode: false
upload-result: true
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- name: Report Qodana results to GitHub
uses: github/codeql-action/upload-sarif@v3.28.10
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json

View File

@@ -14,13 +14,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Upload latest strings for translation on Crowdin
uses: crowdin/github-action@v2.6.1
uses: crowdin/github-action@0749939f635900a2521aa6aac7a3766642b2dc71 # v2.11.0
with:
crowdin_branch_name: main
config: '.github/crowdin.yml'

View File

@@ -19,16 +19,16 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Build ${{ matrix.configuration }} Docker image from ${{ matrix.file }}
uses: docker/build-push-action@v6.14.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
build-args: CONFIGURATION=${{ matrix.configuration }}
context: .

View File

@@ -18,23 +18,23 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to ghcr.io
uses: docker/login-action@v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -50,7 +50,7 @@ jobs:
echo "DH_REPOSITORY=$(echo ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV"
- name: Build and publish Docker image from Dockerfile.Service
uses: docker/build-push-action@v6.14.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: Dockerfile.Service

View File

@@ -19,23 +19,23 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to ghcr.io
uses: docker/login-action@v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -50,7 +50,7 @@ jobs:
echo "DH_REPOSITORY=$(echo ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV"
- name: Build and publish Docker image from Dockerfile
uses: docker/build-push-action@v6.14.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
platforms: ${{ env.PLATFORMS }}
@@ -69,7 +69,7 @@ jobs:
push: true
- name: Update DockerHub repository description
uses: peter-evans/dockerhub-description@v4.0.0
uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

View File

@@ -19,23 +19,23 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.9.0
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to ghcr.io
uses: docker/login-action@v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v3.3.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -51,7 +51,7 @@ jobs:
echo "DH_REPOSITORY=$(echo ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV"
- name: Build and publish Docker image from Dockerfile
uses: docker/build-push-action@v6.14.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
platforms: ${{ env.PLATFORMS }}

View File

@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Lock inactive threads
uses: dessant/lock-threads@v5.0.1
uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with:
discussion-inactive-days: 90
issue-inactive-days: 60

View File

@@ -19,13 +19,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
- name: Setup Node.js with npm
uses: actions/setup-node@v4.2.0
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
check-latest: true
node-version: ${{ env.NODE_JS_VERSION }}
@@ -43,8 +43,9 @@ jobs:
run: npm run-script deploy --no-progress --prefix ASF-ui
- name: Upload ASF-ui
uses: actions/upload-artifact@v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
compression-level: 1
if-no-files-found: error
name: ASF-ui
path: ASF-ui/dist
@@ -73,7 +74,6 @@ jobs:
- os: windows-latest
variant: win-x64
environment: build
runs-on: ${{ matrix.os }}
permissions:
@@ -82,12 +82,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
- name: Setup .NET Core
uses: actions/setup-dotnet@v4.3.0
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
with:
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
@@ -95,7 +95,7 @@ jobs:
run: dotnet --info
- name: Download previously built ASF-ui
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ASF-ui
path: ASF-ui/dist
@@ -362,13 +362,14 @@ jobs:
- name: Generate artifact attestation for ASF-${{ matrix.variant }}.zip
if: ${{ github.event_name == 'push' }}
uses: actions/attest-build-provenance@v2.2.0
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
with:
subject-path: out/ASF-${{ matrix.variant }}.zip
- name: Upload ASF-${{ matrix.variant }}
uses: actions/upload-artifact@v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
compression-level: 1
if-no-files-found: error
name: ${{ matrix.os }}_ASF-${{ matrix.variant }}
path: out/ASF-${{ matrix.variant }}.zip
@@ -409,14 +410,15 @@ jobs:
- name: Generate artifact attestation for ArchiSteamFarm.OfficialPlugins.Monitoring
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.variant == 'generic' }}
uses: actions/attest-build-provenance@v2.2.0
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
with:
subject-path: out/ArchiSteamFarm.OfficialPlugins.Monitoring.zip
- name: Upload ArchiSteamFarm.OfficialPlugins.Monitoring
if: ${{ matrix.os == 'ubuntu-latest' && matrix.variant == 'generic' }}
uses: actions/upload-artifact@v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
compression-level: 1
if-no-files-found: error
name: ArchiSteamFarm.OfficialPlugins.Monitoring
path: out/ArchiSteamFarm.OfficialPlugins.Monitoring.zip
@@ -434,66 +436,66 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
- name: Download ASF-generic artifact from ubuntu-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ubuntu-latest_ASF-generic
path: out
- name: Download ASF-linux-arm artifact from ubuntu-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ubuntu-latest_ASF-linux-arm
path: out
- name: Download ASF-linux-arm64 artifact from ubuntu-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ubuntu-latest_ASF-linux-arm64
path: out
- name: Download ASF-linux-x64 artifact from ubuntu-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ubuntu-latest_ASF-linux-x64
path: out
- name: Download ASF-osx-arm64 artifact from macos-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: macos-latest_ASF-osx-arm64
path: out
- name: Download ASF-osx-x64 artifact from macos-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: macos-latest_ASF-osx-x64
path: out
- name: Download ASF-win-arm64 artifact from windows-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: windows-latest_ASF-win-arm64
path: out
- name: Download ASF-win-x64 artifact from windows-latest
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: windows-latest_ASF-win-x64
path: out
- name: Download ArchiSteamFarm.OfficialPlugins.Monitoring artifact
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: ArchiSteamFarm.OfficialPlugins.Monitoring
path: out
- name: Import GPG key for signing
uses: crazy-max/ghaction-import-gpg@v6.2.0
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
with:
gpg_private_key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
@@ -507,36 +509,39 @@ jobs:
gpg -a -b -o SHA512SUMS.sign SHA512SUMS
- name: Generate artifact attestation for SHA512SUMS
uses: actions/attest-build-provenance@v2.2.0
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
with:
subject-path: out/SHA512SUMS
- name: Upload SHA512SUMS
uses: actions/upload-artifact@v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
compression-level: 1
if-no-files-found: error
name: SHA512SUMS
path: out/SHA512SUMS
- name: Generate artifact attestation for SHA512SUMS.sign
uses: actions/attest-build-provenance@v2.2.0
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
with:
subject-path: out/SHA512SUMS.sign
- name: Upload SHA512SUMS.sign
uses: actions/upload-artifact@v4.6.1
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
compression-level: 1
if-no-files-found: error
name: SHA512SUMS.sign
path: out/SHA512SUMS.sign
- name: Create ArchiSteamFarm GitHub release
uses: ncipollo/release-action@v1.16.0
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
with:
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: "out/*"
bodyFile: .github/RELEASE_TEMPLATE.md
immutableCreate: true
makeLatest: false
name: ArchiSteamFarm V${{ github.ref_name }}
prerelease: true

View File

@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
show-progress: false
submodules: recursive
@@ -27,11 +27,11 @@ jobs:
run: |
set -eu
git fetch --depth=1 origin master
git fetch origin master
git reset --hard origin/master
- name: Download latest translations from Crowdin
uses: crowdin/github-action@v2.6.1
uses: crowdin/github-action@0749939f635900a2521aa6aac7a3766642b2dc71 # v2.11.0
with:
upload_sources: false
download_translations: true
@@ -43,7 +43,7 @@ jobs:
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}
- name: Import GPG key for signing
uses: crazy-max/ghaction-import-gpg@v6.2.0
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
with:
gpg_private_key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
git_config_global: true

2
ASF-ui

Submodule ASF-ui updated: 687959ad86...96606b83ed

View File

@@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
</ItemGroup>

View File

@@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
</ItemGroup>

View File

@@ -4,8 +4,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AngleSharp.XPath" IncludeAssets="compile" />
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="AngleSharp" IncludeAssets="compile" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />
</ItemGroup>

View File

@@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />

View File

@@ -38,56 +38,54 @@ namespace ArchiSteamFarm.OfficialPlugins.ItemsMatcher;
internal sealed class BotCache : SerializableFile {
[JsonDisallowNull]
[JsonInclude]
[JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)]
internal ConcurrentList<AssetForListing> LastAnnouncedAssetsForListing { get; private init; } = [];
[JsonInclude]
[JsonPropertyName("BackingLastAnnouncedTradeToken")]
internal string? LastAnnouncedTradeToken {
get => BackingLastAnnouncedTradeToken;
get;
set {
if (BackingLastAnnouncedTradeToken == value) {
if (field == value) {
return;
}
BackingLastAnnouncedTradeToken = value;
field = value;
Utilities.InBackground(Save);
}
}
[JsonInclude]
[JsonPropertyName("BackingLastInventoryChecksumBeforeDeduplication")]
internal string? LastInventoryChecksumBeforeDeduplication {
get => BackingLastInventoryChecksumBeforeDeduplication;
get;
set {
if (BackingLastInventoryChecksumBeforeDeduplication == value) {
if (field == value) {
return;
}
BackingLastInventoryChecksumBeforeDeduplication = value;
field = value;
Utilities.InBackground(Save);
}
}
[JsonInclude]
[JsonPropertyName("BackingLastRequestAt")]
internal DateTime? LastRequestAt {
get => BackingLastRequestAt;
get;
set {
if (BackingLastRequestAt == value) {
if (field == value) {
return;
}
BackingLastRequestAt = value;
field = value;
Utilities.InBackground(Save);
}
}
[JsonInclude]
private string? BackingLastAnnouncedTradeToken { get; set; }
[JsonInclude]
private string? BackingLastInventoryChecksumBeforeDeduplication { get; set; }
[JsonInclude]
private DateTime? BackingLastRequestAt { get; set; }
private BotCache(string filePath) : this() {
ArgumentException.ThrowIfNullOrEmpty(filePath);
@@ -97,18 +95,18 @@ internal sealed class BotCache : SerializableFile {
[JsonConstructor]
private BotCache() => LastAnnouncedAssetsForListing.OnModified += OnObjectModified;
[UsedImplicitly]
public bool ShouldSerializeBackingLastAnnouncedTradeToken() => !string.IsNullOrEmpty(BackingLastAnnouncedTradeToken);
[UsedImplicitly]
public bool ShouldSerializeBackingLastInventoryChecksumBeforeDeduplication() => !string.IsNullOrEmpty(BackingLastInventoryChecksumBeforeDeduplication);
[UsedImplicitly]
public bool ShouldSerializeBackingLastRequestAt() => BackingLastRequestAt.HasValue;
[UsedImplicitly]
public bool ShouldSerializeLastAnnouncedAssetsForListing() => LastAnnouncedAssetsForListing.Count > 0;
[UsedImplicitly]
public bool ShouldSerializeLastAnnouncedTradeToken() => !string.IsNullOrEmpty(LastAnnouncedTradeToken);
[UsedImplicitly]
public bool ShouldSerializeLastInventoryChecksumBeforeDeduplication() => !string.IsNullOrEmpty(LastInventoryChecksumBeforeDeduplication);
[UsedImplicitly]
public bool ShouldSerializeLastRequestAt() => LastRequestAt.HasValue;
protected override void Dispose(bool disposing) {
if (disposing) {
// Events we registered

View File

@@ -64,6 +64,10 @@
<value>Matched totalt {0} sæt denne runde.</value>
<comment>{0} will be replaced by number of sets traded</comment>
</data>
<data name="ListingAnnouncing" xml:space="preserve">
<value>Annoncerer {0} ({1}) med inventar lavet af {2} varer i alt på listen...</value>
<comment>{0} will be replaced by steam ID (number), {1} will be replaced by user's nickname, {2} will be replaced with number of items in the inventory</comment>
</data>
<data name="MatchingFound" xml:space="preserve">
<value>Matchede i alt {0} varer med bot {1} ({2}), sender handelstilbud...</value>
<comment>{0} will be replaced by number of items matched, {1} will be replaced by steam ID (number), {2} will be replaced by user's nickname</comment>

View File

@@ -64,4 +64,16 @@
<value>Ο τελικός αριθμός συνόλων που έχουν ταιριάξει είναι {0}, αυτόν τον γύρο.</value>
<comment>{0} will be replaced by number of sets traded</comment>
</data>
<data name="ListingAnnouncing" xml:space="preserve">
<value>Ανακοίνωση {0} ({1}) με απογραφή από στοιχεία {2} συνολικά στην καταχώρηση...</value>
<comment>{0} will be replaced by steam ID (number), {1} will be replaced by user's nickname, {2} will be replaced with number of items in the inventory</comment>
</data>
<data name="MatchingFound" xml:space="preserve">
<value>Ταίριαξε ένα σύνολο αντικειμένων {0} με bot {1} ({2}), στέλνοντας προσφορά συναλλαγής...</value>
<comment>{0} will be replaced by number of items matched, {1} will be replaced by steam ID (number), {2} will be replaced by user's nickname</comment>
</data>
<data name="TradeOfferFailed" xml:space="preserve">
<value>Αποτυχία αποστολής μιας προσφοράς συναλλαγής στο bot {0} ({1}), με κίνηση...</value>
<comment>{0} will be replaced by steam ID (number), {1} will be replaced by user's nickname'</comment>
</data>
</root>

View File

@@ -64,6 +64,10 @@
<value>Abbinati un totale di {0} set questo round.</value>
<comment>{0} will be replaced by number of sets traded</comment>
</data>
<data name="ListingAnnouncing" xml:space="preserve">
<value>Annuncio {0} ({1}) con inventario fatto di elementi {2} in totale sulla lista...</value>
<comment>{0} will be replaced by steam ID (number), {1} will be replaced by user's nickname, {2} will be replaced with number of items in the inventory</comment>
</data>
<data name="MatchingFound" xml:space="preserve">
<value>Abbinato un totale di {0} elementi tramite bot {1} ({2}), inviando un'offerta commerciale...</value>
<comment>{0} will be replaced by number of items matched, {1} will be replaced by steam ID (number), {2} will be replaced by user's nickname</comment>

View File

@@ -64,4 +64,20 @@
<value>すべてのうち、{0} セットにマッチしたためこのラウンドを終了します。</value>
<comment>{0} will be replaced by number of sets traded</comment>
</data>
<data name="ListingAnnouncing" xml:space="preserve">
<value>{0}{1})をリスト上でアナウンス中です。インベントリには合計 {2} 個のアイテムが含まれています…</value>
<comment>{0} will be replaced by steam ID (number), {1} will be replaced by user's nickname, {2} will be replaced with number of items in the inventory</comment>
</data>
<data name="MatchingFound" xml:space="preserve">
<value>ボット {1}{2})と合計 {0} 個のアイテムが一致しました。トレードオファーを送信しています…</value>
<comment>{0} will be replaced by number of items matched, {1} will be replaced by steam ID (number), {2} will be replaced by user's nickname</comment>
</data>
<data name="TradeOfferFailed" xml:space="preserve">
<value>ボット {0} ({1})にトレードオファーを送信できませんでした。次に進みます…</value>
<comment>{0} will be replaced by steam ID (number), {1} will be replaced by user's nickname'</comment>
</data>
<data name="ActivelyMatchingSomeConfirmationsFailed" xml:space="preserve">
<value>いくつかの確認に失敗しました。 {0} の取引から約 {1} が正常に送信されました。</value>
<comment>{0} will be replaced by amount of the trade offers that succeeded (number), {1} will be replaced by amount of the trade offers that were supposed to be sent in total (number)</comment>
</data>
</root>

View File

@@ -60,14 +60,14 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
private const byte MinHeartBeatTTL = 10; // Minimum amount of minutes we must wait before sending next HeartBeat
private const byte MinimumPasswordResetCooldownDays = 5; // As imposed by Steam limits
private const byte MinimumSteamGuardEnabledDays = 15; // As imposed by Steam limits
private const byte MinPersonaStateTTL = 5; // Minimum amount of minutes we must wait before requesting persona state update
private const byte MinPersonaStateTTL = MinAnnouncementTTL; // Minimum amount of minutes we must wait before requesting persona state update
private static readonly FrozenSet<EAssetType> AcceptedMatchableTypes = new HashSet<EAssetType>(4) {
private static readonly FrozenSet<EAssetType> AcceptedMatchableTypes = [
EAssetType.Emoticon,
EAssetType.FoilTradingCard,
EAssetType.ProfileBackground,
EAssetType.TradingCard
}.ToFrozenSet();
];
private readonly Bot Bot;
private readonly Timer? HeartBeatTimer;
@@ -187,7 +187,7 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
return;
}
if ((DateTime.UtcNow < LastAnnouncement.AddMinutes(ShouldSendAnnouncementEarlier ? MinAnnouncementTTL : MaxAnnouncementTTL)) && ShouldSendHeartBeats) {
if (DateTime.UtcNow < LastAnnouncement.AddMinutes(ShouldSendAnnouncementEarlier ? MinAnnouncementTTL : MaxAnnouncementTTL)) {
return;
}
@@ -199,7 +199,7 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
await RequestsSemaphore.WaitAsync().ConfigureAwait(false);
try {
if ((DateTime.UtcNow < LastAnnouncement.AddMinutes(ShouldSendAnnouncementEarlier ? MinAnnouncementTTL : MaxAnnouncementTTL)) && ShouldSendHeartBeats) {
if (DateTime.UtcNow < LastAnnouncement.AddMinutes(ShouldSendAnnouncementEarlier ? MinAnnouncementTTL : MaxAnnouncementTTL)) {
return;
}
@@ -233,6 +233,7 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
HashSet<EAssetType> acceptedMatchableTypes = Bot.BotConfig.MatchableTypes.Where(AcceptedMatchableTypes.Contains).ToHashSet();
if (acceptedMatchableTypes.Count == 0) {
// Should never happen, since IsEligibleForListing() check above ensured we have at least one matchable type
throw new InvalidOperationException(nameof(acceptedMatchableTypes));
}
@@ -905,9 +906,8 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
HashSet<EAssetType> acceptedMatchableTypes = Bot.BotConfig.MatchableTypes.Where(AcceptedMatchableTypes.Contains).ToHashSet();
if (acceptedMatchableTypes.Count == 0) {
Bot.ArchiLogger.LogNullError(acceptedMatchableTypes);
return;
// Should never happen, since IsEligibleForMatching() check above ensured we have at least one matchable type
throw new InvalidOperationException(nameof(acceptedMatchableTypes));
}
if (!await MatchActivelySemaphore.WaitAsync(0).ConfigureAwait(false)) {
@@ -1276,20 +1276,7 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
Bot.ArchiLogger.LogGenericTrace($"{listedUser.SteamID}...");
byte? tradeHoldDuration = await Bot.ArchiWebHandler.GetCombinedTradeHoldDurationAgainstUser(listedUser.SteamID, listedUser.TradeToken).ConfigureAwait(false);
switch (tradeHoldDuration) {
case null:
Bot.ArchiLogger.LogGenericTrace(Strings.FormatErrorIsEmpty(nameof(tradeHoldDuration)));
continue;
case > 0 when (tradeHoldDuration.Value > maxTradeHoldDuration) || (tradeHoldDuration.Value > listedUser.MaxTradeHoldDuration):
Bot.ArchiLogger.LogGenericTrace($"{tradeHoldDuration.Value} > {maxTradeHoldDuration} || {listedUser.MaxTradeHoldDuration}");
continue;
}
HashSet<Asset> theirInventory = listedUser.Assets.Where(item => (!listedUser.MatchEverything || item.Tradable) && wantedSets.Contains((item.RealAppID, item.Type, item.Rarity)) && ((tradeHoldDuration.Value == 0) || !(item.Type is EAssetType.FoilTradingCard or EAssetType.TradingCard && CardsFarmer.SalesBlacklist.Contains(item.RealAppID)))).Select(static asset => asset.ToAsset()).ToHashSet();
HashSet<Asset> theirInventory = listedUser.Assets.Where(item => (!listedUser.MatchEverything || item.Tradable) && wantedSets.Contains((item.RealAppID, item.Type, item.Rarity))).Select(static asset => asset.ToAsset()).ToHashSet();
if (theirInventory.Count == 0) {
continue;
@@ -1297,6 +1284,8 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
skippedSetsThisUser.Clear();
byte? tradeHoldDuration = null;
Dictionary<(uint RealAppID, EAssetType Type, EAssetRarity Rarity), Dictionary<ulong, uint>> theirTradableState = MatchingUtilities.GetTradableInventoryState(theirInventory);
for (byte i = 0; i < Trading.MaxTradesPerAccount; i++) {
@@ -1335,6 +1324,10 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
match = false;
foreach ((ulong ourItem, uint ourFullAmount) in ourFullSet.Where(static item => item.Value > 1).OrderByDescending(static item => item.Value)) {
if ((tradeHoldDuration > maxTradeHoldDuration) || (tradeHoldDuration > listedUser.MaxTradeHoldDuration)) {
break;
}
if (!ourTradableSet.TryGetValue(ourItem, out uint ourTradableAmount) || (ourTradableAmount == 0)) {
continue;
}
@@ -1378,6 +1371,29 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
}
}
// Now that we have a match, check trade hold to ensure user is valid to match against
// Since it involves remote call, we didn't do it previously, to skip checking against users with no matches for us
if (tradeHoldDuration == null) {
tradeHoldDuration = await Bot.ArchiWebHandler.GetCombinedTradeHoldDurationAgainstUser(listedUser.SteamID, listedUser.TradeToken).ConfigureAwait(false);
if (tradeHoldDuration == null) {
Bot.ArchiLogger.LogGenericTrace(Strings.FormatErrorIsEmpty(nameof(tradeHoldDuration)));
break;
}
if ((tradeHoldDuration.Value > maxTradeHoldDuration) || (tradeHoldDuration.Value > listedUser.MaxTradeHoldDuration)) {
Bot.ArchiLogger.LogGenericTrace($"{tradeHoldDuration.Value} > {maxTradeHoldDuration} || {listedUser.MaxTradeHoldDuration}");
break;
}
}
if ((tradeHoldDuration.Value > 0) && set.Type is EAssetType.FoilTradingCard or EAssetType.TradingCard && CardsFarmer.SalesBlacklist.Contains(set.RealAppID)) {
// We're not considering this set for matching due to trade hold
continue;
}
// Skip this set from the remaining of this round
skippedSetsThisTrade.Add(set);

View File

@@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />

View File

@@ -135,12 +135,6 @@ internal static class Commands {
mobileAuthenticator.Init(bot);
MobileAuthenticatorHandler? mobileAuthenticatorHandler = bot.GetHandler<MobileAuthenticatorHandler>();
if (mobileAuthenticatorHandler == null) {
throw new InvalidOperationException(nameof(mobileAuthenticatorHandler));
}
ulong steamTime = await mobileAuthenticator.GetSteamTime().ConfigureAwait(false);
string? code = mobileAuthenticator.GenerateTokenForTime(steamTime);
@@ -149,10 +143,10 @@ internal static class Commands {
return bot.Commands.FormatBotResponse(Strings.FormatWarningFailedWithError(nameof(mobileAuthenticator.GenerateTokenForTime)));
}
CTwoFactor_FinalizeAddAuthenticator_Response? response = await mobileAuthenticatorHandler.FinalizeAuthenticator(bot.SteamID, activationCode, code, steamTime).ConfigureAwait(false);
CTwoFactor_FinalizeAddAuthenticator_Response? response = await MobileAuthenticatorWebHandler.FinalizeAuthenticator(bot, activationCode, code, steamTime).ConfigureAwait(false);
if (response == null) {
return bot.Commands.FormatBotResponse(Strings.FormatWarningFailedWithError(nameof(mobileAuthenticatorHandler.FinalizeAuthenticator)));
return bot.Commands.FormatBotResponse(Strings.FormatWarningFailedWithError(nameof(MobileAuthenticatorWebHandler.FinalizeAuthenticator)));
}
if (!response.success) {
@@ -319,18 +313,12 @@ internal static class Commands {
return bot.Commands.FormatBotResponse(Strings.BotNotConnected);
}
MobileAuthenticatorHandler? mobileAuthenticatorHandler = bot.GetHandler<MobileAuthenticatorHandler>();
if (mobileAuthenticatorHandler == null) {
throw new InvalidOperationException(nameof(mobileAuthenticatorHandler));
}
string deviceID = $"android:{Guid.NewGuid()}";
CTwoFactor_AddAuthenticator_Response? response = await mobileAuthenticatorHandler.AddAuthenticator(bot.SteamID, deviceID).ConfigureAwait(false);
CTwoFactor_AddAuthenticator_Response? response = await MobileAuthenticatorWebHandler.AddAuthenticator(bot, deviceID).ConfigureAwait(false);
if (response == null) {
return bot.Commands.FormatBotResponse(Strings.WarningFailed);
return bot.Commands.FormatBotResponse(Strings.FormatWarningFailedWithError(nameof(MobileAuthenticatorWebHandler.AddAuthenticator)));
}
EResult result = (EResult) response.status;

View File

@@ -1,118 +0,0 @@
// ----------------------------------------------------------------------------------------------
// _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || | | | | || _|| (_| || | | | | | | |
// /_/ \_\|_| \___||_| |_||_||____/ \__|\___| \__,_||_| |_| |_||_| \__,_||_| |_| |_| |_|
// ----------------------------------------------------------------------------------------------
// |
// Copyright 2015-2025 Łukasz "JustArchi" Domeradzki
// Contact: JustArchi@JustArchi.net
// |
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// |
// http://www.apache.org/licenses/LICENSE-2.0
// |
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
using System.Threading.Tasks;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.NLog;
using SteamKit2;
using SteamKit2.Internal;
namespace ArchiSteamFarm.OfficialPlugins.MobileAuthenticator;
internal sealed class MobileAuthenticatorHandler : ClientMsgHandler {
private readonly ArchiLogger ArchiLogger;
private readonly TwoFactor UnifiedTwoFactorService;
internal MobileAuthenticatorHandler(ArchiLogger archiLogger, SteamUnifiedMessages steamUnifiedMessages) {
ArgumentNullException.ThrowIfNull(archiLogger);
ArgumentNullException.ThrowIfNull(steamUnifiedMessages);
ArchiLogger = archiLogger;
UnifiedTwoFactorService = steamUnifiedMessages.CreateService<TwoFactor>();
}
public override void HandleMsg(IPacketMsg packetMsg) => ArgumentNullException.ThrowIfNull(packetMsg);
internal async Task<CTwoFactor_AddAuthenticator_Response?> AddAuthenticator(ulong steamID, string deviceID) {
if ((steamID == 0) || !new SteamID(steamID).IsIndividualAccount) {
throw new ArgumentOutOfRangeException(nameof(steamID));
}
ArgumentException.ThrowIfNullOrEmpty(deviceID);
if (Client == null) {
throw new InvalidOperationException(nameof(Client));
}
if (!Client.IsConnected) {
return null;
}
CTwoFactor_AddAuthenticator_Request request = new() {
authenticator_type = 1,
authenticator_time = Utilities.GetUnixTime(),
device_identifier = deviceID,
steamid = steamID
};
SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_AddAuthenticator_Response> response;
try {
response = await UnifiedTwoFactorService.AddAuthenticator(request).ToLongRunningTask().ConfigureAwait(false);
} catch (Exception e) {
ArchiLogger.LogGenericWarningException(e);
return null;
}
return response.Result == EResult.OK ? response.Body : null;
}
internal async Task<CTwoFactor_FinalizeAddAuthenticator_Response?> FinalizeAuthenticator(ulong steamID, string activationCode, string authenticatorCode, ulong authenticatorTime) {
if ((steamID == 0) || !new SteamID(steamID).IsIndividualAccount) {
throw new ArgumentOutOfRangeException(nameof(steamID));
}
ArgumentException.ThrowIfNullOrEmpty(activationCode);
ArgumentException.ThrowIfNullOrEmpty(authenticatorCode);
ArgumentOutOfRangeException.ThrowIfNegativeOrZero(authenticatorTime);
if (Client == null) {
throw new InvalidOperationException(nameof(Client));
}
if (!Client.IsConnected) {
return null;
}
CTwoFactor_FinalizeAddAuthenticator_Request request = new() {
activation_code = activationCode,
authenticator_code = authenticatorCode,
authenticator_time = authenticatorTime,
steamid = steamID
};
SteamUnifiedMessages.ServiceMethodResponse<CTwoFactor_FinalizeAddAuthenticator_Response> response;
try {
response = await UnifiedTwoFactorService.FinalizeAddAuthenticator(request).ToLongRunningTask().ConfigureAwait(false);
} catch (Exception e) {
ArchiLogger.LogGenericWarningException(e);
return null;
}
return response.Result == EResult.OK ? response.Body : null;
}
}

View File

@@ -22,7 +22,6 @@
// limitations under the License.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Composition;
using System.Diagnostics.CodeAnalysis;
@@ -39,7 +38,7 @@ namespace ArchiSteamFarm.OfficialPlugins.MobileAuthenticator;
[Export(typeof(IPlugin))]
[SuppressMessage("ReSharper", "MemberCanBeFileLocal")]
internal sealed class MobileAuthenticatorPlugin : OfficialPlugin, IBotCommand2, IBotSteamClient {
internal sealed class MobileAuthenticatorPlugin : OfficialPlugin, IBotCommand2 {
[JsonInclude]
public override string Name => nameof(MobileAuthenticatorPlugin);
@@ -66,25 +65,6 @@ internal sealed class MobileAuthenticatorPlugin : OfficialPlugin, IBotCommand2,
return await Commands.OnBotCommand(bot, access, message, args, steamID).ConfigureAwait(false);
}
public Task OnBotSteamCallbacksInit(Bot bot, CallbackManager callbackManager) {
ArgumentNullException.ThrowIfNull(bot);
ArgumentNullException.ThrowIfNull(callbackManager);
return Task.CompletedTask;
}
public Task<IReadOnlyCollection<ClientMsgHandler>?> OnBotSteamHandlersInit(Bot bot) {
ArgumentNullException.ThrowIfNull(bot);
SteamUnifiedMessages? steamUnifiedMessages = bot.GetHandler<SteamUnifiedMessages>();
if (steamUnifiedMessages == null) {
throw new InvalidOperationException(nameof(steamUnifiedMessages));
}
return Task.FromResult<IReadOnlyCollection<ClientMsgHandler>?>(new HashSet<ClientMsgHandler>(1) { new MobileAuthenticatorHandler(bot.ArchiLogger, steamUnifiedMessages) });
}
public override Task OnLoaded() {
Utilities.WarnAboutIncompleteTranslation(Strings.ResourceManager);

View File

@@ -0,0 +1,174 @@
// ----------------------------------------------------------------------------------------------
// _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || | | | | || _|| (_| || | | | | | | |
// /_/ \_\|_| \___||_| |_||_||____/ \__|\___| \__,_||_| |_| |_||_| \__,_||_| |_| |_| |_|
// ----------------------------------------------------------------------------------------------
// |
// Copyright 2015-2025 Łukasz "JustArchi" Domeradzki
// Contact: JustArchi@JustArchi.net
// |
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// |
// http://www.apache.org/licenses/LICENSE-2.0
// |
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.Localization;
using ArchiSteamFarm.Steam;
using ArchiSteamFarm.Steam.Integration;
using ArchiSteamFarm.Web;
using SteamKit2;
using SteamKit2.Internal;
namespace ArchiSteamFarm.OfficialPlugins.MobileAuthenticator;
internal static class MobileAuthenticatorWebHandler {
private const string TwoFactorService = "ITwoFactorService";
internal static async Task<CTwoFactor_AddAuthenticator_Response?> AddAuthenticator(Bot bot, string deviceID) {
ArgumentNullException.ThrowIfNull(bot);
ArgumentException.ThrowIfNullOrEmpty(deviceID);
if (!bot.IsConnectedAndLoggedOn) {
return null;
}
string? accessToken = bot.AccessToken;
if (string.IsNullOrEmpty(accessToken)) {
return null;
}
const string endpoint = "AddAuthenticator";
HttpMethod method = HttpMethod.Post;
CTwoFactor_AddAuthenticator_Request request = new() {
authenticator_time = Utilities.GetUnixTime(),
authenticator_type = 1,
device_identifier = deviceID,
steamid = bot.SteamID
};
Dictionary<string, object?> arguments = new(1, StringComparer.Ordinal) {
{ "access_token", accessToken }
};
using WebAPI.AsyncInterface twoFactorService = bot.SteamConfiguration.GetAsyncWebAPIInterface(TwoFactorService);
twoFactorService.Timeout = bot.ArchiWebHandler.WebBrowser.Timeout;
WebAPI.WebAPIResponse<CTwoFactor_AddAuthenticator_Response>? response = null;
for (byte i = 0; (i < WebBrowser.MaxTries) && (response == null); i++) {
if ((i > 0) && (ArchiWebHandler.WebLimiterDelay > 0)) {
await Task.Delay(ArchiWebHandler.WebLimiterDelay).ConfigureAwait(false);
}
if (Debugging.IsUserDebugging) {
bot.ArchiLogger.LogGenericDebug($"{method} {bot.SteamConfiguration.WebAPIBaseAddress}{TwoFactorService}/{endpoint}");
}
try {
response = await ArchiWebHandler.WebLimitRequest(
bot.SteamConfiguration.WebAPIBaseAddress,
// ReSharper disable once AccessToDisposedClosure
async () => await twoFactorService.CallProtobufAsync<CTwoFactor_AddAuthenticator_Response, CTwoFactor_AddAuthenticator_Request>(method, endpoint, request, extraArgs: arguments).ConfigureAwait(false)
).ConfigureAwait(false);
} catch (TaskCanceledException e) {
bot.ArchiLogger.LogGenericDebuggingException(e);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);
}
}
if (response == null) {
bot.ArchiLogger.LogGenericWarning(Strings.FormatErrorRequestFailedTooManyTimes(WebBrowser.MaxTries));
return null;
}
return response.Body;
}
internal static async Task<CTwoFactor_FinalizeAddAuthenticator_Response?> FinalizeAuthenticator(Bot bot, string activationCode, string authenticatorCode, ulong authenticatorTime) {
ArgumentNullException.ThrowIfNull(bot);
ArgumentException.ThrowIfNullOrEmpty(activationCode);
ArgumentException.ThrowIfNullOrEmpty(authenticatorCode);
ArgumentOutOfRangeException.ThrowIfZero(authenticatorTime);
if (!bot.IsConnectedAndLoggedOn) {
return null;
}
string? accessToken = bot.AccessToken;
if (string.IsNullOrEmpty(accessToken)) {
return null;
}
const string endpoint = "FinalizeAddAuthenticator";
HttpMethod method = HttpMethod.Post;
CTwoFactor_FinalizeAddAuthenticator_Request request = new() {
activation_code = activationCode,
authenticator_code = authenticatorCode,
authenticator_time = authenticatorTime,
steamid = bot.SteamID
};
Dictionary<string, object?> arguments = new(1, StringComparer.Ordinal) {
{ "access_token", accessToken }
};
using WebAPI.AsyncInterface twoFactorService = bot.SteamConfiguration.GetAsyncWebAPIInterface(TwoFactorService);
twoFactorService.Timeout = bot.ArchiWebHandler.WebBrowser.Timeout;
WebAPI.WebAPIResponse<CTwoFactor_FinalizeAddAuthenticator_Response>? response = null;
for (byte i = 0; (i < WebBrowser.MaxTries) && (response == null); i++) {
if ((i > 0) && (ArchiWebHandler.WebLimiterDelay > 0)) {
await Task.Delay(ArchiWebHandler.WebLimiterDelay).ConfigureAwait(false);
}
if (Debugging.IsUserDebugging) {
bot.ArchiLogger.LogGenericDebug($"{method} {bot.SteamConfiguration.WebAPIBaseAddress}{TwoFactorService}/{endpoint}");
}
try {
response = await ArchiWebHandler.WebLimitRequest(
bot.SteamConfiguration.WebAPIBaseAddress,
// ReSharper disable once AccessToDisposedClosure
async () => await twoFactorService.CallProtobufAsync<CTwoFactor_FinalizeAddAuthenticator_Response, CTwoFactor_FinalizeAddAuthenticator_Request>(method, endpoint, request, extraArgs: arguments).ConfigureAwait(false)
).ConfigureAwait(false);
} catch (TaskCanceledException e) {
bot.ArchiLogger.LogGenericDebuggingException(e);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);
}
}
if (response == null) {
bot.ArchiLogger.LogGenericWarning(Strings.FormatErrorRequestFailedTooManyTimes(WebBrowser.MaxTries));
return null;
}
return response.Body;
}
}

View File

@@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" />

View File

@@ -133,8 +133,7 @@ internal sealed class MonitoringPlugin : OfficialPlugin, IBot, IBotTradeOfferRes
throw new InvalidOperationException(nameof(Meter));
}
services.AddOpenTelemetry().WithMetrics(
builder => {
services.AddOpenTelemetry().WithMetrics(builder => {
builder.AddPrometheusExporter(static config => config.ScrapeEndpointPath = "/Api/metrics");
builder.AddRuntimeInstrumentation();
builder.AddAspNetCoreInstrumentation();
@@ -153,11 +152,11 @@ internal sealed class MonitoringPlugin : OfficialPlugin, IBot, IBotTradeOfferRes
int officialPluginCount = PluginsCore.ActivePlugins.Count(static plugin => plugin is OfficialPlugin);
PluginMeasurements = new HashSet<Measurement<int>>(3) {
new(PluginsCore.ActivePlugins.Count),
new(officialPluginCount, new KeyValuePair<string, object?>(TagNames.PluginType, "official")),
new(PluginsCore.ActivePlugins.Count - officialPluginCount, new KeyValuePair<string, object?>(TagNames.PluginType, "custom"))
}.ToFrozenSet();
PluginMeasurements = [
new Measurement<int>(PluginsCore.ActivePlugins.Count),
new Measurement<int>(officialPluginCount, new KeyValuePair<string, object?>(TagNames.PluginType, "official")),
new Measurement<int>(PluginsCore.ActivePlugins.Count - officialPluginCount, new KeyValuePair<string, object?>(TagNames.PluginType, "custom"))
];
Meter = new Meter(MeterName, Version.ToString());
@@ -272,8 +271,7 @@ internal sealed class MonitoringPlugin : OfficialPlugin, IBot, IBotTradeOfferRes
);
Meter.CreateObservableCounter(
$"{MetricNamePrefix}_bot_trades", () => TradeStatistics.SelectMany<KeyValuePair<Bot, TradeStatistics>, Measurement<int>>(
static kv => [
$"{MetricNamePrefix}_bot_trades", () => TradeStatistics.SelectMany<KeyValuePair<Bot, TradeStatistics>, Measurement<int>>(static kv => [
new Measurement<int>(
kv.Value.AcceptedOffers,
new KeyValuePair<string, object?>(TagNames.BotName, kv.Key.BotName),

View File

@@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
<PackageReference Include="SteamKit2" IncludeAssets="compile" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" />

View File

@@ -107,7 +107,10 @@
<value>Načítání informací o aplikaci {0} bylo dokončeno.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Dokončeno {0} z {1} požadavků na sklad</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Načítání všech tokenbů úložišť, celkem z {0} aplikací bylo dokončeno.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -60,33 +60,115 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data name="PluginDisabledMissingBuildToken" xml:space="preserve">
<value>{0} er blevet deaktiveret på grund af en manglende build token</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginDisabledInConfig" xml:space="preserve">
<value>{0} er i øjeblikket deaktiveret i henhold til din konfiguration. Hvis du vil hjælpe SteamDB i dataindsendelse, så tjek vores wiki.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} er blevet initialiseret med succes, tak på forhånd for din hjælp. Den første indsendelse vil ske i cirka {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} kunne ikke indlæses, en ny instans vil blive initialiseret...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
</data>
<data name="BotNoAppsToRefresh" xml:space="preserve">
<value>Der er ingen apps, der kræver en opdatering i denne bot instans.</value>
</data>
<data name="BotRetrievingTotalAppAccessTokens" xml:space="preserve">
<value>Henter i alt {0} app-adgangstokens...</value>
<comment>{0} will be replaced by the number (total count) of app access tokens being retrieved</comment>
</data>
<data name="BotRetrievingAppAccessTokens" xml:space="preserve">
<value>Henter {0} app-adgangstokens...</value>
<comment>{0} will be replaced by the number (count this batch) of app access tokens being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppAccessTokens" xml:space="preserve">
<value>Færdig med at hente {0} app-adgangstegn.</value>
<comment>{0} will be replaced by the number (count this batch) of app access tokens retrieved</comment>
</data>
<data name="BotFinishedRetrievingTotalAppAccessTokens" xml:space="preserve">
<value>Færdig med at hente i alt {0} app-adgangstokiner.</value>
<comment>{0} will be replaced by the number (total count) of app access tokens retrieved</comment>
</data>
<data name="BotRetrievingTotalDepots" xml:space="preserve">
<value>Henter alle depoter for i alt {0} apps...</value>
<comment>{0} will be replaced by the number (total count) of apps being retrieved</comment>
</data>
<data name="BotRetrievingAppInfos" xml:space="preserve">
<value>Retrieving {0} app infos...</value>
<comment>{0} will be replaced by the number (count this batch) of app infos being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppInfos" xml:space="preserve">
<value>Færdig med at hente {0} app-info.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Færdig {0} ud af {1} depot nøgleanmodninger.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Færdig med at hente alle depot nøgler for i alt {0} apps.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>
</data>
<data name="SubmissionNoNewData" xml:space="preserve">
<value>Der er ingen nye data at indsende, alt er opdateret.</value>
</data>
<data name="SubmissionNoContributorSet" xml:space="preserve">
<value>Kunne ikke indsende data, da der ikke er noget gyldigt SteamID sæt, som vi kunne klassificere som bidragsyder. Overvej opsætning af {0} egenskab.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SteamOwnerID") that the user is expected to set</comment>
</data>
<data name="SubmissionInProgress" xml:space="preserve">
<value>Indsender i alt registrerede apps/pakker/depots: {0}/{1}/{2}...</value>
<comment>{0} will be replaced by the number of app access tokens being submitted, {1} will be replaced by the number of package access tokens being submitted, {2} will be replaced by the number of depot keys being submitted</comment>
</data>
<data name="SubmissionFailedTooManyRequests" xml:space="preserve">
<value>Indsendelsen er mislykkedes på grund af for mange anmodninger, vi vil prøve igen om cirka {0} fra nu.</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="SubmissionSuccessful" xml:space="preserve">
<value>Dataene er blevet indsendt. Serveren har registreret i alt nye apps/packages/depots: {0} ({1} verificeret)/{2} ({3} verificeret)/{4} ({5} verificeret).</value>
<comment>{0} will be replaced by the number of new app access tokens that the server has registered, {1} will be replaced by the number of verified app access tokens that the server has registered, {2} will be replaced by the number of new package access tokens that the server has registered, {3} will be replaced by the number of verified package access tokens that the server has registered, {4} will be replaced by the number of new depot keys that the server has registered, {5} will be replaced by the number of verified depot keys that the server has registered</comment>
</data>
<data name="SubmissionSuccessfulNewApps" xml:space="preserve">
<value>Nye apps: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedApps" xml:space="preserve">
<value>Verificerede apps: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewPackages" xml:space="preserve">
<value>Nye pakker: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedPackages" xml:space="preserve">
<value>Verificerede pakker: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewDepots" xml:space="preserve">
<value>Nye depoter: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedDepots" xml:space="preserve">
<value>Verificerede depot: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="PluginSecretListInitialized" xml:space="preserve">
<value>{0} initialiseret, plugin vil ikke løse nogen af dem: {1}.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SecretPackageIDs"), {1} will be replaced by list of the objects (IDs, numbers), separated by a comma</comment>
</data>
<data name="LoadingGlobalCache" xml:space="preserve">
<value>Indlæser STD global cache...</value>
</data>
<data name="ValidatingGlobalCacheIntegrity" xml:space="preserve">
<value>Validerer STD global cache integritet...</value>
</data>
<data name="GlobalCacheIntegrityValidationFailed" xml:space="preserve">
<value>Mislykkedes at verificere STD global cache integritet. Dette tyder på en potentiel fil / hukommelse korruption, en ny instans vil blive initialiseret i stedet.</value>
</data>
</root>

View File

@@ -68,7 +68,10 @@
<value>{0} είναι απενεργοποιημένο σύμφωνα με τις ρυθμίσεις σας. Αν θέλετε να βοηθήσετε το SteamDB στην υποβολή δεδομένων, παρακαλώ ελέγξτε το wiki μας.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>Το {0} έχει αρχικοποιηθεί με επιτυχία, σας ευχαριστώ εκ των προτέρων για τη βοήθειά σας. Η πρώτη υποβολή θα γίνει σε περίπου {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} δεν μπόρεσε να φορτωθεί, μια νέα παρουσία θα αρχικοποιηθεί...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
@@ -104,7 +107,10 @@
<value>Ολοκληρώθηκε η ανάκτηση {0} πληροφοριών εφαρμογών.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Ολοκληρώθηκε το {0} από τα αιτήματα κλειδιού depot {1}.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Ολοκληρώθηκε η ανάκτηση όλων των κλειδιών αποθηκών για συνολικά {0} εφαρμογές.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -68,7 +68,10 @@
<value>{0} on tällä hetkellä poistettu käytöstä asetuksistasi. Jos haluat auttaa SteamDB:tä tietojen lähettämisessä, ole hyvä ja tutustu wikimme.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} on alustettu onnistuneesti, kiitos etukäteen avustasi. Ensimmäiseen lähetykseen on noin {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} ei voitu ladata. Uusi instanssi alustetaan...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
@@ -104,7 +107,10 @@
<value>Saatiin haettua {0} sovelluksen tiedot.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Suoritettiin {0}/{1} depot-avaimien pyynnöistä.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Saatiin haettua kaikki depot-avaimet yhteensä {0} sovellukselle.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -107,7 +107,10 @@
<value>Récupération de {0} infos d'application terminée.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Récupération de {0} sur {1} demandes de clés de dépôt terminée.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Fin de la récupération de toutes les clés de dépôts pour un total de {0} applications.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -107,7 +107,10 @@
<value>Selesai memuat {0} informasi aplikasi.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Selesai {0} dari {1} depot key yang di minta.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Selesai memuat semua kunci depot untuk total {0} aplikasi.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -107,7 +107,10 @@
<value>Hai completato il recupero di {0} informazioni app.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Hai completato le richieste di chiave del deposito {0} su {1}.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Finito il recupero di tutte le chiavi del deposito per un totale di {0} applicazioni.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -60,25 +60,80 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data name="PluginDisabledMissingBuildToken" xml:space="preserve">
<value>ビルドトークンが見つからないため、{0} は無効化されました</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginDisabledInConfig" xml:space="preserve">
<value>{0} は現在の設定により無効化されています。SteamDB へのデータ提供に協力いただける場合は、当プロジェクトの Wiki をご覧ください。</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} は正常に初期化されました。ご協力ありがとうございます。最初の送信はおおよそ {1} 後に行われます。</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} を読み込むことができませんでした。新しいインスタンスを初期化します…</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
</data>
<data name="BotNoAppsToRefresh" xml:space="preserve">
<value>このボットでは更新が必要なアプリはありません。</value>
</data>
<data name="BotRetrievingTotalAppAccessTokens" xml:space="preserve">
<value>合計 {0} 個のアプリアクセストークンを取得中…</value>
<comment>{0} will be replaced by the number (total count) of app access tokens being retrieved</comment>
</data>
<data name="BotRetrievingAppAccessTokens" xml:space="preserve">
<value>{0} 個のアプリアクセストークンを取得中…</value>
<comment>{0} will be replaced by the number (count this batch) of app access tokens being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppAccessTokens" xml:space="preserve">
<value>{0} 個のアプリアクセストークンの取得が完了しました。</value>
<comment>{0} will be replaced by the number (count this batch) of app access tokens retrieved</comment>
</data>
<data name="BotFinishedRetrievingTotalAppAccessTokens" xml:space="preserve">
<value>合計 {0} 個のアプリアクセストークンの取得が完了しました。</value>
<comment>{0} will be replaced by the number (total count) of app access tokens retrieved</comment>
</data>
<data name="BotRetrievingTotalDepots" xml:space="preserve">
<value>合計 {0} 個のアプリに対する全デポを取得中…</value>
<comment>{0} will be replaced by the number (total count) of apps being retrieved</comment>
</data>
<data name="BotRetrievingAppInfos" xml:space="preserve">
<value>{0} 個のアプリ情報を取得中…</value>
<comment>{0} will be replaced by the number (count this batch) of app infos being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppInfos" xml:space="preserve">
<value>{0} 個のアプリ情報の取得が完了しました。</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>{1} 件中 {0} 件のデポキーリクエストが完了しました。</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>合計 {0} 個のアプリに対するすべてのデポキー取得が完了しました。</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>
</data>
<data name="SubmissionNoNewData" xml:space="preserve">
<value>送信する新しいデータはありません。すべて最新の状態です。</value>
</data>
<data name="SubmissionNoContributorSet" xml:space="preserve">
<value>寄稿者として分類可能な有効な Steam Id が設定されていないため、データを送信できませんでした。{0} プロパティの設定を検討してください。</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SteamOwnerID") that the user is expected to set</comment>
</data>
<data name="SubmissionInProgress" xml:space="preserve">
<value>登録されたアプリ/パッケージ/デポを合計 {0}/{1}/{2} 件送信中…</value>
<comment>{0} will be replaced by the number of app access tokens being submitted, {1} will be replaced by the number of package access tokens being submitted, {2} will be replaced by the number of depot keys being submitted</comment>
</data>
<data name="SubmissionFailedTooManyRequests" xml:space="preserve">
<value>リクエストが多すぎたため送信に失敗しました。約 {0} 後に再試行します。</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="SubmissionSuccessful" xml:space="preserve">
<value>データは正常に送信されました。サーバーは新規アプリ/パッケージ/デポを合計 {0}(うち {1} 件が確認済み)/{2}{3} 件確認済み)/{4}{5} 件確認済み)として登録しました。</value>
<comment>{0} will be replaced by the number of new app access tokens that the server has registered, {1} will be replaced by the number of verified app access tokens that the server has registered, {2} will be replaced by the number of new package access tokens that the server has registered, {3} will be replaced by the number of verified package access tokens that the server has registered, {4} will be replaced by the number of new depot keys that the server has registered, {5} will be replaced by the number of verified depot keys that the server has registered</comment>
</data>
<data name="SubmissionSuccessfulNewApps" xml:space="preserve">
<value>新しいアプリ: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
@@ -95,10 +150,25 @@
<value>認証済みパッケージ: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewDepots" xml:space="preserve">
<value>新しいデポ: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedDepots" xml:space="preserve">
<value>検証済みのデポ: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="PluginSecretListInitialized" xml:space="preserve">
<value>{0} を初期化しました。このプラグインは次の項目には対応しません: {1}。</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SecretPackageIDs"), {1} will be replaced by list of the objects (IDs, numbers), separated by a comma</comment>
</data>
<data name="LoadingGlobalCache" xml:space="preserve">
<value>STD のグローバルキャッシュを読み込み中…</value>
</data>
<data name="ValidatingGlobalCacheIntegrity" xml:space="preserve">
<value>STD のグローバルキャッシュの整合性を検証中…</value>
</data>
<data name="GlobalCacheIntegrityValidationFailed" xml:space="preserve">
<value>STD のグローバルキャッシュの整合性を検証できませんでした。ファイルまたはメモリの破損が疑われます。新しいインスタンスを初期化します。</value>
</data>
</root>

View File

@@ -107,7 +107,10 @@
<value>Pabeidza iegūt {0} aplikāciju informāciju.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Pabeigts {0} no {1} noliktavas atslēgu pieprasījumiem.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Pabeigta visu depot atslēgu izgūšana, kopā {0} lietotnēm.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -68,7 +68,10 @@
<value>{0} is momenteel uitgeschakeld volgens uw configuratie. Als je SteamDB wilt helpen bij het indienen van gegevens, bekijk dan onze wiki.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} is met succes geïnitialiseerd. Alvast bedankt voor uw hulp. De eerste uitwerking zal gebeuren in ongeveer {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} kon niet worden geladen, een nieuwe instantie zal worden geïnitialiseerd...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
@@ -104,13 +107,33 @@
<value>Ophalen van {0} app-infos voltooid.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Klaar {0} van {1} depot sleutelverzoeken.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Ophalen van alle depot keys voltooid voor een totaal van {0} apps.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>
</data>
<data name="SubmissionNoNewData" xml:space="preserve">
<value>Er zijn geen nieuwe gegevens om in te dienen, alles is up-to-date.</value>
</data>
<data name="SubmissionNoContributorSet" xml:space="preserve">
<value>Kon de gegevens niet indienen omdat er geen geldige SteamID is die we als bijdrager kunnen classificeren. Overweeg het instellen van {0} property.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SteamOwnerID") that the user is expected to set</comment>
</data>
<data name="SubmissionInProgress" xml:space="preserve">
<value>Verzenden van een totaal van geregistreerde apps/packages/depos: {0}/{1}/{2}...</value>
<comment>{0} will be replaced by the number of app access tokens being submitted, {1} will be replaced by the number of package access tokens being submitted, {2} will be replaced by the number of depot keys being submitted</comment>
</data>
<data name="SubmissionFailedTooManyRequests" xml:space="preserve">
<value>De indiening is mislukt door te veel verzonden, we zullen het vanaf nu opnieuw proberen in ongeveer {0}.</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="SubmissionSuccessful" xml:space="preserve">
<value>De gegevens zijn succesvol ingediend. De server heeft een totaal van nieuwe apps/pakketten/depots: {0} ({1} geverifieerd)/{2} ({3} geverifieerd)/{4} ({5} geverifieerd).</value>
<comment>{0} will be replaced by the number of new app access tokens that the server has registered, {1} will be replaced by the number of verified app access tokens that the server has registered, {2} will be replaced by the number of new package access tokens that the server has registered, {3} will be replaced by the number of verified package access tokens that the server has registered, {4} will be replaced by the number of new depot keys that the server has registered, {5} will be replaced by the number of verified depot keys that the server has registered</comment>
</data>
<data name="SubmissionSuccessfulNewApps" xml:space="preserve">
<value>Nieuwe apps: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
@@ -127,10 +150,25 @@
<value>Geverifieerde pakketten: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewDepots" xml:space="preserve">
<value>Nieuwe depoten: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedDepots" xml:space="preserve">
<value>Geverifieerde depot: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="PluginSecretListInitialized" xml:space="preserve">
<value>{0} geïnitialiseerd, de plugin zal geen van deze oplossen: {1}.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SecretPackageIDs"), {1} will be replaced by list of the objects (IDs, numbers), separated by a comma</comment>
</data>
<data name="LoadingGlobalCache" xml:space="preserve">
<value>STD global cache laden...</value>
</data>
<data name="ValidatingGlobalCacheIntegrity" xml:space="preserve">
<value>Valideren van STD globale cache integriteit...</value>
</data>
<data name="GlobalCacheIntegrityValidationFailed" xml:space="preserve">
<value>Kon de wereldwijde STD cache integriteit niet verifiëren. Dit suggereert een potentiële bestands/geheugencorruptie, een nieuw exemplaar zal in plaats daarvan worden geïnitialiseerd.</value>
</data>
</root>

View File

@@ -60,33 +60,112 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data name="PluginDisabledMissingBuildToken" xml:space="preserve">
<value>{0} har blitt deaktivert på grunn av et manglende byggetoken</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginDisabledInConfig" xml:space="preserve">
<value>{0} er for øyeblikket deaktivert i henhold til din konfigurasjon. Hvis du vil hjelpe SteamDB med datainnsending, vennligst sjekk ut vår wiki.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} har blitt igangsatt vellykket, takk for din hjelp. Den første innsending vil skje i omtrent {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} kunne ikke lastes inn, en frisk forekomst vil bli initialisert...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
</data>
<data name="BotNoAppsToRefresh" xml:space="preserve">
<value>Det er ingen programmer som krever en oppdatering på denne botthendelsen.</value>
</data>
<data name="BotRetrievingTotalAppAccessTokens" xml:space="preserve">
<value>Henter de totale {0} app-tilgangstegener...</value>
<comment>{0} will be replaced by the number (total count) of app access tokens being retrieved</comment>
</data>
<data name="BotRetrievingAppAccessTokens" xml:space="preserve">
<value>Henter {0} app-tilgangstokene...</value>
<comment>{0} will be replaced by the number (count this batch) of app access tokens being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppAccessTokens" xml:space="preserve">
<value>Ferdig med å hente {0} app-tilgangsnøkkler.</value>
<comment>{0} will be replaced by the number (count this batch) of app access tokens retrieved</comment>
</data>
<data name="BotFinishedRetrievingTotalAppAccessTokens" xml:space="preserve">
<value>Ferdig med å hente totalt {0} app-tilgangsnøkkler.</value>
<comment>{0} will be replaced by the number (total count) of app access tokens retrieved</comment>
</data>
<data name="BotRetrievingTotalDepots" xml:space="preserve">
<value>Henter alle depoter for en total {0} apper...</value>
<comment>{0} will be replaced by the number (total count) of apps being retrieved</comment>
</data>
<data name="BotRetrievingAppInfos" xml:space="preserve">
<value>Retrieving {0} app infos...</value>
<comment>{0} will be replaced by the number (count this batch) of app infos being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppInfos" xml:space="preserve">
<value>Ferdig med å hente {0} app infos.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Ferdig med {0} av {1} lagerets viktigste forespørsler.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Fullførte henting av alle depot-nøkler for totalt {0} apper.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>
</data>
<data name="SubmissionNoNewData" xml:space="preserve">
<value>Det finnes ingen nye data, alt er oppdatert.</value>
</data>
<data name="SubmissionNoContributorSet" xml:space="preserve">
<value>Kunne ikke sende inn data fordi det ikke er gyldig SteamID satt som vi kan klassifisere som bidragsyter. Vurder å sette opp {0} egenskapen.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SteamOwnerID") that the user is expected to set</comment>
</data>
<data name="SubmissionFailedTooManyRequests" xml:space="preserve">
<value>Innsendingen mislyktes på grunn av for mange forespørsler sendt, vi prøver igjen om lag {0} nå.</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="SubmissionSuccessful" xml:space="preserve">
<value>Dataene har blitt sendt inn. Serveren har registrert totalt nye applikasjoner/pakker/depoter: {0} ({1} verifisert)/{2} ({3} bekreftet)/{4} ({5} verifisert).</value>
<comment>{0} will be replaced by the number of new app access tokens that the server has registered, {1} will be replaced by the number of verified app access tokens that the server has registered, {2} will be replaced by the number of new package access tokens that the server has registered, {3} will be replaced by the number of verified package access tokens that the server has registered, {4} will be replaced by the number of new depot keys that the server has registered, {5} will be replaced by the number of verified depot keys that the server has registered</comment>
</data>
<data name="SubmissionSuccessfulNewApps" xml:space="preserve">
<value>Nye apper: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedApps" xml:space="preserve">
<value>Verifiserte apper: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewPackages" xml:space="preserve">
<value>Nye pakker: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedPackages" xml:space="preserve">
<value>Verifiserte pakker: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewDepots" xml:space="preserve">
<value>Nye depoter: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedDepots" xml:space="preserve">
<value>Verifiserte depoter: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="PluginSecretListInitialized" xml:space="preserve">
<value>{0} initialisert, utvidelsen vil ikke løse noen av disse: {1}.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SecretPackageIDs"), {1} will be replaced by list of the objects (IDs, numbers), separated by a comma</comment>
</data>
<data name="LoadingGlobalCache" xml:space="preserve">
<value>Laster STD global cache...</value>
</data>
<data name="ValidatingGlobalCacheIntegrity" xml:space="preserve">
<value>Validerer STD global cache integritet...</value>
</data>
<data name="GlobalCacheIntegrityValidationFailed" xml:space="preserve">
<value>Kan ikke verifisere STD globale cachens integritet. Dette foreslår en potensiell fil-/minnesorpsjon, et frisk eksempel vil bli initialisert i stedet.</value>
</data>
</root>

View File

@@ -68,7 +68,10 @@
<value>{0} está atualmente desativado de acordo com a sua configuração. Se quiser ajudar o SteamDB na submissão de dados, por favor confira o nosso wiki.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} foi inicializado com sucesso, obrigado antecipadamente por sua ajuda. O primeiro envio ocorrerá em aproximadamente {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} não pôde ser carregado, uma instância nova será inicializada...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
@@ -92,24 +95,80 @@
<value>Terminado o recolhimento de um total de {0} tokens de acesso a aplicações.</value>
<comment>{0} will be replaced by the number (total count) of app access tokens retrieved</comment>
</data>
<data name="BotRetrievingTotalDepots" xml:space="preserve">
<value>Recuperando todos os depósitos para um total de apps {0}...</value>
<comment>{0} will be replaced by the number (total count) of apps being retrieved</comment>
</data>
<data name="BotRetrievingAppInfos" xml:space="preserve">
<value>Retrieving {0} app infos...</value>
<comment>{0} will be replaced by the number (count this batch) of app infos being retrieved</comment>
</data>
<data name="BotFinishedRetrievingAppInfos" xml:space="preserve">
<value>Informações do aplicativo {0} finalizadas.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>{0} terminou de pedidos chave de depósito {1}.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Terminou de recuperar todas as chaves de depósito para um total de aplicativos {0}.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>
</data>
<data name="SubmissionNoNewData" xml:space="preserve">
<value>Não há novos dados para enviar, tudo está atualizado.</value>
</data>
<data name="SubmissionNoContributorSet" xml:space="preserve">
<value>Não foi possível enviar os dados porque não há um conjunto SteamID válido que possamos classificar como colaborador. Considere configurar a propriedade {0}.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SteamOwnerID") that the user is expected to set</comment>
</data>
<data name="SubmissionInProgress" xml:space="preserve">
<value>Enviar um total de apps/pacotes/pacotes registrados: {0}/{1}/{2}...</value>
<comment>{0} will be replaced by the number of app access tokens being submitted, {1} will be replaced by the number of package access tokens being submitted, {2} will be replaced by the number of depot keys being submitted</comment>
</data>
<data name="SubmissionFailedTooManyRequests" xml:space="preserve">
<value>O envio falhou devido a muitas solicitações enviadas, tentaremos novamente em aproximadamente {0} a partir de agora.</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="SubmissionSuccessful" xml:space="preserve">
<value>Os dados foram enviados com sucesso. O servidor registrou um total de novos aplicativos/pacotes/depósitos: {0} ({1} verificado)/{2} ({3} verificado)/{4} ({5} verificado).</value>
<comment>{0} will be replaced by the number of new app access tokens that the server has registered, {1} will be replaced by the number of verified app access tokens that the server has registered, {2} will be replaced by the number of new package access tokens that the server has registered, {3} will be replaced by the number of verified package access tokens that the server has registered, {4} will be replaced by the number of new depot keys that the server has registered, {5} will be replaced by the number of verified depot keys that the server has registered</comment>
</data>
<data name="SubmissionSuccessfulNewApps" xml:space="preserve">
<value>Novos aplicativos: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedApps" xml:space="preserve">
<value>Apps verificados: {0}</value>
<comment>{0} will be replaced by list of the apps (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewPackages" xml:space="preserve">
<value>Novos pacotes: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedPackages" xml:space="preserve">
<value>Pacotes verificados: {0}</value>
<comment>{0} will be replaced by list of the packages (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulNewDepots" xml:space="preserve">
<value>Novos depósitos: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="SubmissionSuccessfulVerifiedDepots" xml:space="preserve">
<value>Depósitos verificados: {0}</value>
<comment>{0} will be replaced by list of the depots (IDs, numbers), separated by a comma</comment>
</data>
<data name="PluginSecretListInitialized" xml:space="preserve">
<value>{0} inicializado, o plugin não resolverá nenhum desses: {1}.</value>
<comment>{0} will be replaced by the name of the config property (e.g. "SecretPackageIDs"), {1} will be replaced by list of the objects (IDs, numbers), separated by a comma</comment>
</data>
<data name="LoadingGlobalCache" xml:space="preserve">
<value>Carregando cache global STD...</value>
</data>
<data name="ValidatingGlobalCacheIntegrity" xml:space="preserve">
<value>Validando integridade de cache global STD...</value>
</data>
<data name="GlobalCacheIntegrityValidationFailed" xml:space="preserve">
<value>Falha ao verificar a integridade do cache global STD. Isso sugere uma potencial corrupção de arquivo/memória, uma instância nova será inicializada em vez disso.</value>
</data>
</root>

View File

@@ -107,7 +107,10 @@
<value>FINISHD RETRIEVIN {0} APP INFOS.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>FINISHD {0} OUT OV {1} DEPOT KEY REQUESTS.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>FINISHD RETRIEVIN ALL DEPOT KEYS 4 TOTAL OV {0} APPS.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -68,7 +68,10 @@
<value>{0} este momentan dezactivat în funcție de configurația ta. Dacă doriți să ajutați SteamDB în transmiterea de date, vă rugăm să consultați wiki-ul.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} a fost inițializat cu succes, îți mulțumim anticipat pentru ajutorul tău. Prima trimitere va avea loc în aproximativ {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} nu a putut fi încărcat, o nouă instanță va fi inițializată...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
@@ -104,7 +107,10 @@
<value>S-a terminat preluarea a {0} informații despre aplicații.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Am terminat {0} din {1} cereri de chei de depozit.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>S-a terminat preluarea tuturor depot keys pentru un total de {0} aplicații.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -69,7 +69,7 @@
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} başarıyla başlatıldı, yardımınız için şimdiden teşekkürler. İlk sunum yaklaşık olarak {1} içinde gerçekleşecektir.</value>
<value>{0} başarıyla başlatıldı, yardımınız için şimdiden teşekkürler. İlk gönderim yaklaşık olarak {1} içinde gerçekleşecektir.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">

View File

@@ -68,7 +68,10 @@
<value>{0} наразі вимкнено відповідно до вашої конфігурації. Якщо ви хочете допомогти SteamDB у надсиланні даних, перегляньте нашу вікі.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin")</comment>
</data>
<data name="PluginInitializedAndEnabled" xml:space="preserve">
<value>{0} було успішно ініціалізовано, заздалегідь дякуємо за вашу допомогу. Перше подання відбудеться приблизно через {1}.</value>
<comment>{0} will be replaced by the name of the plugin (e.g. "SteamTokenDumperPlugin"), {1} will be replaced by translated TimeSpan string (such as "53 minutes")</comment>
</data>
<data name="FileCouldNotBeLoadedFreshInit" xml:space="preserve">
<value>{0} не вдалося завантажити, буде ініціалізований новий екземпляр...</value>
<comment>{0} will be replaced by the name of the file (e.g. "GlobalCache")</comment>
@@ -104,7 +107,10 @@
<value>Завершено отримання {0} інформації про програму.</value>
<comment>{0} will be replaced by the number (count this batch) of app infos retrieved</comment>
</data>
<data name="BotFinishedRetrievingDepotKeys" xml:space="preserve">
<value>Завершено {0} з {1} запитів зі сховища.</value>
<comment>{0} will be replaced by the number (count this batch) of depot key requests that were successfully answered, {1} will be replaced by the number (count this batch) of depot key requests that were supposed to be sent</comment>
</data>
<data name="BotFinishedRetrievingTotalDepots" xml:space="preserve">
<value>Завершено отримання всіх ключів депо для {0} програм.</value>
<comment>{0} will be replaced by the number (total count) of apps retrieved</comment>

View File

@@ -25,7 +25,6 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper;
internal static class SharedInfo {
internal const byte ApiVersion = 2;
internal const byte AppInfosPerSingleRequest = byte.MaxValue;
internal const byte HoursBetweenUploads = 24;
internal const byte MaximumHoursBetweenRefresh = 8; // Per single bot account, makes sense to be 2 or 3 times less than MinimumHoursBetweenUploads
internal const byte MaximumMinutesBeforeFirstUpload = 60; // Must be greater or equal to MinimumMinutesBeforeFirstUpload

View File

@@ -360,42 +360,26 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotC
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotRetrievingTotalAppAccessTokens(appIDsToRefresh.Count));
HashSet<uint> appIDsThisRound = new(Math.Min(appIDsToRefresh.Count, SharedInfo.AppInfosPerSingleRequest));
using (HashSet<uint>.Enumerator enumerator = appIDsToRefresh.GetEnumerator()) {
while (true) {
if (!bot.IsConnectedAndLoggedOn) {
return;
}
while ((appIDsThisRound.Count < SharedInfo.AppInfosPerSingleRequest) && enumerator.MoveNext()) {
appIDsThisRound.Add(enumerator.Current);
}
if (appIDsThisRound.Count == 0) {
break;
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotRetrievingAppAccessTokens(appIDsThisRound.Count));
SteamApps.PICSTokensCallback response;
try {
response = await bot.SteamApps.PICSGetAccessTokens(appIDsThisRound, []).ToLongRunningTask().ConfigureAwait(false);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);
appIDsThisRound.Clear();
continue;
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingAppAccessTokens(appIDsThisRound.Count));
appIDsThisRound.Clear();
GlobalCache.UpdateAppTokens(response.AppTokens, response.AppTokensDenied);
foreach (uint[] appIDsThisRound in appIDsToRefresh.Chunk(Bot.EntriesPerSinglePICSRequest)) {
if (!bot.IsConnectedAndLoggedOn) {
return;
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotRetrievingAppAccessTokens(appIDsThisRound.Length));
SteamApps.PICSTokensCallback response;
try {
response = await bot.SteamApps.PICSGetAccessTokens(appIDsThisRound, []).ToLongRunningTask().ConfigureAwait(false);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);
continue;
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingAppAccessTokens(appIDsThisRound.Length));
GlobalCache.UpdateAppTokens(response.AppTokens, response.AppTokensDenied);
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingTotalAppAccessTokens(appIDsToRefresh.Count));
@@ -403,131 +387,113 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotC
(_, FrozenSet<uint>? knownDepotIDs) = await GlobalCache.KnownDepotIDs.GetValue(ECacheFallback.SuccessPreviously).ConfigureAwait(false);
using (HashSet<uint>.Enumerator enumerator = appIDsToRefresh.GetEnumerator()) {
while (true) {
if (!bot.IsConnectedAndLoggedOn) {
return;
}
foreach (uint[] appIDsThisRound in appIDsToRefresh.Chunk(Bot.EntriesPerSinglePICSRequest)) {
if (!bot.IsConnectedAndLoggedOn) {
return;
}
while ((appIDsThisRound.Count < SharedInfo.AppInfosPerSingleRequest) && enumerator.MoveNext()) {
appIDsThisRound.Add(enumerator.Current);
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotRetrievingAppInfos(appIDsThisRound.Length));
if (appIDsThisRound.Count == 0) {
break;
}
AsyncJobMultiple<SteamApps.PICSProductInfoCallback>.ResultSet response;
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotRetrievingAppInfos(appIDsThisRound.Count));
try {
response = await bot.SteamApps.PICSGetProductInfo(appIDsThisRound.Select(static appID => new SteamApps.PICSRequest(appID, GlobalCache.GetAppToken(appID))), []).ToLongRunningTask().ConfigureAwait(false);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);
AsyncJobMultiple<SteamApps.PICSProductInfoCallback>.ResultSet response;
continue;
}
try {
response = await bot.SteamApps.PICSGetProductInfo(appIDsThisRound.Select(static appID => new SteamApps.PICSRequest(appID, GlobalCache.GetAppToken(appID))), []).ToLongRunningTask().ConfigureAwait(false);
} catch (Exception e) {
bot.ArchiLogger.LogGenericWarningException(e);
if (response.Results == null) {
bot.ArchiLogger.LogGenericWarning(ArchiSteamFarm.Localization.Strings.FormatWarningFailedWithError(nameof(response.Results)));
appIDsThisRound.Clear();
continue;
}
continue;
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingAppInfos(appIDsThisRound.Length));
if (response.Results == null) {
bot.ArchiLogger.LogGenericWarning(ArchiSteamFarm.Localization.Strings.FormatWarningFailedWithError(nameof(response.Results)));
Dictionary<uint, uint> appChangeNumbers = new();
appIDsThisRound.Clear();
uint depotKeysSuccessful = 0;
uint depotKeysTotal = 0;
continue;
}
foreach (SteamApps.PICSProductInfoCallback.PICSProductInfo app in response.Results.SelectMany(static result => result.Apps.Values)) {
appChangeNumbers[app.ID] = app.ChangeNumber;
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingAppInfos(appIDsThisRound.Count));
bool shouldFetchMainKey = false;
appIDsThisRound.Clear();
foreach (KeyValue depot in app.KeyValues["depots"].Children) {
if (!uint.TryParse(depot.Name, out uint depotID) || (knownDepotIDs?.Contains(depotID) == true) || (Config?.SecretDepotIDs.Contains(depotID) == true) || !GlobalCache.ShouldRefreshDepotKey(depotID)) {
continue;
}
Dictionary<uint, uint> appChangeNumbers = new();
depotKeysTotal++;
uint depotKeysSuccessful = 0;
uint depotKeysTotal = 0;
await depotsRateLimitingSemaphore.WaitAsync().ConfigureAwait(false);
foreach (SteamApps.PICSProductInfoCallback.PICSProductInfo app in response.Results.SelectMany(static result => result.Apps.Values)) {
appChangeNumbers[app.ID] = app.ChangeNumber;
try {
SteamApps.DepotKeyCallback depotResponse = await bot.SteamApps.GetDepotDecryptionKey(depotID, app.ID).ToLongRunningTask().ConfigureAwait(false);
bool shouldFetchMainKey = false;
depotKeysSuccessful++;
foreach (KeyValue depot in app.KeyValues["depots"].Children) {
if (!uint.TryParse(depot.Name, out uint depotID) || (knownDepotIDs?.Contains(depotID) == true) || (Config?.SecretDepotIDs.Contains(depotID) == true) || !GlobalCache.ShouldRefreshDepotKey(depotID)) {
if (depotResponse.Result != EResult.OK) {
continue;
}
depotKeysTotal++;
shouldFetchMainKey = true;
await depotsRateLimitingSemaphore.WaitAsync().ConfigureAwait(false);
GlobalCache.UpdateDepotKey(depotResponse);
} catch (Exception e) {
// We can still try other depots
bot.ArchiLogger.LogGenericWarningException(e);
} finally {
Utilities.InBackground(async () => {
await Task.Delay(DepotsRateLimitingDelay).ConfigureAwait(false);
try {
SteamApps.DepotKeyCallback depotResponse = await bot.SteamApps.GetDepotDecryptionKey(depotID, app.ID).ToLongRunningTask().ConfigureAwait(false);
depotKeysSuccessful++;
if (depotResponse.Result != EResult.OK) {
continue;
// ReSharper disable once AccessToDisposedClosure - we're waiting for the semaphore to be free before disposing it
depotsRateLimitingSemaphore.Release();
}
shouldFetchMainKey = true;
GlobalCache.UpdateDepotKey(depotResponse);
} catch (Exception e) {
// We can still try other depots
bot.ArchiLogger.LogGenericWarningException(e);
} finally {
Utilities.InBackground(
async () => {
await Task.Delay(DepotsRateLimitingDelay).ConfigureAwait(false);
// ReSharper disable once AccessToDisposedClosure - we're waiting for the semaphore to be free before disposing it
depotsRateLimitingSemaphore.Release();
}
);
}
);
}
}
// Consider fetching main appID key only if we've actually considered some new depots for resolving
if (shouldFetchMainKey && (knownDepotIDs?.Contains(app.ID) != true) && GlobalCache.ShouldRefreshDepotKey(app.ID)) {
// Consider fetching main appID key only if we've actually considered some new depots for resolving
if (shouldFetchMainKey && (knownDepotIDs?.Contains(app.ID) != true) && GlobalCache.ShouldRefreshDepotKey(app.ID)) {
await depotsRateLimitingSemaphore.WaitAsync().ConfigureAwait(false);
try {
SteamApps.DepotKeyCallback depotResponse = await bot.SteamApps.GetDepotDecryptionKey(app.ID, app.ID).ToLongRunningTask().ConfigureAwait(false);
// Increment total in combination with successful, we allow this one to fail on us
depotKeysTotal++;
depotKeysSuccessful++;
await depotsRateLimitingSemaphore.WaitAsync().ConfigureAwait(false);
GlobalCache.UpdateDepotKey(depotResponse);
} catch (Exception e) {
// We can still try other depots
bot.ArchiLogger.LogGenericWarningException(e);
} finally {
Utilities.InBackground(async () => {
await Task.Delay(DepotsRateLimitingDelay).ConfigureAwait(false);
try {
SteamApps.DepotKeyCallback depotResponse = await bot.SteamApps.GetDepotDecryptionKey(app.ID, app.ID).ToLongRunningTask().ConfigureAwait(false);
depotKeysSuccessful++;
GlobalCache.UpdateDepotKey(depotResponse);
} catch (Exception e) {
// We can still try other depots
bot.ArchiLogger.LogGenericWarningException(e);
} finally {
Utilities.InBackground(
async () => {
await Task.Delay(DepotsRateLimitingDelay).ConfigureAwait(false);
// ReSharper disable once AccessToDisposedClosure - we're waiting for the semaphore to be free before disposing it
depotsRateLimitingSemaphore.Release();
}
);
}
// ReSharper disable once AccessToDisposedClosure - we're waiting for the semaphore to be free before disposing it
depotsRateLimitingSemaphore.Release();
}
);
}
}
if (depotKeysTotal > 0) {
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingDepotKeys(depotKeysSuccessful, depotKeysTotal));
}
if (depotKeysSuccessful < depotKeysTotal) {
// We're not going to record app change numbers, as we didn't fetch all the depot keys we wanted
continue;
}
GlobalCache.UpdateAppChangeNumbers(appChangeNumbers);
}
if (depotKeysTotal > 0) {
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingDepotKeys(depotKeysSuccessful, depotKeysTotal));
}
if (depotKeysSuccessful < depotKeysTotal) {
// We're not going to record app change numbers, as we didn't fetch all the depot keys we wanted
continue;
}
GlobalCache.UpdateAppChangeNumbers(appChangeNumbers);
}
bot.ArchiLogger.LogGenericInfo(Strings.FormatBotFinishedRetrievingTotalDepots(appIDsToRefresh.Count));
@@ -561,8 +527,7 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotC
return bot.Commands.FormatBotResponse(ArchiSteamFarm.Localization.Strings.FormatWarningFailedWithError(nameof(GlobalCache)));
}
Utilities.InBackground(
async () => {
Utilities.InBackground(async () => {
await Refresh(bot).ConfigureAwait(false);
await SubmitData().ConfigureAwait(false);
}
@@ -598,8 +563,7 @@ internal sealed class SteamTokenDumperPlugin : OfficialPlugin, IASF, IBot, IBotC
return Commands.FormatStaticResponse(ArchiSteamFarm.Localization.Strings.FormatWarningFailedWithError(nameof(GlobalCache)));
}
Utilities.InBackground(
async () => {
Utilities.InBackground(async () => {
await Utilities.InParallel(bots.Select(static bot => Refresh(bot))).ConfigureAwait(false);
await SubmitData().ConfigureAwait(false);

View File

@@ -36,7 +36,7 @@ internal sealed class ArchiCryptoHelper {
[DataRow(ECryptoMethod.PlainText)]
[DataRow(ECryptoMethod.AES)]
[DataTestMethod]
[TestMethod]
internal async Task CanEncryptDecrypt(ECryptoMethod cryptoMethod) {
if (!Enum.IsDefined(cryptoMethod)) {
throw new InvalidEnumArgumentException(nameof(cryptoMethod), (int) cryptoMethod, typeof(ECryptoMethod));

View File

@@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="MSTest" />
</ItemGroup>

View File

@@ -26,7 +26,6 @@ using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Text.Json;
using System.Text.Json.Nodes;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.Helpers.Json;
@@ -50,7 +49,7 @@ internal sealed class Bot {
throw new InvalidOperationException(nameof(constructor));
}
JsonElement emptyObject = new JsonObject().ToJsonElement();
JsonObject emptyObject = new();
BotConfig? botConfig = emptyObject.ToJsonObject<BotConfig>();
@@ -472,7 +471,7 @@ internal sealed class Bot {
HashSet<Asset> itemsToSend = GetItemsForFullBadge(items, 2, appID);
Assert.IsTrue(itemsToSend.Count <= Steam.Exchange.Trading.MaxItemsPerTrade);
Assert.IsLessThanOrEqualTo(Steam.Exchange.Trading.MaxItemsPerTrade, itemsToSend.Count);
}
[TestMethod]
@@ -496,7 +495,7 @@ internal sealed class Bot {
HashSet<Asset> itemsToSend = GetItemsForFullBadge(items, itemsPerSet);
Assert.IsTrue(itemsToSend.Count <= Steam.Exchange.Trading.MaxItemsPerTrade);
Assert.IsLessThanOrEqualTo(Steam.Exchange.Trading.MaxItemsPerTrade, itemsToSend.Count);
}
[TestMethod]
@@ -512,8 +511,7 @@ internal sealed class Bot {
CreateCard(4, realAppID: appID0)
];
Assert.ThrowsExactly<InvalidOperationException>(
() => GetItemsForFullBadge(
Assert.ThrowsExactly<InvalidOperationException>(() => GetItemsForFullBadge(
items, new Dictionary<uint, byte> {
{ appID0, 3 },
{ appID1, 3 },

View File

@@ -0,0 +1,96 @@
// ----------------------------------------------------------------------------------------------
// _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || | | | | || _|| (_| || | | | | | | |
// /_/ \_\|_| \___||_| |_||_||____/ \__|\___| \__,_||_| |_| |_||_| \__,_||_| |_| |_| |_|
// ----------------------------------------------------------------------------------------------
// |
// Copyright 2015-2025 Łukasz "JustArchi" Domeradzki
// Contact: JustArchi@JustArchi.net
// |
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// |
// http://www.apache.org/licenses/LICENSE-2.0
// |
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
using System.Threading;
using System.Threading.Tasks;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.Localization;
using ArchiSteamFarm.NLog;
using ArchiSteamFarm.Storage;
using ArchiSteamFarm.Web;
using ArchiSteamFarm.Web.GitHub;
using ArchiSteamFarm.Web.GitHub.Data;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ArchiSteamFarm.Tests;
#pragma warning disable CA1812 // False positive, the class is used during MSTest
[TestClass]
internal sealed class IGitHubPluginUpdates {
private const string PluginName = "ArchiSteamFarm.OfficialPlugins.Monitoring";
private const string Repository = "JustArchiNET/ArchiSteamFarm";
private readonly TestContext TestContext;
private CancellationToken CancellationToken => TestContext.CancellationTokenSource.Token;
[UsedImplicitly]
public IGitHubPluginUpdates(TestContext testContext) {
ArgumentNullException.ThrowIfNull(testContext);
TestContext = testContext;
}
[TestCategory("Manual")]
[TestMethod]
internal async Task DoesNotOfferPointlessUpdatesWhenMultipleAssetsAreFound() {
using WebBrowser webBrowser = new(new ArchiLogger("Test"));
typeof(ASF).GetProperty(nameof(ASF.WebBrowser))?.SetValue(null, webBrowser);
ReleaseResponse? response = await GitHubService.GetLatestRelease(Repository, cancellationToken: CancellationToken).ConfigureAwait(false);
if (response == null) {
Assert.Inconclusive(Strings.FormatWarningFailedWithError(nameof(response)));
}
Version version = Version.Parse(response.Tag);
Plugins.Interfaces.IGitHubPluginUpdates plugin = new TestGitHubPluginUpdates(version);
Uri? releaseURL = await plugin.GetTargetReleaseURL(version, BuildInfo.Variant, true, GlobalConfig.EUpdateChannel.Stable, false).ConfigureAwait(false);
Assert.IsNull(releaseURL);
Uri? forcedReleaseURL = await plugin.GetTargetReleaseURL(version, BuildInfo.Variant, true, GlobalConfig.EUpdateChannel.Stable, true).ConfigureAwait(false);
Assert.IsNotNull(forcedReleaseURL);
}
private sealed class TestGitHubPluginUpdates : Plugins.Interfaces.IGitHubPluginUpdates {
public string Name => PluginName;
public string RepositoryName => Repository;
public Version Version { get; }
internal TestGitHubPluginUpdates(Version version) {
ArgumentNullException.ThrowIfNull(version);
Version = version;
}
public Task OnLoaded() => Task.CompletedTask;
}
}
#pragma warning restore CA1812 // False positive, the class is used during MSTest

View File

@@ -36,7 +36,7 @@ internal sealed class MobileAuthenticator {
[DataRow("qrg+wW8/u/TDt2i/+FQuPhuVrmY=", (ulong) 1337, "mYbCKs8ZvsVN2odCMxpvidrIu1c=", "conf")]
[DataRow("qrg+wW8/u/TDt2i/+FQuPhuVrmY=", (ulong) 1723332288, "hiEx+JBqJqFJnSSL+dEthPHOmsc=")]
[DataRow("qrg+wW8/u/TDt2i/+FQuPhuVrmY=", (ulong) 1723332288, "hpZUxyNgwBvtKPROvedjuvVPQiE=", "conf")]
[DataTestMethod]
[TestMethod]
internal void GenerateConfirmationHash(string identitySecret, ulong time, string expectedCode, string? tag = null) {
ArgumentException.ThrowIfNullOrEmpty(identitySecret);
ArgumentOutOfRangeException.ThrowIfZero(time);
@@ -58,7 +58,7 @@ internal sealed class MobileAuthenticator {
[DataRow("KDHC3rsY8+CmiswnXJcE5e5dRfd=", (ulong) 1337, "47J4D")]
[DataRow("KDHC3rsY8+CmiswnXJcE5e5dRfd=", (ulong) 1723332288, "JQ3HQ")]
[DataTestMethod]
[TestMethod]
internal void GenerateTokenForTime(string sharedSecret, ulong time, string expectedCode) {
ArgumentException.ThrowIfNullOrEmpty(sharedSecret);
ArgumentOutOfRangeException.ThrowIfZero(time);
@@ -81,7 +81,7 @@ internal sealed class MobileAuthenticator {
["shared_secret"] = sharedSecret
};
Steam.Security.MobileAuthenticator? result = jsonObject.ToJsonElement().ToJsonObject<Steam.Security.MobileAuthenticator>();
Steam.Security.MobileAuthenticator? result = jsonObject.ToJsonObject<Steam.Security.MobileAuthenticator>();
if (result == null) {
throw new InvalidOperationException(nameof(result));

View File

@@ -25,7 +25,9 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static ArchiSteamFarm.Steam.Integration.SteamChatMessage;
@@ -34,6 +36,17 @@ namespace ArchiSteamFarm.Tests;
#pragma warning disable CA1812 // False positive, the class is used during MSTest
[TestClass]
internal sealed class SteamChatMessage {
private readonly TestContext TestContext;
private CancellationToken CancellationToken => TestContext.CancellationTokenSource.Token;
[UsedImplicitly]
public SteamChatMessage(TestContext testContext) {
ArgumentNullException.ThrowIfNull(testContext);
TestContext = testContext;
}
[TestMethod]
internal async Task CanSplitEvenWithStupidlyLongPrefix() {
string prefix = new('x', MaxMessagePrefixBytes);
@@ -41,9 +54,9 @@ internal sealed class SteamChatMessage {
const string emoji = "😎";
const string message = $"{emoji}{emoji}{emoji}{emoji}";
List<string> output = await GetMessageParts(message, prefix, true).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, prefix, true).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(4, output.Count);
Assert.HasCount(4, output);
Assert.AreEqual($"{prefix}{emoji}{ContinuationCharacter}", output[0]);
Assert.AreEqual($"{prefix}{ContinuationCharacter}{emoji}{ContinuationCharacter}", output[1]);
@@ -58,15 +71,15 @@ internal sealed class SteamChatMessage {
internal async Task DoesntSkipEmptyNewlines() {
string message = $"asdf{Environment.NewLine}{Environment.NewLine}asdf";
List<string> output = await GetMessageParts(message).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual(message, output.First());
}
[DataRow(false)]
[DataRow(true)]
[DataTestMethod]
[TestMethod]
internal async Task DoesntSplitInTheMiddleOfMultiByteChar(bool isAccountLimited) {
int maxMessageBytes = isAccountLimited ? MaxMessageBytesForLimitedAccounts : MaxMessageBytesForUnlimitedAccounts;
int longLineLength = maxMessageBytes - ReservedContinuationMessageBytes;
@@ -76,9 +89,9 @@ internal sealed class SteamChatMessage {
string longSequence = new('a', longLineLength - 1);
string message = $"{longSequence}{emoji}";
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(2, output.Count);
Assert.HasCount(2, output);
Assert.AreEqual($"{longSequence}{ContinuationCharacter}", output[0]);
Assert.AreEqual($"{ContinuationCharacter}{emoji}", output[1]);
@@ -89,15 +102,15 @@ internal sealed class SteamChatMessage {
const string message = "abcdef[";
const string escapedMessage = @"abcdef\[";
List<string> output = await GetMessageParts(message).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual(escapedMessage, output.First());
}
[DataRow(false)]
[DataRow(true)]
[DataTestMethod]
[TestMethod]
internal async Task DoesntSplitOnBackslashNotUsedForEscaping(bool isAccountLimited) {
int maxMessageBytes = isAccountLimited ? MaxMessageBytesForLimitedAccounts : MaxMessageBytesForUnlimitedAccounts;
int longLineLength = maxMessageBytes - ReservedContinuationMessageBytes;
@@ -105,15 +118,15 @@ internal sealed class SteamChatMessage {
string longLine = new('a', longLineLength - 2);
string message = $@"{longLine}\";
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual($@"{message}\", output.First());
}
[DataRow(false)]
[DataRow(true)]
[DataTestMethod]
[TestMethod]
internal async Task DoesntSplitOnEscapeCharacter(bool isAccountLimited) {
int maxMessageBytes = isAccountLimited ? MaxMessageBytesForLimitedAccounts : MaxMessageBytesForUnlimitedAccounts;
int longLineLength = maxMessageBytes - ReservedContinuationMessageBytes;
@@ -121,9 +134,9 @@ internal sealed class SteamChatMessage {
string longLine = new('a', longLineLength - 1);
string message = $"{longLine}[";
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(2, output.Count);
Assert.HasCount(2, output);
Assert.AreEqual($"{longLine}{ContinuationCharacter}", output[0]);
Assert.AreEqual($@"{ContinuationCharacter}\[", output[1]);
@@ -133,9 +146,9 @@ internal sealed class SteamChatMessage {
internal async Task NoNeedForAnySplittingWithNewlines() {
string message = $"abcdef{Environment.NewLine}ghijkl{Environment.NewLine}mnopqr";
List<string> output = await GetMessageParts(message).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual(message, output.First());
}
@@ -143,23 +156,23 @@ internal sealed class SteamChatMessage {
internal async Task NoNeedForAnySplittingWithoutNewlines() {
const string message = "abcdef";
List<string> output = await GetMessageParts(message).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual(message, output.First());
}
[TestMethod]
internal void ParagraphCharacterSizeIsLessOrEqualToContinuationCharacterSize() => Assert.IsTrue(ContinuationCharacterBytes >= Encoding.UTF8.GetByteCount(ParagraphCharacter.ToString()));
internal void ParagraphCharacterSizeIsLessOrEqualToContinuationCharacterSize() => Assert.IsGreaterThanOrEqualTo(Encoding.UTF8.GetByteCount(ParagraphCharacter.ToString()), ContinuationCharacterBytes);
[TestMethod]
internal async Task ProperlyEscapesCharacters() {
const string message = @"[b]bold[/b] \n";
const string escapedMessage = @"\[b]bold\[/b] \\n";
List<string> output = await GetMessageParts(message).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual(escapedMessage, output.First());
}
@@ -170,15 +183,15 @@ internal sealed class SteamChatMessage {
const string message = "asdf";
List<string> output = await GetMessageParts(message, prefix).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, prefix).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(1, output.Count);
Assert.HasCount(1, output);
Assert.AreEqual($"{escapedPrefix}{message}", output.First());
}
[DataRow(false)]
[DataRow(true)]
[DataTestMethod]
[TestMethod]
internal async Task ProperlySplitsLongSingleLine(bool isAccountLimited) {
int maxMessageBytes = isAccountLimited ? MaxMessageBytesForLimitedAccounts : MaxMessageBytesForUnlimitedAccounts;
int longLineLength = maxMessageBytes - ReservedContinuationMessageBytes;
@@ -186,9 +199,9 @@ internal sealed class SteamChatMessage {
string longLine = new('a', longLineLength);
string message = $"{longLine}{longLine}{longLine}{longLine}";
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(4, output.Count);
Assert.HasCount(4, output);
Assert.AreEqual($"{longLine}{ContinuationCharacter}", output[0]);
Assert.AreEqual($"{ContinuationCharacter}{longLine}{ContinuationCharacter}", output[1]);
@@ -260,9 +273,9 @@ internal sealed class SteamChatMessage {
<ASF> 1/1 ботов уже имеют игру app/304930 | Unturned.
""";
List<string> output = await GetMessageParts(message, prefix).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, prefix).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(2, output.Count);
Assert.HasCount(2, output);
foreach (string messagePart in output) {
if ((messagePart.Length <= prefix.Length) || !messagePart.StartsWith(prefix, StringComparison.Ordinal)) {
@@ -285,7 +298,7 @@ internal sealed class SteamChatMessage {
[DataRow(false)]
[DataRow(true)]
[DataTestMethod]
[TestMethod]
internal async Task SplitsOnNewlinesWithParagraphCharacter(bool isAccountLimited) {
int maxMessageBytes = isAccountLimited ? MaxMessageBytesForLimitedAccounts : MaxMessageBytesForUnlimitedAccounts;
@@ -304,9 +317,9 @@ internal sealed class SteamChatMessage {
string newlinePart = newlinePartBuilder.ToString();
string message = $"{newlinePart}{Environment.NewLine}{newlinePart}{Environment.NewLine}{newlinePart}{Environment.NewLine}{newlinePart}";
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync().ConfigureAwait(false);
List<string> output = await GetMessageParts(message, isAccountLimited: isAccountLimited).ToListAsync(CancellationToken).ConfigureAwait(false);
Assert.AreEqual(4, output.Count);
Assert.HasCount(4, output);
Assert.AreEqual($"{newlinePart}{ParagraphCharacter}", output[0]);
Assert.AreEqual($"{newlinePart}{ParagraphCharacter}", output[1]);
@@ -320,7 +333,7 @@ internal sealed class SteamChatMessage {
const string message = "asdf";
await Assert.ThrowsExactlyAsync<ArgumentOutOfRangeException>(async () => await GetMessageParts(message, prefix).ToListAsync().ConfigureAwait(false)).ConfigureAwait(false);
await Assert.ThrowsExactlyAsync<ArgumentOutOfRangeException>(async () => await GetMessageParts(message, prefix).ToListAsync(CancellationToken).ConfigureAwait(false)).ConfigureAwait(false);
}
[TestMethod]
@@ -329,7 +342,7 @@ internal sealed class SteamChatMessage {
const string message = "asdf";
await Assert.ThrowsExactlyAsync<ArgumentOutOfRangeException>(async () => await GetMessageParts(message, prefix).ToListAsync().ConfigureAwait(false)).ConfigureAwait(false);
await Assert.ThrowsExactlyAsync<ArgumentOutOfRangeException>(async () => await GetMessageParts(message, prefix).ToListAsync(CancellationToken).ConfigureAwait(false)).ConfigureAwait(false);
}
}
#pragma warning restore CA1812 // False positive, the class is used during MSTest

View File

@@ -187,6 +187,8 @@
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ConvertToConstant_002ELocal/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ConvertToExpressionBodyWhenPossible/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ConvertToLambdaExpressionWhenPossible/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=DuplicatedChainedIfBodies/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=DuplicatedSequentialIfBodies/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=DuplicatedSwitchSectionBodies/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=DuplicateResource/@EntryIndexedValue">DO_NOT_SHOW</s:String>
@@ -256,6 +258,7 @@
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PatternAlwaysMatches/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PatternAlwaysOfType/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PlaceAssignmentExpressionIntoBlock/@EntryIndexedValue">DO_NOT_SHOW</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PreferExplicitlyProvidedTupleComponentName/@EntryIndexedValue">SUGGESTION</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PrimaryConstructorParameterCaptureDisallowed/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PropertyNotResolved/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=RawStringCanBeSimplified/@EntryIndexedValue">SUGGESTION</s:String>

View File

@@ -5,18 +5,18 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AngleSharp.XPath" />
<PackageReference Include="AngleSharp" />
<PackageReference Include="CryptSharpStandard" />
<PackageReference Include="Humanizer" />
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations.Sources" PrivateAssets="all" />
<PackageReference Include="Markdig.Signed" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
<PackageReference Include="Nito.AsyncEx.Coordination" />
<PackageReference Include="NLog.Web.AspNetCore" />
<PackageReference Include="Scalar.AspNetCore" />
<PackageReference Include="SteamKit2" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" />
<PackageReference Include="System.Composition" />
<PackageReference Include="System.Linq.Async" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" />

View File

@@ -100,9 +100,7 @@ public sealed class ConcurrentHashSet<T> : IReadOnlySet<T>, ISet<T> where T : no
public void ExceptWith(IEnumerable<T> other) {
ArgumentNullException.ThrowIfNull(other);
foreach (T item in other) {
Remove(item);
}
RemoveRange(other);
}
[MustDisposeResource]
@@ -113,8 +111,14 @@ public sealed class ConcurrentHashSet<T> : IReadOnlySet<T>, ISet<T> where T : no
IReadOnlySet<T> otherSet = other as IReadOnlySet<T> ?? other.ToHashSet();
foreach (T item in this.Where(item => !otherSet.Contains(item))) {
Remove(item);
bool modified = false;
foreach (T _ in this.Where(item => !otherSet.Contains(item) && BackingCollection.TryRemove(item, out _))) {
modified = true;
}
if (modified) {
OnModified?.Invoke(this, EventArgs.Empty);
}
}
@@ -182,24 +186,24 @@ public sealed class ConcurrentHashSet<T> : IReadOnlySet<T>, ISet<T> where T : no
ArgumentNullException.ThrowIfNull(other);
IReadOnlySet<T> otherSet = other as IReadOnlySet<T> ?? other.ToHashSet();
HashSet<T> removed = [];
foreach (T item in otherSet.Where(Contains)) {
removed.Add(item);
Remove(item);
HashSet<T> removed = otherSet.Where(item => BackingCollection.TryRemove(item, out _)).ToHashSet();
bool modified = removed.Count > 0;
foreach (T _ in otherSet.Where(item => !removed.Contains(item) && BackingCollection.TryAdd(item, true))) {
modified = true;
}
foreach (T item in otherSet.Where(item => !removed.Contains(item))) {
Add(item);
if (modified) {
OnModified?.Invoke(this, EventArgs.Empty);
}
}
public void UnionWith(IEnumerable<T> other) {
ArgumentNullException.ThrowIfNull(other);
foreach (T otherElement in other) {
Add(otherElement);
}
AddRange(other);
}
void ICollection<T>.Add(T item) {
@@ -215,44 +219,66 @@ public sealed class ConcurrentHashSet<T> : IReadOnlySet<T>, ISet<T> where T : no
public bool AddRange(IEnumerable<T> items) {
ArgumentNullException.ThrowIfNull(items);
bool result = false;
bool modified = false;
foreach (T _ in items.Where(Add)) {
result = true;
foreach (T _ in items.Where(item => BackingCollection.TryAdd(item, true))) {
modified = true;
}
return result;
if (modified) {
OnModified?.Invoke(this, EventArgs.Empty);
}
return modified;
}
[PublicAPI]
public bool RemoveRange(IEnumerable<T> items) {
ArgumentNullException.ThrowIfNull(items);
bool result = false;
bool modified = false;
foreach (T _ in items.Where(Remove)) {
result = true;
foreach (T _ in items.Where(item => BackingCollection.TryRemove(item, out _))) {
modified = true;
}
return result;
if (modified) {
OnModified?.Invoke(this, EventArgs.Empty);
}
return modified;
}
[PublicAPI]
public int RemoveWhere(Predicate<T> match) {
ArgumentNullException.ThrowIfNull(match);
return BackingCollection.Keys.Where(match.Invoke).Count(key => BackingCollection.TryRemove(key, out _));
int count = BackingCollection.Keys.Where(match.Invoke).Count(key => BackingCollection.TryRemove(key, out _));
if (count > 0) {
OnModified?.Invoke(this, EventArgs.Empty);
}
return count;
}
[PublicAPI]
public bool ReplaceIfNeededWith(IReadOnlyCollection<T> other) {
public bool ReplaceIfNeededWith(IEnumerable<T> other) {
ArgumentNullException.ThrowIfNull(other);
if (SetEquals(other)) {
ICollection<T> otherCollection = other as ICollection<T> ?? other.ToHashSet();
if (SetEquals(otherCollection)) {
return false;
}
ReplaceWith(other);
BackingCollection.Clear();
foreach (T item in otherCollection) {
BackingCollection.TryAdd(item, true);
}
OnModified?.Invoke(this, EventArgs.Empty);
return true;
}
@@ -261,7 +287,6 @@ public sealed class ConcurrentHashSet<T> : IReadOnlySet<T>, ISet<T> where T : no
public void ReplaceWith(IEnumerable<T> other) {
ArgumentNullException.ThrowIfNull(other);
Clear();
UnionWith(other);
ReplaceIfNeededWith(other);
}
}

View File

@@ -24,6 +24,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using JetBrains.Annotations;
using Nito.AsyncEx;
@@ -60,6 +61,12 @@ public sealed class ConcurrentList<T> : IList<T>, IReadOnlyList<T> {
ArgumentOutOfRangeException.ThrowIfNegative(index);
using (Lock.WriterLock()) {
T oldValue = BackingCollection[index];
if (EqualityComparer<T>.Default.Equals(oldValue, value)) {
return;
}
BackingCollection[index] = value;
}
@@ -86,6 +93,10 @@ public sealed class ConcurrentList<T> : IList<T>, IReadOnlyList<T> {
public void Clear() {
using (Lock.WriterLock()) {
if (BackingCollection.Count == 0) {
return;
}
BackingCollection.Clear();
}
@@ -155,9 +166,15 @@ public sealed class ConcurrentList<T> : IList<T>, IReadOnlyList<T> {
public void ReplaceWith(IEnumerable<T> collection) {
ArgumentNullException.ThrowIfNull(collection);
ICollection<T> newCollection = collection as ICollection<T> ?? collection.ToList();
using (Lock.WriterLock()) {
if (BackingCollection.SequenceEqual(newCollection)) {
return;
}
BackingCollection.Clear();
BackingCollection.AddRange(collection);
BackingCollection.AddRange(newCollection);
}
OnModified?.Invoke(this, EventArgs.Empty);

View File

@@ -65,6 +65,7 @@ public sealed class ObservableConcurrentDictionary<TKey, TValue> : IDictionary<T
}
BackingDictionary[key] = value;
OnModified?.Invoke(this, EventArgs.Empty);
}
}
@@ -111,6 +112,7 @@ public sealed class ObservableConcurrentDictionary<TKey, TValue> : IDictionary<T
}
BackingDictionary.Clear();
OnModified?.Invoke(this, EventArgs.Empty);
}

View File

@@ -83,7 +83,7 @@ public static class ASF {
internal static ICrossProcessSemaphore? RateLimitingSemaphore { get; private set; }
internal static FrozenDictionary<Uri, (ICrossProcessSemaphore RateLimitingSemaphore, SemaphoreSlim OpenConnectionsSemaphore)>? WebLimitingSemaphores { get; private set; }
private static readonly FrozenSet<string> AssembliesNeededBeforeUpdate = new HashSet<string>(1, StringComparer.Ordinal) { "System.IO.Pipes" }.ToFrozenSet(StringComparer.Ordinal);
private static readonly FrozenSet<string> AssembliesNeededBeforeUpdate = FrozenSet.Create(StringComparer.Ordinal, "System.IO.Pipes");
private static readonly SemaphoreSlim UpdateSemaphore = new(1, 1);
private static Timer? AutoUpdatesTimer;
@@ -355,8 +355,8 @@ public static class ASF {
}
ArchiLogger.LogGenericInfo(Strings.IPCConfigChanged);
await ArchiKestrel.Stop().ConfigureAwait(false);
await ArchiKestrel.Start().ConfigureAwait(false);
await ArchiKestrel.Restart().ConfigureAwait(false);
}
private static async Task OnChangedFile(string name, string fullPath) {
@@ -773,13 +773,7 @@ public static class ASF {
ReleaseResponse? releaseResponse = await GitHubService.GetLatestRelease(SharedInfo.GithubRepo, channel == GlobalConfig.EUpdateChannel.Stable).ConfigureAwait(false);
if (releaseResponse == null) {
ArchiLogger.LogGenericWarning(Strings.ErrorUpdateCheckFailed);
return (false, null);
}
if (string.IsNullOrEmpty(releaseResponse.Tag)) {
if ((releaseResponse == null) || string.IsNullOrEmpty(releaseResponse.Tag)) {
ArchiLogger.LogGenericWarning(Strings.ErrorUpdateCheckFailed);
return (false, null);
@@ -849,8 +843,7 @@ public static class ASF {
BinaryResponse? response;
try {
// ReSharper disable once MethodSupportsCancellation - the token initialized above is not meant to be passed here
response = await WebBrowser.UrlGetToBinary(binaryAsset.DownloadURL, progressReporter: progressReporter).ConfigureAwait(false);
response = await WebBrowser.UrlGetToBinary(binaryAsset.DownloadURL, progressReporter: progressReporter, cancellationToken: CancellationToken.None).ConfigureAwait(false);
} finally {
progressReporter.ProgressChanged -= onProgressChanged;
}

View File

@@ -183,7 +183,7 @@ internal static class ArchiNet {
private static async Task<(bool Success, IReadOnlyCollection<ulong>? Result)> ResolveCachedBadBots(CancellationToken cancellationToken = default) {
if (ASF.GlobalDatabase == null) {
throw new InvalidOperationException(nameof(ASF.WebBrowser));
throw new InvalidOperationException(nameof(ASF.GlobalDatabase));
}
if (ASF.WebBrowser == null) {

View File

@@ -35,8 +35,6 @@ using System.Resources;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using AngleSharp.Dom;
using AngleSharp.XPath;
using ArchiSteamFarm.Localization;
using ArchiSteamFarm.NLog;
using ArchiSteamFarm.Storage;
@@ -53,7 +51,7 @@ public static class Utilities {
private const byte TimeoutForLongRunningTasksInSeconds = 60;
private const uint UnauthorizedAccessHResult = 0x80070005;
private static readonly FrozenSet<char> DirectorySeparators = new HashSet<char>(2) { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar }.ToFrozenSet();
private static readonly FrozenSet<char> DirectorySeparators = [Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar];
[PublicAPI]
public static IEnumerable<T> AsLinqThreadSafeEnumerable<T>(this ICollection<T> collection) {
@@ -197,54 +195,6 @@ public static class Utilities {
return (text.Length % 2 == 0) && text.All(Uri.IsHexDigit);
}
[Obsolete($"Use {nameof(document.QuerySelectorAll)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI]
public static IList<INode> SelectNodes(this IDocument document, string xpath) {
ArgumentNullException.ThrowIfNull(document);
return document.Body.SelectNodes(xpath);
}
[Obsolete($"Use {nameof(document.QuerySelectorAll)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI]
public static IEnumerable<T> SelectNodes<T>(this IDocument document, string xpath) where T : class, INode {
ArgumentNullException.ThrowIfNull(document);
return document.Body.SelectNodes(xpath).OfType<T>();
}
[Obsolete($"Use {nameof(Element.QuerySelectorAll)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI]
public static IEnumerable<T> SelectNodes<T>(this IElement element, string xpath) where T : class, INode {
ArgumentNullException.ThrowIfNull(element);
return element.SelectNodes(xpath).OfType<T>();
}
[Obsolete($"Use {nameof(document.QuerySelector)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI]
public static INode? SelectSingleNode(this IDocument document, string xpath) {
ArgumentNullException.ThrowIfNull(document);
return document.Body.SelectSingleNode(xpath);
}
[Obsolete($"Use {nameof(document.QuerySelector)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI]
public static T? SelectSingleNode<T>(this IDocument document, string xpath) where T : class, INode {
ArgumentNullException.ThrowIfNull(document);
return document.Body.SelectSingleNode(xpath) as T;
}
[Obsolete($"Use {nameof(element.QuerySelector)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI]
public static T? SelectSingleNode<T>(this IElement element, string xpath) where T : class, INode {
ArgumentNullException.ThrowIfNull(element);
return element.SelectSingleNode(xpath) as T;
}
[PublicAPI]
public static IEnumerable<T> ToEnumerable<T>(this T item) {
yield return item;

View File

@@ -28,6 +28,7 @@ using System.Security.AccessControl;
using System.Threading;
using System.Threading.Tasks;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.Localization;
namespace ArchiSteamFarm.Helpers;
@@ -43,8 +44,6 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
ArgumentException.ThrowIfNullOrEmpty(name);
FilePath = Path.Combine(Path.GetTempPath(), SharedInfo.ASF, name);
EnsureFileExists();
}
public void Dispose() {
@@ -86,6 +85,10 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
try {
while (true) {
if (!await EnsureFileExists().ConfigureAwait(false)) {
throw new IOException(Strings.FormatWarningFailedWithError(nameof(EnsureFileExists)));
}
try {
// ReSharper disable once SuspiciousLockOverSynchronizationPrimitive - this is not a mistake, we need extra synchronization, and we can re-use the semaphore object for that
lock (LocalSemaphore) {
@@ -93,13 +96,13 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
throw new InvalidOperationException(nameof(FileLock));
}
EnsureFileExists();
FileLock = new FileStream(FilePath, FileMode.OpenOrCreate, FileAccess.Read, FileShare.None);
FileLock = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.None);
success = true;
return;
}
} catch (FileNotFoundException) {
throw;
} catch (IOException) {
await Task.Delay(SpinLockDelay, cancellationToken).ConfigureAwait(false);
}
@@ -132,6 +135,10 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
millisecondsTimeout -= (int) stopwatch.ElapsedMilliseconds;
while (true) {
if (!await EnsureFileExists().ConfigureAwait(false)) {
throw new IOException(Strings.FormatWarningFailedWithError(nameof(EnsureFileExists)));
}
try {
// ReSharper disable once SuspiciousLockOverSynchronizationPrimitive - this is not a mistake, we need extra synchronization, and we can re-use the semaphore object for that
lock (LocalSemaphore) {
@@ -139,13 +146,13 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
throw new InvalidOperationException(nameof(FileLock));
}
EnsureFileExists();
FileLock = new FileStream(FilePath, FileMode.OpenOrCreate, FileAccess.Read, FileShare.None);
FileLock = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.None);
success = true;
return true;
}
} catch (FileNotFoundException) {
throw;
} catch (IOException) {
if (millisecondsTimeout <= SpinLockDelay) {
return false;
@@ -162,55 +169,70 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
}
}
private void EnsureFileExists() {
if (File.Exists(FilePath)) {
return;
}
private async Task<bool> EnsureFileExists() {
for (byte i = 0; i < 2; i++) {
if (File.Exists(FilePath)) {
return true;
}
string? directoryPath = Path.GetDirectoryName(FilePath);
string? directoryPath = Path.GetDirectoryName(FilePath);
if (string.IsNullOrEmpty(directoryPath)) {
ASF.ArchiLogger.LogNullError(directoryPath);
if (string.IsNullOrEmpty(directoryPath)) {
ASF.ArchiLogger.LogNullError(directoryPath);
return;
}
return false;
}
if (!Directory.Exists(directoryPath)) {
DirectoryInfo directoryInfo = Directory.CreateDirectory(directoryPath);
if (!Directory.Exists(directoryPath)) {
if (OperatingSystem.IsWindows()) {
DirectoryInfo directoryInfo = Directory.CreateDirectory(directoryPath);
if (OperatingSystem.IsWindows()) {
try {
DirectorySecurity directorySecurity = new(directoryPath, AccessControlSections.All);
try {
DirectorySecurity directorySecurity = new(directoryPath, AccessControlSections.All);
directoryInfo.SetAccessControl(directorySecurity);
} catch (PrivilegeNotHeldException e) {
// Non-critical, user might have no rights to manage the resource
ASF.ArchiLogger.LogGenericDebuggingException(e);
directoryInfo.SetAccessControl(directorySecurity);
} catch (PrivilegeNotHeldException e) {
// Non-critical, user might have no rights to manage the resource
ASF.ArchiLogger.LogGenericDebuggingException(e);
}
} else if (OperatingSystem.IsFreeBSD() || OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) {
// We require global access from all users, as other ASFs might need to put additional files in there
Directory.CreateDirectory(directoryPath, UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute | UnixFileMode.GroupRead | UnixFileMode.GroupWrite | UnixFileMode.GroupExecute | UnixFileMode.OtherRead | UnixFileMode.OtherWrite | UnixFileMode.OtherExecute);
}
} else if (OperatingSystem.IsFreeBSD() || OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) {
directoryInfo.UnixFileMode |= UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute | UnixFileMode.GroupRead | UnixFileMode.GroupWrite | UnixFileMode.GroupExecute | UnixFileMode.OtherRead | UnixFileMode.OtherWrite | UnixFileMode.OtherExecute;
}
FileStreamOptions fileStreamOptions = new() {
Mode = FileMode.CreateNew,
Access = FileAccess.Write,
Share = FileShare.None
};
try {
if (OperatingSystem.IsWindows()) {
await new FileStream(FilePath, fileStreamOptions).DisposeAsync().ConfigureAwait(false);
FileInfo fileInfo = new(FilePath);
try {
FileSecurity fileSecurity = new(FilePath, AccessControlSections.All);
fileInfo.SetAccessControl(fileSecurity);
} catch (PrivilegeNotHeldException e) {
// Non-critical, user might have no rights to manage the resource
ASF.ArchiLogger.LogGenericDebuggingException(e);
}
} else if (OperatingSystem.IsFreeBSD() || OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) {
// Since we only create and read the files, we don't need write/execute permissions on them from other instances
fileStreamOptions.UnixCreateMode = UnixFileMode.UserRead | UnixFileMode.GroupRead | UnixFileMode.OtherRead;
await new FileStream(FilePath, fileStreamOptions).DisposeAsync().ConfigureAwait(false);
}
} catch (IOException e) {
// Ignored, if the file was already created in the meantime by another instance, this is fine
ASF.ArchiLogger.LogGenericDebuggingException(e);
}
}
try {
new FileStream(FilePath, FileMode.CreateNew).Dispose();
FileInfo fileInfo = new(FilePath);
if (OperatingSystem.IsWindows()) {
try {
FileSecurity fileSecurity = new(FilePath, AccessControlSections.All);
fileInfo.SetAccessControl(fileSecurity);
} catch (PrivilegeNotHeldException e) {
// Non-critical, user might have no rights to manage the resource
ASF.ArchiLogger.LogGenericDebuggingException(e);
}
} else if (OperatingSystem.IsFreeBSD() || OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) {
fileInfo.UnixFileMode |= UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute | UnixFileMode.GroupRead | UnixFileMode.GroupWrite | UnixFileMode.GroupExecute | UnixFileMode.OtherRead | UnixFileMode.OtherWrite | UnixFileMode.OtherExecute;
}
} catch (IOException) {
// Ignored, if the file was already created in the meantime by another instance, this is fine
}
return false;
}
}

View File

@@ -28,6 +28,7 @@ using System.Linq;
using System.Reflection;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization.Metadata;
using System.Threading;
using System.Threading.Tasks;
@@ -38,29 +39,33 @@ namespace ArchiSteamFarm.Helpers.Json;
public static class JsonUtilities {
[PublicAPI]
public static readonly JsonSerializerOptions DefaultJsonSerialierOptions = CreateDefaultJsonSerializerOptions();
public static readonly JsonSerializerOptions DefaultJsonSerializerOptions = CreateDefaultJsonSerializerOptions();
[PublicAPI]
public static readonly JsonSerializerOptions IndentedJsonSerialierOptions = CreateDefaultJsonSerializerOptions(true);
public static readonly JsonSerializerOptions IndentedJsonSerializerOptions = CreateDefaultJsonSerializerOptions(true);
[PublicAPI]
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL2026:RequiresUnreferencedCode", Justification = "We don't care about trimmed assemblies, as we need it to work only with the known (used) ones")]
public static JsonElement ToJsonElement<T>(this T obj) where T : notnull {
ArgumentNullException.ThrowIfNull(obj);
return JsonSerializer.SerializeToElement(obj, DefaultJsonSerialierOptions);
return JsonSerializer.SerializeToElement(obj, DefaultJsonSerializerOptions);
}
[PublicAPI]
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL2026:RequiresUnreferencedCode", Justification = "We don't care about trimmed assemblies, as we need it to work only with the known (used) ones")]
public static T? ToJsonObject<T>(this JsonElement jsonElement) => jsonElement.Deserialize<T>(DefaultJsonSerialierOptions);
public static T? ToJsonObject<T>(this JsonElement jsonElement) => jsonElement.Deserialize<T>(DefaultJsonSerializerOptions);
[PublicAPI]
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL2026:RequiresUnreferencedCode", Justification = "We don't care about trimmed assemblies, as we need it to work only with the known (used) ones")]
public static T? ToJsonObject<T>(this JsonNode jsonNode) => jsonNode.Deserialize<T>(DefaultJsonSerializerOptions);
[PublicAPI]
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL2026:RequiresUnreferencedCode", Justification = "We don't care about trimmed assemblies, as we need it to work only with the known (used) ones")]
public static async ValueTask<T?> ToJsonObject<T>(this Stream stream, CancellationToken cancellationToken = default) {
ArgumentNullException.ThrowIfNull(stream);
return await JsonSerializer.DeserializeAsync<T>(stream, DefaultJsonSerialierOptions, cancellationToken).ConfigureAwait(false);
return await JsonSerializer.DeserializeAsync<T>(stream, DefaultJsonSerializerOptions, cancellationToken).ConfigureAwait(false);
}
[PublicAPI]
@@ -68,12 +73,12 @@ public static class JsonUtilities {
public static T? ToJsonObject<T>([StringSyntax(StringSyntaxAttribute.Json)] this string json) {
ArgumentException.ThrowIfNullOrEmpty(json);
return JsonSerializer.Deserialize<T>(json, DefaultJsonSerialierOptions);
return JsonSerializer.Deserialize<T>(json, DefaultJsonSerializerOptions);
}
[PublicAPI]
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL2026:RequiresUnreferencedCode", Justification = "We don't care about trimmed assemblies, as we need it to work only with the known (used) ones")]
public static string ToJsonText<T>(this T obj, bool writeIndented = false) => JsonSerializer.Serialize(obj, writeIndented ? IndentedJsonSerialierOptions : DefaultJsonSerialierOptions);
public static string ToJsonText<T>(this T obj, bool writeIndented = false) => JsonSerializer.Serialize(obj, writeIndented ? IndentedJsonSerializerOptions : DefaultJsonSerializerOptions);
private static void ApplyCustomModifiers(JsonTypeInfo jsonTypeInfo) {
ArgumentNullException.ThrowIfNull(jsonTypeInfo);

View File

@@ -67,7 +67,7 @@ public abstract class SerializableFile : IDisposable {
ArgumentNullException.ThrowIfNull(serializableFile);
if (string.IsNullOrEmpty(serializableFile.FilePath)) {
throw new InvalidOperationException(nameof(serializableFile.FilePath));
return;
}
if (serializableFile.ReadOnly) {
@@ -104,19 +104,11 @@ public abstract class SerializableFile : IDisposable {
// We always want to write entire content to temporary file first, in order to never load corrupted data, also when target file doesn't exist
string newFilePath = $"{serializableFile.FilePath}.new";
await File.WriteAllTextAsync(newFilePath, json).ConfigureAwait(false);
if (File.Exists(serializableFile.FilePath)) {
string currentJson = await File.ReadAllTextAsync(serializableFile.FilePath).ConfigureAwait(false);
if (json == currentJson) {
return;
}
await File.WriteAllTextAsync(newFilePath, json).ConfigureAwait(false);
File.Replace(newFilePath, serializableFile.FilePath, null);
} else {
await File.WriteAllTextAsync(newFilePath, json).ConfigureAwait(false);
File.Move(newFilePath, serializableFile.FilePath);
}
} catch (Exception e) {
@@ -155,19 +147,11 @@ public abstract class SerializableFile : IDisposable {
try {
// We always want to write entire content to temporary file first, in order to never load corrupted data, also when target file doesn't exist
#pragma warning disable CA3003 // Ignored due to caller's intent
await File.WriteAllTextAsync(newFilePath, json).ConfigureAwait(false);
if (File.Exists(filePath)) {
string currentJson = await File.ReadAllTextAsync(filePath).ConfigureAwait(false);
if (json == currentJson) {
return true;
}
await File.WriteAllTextAsync(newFilePath, json).ConfigureAwait(false);
File.Replace(newFilePath, filePath, null);
} else {
await File.WriteAllTextAsync(newFilePath, json).ConfigureAwait(false);
File.Move(newFilePath, filePath);
}
#pragma warning restore CA3003 // Ignored due to caller's intent

View File

@@ -30,6 +30,7 @@ using System.Net;
using System.Reflection;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Threading;
using System.Threading.Tasks;
using ArchiSteamFarm.Core;
using ArchiSteamFarm.Helpers.Json;
@@ -54,6 +55,7 @@ using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Microsoft.Net.Http.Headers;
using NLog.Web;
using Scalar.AspNetCore;
using IPNetwork = Microsoft.AspNetCore.HttpOverrides.IPNetwork;
namespace ArchiSteamFarm.IPC;
@@ -63,6 +65,8 @@ internal static class ArchiKestrel {
internal static HistoryTarget? HistoryTarget { get; private set; }
private static readonly SemaphoreSlim StateSemaphore = new(1, 1);
private static WebApplication? WebApplication;
internal static void OnNewHistoryTarget(HistoryTarget? historyTarget = null) {
@@ -77,49 +81,50 @@ internal static class ArchiKestrel {
}
}
internal static async Task Start() {
if (WebApplication != null) {
return;
}
ASF.ArchiLogger.LogGenericInfo(Strings.IPCStarting);
// Init history logger for /Api/Log usage
Logging.InitHistoryLogger();
WebApplication webApplication = await CreateWebApplication().ConfigureAwait(false);
internal static async Task Restart() {
await StateSemaphore.WaitAsync().ConfigureAwait(false);
try {
// Start the server
await webApplication.StartAsync().ConfigureAwait(false);
} catch (Exception e) {
ASF.ArchiLogger.LogGenericException(e);
await webApplication.DisposeAsync().ConfigureAwait(false);
await StopInternally().ConfigureAwait(false);
await StartInternally().ConfigureAwait(false);
} finally {
StateSemaphore.Release();
}
}
internal static async Task Start() {
if (IsRunning) {
return;
}
WebApplication = webApplication;
await StateSemaphore.WaitAsync().ConfigureAwait(false);
ASF.ArchiLogger.LogGenericInfo(Strings.IPCReady);
try {
await StartInternally().ConfigureAwait(false);
} finally {
StateSemaphore.Release();
}
}
internal static async Task Stop() {
if (WebApplication == null) {
if (!IsRunning) {
return;
}
await WebApplication.StopAsync().ConfigureAwait(false);
await WebApplication.DisposeAsync().ConfigureAwait(false);
await StateSemaphore.WaitAsync().ConfigureAwait(false);
WebApplication = null;
try {
await StopInternally().ConfigureAwait(false);
} finally {
StateSemaphore.Release();
}
}
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL2026:RequiresUnreferencedCode", Justification = "PathString is a primitive, it's unlikely to be trimmed to the best of our knowledge")]
[UnconditionalSuppressMessage("AssemblyLoadTrimming", "IL3000", Justification = "We don't care about trimmed assemblies, as we need it to work only with the known (used) ones")]
private static void ConfigureApp([SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")] ConfigurationManager configuration, WebApplication app) {
private static void ConfigureApp([SuppressMessage("ReSharper", "SuggestBaseTypeForParameter")] ConfigurationManager configuration, IWebHostEnvironment environment, WebApplication app) {
ArgumentNullException.ThrowIfNull(configuration);
ArgumentNullException.ThrowIfNull(environment);
ArgumentNullException.ThrowIfNull(app);
// The order of dependency injection is super important, doing things in wrong order will most likely break everything
@@ -154,8 +159,10 @@ internal static class ArchiKestrel {
// This must be called before default files, because we don't know the exact file name that will be used for index page
app.UseWhen(static context => !context.Request.Path.StartsWithSegments("/Api", StringComparison.OrdinalIgnoreCase), static appBuilder => appBuilder.UseStatusCodePagesWithReExecute("/"));
// Add support for default root path redirection (GET / -> GET /index.html), must come before static files
app.UseDefaultFiles();
if (!string.IsNullOrEmpty(environment.WebRootPath)) {
// Add support for default root path redirection (GET / -> GET /index.html), must come before static files
app.UseDefaultFiles();
}
// Add support for additional default files provided by plugins
Dictionary<string, string> pluginPaths = new(StringComparer.Ordinal);
@@ -218,12 +225,14 @@ internal static class ArchiKestrel {
app.UseStaticFiles(options);
}
// Add support for static files (e.g. HTML, CSS and JS from IPC GUI)
app.UseStaticFiles(
new StaticFileOptions {
OnPrepareResponse = OnPrepareResponse
}
);
if (!string.IsNullOrEmpty(environment.WebRootPath)) {
// Add support for static files (e.g. HTML, CSS and JS from IPC GUI)
app.UseStaticFiles(
new StaticFileOptions {
OnPrepareResponse = OnPrepareResponse
}
);
}
// Use routing for our API controllers, this should be called once we're done with all the static files mess
app.UseRouting();
@@ -242,6 +251,11 @@ internal static class ArchiKestrel {
// Add support for websockets that we use e.g. in /Api/NLog
app.UseWebSockets();
// Add support for output caching
if (ASF.GlobalConfig?.OptimizationMode != GlobalConfig.EOptimizationMode.MinMemoryUsage) {
app.UseOutputCache();
}
// Add additional endpoints provided by plugins
foreach (IWebServiceProvider plugin in PluginsCore.ActivePlugins.OfType<IWebServiceProvider>()) {
try {
@@ -255,17 +269,19 @@ internal static class ArchiKestrel {
app.MapControllers();
// Add support for OpenAPI, responsible for automatic API documentation generation, this should be on the end, once we're done with API
app.MapOpenApi("/swagger/{documentName}/swagger.json");
IEndpointConventionBuilder openApi = app.MapOpenApi("/swagger/{documentName}/swagger.json");
if (ASF.GlobalConfig?.OptimizationMode != GlobalConfig.EOptimizationMode.MinMemoryUsage) {
openApi.CacheOutput();
}
// Add support for swagger UI, this should be after swagger, obviously
app.UseSwaggerUI(
static options => {
options.DisplayRequestDuration();
options.EnableDeepLinking();
options.EnableTryItOutByDefault();
options.ShowCommonExtensions();
options.ShowExtensions();
options.SwaggerEndpoint($"{SharedInfo.ASF}/swagger.json", $"{SharedInfo.ASF} API");
app.MapScalarApiReference(
"/swagger", static options => {
options.DefaultFonts = false;
options.OpenApiRoutePattern = $"/swagger/{SharedInfo.ASF}/swagger.json";
options.Theme = ScalarTheme.Kepler;
options.Title = $"{SharedInfo.AssemblyName} API";
}
);
}
@@ -302,8 +318,7 @@ internal static class ArchiKestrel {
}
// Add support for proxies
services.Configure<ForwardedHeadersOptions>(
options => {
services.Configure<ForwardedHeadersOptions>(options => {
options.ForwardedHeaders = ForwardedHeaders.All;
if (knownNetworks != null) {
@@ -331,6 +346,11 @@ internal static class ArchiKestrel {
services.AddCors(static options => options.AddDefaultPolicy(static policyBuilder => policyBuilder.AllowAnyOrigin()));
}
// Add support for output caching
if (ASF.GlobalConfig?.OptimizationMode != GlobalConfig.EOptimizationMode.MinMemoryUsage) {
services.AddOutputCache();
}
// Add support for OpenAPI, responsible for automatic API documentation generation
services.AddOpenApi(
SharedInfo.ASF, static options => {
@@ -352,9 +372,8 @@ internal static class ArchiKestrel {
}
}
services.ConfigureHttpJsonOptions(
static options => {
JsonSerializerOptions jsonSerializerOptions = Debugging.IsUserDebugging ? JsonUtilities.IndentedJsonSerialierOptions : JsonUtilities.DefaultJsonSerialierOptions;
services.ConfigureHttpJsonOptions(static options => {
JsonSerializerOptions jsonSerializerOptions = Debugging.IsUserDebugging ? JsonUtilities.IndentedJsonSerializerOptions : JsonUtilities.DefaultJsonSerializerOptions;
options.SerializerOptions.PropertyNamingPolicy = jsonSerializerOptions.PropertyNamingPolicy;
options.SerializerOptions.TypeInfoResolver = jsonSerializerOptions.TypeInfoResolver;
@@ -378,9 +397,8 @@ internal static class ArchiKestrel {
mvc.AddControllersAsServices();
// Modify default JSON options
mvc.AddJsonOptions(
static options => {
JsonSerializerOptions jsonSerializerOptions = Debugging.IsUserDebugging ? JsonUtilities.IndentedJsonSerialierOptions : JsonUtilities.DefaultJsonSerialierOptions;
mvc.AddJsonOptions(static options => {
JsonSerializerOptions jsonSerializerOptions = Debugging.IsUserDebugging ? JsonUtilities.IndentedJsonSerializerOptions : JsonUtilities.DefaultJsonSerializerOptions;
options.JsonSerializerOptions.PropertyNamingPolicy = jsonSerializerOptions.PropertyNamingPolicy;
options.JsonSerializerOptions.TypeInfoResolver = jsonSerializerOptions.TypeInfoResolver;
@@ -440,8 +458,7 @@ internal static class ArchiKestrel {
builder.WebHost.UseConfiguration(new ConfigurationBuilder().SetBasePath(absoluteConfigDirectory).AddJsonFile(SharedInfo.IPCConfigFile, false, true).Build());
}
builder.WebHost.ConfigureKestrel(
options => {
builder.WebHost.ConfigureKestrel(options => {
options.AddServerHeader = false;
if (customConfigExists) {
@@ -466,7 +483,7 @@ internal static class ArchiKestrel {
WebApplication result = builder.Build();
ConfigureApp(builder.Configuration, result);
ConfigureApp(builder.Configuration, builder.Environment, result);
return result;
}
@@ -505,4 +522,43 @@ internal static class ArchiKestrel {
headers.CacheControl = cacheControl;
}
private static async Task StartInternally() {
if (WebApplication != null) {
return;
}
ASF.ArchiLogger.LogGenericInfo(Strings.IPCStarting);
// Init history logger for /Api/Log usage
Logging.InitHistoryLogger();
WebApplication webApplication = await CreateWebApplication().ConfigureAwait(false);
try {
// Start the server
await webApplication.StartAsync().ConfigureAwait(false);
} catch (Exception e) {
ASF.ArchiLogger.LogGenericException(e);
await webApplication.DisposeAsync().ConfigureAwait(false);
return;
}
WebApplication = webApplication;
ASF.ArchiLogger.LogGenericInfo(Strings.IPCReady);
}
private static async Task StopInternally() {
if (WebApplication == null) {
return;
}
await WebApplication.StopAsync().ConfigureAwait(false);
await WebApplication.DisposeAsync().ConfigureAwait(false);
WebApplication = null;
}
}

View File

@@ -153,6 +153,10 @@ public sealed class BotController : ArchiController {
request.BotConfig.SteamParentalCode = bot.BotConfig.SteamParentalCode;
}
if (!request.BotConfig.IsWebProxyPasswordSet && bot.BotConfig.IsWebProxyPasswordSet) {
request.BotConfig.WebProxyPassword = bot.BotConfig.WebProxyPassword;
}
if (bot.BotConfig.AdditionalProperties?.Count > 0) {
request.BotConfig.AdditionalProperties ??= new Dictionary<string, JsonElement>(bot.BotConfig.AdditionalProperties.Count, bot.BotConfig.AdditionalProperties.Comparer);
@@ -279,35 +283,11 @@ public sealed class BotController : ArchiController {
return Ok(results.All(static result => result) ? new GenericResponse(true) : new GenericResponse(false, Strings.WarningFailed));
}
[EndpointSummary("Fetches general inventory information of given bots")]
[HttpGet("{botNames:required}/Inventory")]
[ProducesResponseType<GenericResponse<IReadOnlyDictionary<string, ImmutableDictionary<uint, InventoryAppData>>>>((int) HttpStatusCode.OK)]
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.BadRequest)]
public async Task<ActionResult<GenericResponse>> InventoryInfoGet(string botNames) {
ArgumentException.ThrowIfNullOrEmpty(botNames);
HashSet<Bot>? bots = Bot.GetBots(botNames);
if ((bots == null) || (bots.Count == 0)) {
return BadRequest(new GenericResponse(false, Strings.FormatBotNotFound(botNames)));
}
IList<ImmutableDictionary<uint, InventoryAppData>?> results = await Utilities.InParallel(bots.Select(static bot => bot.ArchiWebHandler.GetInventoryContextData())).ConfigureAwait(false);
Dictionary<string, ImmutableDictionary<uint, InventoryAppData>?> result = new(bots.Count, Bot.BotsComparer);
foreach (Bot bot in bots) {
result[bot.BotName] = results[result.Count];
}
return Ok(new GenericResponse<IReadOnlyDictionary<string, ImmutableDictionary<uint, InventoryAppData>?>>(result));
}
[EndpointSummary("Fetches specific inventory of given bots")]
[HttpGet("{botNames:required}/Inventory/{appID}/{contextID}")]
[ProducesResponseType<GenericResponse<IReadOnlyDictionary<string, BotInventoryResponse>>>((int) HttpStatusCode.OK)]
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.BadRequest)]
public async Task<ActionResult<GenericResponse>> InventoryGet(string botNames, uint appID, ulong contextID) {
public async Task<ActionResult<GenericResponse>> InventoryGet(string botNames, uint appID, ulong contextID, [FromQuery] string? language = null) {
ArgumentException.ThrowIfNullOrEmpty(botNames);
if (appID == 0) {
@@ -324,7 +304,7 @@ public sealed class BotController : ArchiController {
return BadRequest(new GenericResponse(false, Strings.FormatBotNotFound(botNames)));
}
IList<(HashSet<Asset>? Result, string Message)> results = await Utilities.InParallel(bots.Select(bot => bot.Actions.GetInventory(appID, contextID))).ConfigureAwait(false);
IList<(HashSet<Asset>? Result, string Message)> results = await Utilities.InParallel(bots.Select(bot => bot.Actions.GetInventory(appID, contextID, language: language))).ConfigureAwait(false);
Dictionary<string, BotInventoryResponse> result = new(bots.Count, Bot.BotsComparer);
@@ -354,6 +334,30 @@ public sealed class BotController : ArchiController {
return Ok(new GenericResponse<IReadOnlyDictionary<string, BotInventoryResponse>>(result));
}
[EndpointSummary("Fetches general inventory information of given bots")]
[HttpGet("{botNames:required}/Inventory")]
[ProducesResponseType<GenericResponse<IReadOnlyDictionary<string, ImmutableDictionary<uint, InventoryAppData>>>>((int) HttpStatusCode.OK)]
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.BadRequest)]
public async Task<ActionResult<GenericResponse>> InventoryInfoGet(string botNames) {
ArgumentException.ThrowIfNullOrEmpty(botNames);
HashSet<Bot>? bots = Bot.GetBots(botNames);
if ((bots == null) || (bots.Count == 0)) {
return BadRequest(new GenericResponse(false, Strings.FormatBotNotFound(botNames)));
}
IList<ImmutableDictionary<uint, InventoryAppData>?> results = await Utilities.InParallel(bots.Select(static bot => bot.ArchiWebHandler.GetInventoryContextData())).ConfigureAwait(false);
Dictionary<string, ImmutableDictionary<uint, InventoryAppData>?> result = new(bots.Count, Bot.BotsComparer);
foreach (Bot bot in bots) {
result[bot.BotName] = results[result.Count];
}
return Ok(new GenericResponse<IReadOnlyDictionary<string, ImmutableDictionary<uint, InventoryAppData>?>>(result));
}
[EndpointSummary("Pauses given bots")]
[HttpPost("{botNames:required}/Pause")]
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.OK)]
@@ -435,6 +439,35 @@ public sealed class BotController : ArchiController {
return Ok(new GenericResponse<IReadOnlyDictionary<string, IReadOnlyDictionary<string, CStore_RegisterCDKey_Response?>>>(result.Values.SelectMany(static responses => responses.Values).All(static value => value != null), result));
}
[EndpointSummary("Removes licenses on given bots")]
[HttpPost("{botNames:required}/RemoveLicense")]
[ProducesResponseType<GenericResponse<IReadOnlyDictionary<string, BotRemoveLicenseResponse>>>((int) HttpStatusCode.OK)]
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.BadRequest)]
public async Task<ActionResult<GenericResponse>> RemoveLicensePost(string botNames, [FromBody] BotRemoveLicenseRequest request) {
ArgumentException.ThrowIfNullOrEmpty(botNames);
ArgumentNullException.ThrowIfNull(request);
if ((request.Apps?.IsEmpty != false) && (request.Packages?.IsEmpty != false)) {
return BadRequest(new GenericResponse(false, Strings.FormatErrorIsEmpty($"{nameof(request.Apps)} && {nameof(request.Packages)}")));
}
HashSet<Bot>? bots = Bot.GetBots(botNames);
if ((bots == null) || (bots.Count == 0)) {
return BadRequest(new GenericResponse(false, Strings.FormatBotNotFound(botNames)));
}
IList<BotRemoveLicenseResponse> results = await Utilities.InParallel(bots.Select(bot => RemoveLicense(bot, request))).ConfigureAwait(false);
Dictionary<string, BotRemoveLicenseResponse> result = new(bots.Count, Bot.BotsComparer);
foreach (Bot bot in bots) {
result[bot.BotName] = results[result.Count];
}
return Ok(new GenericResponse<IReadOnlyDictionary<string, BotRemoveLicenseResponse>>(result));
}
[EndpointSummary("Renames given bot along with all its related files")]
[HttpPost("{botName:required}/Rename")]
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.OK)]
@@ -555,4 +588,42 @@ public sealed class BotController : ArchiController {
return new BotAddLicenseResponse(apps, packages);
}
private static async Task<BotRemoveLicenseResponse> RemoveLicense(Bot bot, BotRemoveLicenseRequest request) {
ArgumentNullException.ThrowIfNull(bot);
ArgumentNullException.ThrowIfNull(request);
Dictionary<uint, EResult>? apps = null;
Dictionary<uint, EResult>? packages = null;
if (request.Apps != null) {
apps = new Dictionary<uint, EResult>(request.Apps.Count);
foreach (uint appID in request.Apps) {
if (!bot.IsConnectedAndLoggedOn) {
apps[appID] = EResult.Timeout;
continue;
}
apps[appID] = await bot.Actions.RemoveLicenseApp(appID).ConfigureAwait(false);
}
}
if (request.Packages != null) {
packages = new Dictionary<uint, EResult>(request.Packages.Count);
foreach (uint subID in request.Packages) {
if (!bot.IsConnectedAndLoggedOn) {
packages[subID] = EResult.Timeout;
continue;
}
packages[subID] = await bot.Actions.RemoveLicensePackage(subID).ConfigureAwait(false);
}
}
return new BotRemoveLicenseResponse(apps, packages);
}
}

View File

@@ -70,10 +70,6 @@ public sealed class NLogController : ArchiController {
return BadRequest(new GenericResponse(false, Strings.FormatErrorIsInvalid(nameof(lastAt))));
}
if (!Logging.LogFileExists) {
return BadRequest(new GenericResponse(false, Strings.FormatErrorIsEmpty(nameof(SharedInfo.LogFile))));
}
string[]? lines = await Logging.ReadLogFileLines().ConfigureAwait(false);
if ((lines == null) || (lines.Length == 0)) {

View File

@@ -52,7 +52,7 @@ internal sealed class OperationTransformer : IOpenApiOperationTransformer {
}
},
Array.Empty<string>()
[]
}
}
);

View File

@@ -0,0 +1,43 @@
// ----------------------------------------------------------------------------------------------
// _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || | | | | || _|| (_| || | | | | | | |
// /_/ \_\|_| \___||_| |_||_||____/ \__|\___| \__,_||_| |_| |_||_| \__,_||_| |_| |_| |_|
// ----------------------------------------------------------------------------------------------
// |
// Copyright 2015-2025 Łukasz "JustArchi" Domeradzki
// Contact: JustArchi@JustArchi.net
// |
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// |
// http://www.apache.org/licenses/LICENSE-2.0
// |
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
namespace ArchiSteamFarm.IPC.Requests;
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
public sealed class BotRemoveLicenseRequest {
[Description("A collection (set) of apps (appIDs) to remove license for")]
[JsonInclude]
public ImmutableList<uint>? Apps { get; private init; }
[Description("A collection (set) of packages (subIDs) to remove license for")]
[JsonInclude]
public ImmutableList<uint>? Packages { get; private init; }
[JsonConstructor]
private BotRemoveLicenseRequest() { }
}

View File

@@ -21,27 +21,25 @@
// See the License for the specific language governing permissions and
// limitations under the License.
using System;
using System.Text.Json;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Text.Json.Serialization;
using JetBrains.Annotations;
using SteamKit2;
namespace ArchiSteamFarm.Helpers.Json;
namespace ArchiSteamFarm.IPC.Responses;
[Obsolete($"Use {nameof(BooleanNormalizationConverter)} instead if you want to always serialize as booleans, or roll out your own solution that would preserve original type. This helper class will be removed in the next ASF version, as we switched to the other converter instead.")]
[PublicAPI]
public sealed class BooleanNumberConverter : JsonConverter<bool> {
public override bool Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) =>
reader.TokenType switch {
JsonTokenType.True => true,
JsonTokenType.False => false,
JsonTokenType.Number => reader.GetByte() == 1,
_ => throw new JsonException()
};
public sealed class BotRemoveLicenseResponse {
[Description("A collection (set) of apps (appIDs) to ask license for")]
[JsonInclude]
public ImmutableDictionary<uint, EResult>? Apps { get; private init; }
public override void Write(Utf8JsonWriter writer, bool value, JsonSerializerOptions options) {
ArgumentNullException.ThrowIfNull(writer);
[Description("A collection (set) of packages (subIDs) to ask license for")]
[JsonInclude]
public ImmutableDictionary<uint, EResult>? Packages { get; private init; }
writer.WriteNumberValue(value ? 1 : 0);
internal BotRemoveLicenseResponse(IReadOnlyDictionary<uint, EResult>? apps, IReadOnlyDictionary<uint, EResult>? packages) {
Apps = apps?.ToImmutableDictionary();
Packages = packages?.ToImmutableDictionary();
}
}

View File

@@ -584,7 +584,10 @@ StackTrace:
<value>Bot má level {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} aktiva</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Srovnávám položky ze Steamu, kolo #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -793,5 +796,8 @@ StackTrace:
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Vlastní zásuvné moduly byly zaregistrovány pro automatické aktualizace. Tým ASF by vám rád připomněl, že pro vaši vlastní bezpečnost byste měli povolit automatické aktualizace pouze od důvěryhodných stran. Pokud jste to nechtěli udělat, můžete aktualizace zásuvných modulů zakázat v globální konfiguraci ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -584,7 +584,10 @@ Processens oppetid: {1}</value>
<value>Bot har niveau {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} aktiver</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Matcher Steam inventar, runde #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -684,21 +687,35 @@ Processens oppetid: {1}</value>
<value>Din krypteringsnøgle er for kort. Vi anbefaler at bruge en, der er mindst {0} bytes (tegn) lang.</value>
<comment>{0} will be replaced by the number of bytes (characters) recommended</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForHashing" xml:space="preserve">
<value>Du bruger {0} indstilling af {1} ejendom, men du har ikke angivet en brugerdefineret --cryptkey. Du kan eventuelt give en brugerdefineret --cryptkey for øget sikkerhed, hvis du gerne vil.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "SCrypt"), {1} will be replaced by the name of the property (e.g. "IPCPassword")</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForEncryption" xml:space="preserve">
<value>Du bruger {0} indstilling af {1} ejendom, men du har ikke angivet en brugerdefineret --cryptkey. Dette går helt ud over beskyttelsen, da ASF er tvunget til at bruge sin egen (kendte) nøgle. Du bør give en brugerdefineret --cryptkey til at gøre brug af den sikkerhedsmæssige fordel, som denne indstilling.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword")</comment>
</data>
<data name="WarningRunningAsRoot" xml:space="preserve">
<value>Du forsøger at køre ASF som administrator (root). Dette medfører en betydelig sikkerhedsrisiko for din maskine, og da ASF ikke kræver root-adgang for dens drift, vi anbefaler at køre det som ikke-administrator bruger hvis det er muligt.</value>
</data>
<data name="WarningRunningInUnsupportedEnvironment" xml:space="preserve">
<value>Du kører ASF i ikke-understøttet miljø, leverer --ignore-unsupported-environment argument. Bemærk, at vi ikke tilbyder nogen form for støtte til dette scenarie, og du gør det helt på egen risiko. Du er blevet advaret.</value>
</data>
<data name="FetchingChecksumFromRemoteServer" xml:space="preserve">
<value>Henter checksum fra den eksterne server...</value>
</data>
<data name="VerifyingChecksumWithRemoteServer" xml:space="preserve">
<value>Verificerer checksum af den downloadede binary mod den fra den eksterne server...</value>
</data>
<data name="ChecksumMissing" xml:space="preserve">
<value>Fjernserveren ved ikke noget om den udgivelse, vi opdaterer til. Denne situation er mulig, hvis udgivelsen blev offentliggjort for nylig - nægter at gå videre med opdateringsproceduren med det samme som en yderligere sikkerhedsforanstaltning.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Kunne ikke hente checksum af den downloadede binære - nægter at fortsætte med opdateringsproceduren på dette tidspunkt som en ekstra sikkerhedsforanstaltning.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Fjernserver har svaret med en anden tjeksum, dette kan indikere beskadiget download eller MITM angreb, nægter at fortsætte med opdateringsproceduren!</value>
</data>
<data name="PatchingFiles" xml:space="preserve">
<value>Retter ASF-filer...</value>
</data>
@@ -718,8 +735,13 @@ Processens oppetid: {1}</value>
<value>ASF kan ikke bruge app {0}, da den har regionsrelateret begrænsning for {1} der varer indtil {2}.</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>Du forsøger at køre officielle {0} plugin i forkert matchet med ASF version: {1} (forventet {2}). Dette tyder på, at du gør noget forfærdeligt forkert, enten lave din opsætning eller forsyning - ignorer-ikke-understøttet miljø-argument, hvis du virkelig ved, hvad du laver.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>Din ASF er styrtet for mange gange for nylig, og på grund af at processen initialisering er blevet deaktiveret. Enten undersøge, rette din opsætning, og fjern derefter ASF. udslæt fil fra din config mappe, eller forsyning -- ignore-unsupported-environment argument hvis du virkelig ved, hvad du laver.</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>Idling {0} ({1}) er deaktiveret, da spillet i øjeblikket er markeret som privat. Hvis du har til hensigt fra ASF til at idle det spil, så overvej at ændre dine privatlivsindstillinger.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
@@ -747,8 +769,14 @@ Processens oppetid: {1}</value>
<value>Fandt {0} plugin opdatering fra version {1} til {2}...</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNoAssetFound" xml:space="preserve">
<value>Ingen aktiv tilgængelig for {0} plugin opdatering fra version {1} til {2}, dette betyder normalt, at opdateringen vil være tilgængelig på senere tidspunkt.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateConflictingAssetsFound" xml:space="preserve">
<value>Intet aktiv kunne bestemmes for {0} plugin opdatering fra version {1} til {2}. Dette kan ske, hvis udgivelsen ikke er færdig endnu - hvis det bliver ved med at ske, bør du underrette plugin skaberen om det.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>Opdaterer {0} plugin...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
@@ -765,6 +793,11 @@ Processens oppetid: {1}</value>
<value>{0} ({1}) plugin er blevet deaktiveret fra automatiske opdateringer, på trods af at den understøtter den funktion.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Tilpassede plugins er blevet registreret til automatiske opdateringer. ASF team vil gerne minde dig om, at for din egen sikkerhed, bør du kun aktivere automatiske opdateringer fra betroede parter. Hvis du ikke har til hensigt at gøre dette, kan du deaktivere plugin opdateringer i ASF global konfiguration.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -585,7 +585,10 @@ Prozesslaufzeit: {1}</value>
<value>Der Bot hat das Level {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} Gegenstände</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Vergleiche Steam-Gegenstände, Durchgang #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -760,7 +763,7 @@ Prozesslaufzeit: {1}</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>Es ist eine neue ASF-Version verfügbar! Erwägen Sie, das Programm selbst zu aktualisieren!</value>
<value>Es ist eine neue Plugin-Version verfügbar! Erwägen Sie, dieses selbst zu aktualisieren!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">

View File

@@ -584,7 +584,10 @@ StackTrace:
<value>Το bot βρίσκεται στο επίπεδο {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} assets</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Ταίριασμα στοιχείων Steam, γύρος #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -707,7 +710,9 @@ StackTrace:
<data name="ChecksumMissing" xml:space="preserve">
<value>Ο απομακρυσμένος διακομιστής δε γνωρίζει τίποτα σχετικά με την έκδοση στην οποία ενημερώνουμε. Αυτή η κατάσταση είναι πιθανή εάν η νέα έκδοση δημοσιεύτηκε πρόσφατα - Ως πρόσθετο μέτρο ασφαλείας το πρόγραμμα δε θα προβεί στην άμεση διαδικασία ενημέρωσης.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Αποτυχία λήψης του αθροίσματος ελέγχου του ληφθέντος δυαδικού - άρνηση να προχωρήσει με τη διαδικασία ενημέρωσης αυτή τη στιγμή ως πρόσθετο μέτρο ασφαλείας.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Ο απομακρυσμένος διακομιστής απάντησε με ένα διαφορετικό checksum, αυτό μπορεί να υποδεικνύει κατεστραμμένο download ή MITM attack, αρνούμενος να προχωρήσει με τη διαδικασία ενημέρωσης!</value>
</data>
@@ -730,9 +735,17 @@ StackTrace:
<value>Το ASF δεν είναι σε θέση να εκτελέσει την εφαρμογή {0} λόγω γεωγραφικού περιορισμού ως προς τη χώρα {1} που διαρκεί έως {2}.</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>Προσπαθείτε να εκτελέσετε επίσημο πρόσθετο {0} σε αναντιστοιχία με την έκδοση ASF: {1} (αναμένεται {2}). Αυτό υποδηλώνει ότι κάνετε κάτι τρομερά λάθος, είτε διορθώσετε τις ρυθμίσεις σας είτε παρέχετε την επιλογή --ignore-unsupported-environment αν πραγματικά ξέρετε τι κάνετε.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>Το ASF σας συνετρίβη πάρα πολλές φορές πρόσφατα και λόγω αυτού η έναρξη της διαδικασίας έχει απενεργοποιηθεί. Είτε διερευνήσετε, να διορθώσετε την εγκατάστασή σας και, στη συνέχεια, αφαιρέστε το ASF. rash file from your config directory, or supply --ignore-unsupported-environment argument if you really know what you're doing .</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>Η γεωργία {0} ({1}) είναι απενεργοποιημένη, καθώς το παιχνίδι αυτή τη στιγμή επισημαίνεται ως ιδιωτικό. Εάν προτίθεστε από το ASF στο αγρόκτημα αυτό το παιχνίδι, τότε εξετάστε το ενδεχόμενο αλλαγής των ρυθμίσεων απορρήτου του.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Παράλειψη: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
@@ -748,14 +761,37 @@ StackTrace:
<value>Δεν υπάρχει διαθέσιμη ενημέρωση για το πρόσθετο {0}: {1} ≥ {2}.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>Νέα έκδοση {0} plugin είναι διαθέσιμη! Σκεφτείτε να ενημερώσετε τον εαυτό σας!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">
<value>Βρέθηκε ενημέρωση του πρόσθετου {0} από την έκδοση {1} σε {2}...</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>Ενημέρωση του πρόσθετου {0}...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFinished" xml:space="preserve">
<value>Επιτυχής ενημέρωση του {0} plugin, οι αλλαγές θα φορτωθούν στην επόμενη εκκίνηση του ASF.</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateEnabled" xml:space="preserve">
<value>{0}/{1} plugin έχει καταχωρηθεί και ενεργοποιηθεί για αυτόματες ενημερώσεις.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="PluginUpdateDisabled" xml:space="preserve">
<value>{0} ({1}) plugin έχει απενεργοποιηθεί από αυτόματες ενημερώσεις, παρά την υποστήριξη αυτής της δυνατότητας.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Τα προσαρμοσμένα πρόσθετα έχουν καταχωρηθεί για αυτόματες ενημερώσεις. Ομάδα ASF θα ήθελε να σας υπενθυμίσει ότι, για τη δική σας ασφάλεια, θα πρέπει να ενεργοποιήσετε την αυτόματη ενημέρωση μόνο από αξιόπιστα μέρη. Αν δεν προτίθεστε να το κάνετε αυτό, μπορείτε να απενεργοποιήσετε ενημερώσεις plugin σε γενικές ρυθμίσεις ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -87,7 +87,10 @@ StackTrace:
{2}</value>
<comment>{0} will be replaced by function name, {1} will be replaced by exception message, {2} will be replaced by entire stack trace. Please note that this string should include newlines for formatting.</comment>
</data>
<data name="ErrorExitingWithNonZeroErrorCode" xml:space="preserve">
<value>Poistutaan virhekoodilla {0}!</value>
<comment>{0} will be replaced by error code (number)</comment>
</data>
<data name="ErrorFailingRequest" xml:space="preserve">
<value>Pyyntö epäonnistuu: {0}</value>
<comment>{0} will be replaced by URL of the request</comment>
@@ -581,7 +584,10 @@ Prosessin käyttöaika: {1}</value>
<value>Botin taso on {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} assettia</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Vertaillaan Steam-esineitä, kierros #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -681,7 +687,10 @@ Prosessin käyttöaika: {1}</value>
<value>Salausavaimesi on liian lyhyt. Suosittelemme käyttämään salausavainta, joka on vähintään {0} tavua (merkkiä) pitkä.</value>
<comment>{0} will be replaced by the number of bytes (characters) recommended</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForHashing" xml:space="preserve">
<value>Käytät ominaisuuden {1} asetusta {0}, mutta et antanut mukautettua --cryptkey -argumenttia. Sinun tulisi antaa mukautettu --cryptkey lisäturvallisuuden takaamiseksi, jos haluat.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "SCrypt"), {1} will be replaced by the name of the property (e.g. "IPCPassword")</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForEncryption" xml:space="preserve">
<value>Käytät ominaisuuden {1} asetusta {0}, mutta et antanut mukautettua --cryptkey -argumenttia. Tämä tekee suojauksen täysin tyhjäksi, koska ASF joutuu käyttämään omaa (tunnettua) avaintaan. Sinun tulisi antaa mukautettu --cryptkey tämän asetuksen turvallisuushyöydyn saavuttamiseksi.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword")</comment>
@@ -701,7 +710,9 @@ Prosessin käyttöaika: {1}</value>
<data name="ChecksumMissing" xml:space="preserve">
<value>Etäpalvelin ei tiedä mitään julkaisusta, johon olemme päivittämässä. Tämä tilanne on mahdollinen, jos julkistaminen on hiljattain julkaistu - kieltäydytään jatkamasta päivitystä ylimääräisenä turvatoimenpiteenä.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Virhe noudettaessa tarkistussummaa ladatulle binäärille - kieltäydytään jatkamasta päivitysmenettelyä tällä hetkellä lisäsuojaustoimenpiteenä.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Etäpalvelin on vastannut eri tarkistussummalla, mikä saattaa merkitä viallista latausta tai MITM-hyökkäystä, kieltäydytään jatkamasta päivitystä!</value>
</data>
@@ -724,21 +735,69 @@ Prosessin käyttöaika: {1}</value>
<value>ASF ei pysty pelaamaan sovellusta {0}, koska sillä on aluekohtainen rajoitus maassa {1}, joka kestää {2} asti.</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>Yrität suorittaa virallista {0} -liitännäistä, joka ei täsmää ASF-versioon: {1} (odotettiin {2}). Tämä viittaa siihen, että teet jotain hirvittävän väärin; joko korjaa asennuksesi tai anna --ignore-unsupported-environment argumentti, jos todella tiedät mitä teet.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>ASF on kaatunut liian monta kertaa viime aikoina ja sen vuoksi prosessin alustus on poistettu käytöstä. Joko tutki, korjaa asetuksesi ja poista sitten ASF.crash -tiedosto asetushakemistostasi, tai anna --ignore-unsupported-environment -argumentti, jos todella tiedät mitä olet tekemässä.</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>Pelin {0} ({1}) farmaus on poistettu käytöstä, koska kyseinen peli on tällä hetkellä merkitty yksityiseksi. Jos aiot ASF:n farmata tuota peliä, harkitse sen yksityisyysasetusten muuttamista.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Ohitetaan: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>Tarkistetaan lisäosien päivityksiä...</value>
</data>
<data name="PluginUpdateChecking" xml:space="preserve">
<value>Tarkistetaan päivitystä lisäosalle {0}...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateNotFound" xml:space="preserve">
<value>Ei päivitystä saatavilla lisäosalle {0}: {1} ≥ {2}.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>Uusi versio {0} -laajennukesta on saatavilla! Suositellaan päivittämistä!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">
<value>Löydetty laajennuksen {0} päivitys versiosta {1} versioon {2}...</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNoAssetFound" xml:space="preserve">
<value>Lisäosan {0} päivitystä ei ole saatavilla versiosta {1} versioon {2}, tämä yleensä tarkoittaa, että päivitys on saatavilla myöhemmin.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateConflictingAssetsFound" xml:space="preserve">
<value>Assettia ei voitu selvittää laajennuksen {0} päivitykselle versiosta {1} versioon {2}. Tämä voi tapahtua, jos julkaisu ei ole vielä valmis - jos tämä jatkaa tapahtumasta, sinun tulisi ilmoittaa laajennuksen tekijälle asiasta.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>Päivitetään lisäosa {0}...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFinished" xml:space="preserve">
<value>{0} -laajennuksen päivittäminen on onnistunut, muutokset ladataan seuraavan ASF-käynnistyksen yhteydessä.</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateEnabled" xml:space="preserve">
<value>{0}/{1} -laajennus on rekisteröity ja automaattiset päivitykset otettu käyttöön.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="PluginUpdateDisabled" xml:space="preserve">
<value>{0} ({1}) -laajennukselta on poistettu automaattiset päivitykset huolimatta siitä että sillä on tällainen ominaisuus.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Mukautettuja laajennuksia on rekisteröity automaattisia päivityksiä varten. ASF-tiimi haluaa muistuttaa sinua siitä, että oman turvallisuutesi vuoksi sinun pitäisi ottaa käyttöön automaattiset päivitykset vain luotettavilta osapuolilta. Jos et aikonut tehdä tätä, voit poistaa laajennukset päivitykset käytöstä ASF globaalissa asetuksessa.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Syöte: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -584,7 +584,10 @@ Durée de fonctionnement : {1}</value>
<value>Le bot a le niveau {0}</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} articles</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Correspondance des éléments Steam, tour #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -793,5 +796,8 @@ Durée de fonctionnement : {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Les plugins personnalisés ont été enregistrés pour les mises à jour automatiques. L'équipe ASF voudrait vous rappeler que, pour votre propre sécurité, vous ne devriez activer les mises à jour automatiques que des groupes de confiance. Si vous n'aviez pas l'intention de le faire, vous pouvez désactiver les mises à jour de plugin dans la configuration globale d'ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Saisie : {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -582,7 +582,10 @@ Tempo di attività: {1}</value>
<value>Il Bot ha il livello {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} risorse</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Elementi Corrispondenza Steam, round #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -705,7 +708,9 @@ Tempo di attività: {1}</value>
<data name="ChecksumMissing" xml:space="preserve">
<value>Il server remoto non sa nulla della versione alla quale stiamo aggiornando. Questa situazione è possibile se la versione è stata pubblicata di recente, come misura di sicurezza aggiuntiva si rifiuta l'aggiornamento a questa versione per il momento.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Impossibile recuperare il checksum del binario scaricato - rifiutato il procedimento con la procedura di aggiornamento al momento come misura di sicurezza aggiuntiva.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Il server remoto ha risposto con un checksum diverso, questo potrebbe indicare un download danneggiato o un attacco MITM, procedura di aggiornamento fermata!</value>
</data>
@@ -739,7 +744,10 @@ Tempo di attività: {1}</value>
<value>Farming {0} ({1}) è disabilitato, in quanto quel gioco è attualmente contrassegnato come privato. Se si intende da ASF farmare quel gioco, prendere in considerazione di modificare le sue impostazioni sulla privacy.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Saltando: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>Controllo aggiornamenti plugin...</value>
</data>
@@ -786,5 +794,8 @@ Tempo di attività: {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>I plugin personalizzati sono stati registrati per aggiornamenti automatici. Il team di ASF vorrebbe ricordarti che, per la tua sicurezza, dovresti abilitare gli aggiornamenti automatici solo da parti fidate. Se non hai intenzione di farlo, puoi disabilitare gli aggiornamenti dei plugin nella configurazione globale di ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Inserisci: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -581,7 +581,10 @@ Process uptime: {1}</value>
<value>bot のレベルは {0} です。</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): アセット数 {4}</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Steam アイテムをマッチさせています: #{0}</value>
<comment>{0} will be replaced by round number</comment>
@@ -681,7 +684,10 @@ Process uptime: {1}</value>
<value>暗号化キーが短すぎます。少なくとも {0} バイト (文字) の長いものを使用することをお勧めします。</value>
<comment>{0} will be replaced by the number of bytes (characters) recommended</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForHashing" xml:space="preserve">
<value>{1} プロパティの {0} 設定を使用していますが、カスタム --cryptkey が指定されていません。必要に応じて、セキュリティ向上のためにカスタム --cryptkey を指定できます。</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "SCrypt"), {1} will be replaced by the name of the property (e.g. "IPCPassword")</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForEncryption" xml:space="preserve">
<value>{0} 設定の {1} プロパティを使用していますが、カスタム --cryptkey が設定されていません。 ASFは独自の(既知の) キーを使用することを余儀なくされているため、この状態ではセキュリティ保護がされていないことを意味します。 この設定で提供されるセキュリティ上のメリットを利用するためには、カスタム --cryptkey を提供する必要があります。</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword")</comment>
@@ -701,7 +707,9 @@ Process uptime: {1}</value>
<data name="ChecksumMissing" xml:space="preserve">
<value>リモートサーバーがアップデート中のリリースを認知していません。このリリースが直近に公開された場合、この状況が起こることがあります - 万全なセキュリティ対策を期すため、このアップデートを却下します。</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>ダウンロードしたバイナリのチェックサムの取得に失敗しました。セキュリティ上の理由から、今回はアップデート手順を中止します。</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>リモートサーバーがチェックサムの不一致を確認しました。これはダウンロードが破損しているか、MITM攻撃を示す可能性があります。このアップデートを却下します</value>
</data>
@@ -720,10 +728,21 @@ Process uptime: {1}</value>
<value>有償機能の{0} の使用を試みましたが、ASFグローバル設定に有効なLicenseIDが設定されていません。追加の設定が行われていない場合、この機能は動作しません。設定を確認してください。</value>
<comment>{0} will be replaced by feature name (e.g. MatchActively)</comment>
</data>
<data name="WarningRegionRestrictedPackage" xml:space="preserve">
<value>アプリ {0} は、{1} の国に対する地域制限が {2} まで有効なため、ASF ではプレイできません。</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>公式の {0} プラグインを ASF バージョン {1} で使用しようとしていますが、互換性がありません(想定バージョン: {2})。構成に問題がある可能性が高いため、修正するか、本当に内容を理解している場合のみ --ignore-unsupported-environment を指定してください。</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>ASF が最近頻繁にクラッシュしているため、プロセスの初期化が無効化されています。構成を確認・修正したうえで、設定ディレクトリ内の ASF.crash ファイルを削除するか、本当に理解している場合のみ --ignore-unsupported-environment を指定してください。</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>{0}{1}のファーミングは無効です。このゲームは現在プライベート設定になっています。ASF でファーミングを行いたい場合は、プライバシー設定の変更を検討してください。</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>スキップ中: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
@@ -731,16 +750,51 @@ Process uptime: {1}</value>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>プラグインのアップデートを確認しています...</value>
</data>
<data name="PluginUpdateChecking" xml:space="preserve">
<value>{0} プラグインのアップデートを確認中…</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateNotFound" xml:space="preserve">
<value>{0} プラグインはすでに最新です({1} ≥ {2})。</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>新しい {0} プラグインバージョンが利用可能です!アップデートを検討してください!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">
<value>{0} プラグインのアップデートが見つかりました(バージョン {1} → {2})…</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNoAssetFound" xml:space="preserve">
<value>{0} プラグインのバージョン {1} から {2} へのアップデート用アセットが見つかりません。通常、この場合は後ほど利用可能になります。</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateConflictingAssetsFound" xml:space="preserve">
<value>{0} プラグインのバージョン {1} から {2} へのアップデートに使用するアセットが特定できませんでした。これはリリースが未完了の場合に発生することがあります。繰り返し発生する場合は、プラグインの作者に連絡してください。</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>{0} プラグインを更新中…</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFinished" xml:space="preserve">
<value>{0} プラグインの更新に成功しました。変更は次回 ASF の起動時に反映されます。</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateEnabled" xml:space="preserve">
<value>{0}/{1} プラグインは登録され、自動アップデートが有効になりました。</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="PluginUpdateDisabled" xml:space="preserve">
<value>{0}{1})プラグインは自動アップデート機能に対応していますが、無効化されています。</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>カスタムプラグインが自動アップデート対象として登録されました。ASFチームからのお願いとして、安全のため信頼できる提供元からのプラグインのみ自動アップデートを有効にしてください。意図しない登録であれば、ASFのグローバル設定でプラグインの自動アップデートを無効にできます。</value>
</data>
<data name="Input" xml:space="preserve">
<value>入力: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -232,6 +232,27 @@
<data name="PleaseWait" xml:space="preserve">
<value>გთხოვთ დაელოდოთ...</value>
</data>
<data name="EnterCommand" xml:space="preserve">
<value>შეიყვანეთ ბრძანება: </value>
</data>
<data name="Result" xml:space="preserve">
<value>შედეგი: {0}</value>
<comment>{0} will be replaced by generic result of various functions that use this string</comment>
</data>
@@ -255,21 +276,10 @@
<data name="WarningSkipping" xml:space="preserve">
<value>გამოტოვება: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>

View File

@@ -750,6 +750,8 @@ StackTrace:
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>커스텀 플러그인들이 자동 업데이트에 등록되었습니다. ASF 팀은 안전을 위해 신뢰할 수 있는 출처들에서만 자동 업데이트를 활성화할 것을 명시 드립니다. 만약 원치 않으신다면, ASF 글로벌 설정에서 플러그인 업데이트를 비활성화할 수 있습니다.</value>
</data>
</root>

View File

@@ -584,7 +584,10 @@ Darbspējas laiks: {1}</value>
<value>Botam ir {0}. līmenis.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} līdzekļi</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Salīdzina Steam preces, #{0}. raunds...</value>
<comment>{0} will be replaced by round number</comment>
@@ -793,5 +796,8 @@ Darbspējas laiks: {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Pielāgotie spraudņi ir reģistrēti automātiskajiem atjauninājumiem. ASF komanda vēlās atgādināt, ka Tavai drošībai, automātiskos atjauninājumus vajag iespējot tikai no uzticamiem izstrādātājiem. Ja to neplānoji darīt, Tu vari atspējot spraudņu atjauninājumus ASF globālajā konfigurācijā.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Ievade: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -86,7 +86,10 @@ StackTrace:
{2}</value>
<comment>{0} will be replaced by function name, {1} will be replaced by exception message, {2} will be replaced by entire stack trace. Please note that this string should include newlines for formatting.</comment>
</data>
<data name="ErrorExitingWithNonZeroErrorCode" xml:space="preserve">
<value>Afsluiten met {0} foutcode!</value>
<comment>{0} will be replaced by error code (number)</comment>
</data>
<data name="ErrorFailingRequest" xml:space="preserve">
<value>Verzoek mislukt: {0}</value>
<comment>{0} will be replaced by URL of the request</comment>
@@ -185,7 +188,10 @@ StackTrace:
<value>Lokale versie: {0} | Externe versie: {1}</value>
<comment>{0} will be replaced by current version, {1} will be replaced by remote version</comment>
</data>
<data name="UserInputDeviceConfirmation" xml:space="preserve">
<value>Controleer je Steam mobiele app, je zou een login goedkeuringsmelding moeten hebben ontvangen. Typ Y als je de melding hebt ontvangen en goedgekeurd, N als je in plaats daarvan code wil invoeren: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteam2FA" xml:space="preserve">
<value>Voer de 2FA code in van je Steam authenticator app: </value>
<comment>Please note that this translation should end with space</comment>
@@ -577,7 +583,10 @@ Proces uptime: {1}</value>
<value>Bot is level {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} activa</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Steam-items matchen, ronde #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -677,7 +686,10 @@ Proces uptime: {1}</value>
<value>Uw encryptiesleutel is te kort. We raden u aan om er één te gebruiken die minstens {0} bytes (tekens) lang is.</value>
<comment>{0} will be replaced by the number of bytes (characters) recommended</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForHashing" xml:space="preserve">
<value>U gebruikt de instelling {0} van {1} eigenschap, maar u heeft geen aangepaste --cryptkey opgegeven. U kunt optioneel een aangepaste --cryptkey geven voor verhoogde beveiliging als u dat wilt.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "SCrypt"), {1} will be replaced by the name of the property (e.g. "IPCPassword")</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForEncryption" xml:space="preserve">
<value>U gebruikt {0} instelling van {1} eigenschap, maar u heeft geen aangepaste --cryptkey opgegeven. Dit ondermijnt de bescherming volledig, omdat ASF zijn eigen (bekend) sleutel moet gebruiken. U moet een aangepaste --cryptkey opgeven om gebruik te maken van het beveiligingsvoordeel dat deze instelling biedt.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword")</comment>
@@ -697,7 +709,9 @@ Proces uptime: {1}</value>
<data name="ChecksumMissing" xml:space="preserve">
<value>Externe server weet niets over de release waar we naar bijwerken. Deze situatie is mogelijk als de vrijlating onlangs werd gepubliceerd - door als aanvullende veiligheidsmaatregel de actualiseringsprocedure onmiddellijk te weigeren.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Fout bij het ophalen van een checksum van de gedownloade binary - weigering om verder te gaan met de updateprocedure op dit moment als aanvullende beveiligingsmaatregel.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Externe server heeft geantwoord met een andere checksum, dit kan duiden op corrupte download of MITM aanval, de update procedure zal gestopt worden!</value>
</data>
@@ -716,22 +730,73 @@ Proces uptime: {1}</value>
<value>Je hebt geprobeerd om de betaalde functie {0} te gebruiken, maar je hebt geen geldige LicenseID ingesteld in de ASF global config. Controleer uw configuratie, aangezien de functie niet werkt zonder aanvullende details.</value>
<comment>{0} will be replaced by feature name (e.g. MatchActively)</comment>
</data>
<data name="WarningRegionRestrictedPackage" xml:space="preserve">
<value>ASF kan app {0} niet spelen omdat het een regionale beperking heeft voor {1} land dat duurt tot {2}.</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>U probeert de officiële {0} plugin uit te voeren die niet overeenkomt met de ASF-versie: {1} (verwacht {2}) Dit geeft aan dat je iets vreselijk verkeerd doet. Repareer je instellingen of geef --ignore-unsupport-environment argument als je echt weet wat je doet.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>Je ASF is de laatste tijd te vaak gecrasht en door het feit dat de initialisatie van de procedure is uitgeschakeld. Ofwel onderzoeken en repareer je installatie, en verwijder ASF. rash bestand vanuit uw config directory, of geef --ignore-unsupported-environment argument als je echt weet wat je aan het doen bent.</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>Landbouw {0} ({1}) is uitgeschakeld, omdat dat spel momenteel als privé is gemarkeerd. Als je van ASF van plan bent dat spel te bewerken, overweeg dan om de privacy-instellingen te veranderen.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Overslaan: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>Controleren op plugin updates...</value>
</data>
<data name="PluginUpdateChecking" xml:space="preserve">
<value>Controleren van update voor {0} plugin...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateNotFound" xml:space="preserve">
<value>Geen update beschikbaar voor {0} plugin: {1} ≥ {2}.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>Nieuwe versie van {0} plugin is beschikbaar! Overweeg uzelf te updaten!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">
<value>Gevonden {0} plugin update van versie {1} naar {2}...</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNoAssetFound" xml:space="preserve">
<value>Geen asset beschikbaar voor {0} plugin update van versie {1} naar {2}, meestal betekent dit dat de update op een later tijdstip beschikbaar zal zijn.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateConflictingAssetsFound" xml:space="preserve">
<value>Er kon geen asset worden bepaald voor {0} plugin update van versie {1} naar {2}. Dit kan gebeuren als de release nog niet klaar is - als het blijft gebeuren, moet je de maker van de plugin hiervan op de hoogte stellen.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>Bijwerken {0} plugin...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFinished" xml:space="preserve">
<value>Bijwerken van de {0} plugin is geslaagd, de wijzigingen worden geladen op de volgende ASF lancering.</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateEnabled" xml:space="preserve">
<value>{0}/{1} plugin is geregistreerd en geactiveerd voor automatische updates.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="PluginUpdateDisabled" xml:space="preserve">
<value>{0} ({1}) plugin is uitgeschakeld voor automatische updates, ondanks het ondersteunen van deze functie.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Aangepaste plugins zijn geregistreerd voor automatische updates. Het ASF-team wil je eraan herinneren dat je voor je eigen veiligheid alleen automatische updates van vertrouwde partijen inschakelt. Als u niet van plan bent dit te doen, kunt u plugin updates uitschakelen in de ASF globale configuratie.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -185,62 +185,175 @@ StackTrace:
<data name="UpdateNewVersionAvailable" xml:space="preserve">
<value>Ny ASF-versjon er tilgjengelig! Vurder å oppdatere!</value>
</data>
<data name="UpdateVersionInfo" xml:space="preserve">
<value>Lokal versjon: {0} ART Fjernversjon: {1}</value>
<comment>{0} will be replaced by current version, {1} will be replaced by remote version</comment>
</data>
<data name="UserInputDeviceConfirmation" xml:space="preserve">
<value>Vennligst sjekk din Steam mobil app, du bør ha mottatt et varsel om innloggingsgodkjenning. Skriv Y hvis du har mottatt og godkjent varslen, N hvis du ønsker å legge til kode i stedet: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteam2FA" xml:space="preserve">
<value>Vennligst skriv inn 2FA-koden fra Steam-autentiseringsappen din: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteamGuard" xml:space="preserve">
<value>Skriv inn SteamGuard auth kode som ble sendt til din e-post: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteamLogin" xml:space="preserve">
<value>Vennligst skriv inn din Steam-innlogging: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteamParentalCode" xml:space="preserve">
<value>Vennligst legg inn Steam foreldrekode: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteamPassword" xml:space="preserve">
<value>Skriv inn ditt Steam-passord: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="WarningUnknownValuePleaseReport" xml:space="preserve">
<value>Mottatt ukjent verdi for {0}, vennligst rapport dette: {1}</value>
<comment>{0} will be replaced by object's name, {1} will be replaced by value for that object</comment>
</data>
<data name="IPCReady" xml:space="preserve">
<value>IPC server klar!</value>
</data>
<data name="IPCStarting" xml:space="preserve">
<value>Starter IPC server...</value>
</data>
<data name="BotAlreadyStopped" xml:space="preserve">
<value>Denne botten har allerede stoppet!</value>
</data>
<data name="BotNotFound" xml:space="preserve">
<value>Kunne ikke finne noen bot som heter {0}!</value>
<comment>{0} will be replaced by bot's name query (string)</comment>
</data>
<data name="BotStatusIdling" xml:space="preserve">
<value>Bot dyrkingsspill: {0} ({1}, {2} kort dråper igjen) fra totalt {3} spill ({4} kort) igjen til gården (~{5} igjen).</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name, {2} will be replaced by number of cards left to farm, {3} will be replaced by total number of games to farm, {4} will be replaced by total number of cards to farm, {5} will be replaced by translated TimeSpan string (such as "1 day, 5 hours and 30 minutes")</comment>
</data>
<data name="BotStatusIdlingList" xml:space="preserve">
<value>Bot dyrker dyrkingsspill: {0} fra totalt {1} spill ({2} kort) igjen til gården (~{3} igjen).</value>
<comment>{0} will be replaced by list of the games (IDs, numbers), {1} will be replaced by total number of games to farm, {2} will be replaced by total number of cards to farm, {3} will be replaced by translated TimeSpan string (such as "1 day, 5 hours and 30 minutes")</comment>
</data>
<data name="CheckingFirstBadgePage" xml:space="preserve">
<value>Kontrollerer førstemblemsiden...</value>
</data>
<data name="CheckingOtherBadgePages" xml:space="preserve">
<value>Sjekker andre emblemsider...</value>
</data>
<data name="ChosenFarmingAlgorithm" xml:space="preserve">
<value>Valgt landbruks algoritme: {0}</value>
<comment>{0} will be replaced by the name of chosen farming algorithm</comment>
</data>
<data name="Done" xml:space="preserve">
<value>Utført!</value>
</data>
<data name="GamesToIdle" xml:space="preserve">
<value>Vi har totalt {0} spill ({1} kort) fra gården (~{2} gjenstår)...</value>
<comment>{0} will be replaced by number of games, {1} will be replaced by number of cards, {2} will be replaced by translated TimeSpan string (such as "1 day, 5 hours and 30 minutes")</comment>
</data>
<data name="IdlingFinished" xml:space="preserve">
<value>Jordbruk er ferdig!</value>
</data>
<data name="IdlingFinishedForGame" xml:space="preserve">
<value>Ferdig med drift: {0} ({1}) etter {2} spilletid!</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name, {2} will be replaced by translated TimeSpan string (such as "1 day, 5 hours and 30 minutes")</comment>
</data>
<data name="IdlingFinishedForGames" xml:space="preserve">
<value>Fullførte landbruksspill: {0}</value>
<comment>{0} will be replaced by list of the games (IDs, numbers), separated by a comma</comment>
</data>
<data name="IdlingStatusForGame" xml:space="preserve">
<value>Gårdsstatus for {0} ({1}): {2} kort gjenstår</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name, {2} will be replaced by number of cards left to farm</comment>
</data>
<data name="IdlingStopped" xml:space="preserve">
<value>Jordbruk stoppet!</value>
</data>
<data name="IgnoredPermanentPauseEnabled" xml:space="preserve">
<value>Å ignorere denne forespørselen, siden permanent pause er aktivert!</value>
</data>
<data name="NothingToIdle" xml:space="preserve">
<value>Vi har ingen ting å dyrke på denne kontoen!</value>
</data>
<data name="NowIdling" xml:space="preserve">
<value>Nærliggende nå: {0} ({1})</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="PlayingNotAvailable" xml:space="preserve">
<value>Å spille er utilgjengelig for øyeblikket, vi vil prøve igjen senere!</value>
</data>
<data name="StillIdling" xml:space="preserve">
<value>Fortsatt landing: {0} ({1})</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="StillIdlingList" xml:space="preserve">
<value>Fortsatt landing: {0}</value>
<comment>{0} will be replaced by list of the games (IDs, numbers), separated by a comma</comment>
</data>
<data name="StoppedIdling" xml:space="preserve">
<value>Stoppet drift: {0} ({1})</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="StoppedIdlingList" xml:space="preserve">
<value>Stoppet drift: {0}</value>
<comment>{0} will be replaced by list of the games (IDs, numbers), separated by a comma</comment>
</data>
<data name="UnknownCommand" xml:space="preserve">
<value>Ukjent kommando!</value>
</data>
<data name="WarningCouldNotCheckBadges" xml:space="preserve">
<value>Kunne ikke hente merker,informasjon, vi vil prøve igjen senere!</value>
</data>
<data name="WarningCouldNotCheckCardsStatus" xml:space="preserve">
<value>Kunne ikke sjekke kortstatus for: {0} ({1}), vi skal prøve igjen senere!</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="BotAcceptingGift" xml:space="preserve">
<value>Godta gave: {0}...</value>
<comment>{0} will be replaced by giftID (number)</comment>
</data>
<data name="BotAccountLimited" xml:space="preserve">
<value>Denne kontoen er begrenset, driftsprosessen er utilgjengelig inntil begrensningen er fjernet!</value>
</data>
<data name="BotAddLicense" xml:space="preserve">
<value>ID: {0} Status: {1}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by status string</comment>
</data>
<data name="BotAddLicenseWithItems" xml:space="preserve">
<value>ID: {0} APEXStatus: {1} eventuelle: {2}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by status string, {2} will be replaced by list of granted IDs (numbers), separated by a comma</comment>
</data>
<data name="BotAlreadyRunning" xml:space="preserve">
<value>Denne botten kjører!</value>
</data>
<data name="BotAuthenticatorConverting" xml:space="preserve">
<value>Konverterer .maFile til ASF-format...</value>
</data>
<data name="BotAuthenticatorImportFinished" xml:space="preserve">
<value>Vellykket import av mobilautentisering!</value>
</data>
<data name="BotAuthenticatorToken" xml:space="preserve">
<value>2FA token: {0}</value>
<comment>{0} will be replaced by generated 2FA token (string)</comment>
</data>
<data name="BotAutomaticIdlingNowPaused" xml:space="preserve">
<value>Automatisk jordbruk har pauset!</value>
</data>
<data name="BotAutomaticIdlingNowResumed" xml:space="preserve">
<value>Automatisk jordbruk har gjenopptatt!</value>
</data>
<data name="BotAutomaticIdlingPausedAlready" xml:space="preserve">
<value>Automatisk jordbruk er midlertidig stanset!</value>
</data>
<data name="BotAutomaticIdlingResumedAlready" xml:space="preserve">
<value>Automatisk jordbruk er allerede gjenopptatt allerede!</value>
</data>
<data name="BotConnected" xml:space="preserve">
<value>Koblet til Steam!</value>
</data>
@@ -250,37 +363,87 @@ StackTrace:
<data name="BotDisconnecting" xml:space="preserve">
<value>Kobler fra...</value>
</data>
<data name="BotInstanceNotStartingBecauseDisabled" xml:space="preserve">
<value>Ikke start denne bot forekomsten fordi den er deaktivert i config filen!</value>
</data>
<data name="BotInvalidAuthenticatorDuringLogin" xml:space="preserve">
<value>Mottok TwoFactorCodeMismatch feilkode {0} ganger på rad. Uansett er 2FA-opplysningene dine ikke lenger gyldig, eller så er klokken din ikke synkronisert, avbryt!</value>
<comment>{0} will be replaced by maximum allowed number of failed 2FA attempts</comment>
</data>
<data name="BotLoggedOff" xml:space="preserve">
<value>Logget av Steam: {0}</value>
<comment>{0} will be replaced by logging off reason (string)</comment>
</data>
<data name="BotLoggedOn" xml:space="preserve">
<value>Vellykket logget på som {0}.</value>
<comment>{0} will be replaced by steam ID (number)</comment>
</data>
<data name="BotLoggingIn" xml:space="preserve">
<value>Logger inn...</value>
</data>
<data name="BotLogonSessionReplaced" xml:space="preserve">
<value>Denne kontoen ser ut til å bli brukt i en annen ASF-forekomst, som er udefinert oppførsel, vil nekte å holde den kjørende!</value>
</data>
<data name="BotLootingFailed" xml:space="preserve">
<value>Handelstilbud mislyktes!</value>
</data>
<data name="BotLootingMasterNotDefined" xml:space="preserve">
<value>Handelen kunne ikke sendes fordi det ikke er noen bruker med mestertillatelse definert!</value>
</data>
<data name="BotLootingSuccess" xml:space="preserve">
<value>Handelstilbudet ble sendt!</value>
</data>
<data name="BotSendingTradeToYourself" xml:space="preserve">
<value>Du kan ikke sende en handel til deg selv!</value>
</data>
<data name="BotNoASFAuthenticator" xml:space="preserve">
<value>Denne boten har ikke ASF 2FA aktivert! Har du glemt å importere autentiseringen din som ASF 2FA?</value>
</data>
<data name="BotNotConnected" xml:space="preserve">
<value>Denne robot-forekomsten er ikke tilkoblet!</value>
</data>
<data name="BotNotOwnedYet" xml:space="preserve">
<value>Ikke eid ennå: {0}</value>
<comment>{0} will be replaced by query (string)</comment>
</data>
<data name="BotOwnedAlreadyWithName" xml:space="preserve">
<value>Egnet allerede: {0} == {1}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="BotPointsBalance" xml:space="preserve">
<value>Poengsaldo: {0}</value>
<comment>{0} will be replaced by the points balance value (integer)</comment>
</data>
<data name="BotRateLimitExceeded" xml:space="preserve">
<value>Rammegrensen overskredet, vi vil prøve på nytt etter {0} med kjøling...</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "25 minutes")</comment>
</data>
<data name="BotReconnecting" xml:space="preserve">
<value>Kobler til på nytt...</value>
</data>
<data name="BotRemovedExpiredLoginKey" xml:space="preserve">
<value>Fjernet utgått innloggingsnøkkel!</value>
</data>
<data name="BotStatusNotIdling" xml:space="preserve">
<value>Bot gir ikke noe bruk.</value>
</data>
<data name="BotStatusLimited" xml:space="preserve">
<value>Bot er begrenset og kan ikke slippe alle kort gjennom akk.</value>
</data>
<data name="BotStatusConnecting" xml:space="preserve">
<value>Bot kobler til Steam-nettverket.</value>
</data>
<data name="BotStatusNotRunning" xml:space="preserve">
<value>Bot kjører ikke.</value>
</data>
<data name="BotStatusPaused" xml:space="preserve">
<value>Bot er satt på pause eller kjører i manuell modus.</value>
</data>
<data name="BotStatusPlayingNotAvailable" xml:space="preserve">
<value>Bot er i bruk for øyeblikket.</value>
</data>
<data name="BotUnableToLogin" xml:space="preserve">
<value>Kan ikke logge inn på Steam: {0}/{1}</value>
<comment>{0} will be replaced by failure reason (string), {1} will be replaced by extended failure reason (string)</comment>
@@ -297,103 +460,323 @@ StackTrace:
<value>Mislyktes på grunn av feil: {0}</value>
<comment>{0} will be replaced by failure reason (string)</comment>
</data>
<data name="BotConnectionLost" xml:space="preserve">
<value>Tilkobling til Steam nettverk tapt. Gjenopprettes...</value>
</data>
<data name="BotAccountFree" xml:space="preserve">
<value>Kontoen er ikke lenger brukt: jordbruksprosessen gjenopptatt!</value>
</data>
<data name="BotAccountOccupied" xml:space="preserve">
<value>Konto er for øyeblikket i bruk: ASF vil gjenoppta oppdrett når det er gratis...</value>
</data>
<data name="BotConnecting" xml:space="preserve">
<value>Kobler til...</value>
</data>
<data name="BotHeartBeatFailed" xml:space="preserve">
<value>Kan ikke koble fra klienten. Forlat denne botten instans!</value>
</data>
<data name="BotStopping" xml:space="preserve">
<value>Stopper...</value>
</data>
<data name="ErrorBotConfigInvalid" xml:space="preserve">
<value>Din bot konfigurasjon er ugyldig. Kontroller innholdet i {0} og prøv igjen!</value>
<comment>{0} will be replaced by file's path</comment>
</data>
<data name="ErrorDatabaseInvalid" xml:space="preserve">
<value>Vedvarende database kunne ikke lastes, hvis problemet vedvarer, fjern {0} for å gjenopprette databasen!</value>
<comment>{0} will be replaced by file's path</comment>
</data>
<data name="Initializing" xml:space="preserve">
<value>Initialiserer {0}...</value>
<comment>{0} will be replaced by service name that is being initialized</comment>
</data>
<data name="WarningPrivacyPolicy" xml:space="preserve">
<value>Se gjennom seksjonen om personvern på wikien hvis du er bekymret for hva ASF faktisk gjør!</value>
</data>
<data name="Welcome" xml:space="preserve">
<value>Det ser ut til at det er din første lansering av programmet, velkommen!</value>
</data>
<data name="ErrorInvalidCurrentCulture" xml:space="preserve">
<value>Den angitte nålkulturen er ugyldig, ASF vil fortsette å kjøre med standarden!</value>
</data>
<data name="TranslationIncomplete" xml:space="preserve">
<value>ASF vil forsøke å bruke {0} kulturen, men oversettelse til det språket er bare {1} fullført. Kanskje du kan hjelpe oss med å forbedre ASF-oversettelsen for ditt språk?</value>
<comment>{0} will be replaced by culture code, such as "en-US", {1} will be replaced by completeness percentage, such as "78.5%"</comment>
</data>
<data name="IdlingGameNotPossible" xml:space="preserve">
<value>Jordbruk av {0} ({1}) er midlertidig deaktivert, da ASF ikke kan spille det akkurat nå.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningIdlingGameMismatch" xml:space="preserve">
<value>ASF oppdaget ID-feil for {0} ({1}), og vil i stedet bruke ID til {2}.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name, {2} will be replaced by game's ID (number)</comment>
</data>
<data name="BotVersion" xml:space="preserve">
<value>{0} V{1}</value>
<comment>{0} will be replaced by program's name (e.g. "ASF"), {1} will be replaced by program's version (e.g. "1.0.0.0"). This string typically has nothing to translate and you should leave it as it is, unless you need to change the format, e.g. in RTL languages.</comment>
</data>
<data name="BotAccountLocked" xml:space="preserve">
<value>Denne kontoen er låst, jordbruksprosessen er permanent utilgjengelig!</value>
</data>
<data name="BotStatusLocked" xml:space="preserve">
<value>Bot er låst og kan ikke slippe noen kort gjennom innhøsting.</value>
</data>
<data name="ErrorFunctionOnlyInHeadlessMode" xml:space="preserve">
<value>Denne funksjonen er bare tilgjengelig i headless modus!</value>
</data>
<data name="BotOwnedAlready" xml:space="preserve">
<value>Egne allerede: {0}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="ErrorAccessDenied" xml:space="preserve">
<value>Ingen tilgang!</value>
</data>
<data name="WarningPreReleaseVersion" xml:space="preserve">
<value>Du bruker en versjon som er nyere enn den som ble utgitt nyeste versjonen for oppgraderingskanalen din. Vær oppmerksom på at forhåndslanseringsversjoner er ment for brukere som vet hvordan du skal rapportere feil, behandle problemer og gi tilbakemelding ingen teknisk støtte vil bli gitt.</value>
</data>
<data name="BotStats" xml:space="preserve">
<value>Gjeldende minnebruk: {0} MB.
prosess oppgang: {1}</value>
<comment>{0} will be replaced by number (in megabytes) of memory being used, {1} will be replaced by translated TimeSpan string (such as "25 minutes"). Please note that this string should include newlines for formatting.</comment>
</data>
<data name="BotOwnsOverviewPerGame" xml:space="preserve">
<value>{0}/{1} bots allerede eier spill {2}.</value>
<comment>{0} will be replaced by number of bots that already own particular game being checked, {1} will be replaced by total number of bots that were checked during the process, {2} will be replaced by game's ID (number)</comment>
</data>
<data name="BotRefreshingPackagesData" xml:space="preserve">
<value>Oppdaterer pakker data...</value>
</data>
<data name="WarningDeprecated" xml:space="preserve">
<value>Bruk av {0} er foreldet og vil bli fjernet i fremtidige versjoner av programmet. Vennligst bruk {1} i stedet.</value>
<comment>{0} will be replaced by the name of deprecated property (such as argument, config property or likewise), {1} will be replaced by the name of valid replacement (such as another argument or config property)</comment>
</data>
<data name="BotAcceptedDonationTrade" xml:space="preserve">
<value>Akseptert donasjons handel: {0}</value>
<comment>{0} will be replaced by trade's ID (number)</comment>
</data>
<data name="WarningWorkaroundTriggered" xml:space="preserve">
<value>Workaround for {0} bug ble utløst.</value>
<comment>{0} will be replaced by the bug's name provided by ASF</comment>
</data>
<data name="TargetBotNotConnected" xml:space="preserve">
<value>Target bot instans er ikke tilkoblet!</value>
</data>
<data name="BotWalletBalance" xml:space="preserve">
<value>Lommeboksaldo: {0} {1}</value>
<comment>{0} will be replaced by wallet balance value, {1} will be replaced by currency name</comment>
</data>
<data name="BotHasNoWallet" xml:space="preserve">
<value>Bot har ingen lommebok.</value>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} ressurser</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="DoneActivelyMatchingItems" xml:space="preserve">
<value>Samsvarer med Steam-elementer, fra omkring #{0}.</value>
<comment>{0} will be replaced by round number</comment>
</data>
<data name="ErrorAborted" xml:space="preserve">
<value>Avbrutt!</value>
</data>
<data name="WarningExcessiveBotsCount" xml:space="preserve">
<value>Du har flere personlige bot kontoer enn vår øvre anbefalte grense ({0}). Vær oppmerksom på at dette oppsettet ikke støttes og kan forårsake forskjellige Steam-relaterte problemer, inkludert kontosuspensjoner. Sjekk ut FAQ for mer detaljer.</value>
<comment>{0} will be replaced by our maximum recommended bots count (number)</comment>
</data>
<data name="PluginLoading" xml:space="preserve">
<value>Laster {0} V{1}...</value>
<comment>{0} will be replaced by the name of the custom ASF plugin, {1} will be replaced by its version</comment>
</data>
<data name="NothingFound" xml:space="preserve">
<value>Ingenting funnet!</value>
</data>
<data name="PluginsWarning" xml:space="preserve">
<value>Du har lastet en eller flere tilpassede plugins inn i ASF. Siden vi ikke kan tilby støtte for modded oppsett, Ta kontakt med de passende utviklerne av programtilleggene du bestemte deg for å bruke i tilfelle problemer oppstår.</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>Vennligst vent...</value>
</data>
<data name="EnterCommand" xml:space="preserve">
<value>Angi kommando: </value>
</data>
<data name="Executing" xml:space="preserve">
<value>Utfører...</value>
</data>
<data name="InteractiveConsoleEnabled" xml:space="preserve">
<value>Interaktiv konsoll er nå aktiv, skriv 'c' for å angi kommando modus.</value>
</data>
<data name="BotGamesToRedeemInBackgroundCount" xml:space="preserve">
<value>Bot har {0} spill igjen i sin bakgrunnkø.</value>
<comment>{0} will be replaced by remaining number of games in BGR's queue</comment>
</data>
<data name="ErrorSingleInstanceRequired" xml:space="preserve">
<value>ASF-prosessen kjører allerede for denne arbeidsmappen, avbryt !</value>
</data>
<data name="BotHandledConfirmations" xml:space="preserve">
<value>{0} ble håndtert bekreftelsene!</value>
<comment>{0} will be replaced by number of confirmations</comment>
</data>
<data name="BotExtraIdlingCooldown" xml:space="preserve">
<value>Venter på {0} for å sikre at vi er fri til å starte gård...</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "1 minute")</comment>
</data>
<data name="UpdateCleanup" xml:space="preserve">
<value>Rydder opp gamle filer etter oppdatering...</value>
</data>
<data name="BotGeneratingSteamParentalCode" xml:space="preserve">
<value>Genererer Steam foreldrekode, dette kan ta en stund, vurder å sette den i config i steden...</value>
</data>
<data name="IPCConfigChanged" xml:space="preserve">
<value>IPC konfigurasjonen har blitt endret!</value>
</data>
<data name="BotTradeOfferResult" xml:space="preserve">
<value>Handelstilbudet {0} er bestemt til å være {1} på grunn av {2}.</value>
<comment>{0} will be replaced by trade offer ID (number), {1} will be replaced by internal ASF enum name, {2} will be replaced by technical reason why the trade was determined to be in this state</comment>
</data>
<data name="BotInvalidPasswordDuringLogin" xml:space="preserve">
<value>Mottok feil passord feilkode {0} ganger på rad. Passordet for denne kontoen vil mest sannsynlig bli galt, avbryt!</value>
<comment>{0} will be replaced by maximum allowed number of failed login attempts</comment>
</data>
<data name="Result" xml:space="preserve">
<value>Resultat: {0}</value>
<comment>{0} will be replaced by generic result of various functions that use this string</comment>
</data>
<data name="WarningUnsupportedEnvironment" xml:space="preserve">
<value>Du prøver å kjøre {0} variant av ASF i et miljø som ikke støttes: {1}. Gi tilgang - ignorert miljø argument hvis du virkelig vet hva du gjør.</value>
</data>
<data name="WarningUnknownCommandLineArgument" xml:space="preserve">
<value>Ukjent kommandolinje-argument: {0}</value>
<comment>{0} will be replaced by unrecognized command that has been provided</comment>
</data>
<data name="ErrorConfigDirectoryNotFound" xml:space="preserve">
<value>Mappe for konfigurasjon ble ikke funnet, avbryt !</value>
</data>
<data name="BotIdlingSelectedGames" xml:space="preserve">
<value>Spiller valgte {0}: {1}</value>
<comment>{0} will be replaced by internal name of the config property (e.g. "GamesPlayedWhileIdle"), {1} will be replaced by comma-separated list of appIDs that user has chosen</comment>
</data>
<data name="AutomaticFileMigration" xml:space="preserve">
<value>{0} config filen vil bli overført til siste syntaks...</value>
<comment>{0} will be replaced with the relative path to the affected config file</comment>
</data>
<data name="WarningTooShortCryptKey" xml:space="preserve">
<value>Din krypteringsnøkkel er for kort. Vi anbefaler å bruke en som er minst {0} byte (tegn) lang.</value>
<comment>{0} will be replaced by the number of bytes (characters) recommended</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForHashing" xml:space="preserve">
<value>Du bruker {0} innstillinger for {1} egenskaper, men du ga ikke en tilpasset --cryptkey. Du kan eventuelt stille inn en tilpasset --cryptkey for økt sikkerhet hvis du ønsker det.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "SCrypt"), {1} will be replaced by the name of the property (e.g. "IPCPassword")</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForEncryption" xml:space="preserve">
<value>Du bruker {0} innstillinger for {1} egenskaper, men du ga ikke en tilpasset --cryptkey. Dette har med seg beskyttelsen helt, ettersom ASF tvinges til å bruke sin egen (kjent) nøkkel. Du bør gi en egendefinert --kryptkey for å gjøre bruk av sikkerhetsfordeler tilbudt av denne innstillingen.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword")</comment>
</data>
<data name="WarningRunningAsRoot" xml:space="preserve">
<value>Du prøver å kjøre ASF som administrator (root). Det gir en betydelig sikkerhetsrisiko for maskinen din, og siden ASF ikke krever root-tilgang for maskinen, vi anbefaler å kjøre det som ikke-administrator bruker hvis mulig.</value>
</data>
<data name="WarningRunningInUnsupportedEnvironment" xml:space="preserve">
<value>Du kjører ASF i miljøet som ikke er støttet levere --ignore-unsupported-environment argument. Vær oppmerksom på at vi ikke tilbyr noen form for støtte for dette scenarioet og gjør det helt på egen risiko. Du har blitt advart.</value>
</data>
<data name="FetchingChecksumFromRemoteServer" xml:space="preserve">
<value>Henter checksum fra ekstern server...</value>
</data>
<data name="VerifyingChecksumWithRemoteServer" xml:space="preserve">
<value>Bekrefter kontrollsummen av de nedlastede binærfilene mot serveren fra serveren...</value>
</data>
<data name="ChecksumMissing" xml:space="preserve">
<value>Ekstern server vet ikke noe om utgivelsen vi oppdaterer til. Denne situasjonen er mulig dersom utgivelsen nylig ble publisert, nekter å gå videre med oppdateringen umiddelbart som et ekstra sikkerhetstiltak.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Kunne ikke hente kontrollsummen av det nedlastede binærsystemet - nekte å fortsette med oppdateringsprosedyren på dette tidspunktet som et ytterligere sikkerhetstiltak.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Fjerntjeneren har svart med en annen sjekk, dette kan indikere ødelagte nedlastinger eller MITM angrep, nekter å fortsette med oppdateringsprosedyren!</value>
</data>
<data name="PatchingFiles" xml:space="preserve">
<value>mønstrer ASF-filer...</value>
</data>
<data name="UserInputCryptkey" xml:space="preserve">
<value>Vennligst skriv inn din krypteringsnøkkel: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="ErrorIPNotBanned" xml:space="preserve">
<value>IP-adressen {0} er ikke utestengt!</value>
<comment>{0} will be replaced by an IP address which was requested to be unbanned from using IPC</comment>
</data>
<data name="WarningNoLicense" xml:space="preserve">
<value>Du har forsøkt å bruke betalt funksjon {0} , men du har ikke en gyldig LicenseID satt i ASF-global konfigurasjonen. Vennligst se gjennom din konfigurasjon, siden funksjonen ikke fungerer uten flere detaljer.</value>
<comment>{0} will be replaced by feature name (e.g. MatchActively)</comment>
</data>
<data name="WarningRegionRestrictedPackage" xml:space="preserve">
<value>ASF kan ikke spille app {0} fordi den har regionrelatert begrensning for {1} land som varer frem til {2}.</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>Du prøver å kjøre offisiell {0} -plugin i feil matchet med ASF-versjon: {1} (forventet {2}). Dette foreslår at du gjør noe forferdelig feil, enten fikser ditt oppsett eller leveranse - ignorert-ikke støttede omgivelser hvis du vet hva du gjør.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>ASF har krasjet for mange ganger den siste tiden, og på grunn av at prosessinitialisering er deaktivert. Enten undersøk, reparer oppsettet ditt, deretter fjern ASF. utslett filen fra konfigurasjonsmappen, eller tillat --ignorer et argument som ikke støttes hvis du virkelig vet hva du gjør.</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>Jordbruk {0} ({1}) er deaktivert, siden spillet er merket som privat. Hvis du har tenkt fra ASF til gård som spillet, bør du vurdere å endre personverninnstillingene.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Skilter: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>Ser etter tilleggsoppdateringer...</value>
</data>
<data name="PluginUpdateChecking" xml:space="preserve">
<value>Sjekker oppdatering for {0} plugin...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateNotFound" xml:space="preserve">
<value>Ingen oppdatering tilgjengelig for {0} utvidelsen: {1} ≥ {2}.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>Ny {0} plugin versjon tilgjengelig! Vurder å oppdatere deg selv!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">
<value>Fant {0} oppdatering for programtillegg fra versjon {1} til {2}-...</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNoAssetFound" xml:space="preserve">
<value>Ingen ressurser tilgjengelig for {0} plugin oppdatering fra versjon {1} til {2}, betyr dette vanligvis at den vil være tilgjengelig senere.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateConflictingAssetsFound" xml:space="preserve">
<value>Ingen elementer kunne bli bestemt for {0} plugin oppdatering fra versjon {1} til {2}. Dette kan skje hvis utgivelsen ikke er ferdig ennå - hvis den fortsetter å skje, må du varsle skaperen av plugin om det.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>Oppdaterer {0} plugin...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFinished" xml:space="preserve">
<value>Oppdatering av {0} utvidelsen har lyktes, endringene vil bli lastet ved neste ASF lansering.</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateEnabled" xml:space="preserve">
<value>{0}/{1} programtillegg er registrert og aktivert for automatiske oppdateringer.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="PluginUpdateDisabled" xml:space="preserve">
<value>{0} ({1}) plugin har blitt deaktivert fra automatiske oppdateringer, til tross for støttende slik funksjon.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Egendefinerte programtillegg er registrert for automatiske oppdateringer. ASF-teamet vil minne deg på at for din egen sikkerhet bør du aktivere automatiske oppdateringer bare fra parter du stoler på. Hvis du ikke har tenkt å gjøre dette, kan du deaktivere plugin-oppdateringer i ASF-global konfigurasjon.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -584,7 +584,10 @@ Tempo de execução: {1}</value>
<value>O nível do bot é {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} itens</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Associando itens do Steam, #{0} ª rodada...</value>
<comment>{0} will be replaced by round number</comment>

View File

@@ -584,7 +584,10 @@ Tempo de execução: {1}</value>
<value>O bot está a nível {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} ativos</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Correspondendo itens da Steam, ronda #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -707,7 +710,9 @@ Tempo de execução: {1}</value>
<data name="ChecksumMissing" xml:space="preserve">
<value>O servidor remoto não sabe nada sobre a versão para a qual estamos a atualizar. Esta situção é possível se a versão foi publicada recentemente - a recusar prosseguir com a atualização imediatamente como uma medida de segurança adicional.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>Falha ao buscar a soma de verificação do binário baixado - recusando-se a prosseguir com o procedimento de atualização neste momento como uma medida de segurança adicional.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>O servidor remoto respondeu com uma 'checksum' diferente, isto pode indicar um download corrompido ou um ataque MITM, recusando prosseguir com a atualização!</value>
</data>
@@ -726,22 +731,73 @@ Tempo de execução: {1}</value>
<value>Tentou usar uma funcionalidade paga {0}, mas não tem uma LicenseID válida definida na configuração global do ASF. Por favor, reveja a sua configuração, pois as funcionalidades não funcionarão sem detalhes adicionais.</value>
<comment>{0} will be replaced by feature name (e.g. MatchActively)</comment>
</data>
<data name="WarningRegionRestrictedPackage" xml:space="preserve">
<value>O ASF não pode jogar o app {0} pois tem restrições relacionadas à região para o país {1} que dura até o {2}.</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>Você está tentando executar o plugin oficial {0} com uma versão incompatível com o ASF: {1} (esperado {2}). Isso sugere que você está fazendo algo terrivelmente errado, corrija sua configuração ou forneça o argumento --ignore-unported-environment se você realmente sabe o que está fazendo.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
<value>Seu ASF travou há muitas vezes recentemente, e devido a isso a inicialização do processo ter sido desativada. Investige, corrija sua configuração e, em seguida, remova o ASF. arquivo com erro na pasta config ou fornecer o argumento --ignore-unported-environment se você realmente souber o que está fazendo.</value>
</data>
<data name="IdlingGameNotPossiblePrivate" xml:space="preserve">
<value>A coleta {0} ({1}) está desativada, pois esse jogo está marcado como privado. Se você pretende que o ASF colete esse jogo, considere alterar suas configurações de privacidade.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Pulando: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>Procurando por atualizações dos plugins...</value>
</data>
<data name="PluginUpdateChecking" xml:space="preserve">
<value>Verificando atualizações para o plugin {0}...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateNotFound" xml:space="preserve">
<value>Nenhuma atualização disponível para o plugin {0} : {1} ≥ {2}.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNewVersionAvailable" xml:space="preserve">
<value>Nova versão do plugin {0} está disponível! Considere atualizá-lo!</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFound" xml:space="preserve">
<value>Encontrada atualização do plugin {0} da versão {1} para {2}...</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateNoAssetFound" xml:space="preserve">
<value>Nenhum ativo disponível para atualização do plugin {0} da versão {1} para {2}, isso geralmente significa que a atualização estará disponível mais tarde.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateConflictingAssetsFound" xml:space="preserve">
<value>Nenhum ativo pode ser determinado para atualização do plugin {0} da versão {1} para {2}. Isso pode acontecer se a versão ainda não estiver concluída - se isso continuar acontecendo, você deve notificar o criador do plugin sobre isso.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by current plugin's version, {2} will be replaced by remote plugin's version.</comment>
</data>
<data name="PluginUpdateInProgress" xml:space="preserve">
<value>Atualizando plugin {0}...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateFinished" xml:space="preserve">
<value>Atualização do plugin {0} teve sucesso, as alterações serão carregadas na próxima inicialização do ASF.</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateEnabled" xml:space="preserve">
<value>Plugin {0}/{1} foi registrado e habilitado para atualizações automáticas.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="PluginUpdateDisabled" xml:space="preserve">
<value>O plugin {0} ({1}) foi desativado nas atualizações automáticas, apesar de suportar este recurso.</value>
<comment>{0} will be replaced by plugin name (string), {1} will be replaced by plugin assembly name (string).</comment>
</data>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Plugins personalizados foram registrados para atualizações automáticas. A equipe do ASF quer lembrá-lo de que, para sua própria segurança, você deve ativar atualizações automáticas somente de grupos confiáveis. Se você não pretendia fazer isso, você pode desabilitar as atualizações do plugin na configuração global do ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -584,7 +584,10 @@ PROCES UPTIME: {1}</value>
<value>BOT HAS LEVEL {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} ASSETS</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>MATCHIN STEAM ITEMS, ROUND #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -793,5 +796,8 @@ PROCES UPTIME: {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>CUSTOM PLUGINS HAS BEEN REGISTERD 4 AUTOMATIC UPDATEZ. ASF TEAM WUD LIEK 2 REMIND U DAT, 4 UR OWN SAFETY, U SHUD ENABLE AUTOMATIC UPDATEZ ONLY FRUM TRUSTD PARTIEZ. IF U DIDNT INTEND 2 DO DIS, U CAN DISABLE PLUGIN UPDATEZ IN ASF GLOBAL CONFIG.</value>
</data>
<data name="Input" xml:space="preserve">
<value>INPUT: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -584,7 +584,10 @@ Proces: {1}</value>
<value>Botul are nivelul {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} resurse</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Se potrivesc obiectele Steam, runda #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -793,5 +796,8 @@ Proces: {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Au fost înregistrate plugin-uri personalizate pentru actualizări automate. Echipa ASF ar dori să vă reamintească că, pentru siguranța proprie, ar trebui să activați actualizările automate doar de la sursele de încredere. Dacă nu intenționați să faceți acest lucru, puteți dezactiva actualizările plugin-urilor în configurarea globală ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Intrare: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -585,7 +585,10 @@ Processens drifttid: {1}</value>
<value>Bot har nivå {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} tillgångar</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Matchar Steam-föremål, runda #{0}...</value>
<comment>{0} will be replaced by round number</comment>

View File

@@ -78,7 +78,7 @@
<comment>{0} will be replaced by name of the configuration property, {1} will be replaced by invalid value</comment>
</data>
<data name="ErrorEarlyFatalExceptionInfo" xml:space="preserve">
<value>ASF V{0}, çekirdek günlük modülü başlatılmadan önce kritik bir hata ile karşılaştı!</value>
<value>ASF V{0}, çekirdek günlük modülü başlatılmadan önce kritik bir hatayla karşılaştı!</value>
<comment>{0} will be replaced by version number</comment>
</data>
<data name="ErrorEarlyFatalExceptionPrint" xml:space="preserve">
@@ -96,7 +96,7 @@ Yığın Kaydı:
<comment>{0} will be replaced by URL of the request</comment>
</data>
<data name="ErrorGlobalConfigNotLoaded" xml:space="preserve">
<value>Genel yapılandırma yüklenemedi. {0} 'ın var olduğundan ve geçerli olduğundan emin olun! Kafanız karıştıysa wiki'deki 'kurulum' kılavuzunu izleyin.</value>
<value>Genel yapılandırma yüklenemedi. Lütfen {0} dosyasının mevcut ve geçerli olduğundan emin olun! Emin değilseniz Wiki'deki 'Kurulum' rehberini takip edebilirsiniz.</value>
<comment>{0} will be replaced by file's path</comment>
</data>
<data name="ErrorIsInvalid" xml:space="preserve">
@@ -104,7 +104,7 @@ Yığın Kaydı:
<comment>{0} will be replaced by object's name</comment>
</data>
<data name="ErrorNoBotsDefined" xml:space="preserve">
<value>Hiçbir bot tanımlanmamıştır. ASF'nizi yapılandırmayı unuttunuz mu? Kafanız karıştıysa wiki'deki 'kurulum' kılavuzunu izleyin.</value>
<value>Hiçbir bot tanımlanmamış. ASF'yi yapılandırmayı unuttunuz mu? Emin değilseniz Wiki'deki 'Kurulum' rehberini takip edebilirsiniz.</value>
</data>
<data name="ErrorObjectIsNull" xml:space="preserve">
<value>{0} boş!</value>
@@ -125,10 +125,10 @@ Yığın Kaydı:
<value>Şu anda çalışan sürüme ait hiçbir dosya olmadığı için güncelleme işlemine devam edilemedi! Bu sürüme otomatik güncelleme yapmak mümkün değil.</value>
</data>
<data name="ErrorUpdateNoAssets" xml:space="preserve">
<value>Bu sürüm herhangi bir varlık içermediğinden güncellemeye devam edilemedi!</value>
<value>Bu sürüm herhangi bir varlık içermediği için güncellemeye devam edilemiyor!</value>
</data>
<data name="ErrorUserInputRunningInHeadlessMode" xml:space="preserve">
<value>Kullanıcı girişi için bir istek alındı, ancak işlem başsız modunda çalışıyor!</value>
<value>Kullanıcı girişi talep edildi ancak ASF arayüzsüz modda çalışıyor!</value>
</data>
<data name="Exiting" xml:space="preserve">
<value>Çıkılıyor...</value>
@@ -176,7 +176,7 @@ Yığın Kaydı:
<value>Yeni sürüm kontrol ediliyor...</value>
</data>
<data name="UpdateDownloadingNewVersion" xml:space="preserve">
<value>Yeni sürüm indiriliyor: {0} ({1} MB)... Beklerken, yapılan işi takdir ediyorsanız bağış yapmayı düşünün! :)</value>
<value>Yeni sürüm indiriliyor: {0} ({1} MB)... Beklerken, emeğimize saygı duyuyorsanız bize bağış yapmayı düşünebilirsiniz! :)</value>
<comment>{0} will be replaced by version string, {1} will be replaced by update size (in megabytes)</comment>
</data>
<data name="UpdateFinished" xml:space="preserve">
@@ -206,7 +206,7 @@ Yığın Kaydı:
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteamParentalCode" xml:space="preserve">
<value>Lütfen Steam aile kodunu girin: </value>
<value>Lütfen Steam Aile pini kodunuzu girin: </value>
<comment>Please note that this translation should end with space</comment>
</data>
<data name="UserInputSteamPassword" xml:space="preserve">
@@ -284,11 +284,11 @@ Yığın Kaydı:
<value>Bu hesapta çalıştırılacak hiçbir şey bulamadık!</value>
</data>
<data name="NowIdling" xml:space="preserve">
<value>Şu an çalıştırılan: {0} ({1})</value>
<value>Şu anda oynanıyor: {0} ({1})</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="NowIdlingList" xml:space="preserve">
<value>Şu an çalıştırılan: {0}</value>
<value>Şu anda oynanıyor: {0}</value>
<comment>{0} will be replaced by list of the games (IDs, numbers), separated by a comma</comment>
</data>
<data name="PlayingNotAvailable" xml:space="preserve">
@@ -314,10 +314,10 @@ Yığın Kaydı:
<value>Bilinmeyen komut!</value>
</data>
<data name="WarningCouldNotCheckBadges" xml:space="preserve">
<value>Rozetlerin bilgilerini alamadık, daha sonra tekrar deneyeceğiz!</value>
<value>Rozet bilgileri alınamadı, daha sonra tekrar denenecek!</value>
</data>
<data name="WarningCouldNotCheckCardsStatus" xml:space="preserve">
<value>{0} ({1}) için kartların durumunu kontrol edemedik, daha sonra tekrar deneyeceğiz!</value>
<value>{0} ({1}) için kart durumu kontrol edilemedi, daha sonra tekrar denenecek!</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="BotAcceptingGift" xml:space="preserve">
@@ -325,7 +325,7 @@ Yığın Kaydı:
<comment>{0} will be replaced by giftID (number)</comment>
</data>
<data name="BotAccountLimited" xml:space="preserve">
<value>Bu hesap sınırlıdır, kısıtlama kaldırılana kadar kart düşürmek mümkün değil!</value>
<value>Bu hesap kısıtlıdır, kısıtlama kaldırılana kadar kart düşürmek mümkün değil!</value>
</data>
<data name="BotAddLicense" xml:space="preserve">
<value>ID: {0} | Durum: {1}</value>
@@ -339,7 +339,7 @@ Yığın Kaydı:
<value>Bu bot zaten çalışıyor!</value>
</data>
<data name="BotAuthenticatorConverting" xml:space="preserve">
<value>.maFile dosya türü ASF'nin kullanacağı dosya türüne dönüştürülüyor...</value>
<value>.maFile dosyası ASF'nin formatına dönüştürülüyor...</value>
</data>
<data name="BotAuthenticatorImportFinished" xml:space="preserve">
<value>Mobil kimlik doğrulayıcısının aktarılması başarıyla tamamlandı!</value>
@@ -355,10 +355,10 @@ Yığın Kaydı:
<value>Otomatik çalıştırma sürdürülüyor!</value>
</data>
<data name="BotAutomaticIdlingPausedAlready" xml:space="preserve">
<value>Otomatik kart düşürme zaten duraklatıldı!</value>
<value>Otomatik kart düşürme zaten duraklatılmış!</value>
</data>
<data name="BotAutomaticIdlingResumedAlready" xml:space="preserve">
<value>Otomatik çalıştırma zaten devam ediyor!</value>
<value>Otomatik kart düşürme zaten devam ediyor!</value>
</data>
<data name="BotConnected" xml:space="preserve">
<value>Steam'e bağlandı!</value>
@@ -373,7 +373,7 @@ Yığın Kaydı:
<value>Bu bot örneği, yapılandırma dosyasında devre dışı bırakıldığından başlatılmıyor!</value>
</data>
<data name="BotInvalidAuthenticatorDuringLogin" xml:space="preserve">
<value>Üst üste {0} kez 2AD Kodu Uyuşmazlığı hata kodu alındı (TwoFactorCodeMismatch). Ya 2AD kodlarınız artık geçerli değil ya da cihazınızın saati yanlış, iptal ediliyor!</value>
<value>Giriş sırasında {0} kez 'TwoFactorCodeMismatch' hatası alındı. Ya 2AD kodlarınız geçersiz ya da cihazınızın saati yanlış. İşlem iptal ediliyor!</value>
<comment>{0} will be replaced by maximum allowed number of failed 2FA attempts</comment>
</data>
<data name="BotLoggedOff" xml:space="preserve">
@@ -388,13 +388,13 @@ Yığın Kaydı:
<value>Giriş yapılıyor...</value>
</data>
<data name="BotLogonSessionReplaced" xml:space="preserve">
<value>Bu hesap başka bir ASF işleminde kullanılıyor gibi gözüküyor ve ASF bu durumda ne yapacağını bilmiyor, o yüzden başlatılamıyor!</value>
<value>Bu oturum başka bir konumdan değiştirildi. Büyük ihtimalle bu bot, başka bir ASF örneğinde de çalışıyor. ASF bu durumda kararsız çalışabileceğinden durduruluyor.</value>
</data>
<data name="BotLootingFailed" xml:space="preserve">
<value>Takas teklifi başarısız oldu!</value>
</data>
<data name="BotLootingMasterNotDefined" xml:space="preserve">
<value>Ana Steam hesabınız tanımlanmadığı için takas teklifi gönderilemedi!</value>
<value>Ana hesabınız tanımlanmadığı için takas teklifi gönderilemedi!</value>
</data>
<data name="BotLootingSuccess" xml:space="preserve">
<value>Takas teklifi başarıyla gönderildi!</value>
@@ -413,7 +413,7 @@ Yığın Kaydı:
<comment>{0} will be replaced by query (string)</comment>
</data>
<data name="BotOwnedAlreadyWithName" xml:space="preserve">
<value>Zaten buna sahip: {0} | {1}</value>
<value>Zaten şuna sahip: {0} | {1}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="BotPointsBalance" xml:space="preserve">
@@ -421,7 +421,7 @@ Yığın Kaydı:
<comment>{0} will be replaced by the points balance value (integer)</comment>
</data>
<data name="BotRateLimitExceeded" xml:space="preserve">
<value>İstek sınırııldı, {0} bekledikten sonra yeniden deneyeceğiz...</value>
<value>İstek sınırııldı, {0} sonra yeniden denenecek...</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "25 minutes")</comment>
</data>
<data name="BotReconnecting" xml:space="preserve">
@@ -439,7 +439,7 @@ Yığın Kaydı:
<value>Süresi dolmuş giriş anahtarı kaldırıldı!</value>
</data>
<data name="BotStatusNotIdling" xml:space="preserve">
<value>Bot hiçbir şeyi çalıştırmıyor.</value>
<value>Bot herhangi bir oyun oynamıyor.</value>
</data>
<data name="BotStatusLimited" xml:space="preserve">
<value>Bot sınırlı durumda ve çalışarak kart düşüremez.</value>
@@ -476,26 +476,26 @@ Yığın Kaydı:
<value>Steam Ağı bağlantısı kaybedildi. Yeniden bağlanıyor...</value>
</data>
<data name="BotAccountFree" xml:space="preserve">
<value>Hesap artık meşgul değil, çalıştırılmaya devam ediliyor!</value>
<value>Hesap artık meşgul değil, kart düşürmeye devam ediliyor!</value>
</data>
<data name="BotAccountOccupied" xml:space="preserve">
<value>Hesap şu anda kullanılıyor: ASF, hesap kullanılmadığında çalışmaya devam edecektir...</value>
<value>Hesap şu anda kullanılıyor. ASF, hesap boşa çıktığında devam edecek...</value>
</data>
<data name="BotConnecting" xml:space="preserve">
<value>Bağlanılıyor...</value>
</data>
<data name="BotHeartBeatFailed" xml:space="preserve">
<value>İstemcinin bağlantısı kesilemedi. Bu bot örneği terk ediliyor!</value>
<value>İstemci bağlantısı sağlıklı bir şekilde sonlandırılamadı. Bu bot örneği terk ediliyor!</value>
</data>
<data name="BotStopping" xml:space="preserve">
<value>Durduruluyor...</value>
</data>
<data name="ErrorBotConfigInvalid" xml:space="preserve">
<value>Bot yapılandırmanız geçersiz. Lütfen {0} içeriğini doğrulayıp tekrar deneyin!</value>
<value>Bot yapılandırmanız geçersiz. Lütfen {0} içeriğini kontrol edip tekrar deneyin!</value>
<comment>{0} will be replaced by file's path</comment>
</data>
<data name="ErrorDatabaseInvalid" xml:space="preserve">
<value>Kalıcı veritabanı yüklenemedi, sorun devam ederse, lütfen veri tabanını yeniden oluşturmak için {0} kısmını kaldırın!</value>
<value>Kalıcı veritabanı yüklenemedi. Sorun devam ederse, veritabanını yeniden oluşturmak için lütfen {0} dosyasını silin!</value>
<comment>{0} will be replaced by file's path</comment>
</data>
<data name="Initializing" xml:space="preserve">
@@ -503,24 +503,24 @@ Yığın Kaydı:
<comment>{0} will be replaced by service name that is being initialized</comment>
</data>
<data name="WarningPrivacyPolicy" xml:space="preserve">
<value>ASF'in aslında ne yaptığından endişeleniyorsanız lütfen wiki'deki gizlilik politikamız bölümünü gözden geçirin!</value>
<value>ASF'nin arka planda ne yaptığı konusunda endişeleriniz varsa, lütfen Wiki'deki Gizlilik Politikası bölümümüzü inceleyin!</value>
</data>
<data name="Welcome" xml:space="preserve">
<value>Görünen o ki programı ilk defa kullanıyorsunuz, hoş geldiniz!</value>
<value>Görünüşe göre programı ilk kez çalıştırıyorsunuz, hoş geldiniz!</value>
</data>
<data name="ErrorInvalidCurrentCulture" xml:space="preserve">
<value>Sağlanan CurrentCulture geçersiz, ASF varsayılan ile çalışmaya devam edecek!</value>
<value>Belirtilen 'CurrentCulture' geçersiz, ASF varsayılan dille devam edecek!</value>
</data>
<data name="TranslationIncomplete" xml:space="preserve">
<value>ASF tercih ettiğiniz {0} kültürünü kullanmaya çalışacak, ancak bu dildeki çeviri yalnızca {1} oranında tamamlanmış. Diliniz için ASF çevirisini geliştirmemize belki de yardımcı olabilirsiniz?</value>
<value>ASF, tercih ettiğiniz {0} dilini kullanmaya çalışacak, ancak bu dildeki çeviri yalnızca %{1} oranında tamamlanmış. Belki ASF'nin dilinize çevrilmesine yardımcı olmak istersiniz?</value>
<comment>{0} will be replaced by culture code, such as "en-US", {1} will be replaced by completeness percentage, such as "78.5%"</comment>
</data>
<data name="IdlingGameNotPossible" xml:space="preserve">
<value>ASF {0} ({1}) oyununu şu anda oynayamadığından, kart düşürmesi geçici olarak devre dışı.</value>
<value>{0} ({1}) oyunu şu anda oynanamadığı için kart düşürme geçici olarak devre dışı bırakıldı.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningIdlingGameMismatch" xml:space="preserve">
<value>ASF {0} ({1}) için bir uyumsuzluk tespit etti ve bunun yerine {2} ID'si kullanılacak.</value>
<value>ASF, {0} ({1}) için bir uyuşmazlık tespit etti ve bunun yerine {2} kimliğini kullanacak.</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name, {2} will be replaced by game's ID (number)</comment>
</data>
<data name="BotVersion" xml:space="preserve">
@@ -528,27 +528,27 @@ Yığın Kaydı:
<comment>{0} will be replaced by program's name (e.g. "ASF"), {1} will be replaced by program's version (e.g. "1.0.0.0"). This string typically has nothing to translate and you should leave it as it is, unless you need to change the format, e.g. in RTL languages.</comment>
</data>
<data name="BotAccountLocked" xml:space="preserve">
<value>Bu hesap kilitli, çalıştırma süreci kalıcı olarak kullanılamaz!</value>
<value>Bu hesap kilitli, kart düşürme işlemi kalıcı olarak devre dışı!</value>
</data>
<data name="BotStatusLocked" xml:space="preserve">
<value>Bot kilitli durumda ve çalışarak kart düşüremez.</value>
<value>Bot kilitli ve kart düşüremez.</value>
</data>
<data name="ErrorFunctionOnlyInHeadlessMode" xml:space="preserve">
<value>Bu işlev yalnızca headless modda kullanılabilir!</value>
<value>Bu işlev yalnızca arayüzsüz modda kullanılabilir!</value>
</data>
<data name="BotOwnedAlready" xml:space="preserve">
<value>Zaten buna sahip: {0}</value>
<value>Zaten şuna sahip: {0}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="ErrorAccessDenied" xml:space="preserve">
<value>Erişim reddedildi!</value>
</data>
<data name="WarningPreReleaseVersion" xml:space="preserve">
<value>Güncelleme kanalınız için yayınlanmış en son sürümden daha yeni bir sürüm kullanıyorsunuz. Lütfen ön yayın sürümlerinin, hata raporlamayı, sorunlarla başa çıkmayı ve geribildirim yapmayı bilen kişiler için olduğunu unutmayın - teknik destek verilmeyecektir.</value>
<value>Güncelleme kanalınız için yayınlanan son kararlı sürümden daha yeni bir sürüm kullanıyorsunuz. Lütfen ön sürüm derlemelerinin, hata bildirmeyi, sorunları çözmeyi ve geri bildirimde bulunmayı bilen deneyimli kullanıcılar için olduğunu unutmayın - bu sürümler için teknik destek sağlanmayacaktır.</value>
</data>
<data name="BotStats" xml:space="preserve">
<value>Geçerli bellek kullanımı: {0} MB.
Süreç çalışma zamanı: {1}</value>
<value>Mevcut bellek kullanımı: {0} MB.
İşlem çalışma süresi: {1}</value>
<comment>{0} will be replaced by number (in megabytes) of memory being used, {1} will be replaced by translated TimeSpan string (such as "25 minutes"). Please note that this string should include newlines for formatting.</comment>
</data>
<data name="BotOwnsOverviewPerGame" xml:space="preserve">
@@ -559,7 +559,7 @@ Süreç çalışma zamanı: {1}</value>
<value>Paket verileri yenileniyor...</value>
</data>
<data name="WarningDeprecated" xml:space="preserve">
<value>{0} kullanımı önerilmiyor ve programın gelecekteki sürümlerinde kaldırılacak. Bunun yerine {1} kullanın.</value>
<value>{0} kullanımı eskimiştir ve gelecekteki sürümlerde kaldırılacaktır. Lütfen bunun yerine {1} kullanın.</value>
<comment>{0} will be replaced by the name of deprecated property (such as argument, config property or likewise), {1} will be replaced by the name of valid replacement (such as another argument or config property)</comment>
</data>
<data name="BotAcceptedDonationTrade" xml:space="preserve">
@@ -567,11 +567,11 @@ Süreç çalışma zamanı: {1}</value>
<comment>{0} will be replaced by trade's ID (number)</comment>
</data>
<data name="WarningWorkaroundTriggered" xml:space="preserve">
<value>{0} hatası için geçici çözüm harekete geçirildi.</value>
<value>{0} hatası için geçici bir çözüm tetiklendi.</value>
<comment>{0} will be replaced by the bug's name provided by ASF</comment>
</data>
<data name="TargetBotNotConnected" xml:space="preserve">
<value>Hedef bot örneği bağlı değil!</value>
<value>Hedef bot bağlı değil!</value>
</data>
<data name="BotWalletBalance" xml:space="preserve">
<value>Cüzdan bakiyesi: {0} {1}</value>
@@ -581,10 +581,13 @@ Süreç çalışma zamanı: {1}</value>
<value>Botun cüzdanı yok.</value>
</data>
<data name="BotLevel" xml:space="preserve">
<value>Bot seviyesi {0}.</value>
<value>Bot seviyesi: {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} öğe</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Steam eşyaları eşleştiriliyor, tur #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -597,11 +600,11 @@ Süreç çalışma zamanı: {1}</value>
<value>İptal edildi!</value>
</data>
<data name="WarningExcessiveBotsCount" xml:space="preserve">
<value>Önerdiğimiz sınırdan ({0}) daha fazla kişisel bot hesabı kullanıyorsun. Bu yapılandırma desteklenmemektedir ve hesabın kapatılması da dahil Steam ile alakalı sorunlara sebep olabilir. Daha fazla bilgi için SSS'ye bakın.</value>
<value>Önerilen sınırın ({0}) üzerinde kişisel bot hesabı kullanıyorsunuz. Bu yapılandırma desteklenmemektedir ve hesap askıya alınması dahil olmak üzere Steam ile ilgili sorunlara neden olabilir. Daha fazla bilgi için SSS bölümüne bakın.</value>
<comment>{0} will be replaced by our maximum recommended bots count (number)</comment>
</data>
<data name="PluginLoaded" xml:space="preserve">
<value>{0} başarılı şekilde yüklendi!</value>
<value>{0} başarıyla yüklendi!</value>
<comment>{0} will be replaced by the name of the custom ASF plugin</comment>
</data>
<data name="PluginLoading" xml:space="preserve">
@@ -612,7 +615,7 @@ Süreç çalışma zamanı: {1}</value>
<value>Hiçbir şey bulunamadı!</value>
</data>
<data name="PluginsWarning" xml:space="preserve">
<value>ASF'ye bir veya daha fazla özel eklenti yükledin. Modlu kurulumlara destek sunamayacağımız için, bir sorun olduğunda lütfen ilgili geliştiricilerle iletişime geç.</value>
<value>ASF'ye bir veya daha fazla özel eklenti yüklediniz. Değiştirilmiş kurulumlara destek sunamayacağımızı, bu nedenle bir sorunla karşılaşırsanız lütfen ilgili geliştiricilerle iletişime geçmeniz gerektiğini unutmayın.</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>Lütfen bekleyin...</value>
@@ -621,41 +624,41 @@ Süreç çalışma zamanı: {1}</value>
<value>Komut girin: </value>
</data>
<data name="Executing" xml:space="preserve">
<value>Çalıştırılıyor...</value>
<value>Yürütülüyor...</value>
</data>
<data name="InteractiveConsoleEnabled" xml:space="preserve">
<value>Etkileşimli konsol şimdi etkin, komut girme moduna girmek için 'c' tuşuna basın.</value>
<value>Etkileşimli konsol etkinleştirildi. Komut girme moduna gmek için 'c' tuşuna basın.</value>
</data>
<data name="BotGamesToRedeemInBackgroundCount" xml:space="preserve">
<value>Bot kuyruğunda {0} oyun kaldı.</value>
<value>Botun arka plan kuyruğunda {0} oyun kaldı.</value>
<comment>{0} will be replaced by remaining number of games in BGR's queue</comment>
</data>
<data name="ErrorSingleInstanceRequired" xml:space="preserve">
<value>ASF süreci, zaten bu dizinde çalıştığından iptal ediliyor!</value>
<value>Bu dizinde zaten bir ASF işlemi çalışıyor, işlem iptal ediliyor!</value>
</data>
<data name="BotHandledConfirmations" xml:space="preserve">
<value>{0} onaylama başarıyla sonuçlandırıldı!</value>
<value>{0} onay başarıyla işlendi!</value>
<comment>{0} will be replaced by number of confirmations</comment>
</data>
<data name="BotExtraIdlingCooldown" xml:space="preserve">
<value>Çalıştırmaya hazır olduğundan emin olabilmek için {0} bekleniyor...</value>
<value>Kart düşürmeye hazır olduğundan emin olmak için {0} bekleniyor...</value>
<comment>{0} will be replaced by translated TimeSpan string (such as "1 minute")</comment>
</data>
<data name="UpdateCleanup" xml:space="preserve">
<value>Güncellemeden sonra eski dosyalar temizleniyor...</value>
<value>Güncelleme sonrası eski dosyalar temizleniyor...</value>
</data>
<data name="BotGeneratingSteamParentalCode" xml:space="preserve">
<value>Steam aile kodu oluşturuluyor. Bu işlem uzun süreceğinden, config dosyasına eklemeniz daha iyi olabilir...</value>
<value>Steam Aile pini oluşturuluyor. Bu işlem uzun sürebileceğinden, pini yapılandırma dosyanıza eklemeniz önerilir...</value>
</data>
<data name="IPCConfigChanged" xml:space="preserve">
<value>IPC yapılandırması değiştirildi!</value>
</data>
<data name="BotTradeOfferResult" xml:space="preserve">
<value>{0} takas teklifi, {2} sebebiyle {1} olarak belirlendi.</value>
<value>{0} numaralı takas teklifi, {2} nedeniyle {1} olarak belirlendi.</value>
<comment>{0} will be replaced by trade offer ID (number), {1} will be replaced by internal ASF enum name, {2} will be replaced by technical reason why the trade was determined to be in this state</comment>
</data>
<data name="BotInvalidPasswordDuringLogin" xml:space="preserve">
<value>Arka arkaya {0} kere Yanlış Şifre hata kodu alındı (InvalidPassword). Bu hesap için parolanız muhtemelen yanlış, iptal ediliyor!</value>
<value>{0} kez üst üste 'InvalidPassword' hatası alındı. Bu hesap için şifreniz büyük olasılıkla yanlış. İşlem iptal ediliyor!</value>
<comment>{0} will be replaced by maximum allowed number of failed login attempts</comment>
</data>
<data name="Result" xml:space="preserve">
@@ -663,14 +666,14 @@ Süreç çalışma zamanı: {1}</value>
<comment>{0} will be replaced by generic result of various functions that use this string</comment>
</data>
<data name="WarningUnsupportedEnvironment" xml:space="preserve">
<value>Desteklenmeyen ortamda {0} ASF varyantını çalıştırmaya çalışıyorsun: {1}. Ne yaptığınızı gerçekten biliyorsan, --ignore-unsupported-environment argümanını sağla.</value>
<value>Desteklenmeyen bir ortamda ({1}) bir ASF varyantı ({0}) çalıştırmaya çalışıyorsunuz. Ne yaptığınızı gerçekten biliyorsanız, --ignore-unsupported-environment argümanını kullanın.</value>
</data>
<data name="WarningUnknownCommandLineArgument" xml:space="preserve">
<value>Bilinmeyen komut satırı argümanı: {0}</value>
<comment>{0} will be replaced by unrecognized command that has been provided</comment>
</data>
<data name="ErrorConfigDirectoryNotFound" xml:space="preserve">
<value>Config dizini bulunamadı, çıkılıyor!</value>
<value>Yapılandırma dizini bulunamadı, çıkılıyor!</value>
</data>
<data name="BotIdlingSelectedGames" xml:space="preserve">
<value>Seçilen oynanıyor {0}: {1}</value>
@@ -681,7 +684,7 @@ Süreç çalışma zamanı: {1}</value>
<comment>{0} will be replaced with the relative path to the affected config file</comment>
</data>
<data name="WarningTooShortCryptKey" xml:space="preserve">
<value>Şifreleme anahtarınız çok kısa. En az {0} bayt (karakter) uzunluğunda bir tane kullanmanızı öneririz.</value>
<value>Şifreleme anahtarınız çok kısa. En az {0} bayt (karakter) uzunluğunda bir anahtar kullanmanız önerilir.</value>
<comment>{0} will be replaced by the number of bytes (characters) recommended</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForHashing" xml:space="preserve">
@@ -689,29 +692,29 @@ Süreç çalışma zamanı: {1}</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "SCrypt"), {1} will be replaced by the name of the property (e.g. "IPCPassword")</comment>
</data>
<data name="WarningDefaultCryptKeyUsedForEncryption" xml:space="preserve">
<value>{1} özelliğinin {0} ayarını kullanıyorsunuz, ancak özel bir --cryptkey sağlamadınız. Bu, ASF'nin kendi (bilinen) anahtarını kullanmak zorunda kalması nedeniyle korumayı tamamen ortadan kaldırır. Bu ayarın sunduğu güvenlik avantajından yararlanmak için özel bir --cryptkey sağlamalısınız.</value>
<value>{1} özelliğiin {0} ayarını kullanıyorsunuz, ancak özel bir --cryptkey belirtmediniz. Bu, korumayı tamamen etkisiz hale getirir çünkü ASF kendi (bilinen) anahtarını kullanmak zorunda kalır. Bu ayarın sunduğu güvenlikten yararlanmak için özel bir --cryptkey sağlamalısınız.</value>
<comment>{0} will be replaced by the name of a particular setting (e.g. "AES"), {1} will be replaced by the name of the property (e.g. "SteamPassword")</comment>
</data>
<data name="WarningRunningAsRoot" xml:space="preserve">
<value>ASF'yi yönetici (root) olarak çalıştırmaya çalışıyorsunuz. Bu, makineniz için önemli bir güvenlik riskine neden olur ve ASF'nin çalışması için yönetici izni gerekmediği için mümkünse yönetici olmadan çalıştırmanızı öneriyoruz.</value>
<value>ASF'yi yönetici (root) olarak çalıştırmaya çalışıyorsunuz. Bu, makineniz için önemli bir güvenlik riski oluşturur ve ASF'nin çalışması için yönetici izni gerekmediğinden, mümkünse yönetici olmadan çalıştırmanız şiddetle önerilir.</value>
</data>
<data name="WarningRunningInUnsupportedEnvironment" xml:space="preserve">
<value>ASF'yi desteklenmeyen ortamda çalıştırıyorsunuz ve --ignore-unsupported-environment argümanı sağlıyorsunuz. Lütfen bu senaryo için herhangi bir destek sağlamadığımızı ve bunu tamamen kendi sorumluluğunuzda yaptığınızı unutmayın. Uyarıldınız.</value>
<value>ASF'yi desteklenmeyen bir ortamda --ignore-unsupported-environment argümanı ile çalıştırıyorsunuz. Lütfen bu senaryo için herhangi bir destek sunmadığımızı ve bunu tamamen kendi sorumluluğunuzda yaptığınızı unutmayın. Uyarıldınız.</value>
</data>
<data name="FetchingChecksumFromRemoteServer" xml:space="preserve">
<value>Uzak sunucudan sağlama toplamı alınıyor...</value>
</data>
<data name="VerifyingChecksumWithRemoteServer" xml:space="preserve">
<value>Uzak sunucudan indirilen ikili dosyanın sağlama toplamı doğrulanıyor...</value>
<value>İndirilen ikili dosyanın sağlama toplamı uzak sunucu ile doğrulanıyor...</value>
</data>
<data name="ChecksumMissing" xml:space="preserve">
<value>Uzak sunucu, güncelleme yaptığımız sürüm hakkında hiçbir şey bilmiyor. Bu durum, sürüm yakın zamanda yayınlandıysa mümkündür - ek bir güvenlik önlemi olarak güncelleme prosedürüne hemen devam etmeyi reddeder.</value>
<value>Uzak sunucu, güncellediğimiz sürüm hakkında bilgiye sahip değil. Bu durum, sürüm yeni yayınlandıysa oluşabilir. Ek bir güvenlik önlemi olarak, güncelleme işlemi hemen devam etmeyecektir.</value>
</data>
<data name="ChecksumTimeout" xml:space="preserve">
<value>İndirilen ikili dosyanın sağlama toplamı alınamadı; ek bir güvenlik önlemi olarak şu anda güncelleme prosedürüne devam etmeyi reddediyoruz.</value>
</data>
<data name="ChecksumWrong" xml:space="preserve">
<value>Uzak sunucu farklı bir sağlama sayısı ile yanıt verdi, bu güncelleme dosyalarının bozuk indiğine veya MITM saldırısına işaret olabilir, güncelleme durduruluyor!</value>
<value>Uzak sunucu farklı bir sağlama toplamı döndürdü. Bu, güncelleme dosyalarının bozulmuş olabileceğine veya bir MITM saldırısına işaret edebilir. Güncelleme durduruluyor!</value>
</data>
<data name="PatchingFiles" xml:space="preserve">
<value>ASF dosyaları yamalanıyor...</value>
@@ -733,7 +736,7 @@ Süreç çalışma zamanı: {1}</value>
<comment>{0} will be replaced by app ID (number), {1} will be replaced by short country code (string, such as "PL"), {2} will be replaced by human-readable date (string).</comment>
</data>
<data name="WarningUnsupportedOfficialPlugins" xml:space="preserve">
<value>Görünüşe göre bir {0} eklentisini çalıştırmaya çalışıyorsunuz, ancak ASF sürümüyle uyuşmuyor: {1} (beklenen {2}). Bu, ya kurulumunuzda ciddi bir hata yaptığınızı gösterir, ya da gerçekten ne yaptığınızı biliyorsanız --ignore-unsupported-environment argümanını kullanarak sorunu çözün.</value>
<value>Bir {0} eklentisini çalıştırmaya çalışıyor gibi görünüyorsunuz, ancak bu eklenti ASF sürümünüzle ({1}, beklenen {2}) uyumlu değil. Bu durum, ya kurulumunuzda ciddi bir hata olduğunu gösterir ya da ne yaptığınızı gerçekten biliyorsanız --ignore-unsupported-environment argümanını kullanarak sorunu çözebilirsiniz.</value>
<comment>{0} will be replaced by plugin name, {1} will be replaced by plugin's version number, {2} will be replaced by ASF's version number.</comment>
</data>
<data name="ErrorTooManyCrashes" xml:space="preserve">
@@ -744,14 +747,14 @@ Süreç çalışma zamanı: {1}</value>
<comment>{0} will be replaced by game's ID (number), {1} will be replaced by game's name</comment>
</data>
<data name="WarningSkipping" xml:space="preserve">
<value>Atlaniyor:{0}...</value>
<value>Atlanıyor: {0}...</value>
<comment>{0} will be replaced by text value (string) of entry being skipped.</comment>
</data>
<data name="PluginUpdatesChecking" xml:space="preserve">
<value>Eklenti güncellemeleri denetleniyor...</value>
<value>Eklenti güncellemeleri kontrol ediliyor...</value>
</data>
<data name="PluginUpdateChecking" xml:space="preserve">
<value>{0} eklentisi için güncellemesi denetleniyor...</value>
<value>{0} eklentisi için güncelleme kontrol ediliyor...</value>
<comment>{0} will be replaced by plugin name (string).</comment>
</data>
<data name="PluginUpdateNotFound" xml:space="preserve">
@@ -793,5 +796,8 @@ Süreç çalışma zamanı: {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Otomatik güncellemeler için özel eklentiler kaydedildi. ASF ekibi, kendi güvenliğiniz için yalnızca güvenilir taraflardan gelen otomatik güncellemeleri etkinleştirmeniz gerektiğini hatırlatmak ister. Bunu yapmayı planlamadıysanız ASF global yapılandırmasında eklenti güncellemelerini devre dışı bırakabilirsiniz.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Veri Girişi: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -793,5 +793,8 @@
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Були зареєстровані власні плагіни для автоматичних оновлень. Команда ASF хоче нагадати вам, що з метою вашої безпеки слід увімкнути автоматичні оновлення лише від довірених джерел. Якщо ви не мали на це наміру, ви можете вимкнути оновлення плагінів у загальному конфігураційному файлі ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Input: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -584,7 +584,10 @@ Thời gian hoạt động: {1}</value>
<value>Bot cấp {0}.</value>
<comment>{0} will be replaced by bot's level</comment>
</data>
<data name="BotInventory" xml:space="preserve">
<value>{0}/{1} ({2}/{3}): {4} vật phẩm</value>
<comment>{0} will be replaced by appID (number), {1} will be replaced by contextID (number), {2} will be replaced by app's name (string), {3} will be replaced by name of the context (string), {4} will be replaced by number of assets in the specified inventory (number).</comment>
</data>
<data name="ActivelyMatchingItems" xml:space="preserve">
<value>Đang soát vật phẩm Steam, lần #{0}...</value>
<comment>{0} will be replaced by round number</comment>
@@ -793,5 +796,8 @@ Thời gian hoạt động: {1}</value>
<data name="CustomPluginUpdatesEnabled" xml:space="preserve">
<value>Các plugin tùy chỉnh đã được đặt sang cập nhật tự động. Nhóm ASF muốn nhắc nhở bạn rằng, vì lí do bảo mật, bạn chỉ nên bật cập nhật tự động cho các nguồn đáng tin cậy. Nếu không có ý định thực hiện việc này, bạn nên tắt cập nhật plugin trong cấu hình toàn cầu ASF.</value>
</data>
<data name="Input" xml:space="preserve">
<value>Đầu vào: {0}</value>
<comment>{0} will be replaced by text input from the user.</comment>
</data>
</root>

View File

@@ -567,7 +567,7 @@
<comment>{0} will be replaced by trade's ID (number)</comment>
</data>
<data name="WarningWorkaroundTriggered" xml:space="preserve">
<value>已觸發 {0} 錯誤的解決方。</value>
<value>已觸發對於 {0} 錯誤的權變措施(臨時解決方案)。</value>
<comment>{0} will be replaced by the bug's name provided by ASF</comment>
</data>
<data name="TargetBotNotConnected" xml:space="preserve">

View File

@@ -38,6 +38,7 @@ using ArchiSteamFarm.Storage;
using NLog;
using NLog.Config;
using NLog.Targets;
using NLog.Targets.Wrappers;
namespace ArchiSteamFarm.NLog;
@@ -48,8 +49,6 @@ internal static class Logging {
private const string GeneralLayout = $@"${{date:format=yyyy-MM-dd HH\:mm\:ss}}|${{processname}}-${{processid}}|${{level:uppercase=true}}|{LayoutMessage}";
private const string LayoutMessage = @"${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}";
internal static bool LogFileExists => File.Exists(SharedInfo.LogFile);
private static readonly ConcurrentHashSet<LoggingRule> ConsoleLoggingRules = [];
private static readonly SemaphoreSlim ConsoleSemaphore = new(1, 1);
@@ -207,6 +206,7 @@ internal static class Logging {
internal static void InitCoreLoggers(bool uniqueInstance) {
try {
// Handle edge case of user using NLog.config in non-standard directory (current directory)
if ((Directory.GetCurrentDirectory() != AppContext.BaseDirectory) && File.Exists(NLogConfigurationFile)) {
IsUsingCustomConfiguration = true;
@@ -224,6 +224,11 @@ internal static class Logging {
}
if (uniqueInstance) {
if (LogManager.Configuration == null) {
// This should never happen, as configuration must be initialized by now (either by user's config, InitEmergencyLoggers() or InitCoreLoggers() above)
throw new InvalidOperationException(nameof(LogManager.Configuration));
}
try {
Directory.CreateDirectory(SharedInfo.ArchivalLogsDirectory);
} catch (Exception e) {
@@ -232,12 +237,10 @@ internal static class Logging {
#pragma warning disable CA2000 // False positive, we're adding this disposable object to the global scope, so we can't dispose it
FileTarget fileTarget = new("File") {
ArchiveFileName = Path.Combine("${currentdir}", SharedInfo.ArchivalLogsDirectory, SharedInfo.ArchivalLogFile),
ArchiveNumbering = ArchiveNumberingMode.Rolling,
ArchiveFileName = Path.Combine("${currentdir:cached=true}", SharedInfo.ArchivalLogsDirectory, SharedInfo.LogFile),
ArchiveOldFileOnStartup = true,
CleanupFileName = false,
DeleteOldFileOnStartup = true,
FileName = Path.Combine("${currentdir}", SharedInfo.LogFile),
ArchiveSuffixFormat = ".{1:yyyyMMdd-HHmmss}",
FileName = Path.Combine("${currentdir:cached=true}", SharedInfo.LogFile),
// Windows OS prevents other apps from reading file when actively holding exclusive (write) lock over it
// We require read access for GET /Api/NLog/File ASF API usage, therefore we shouldn't keep the lock all the time
@@ -265,6 +268,7 @@ internal static class Logging {
// This is a temporary, bare, file-less configuration that must work until we're able to initialize it properly
ConfigurationItemFactory.Default.ParseMessageTemplates = false;
LoggingConfiguration config = new();
#pragma warning disable CA2000 // False positive, we're adding this disposable object to the global scope, so we can't dispose it
@@ -281,7 +285,7 @@ internal static class Logging {
return;
}
HistoryTarget? historyTarget = LogManager.Configuration.AllTargets.OfType<HistoryTarget>().FirstOrDefault();
HistoryTarget? historyTarget = LogManager.Configuration.AllTargets.Select(static target => target is WrapperTargetBase wrapper ? wrapper.WrappedTarget : target).OfType<HistoryTarget>().FirstOrDefault();
if ((historyTarget == null) && !IsUsingCustomConfiguration) {
historyTarget = new HistoryTarget("History") {
@@ -298,13 +302,15 @@ internal static class Logging {
}
internal static async Task<string[]?> ReadLogFileLines() {
try {
return await File.ReadAllLinesAsync(SharedInfo.LogFile).ConfigureAwait(false);
} catch (Exception e) {
ASF.ArchiLogger.LogGenericException(e);
return null;
if (LogManager.Configuration == null) {
return File.Exists(SharedInfo.LogFile) ? await ReadLogFileLines(SharedInfo.LogFile).ConfigureAwait(false) : null;
}
foreach (string fileName in LogManager.Configuration.LoggingRules.OrderBy(static rule => rule.Filters.Count).ThenByDescending(static rule => rule.Levels.Count).SelectMany(static rule => rule.Targets.Select(static target => target is WrapperTargetBase wrapper ? wrapper.WrappedTarget : target).OfType<FileTarget>().Select(static fileTarget => fileTarget.FileName.Render(new LogEventInfo { TimeStamp = DateTime.UtcNow })).Where(File.Exists))) {
return await ReadLogFileLines(fileName).ConfigureAwait(false);
}
return null;
}
internal static void StartInteractiveConsole() {
@@ -536,7 +542,7 @@ internal static class Logging {
OnUserInputStart();
}
HistoryTarget? historyTarget = LogManager.Configuration?.AllTargets.OfType<HistoryTarget>().FirstOrDefault();
HistoryTarget? historyTarget = LogManager.Configuration?.AllTargets.Select(static target => target is WrapperTargetBase wrapper ? wrapper.WrappedTarget : target).OfType<HistoryTarget>().FirstOrDefault();
ArchiKestrel.OnNewHistoryTarget(historyTarget);
}
@@ -576,4 +582,16 @@ internal static class Logging {
LogManager.ReconfigExistingLoggers();
}
}
private static async Task<string[]?> ReadLogFileLines(string filePath) {
ArgumentException.ThrowIfNullOrEmpty(filePath);
try {
return await File.ReadAllLinesAsync(filePath).ConfigureAwait(false);
} catch (Exception e) {
ASF.ArchiLogger.LogGenericException(e);
return null;
}
}
}

View File

@@ -31,10 +31,8 @@ using NLog.Targets;
namespace ArchiSteamFarm.NLog.Targets;
[Target(TargetName)]
[Target("History")]
internal sealed class HistoryTarget : TargetWithLayout {
internal const string TargetName = "History";
private const byte DefaultMaxCount = 20;
internal IEnumerable<string> ArchivedMessages => HistoryQueue;

View File

@@ -22,7 +22,6 @@
// limitations under the License.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
@@ -30,17 +29,14 @@ using ArchiSteamFarm.Localization;
using ArchiSteamFarm.Steam;
using JetBrains.Annotations;
using NLog;
using NLog.Config;
using NLog.Layouts;
using NLog.Targets;
using SteamKit2;
namespace ArchiSteamFarm.NLog.Targets;
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
[Target(TargetName)]
[Target("Steam")]
internal sealed class SteamTarget : AsyncTaskTarget {
internal const string TargetName = "Steam";
// This is NLog config property, it must have public get() and set() capabilities
[UsedImplicitly]
public Layout? BotName { get; set; }
@@ -50,21 +46,29 @@ internal sealed class SteamTarget : AsyncTaskTarget {
public ulong ChatGroupID { get; set; }
// This is NLog config property, it must have public get() and set() capabilities
[RequiredParameter]
[UsedImplicitly]
public ulong SteamID { get; set; }
// This parameter-less constructor is intentionally public, as NLog uses it for creating targets
// It must stay like this as we want to have our targets defined in our NLog.config
// Keeping date in default layout also doesn't make much sense (Steam offers that), so we remove it by default
[UsedImplicitly]
public SteamTarget() => Layout = "${level:uppercase=true}|${logger}|${message}";
protected override void InitializeTarget() {
base.InitializeTarget();
if ((SteamID == 0) || ((ChatGroupID == 0) && !new SteamID(SteamID).IsIndividualAccount)) {
throw new NLogConfigurationException(Strings.FormatErrorIsInvalid(nameof(SteamID)));
}
}
protected override async Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken cancellationToken) {
ArgumentNullException.ThrowIfNull(logEvent);
Write(logEvent);
if ((SteamID == 0) || (Bot.Bots == null) || Bot.Bots.IsEmpty) {
if ((Bot.Bots == null) || Bot.Bots.IsEmpty) {
return;
}

View File

@@ -174,8 +174,14 @@ public interface IGitHubPluginUpdates : IPluginUpdates {
Version newVersion = new(releaseResponse.Tag);
if (!forced && (Version >= newVersion)) {
// Allow same version to be re-updated when we're updating ASF release and more than one asset is found - potential compatibility difference
if ((Version > newVersion) || !asfUpdate || (releaseResponse.Assets.Count(static asset => asset.Name.EndsWith(".zip", StringComparison.OrdinalIgnoreCase)) < 2)) {
// Normally we should skip the update in this case, as the update is non-forced and there is no new version available
// However, allow the same version to be re-updated when we're updating ASF release and more than one asset is found - this allows us to update to a different variant of the same plugin version that happened due to ASF version change
// Start from evaluating whether the version is the same and we're actually updating ASF as part of this call
// Then calculate assets that can possibly take part in the update process, in order to determine whether the change of plugin variant is possible
// The base condition is that the release must have at least 2 total assets, therefore we need to only take into account GetPossibleMatchesByName() logic, while assuming that version is flexible
// If by the end we have at least 2 assets we're considering for an update, then that's a possible variant change and in this case we should proceed to cover for the edge case explained above
if ((Version > newVersion) || !asfUpdate || (releaseResponse.Assets.Count < 2) || GetPossibleNames().All(pluginName => releaseResponse.Assets.Count(asset => asset.Name.Equals($"{pluginName}.zip", StringComparison.OrdinalIgnoreCase) || (asset.Name.StartsWith($"{pluginName}-V", StringComparison.OrdinalIgnoreCase) && asset.Name.EndsWith(".zip", StringComparison.OrdinalIgnoreCase))) < 2)) {
ASF.ArchiLogger.LogGenericInfo(Strings.FormatPluginUpdateNotFound(Name, Version, newVersion));
return null;
@@ -204,20 +210,8 @@ public interface IGitHubPluginUpdates : IPluginUpdates {
private IEnumerable<string> GetPossibleMatches(Version version) {
ArgumentNullException.ThrowIfNull(version);
string pluginName = Name;
if (!string.IsNullOrEmpty(pluginName)) {
foreach (string possibleMatch in GetPossibleMatchesByName(version, pluginName)) {
yield return possibleMatch;
}
}
string? assemblyName = GetType().Assembly.GetName().Name;
if (!string.IsNullOrEmpty(assemblyName)) {
foreach (string possibleMatch in GetPossibleMatchesByName(version, assemblyName)) {
yield return possibleMatch;
}
foreach (string possibleMatch in GetPossibleNames().SelectMany(pluginName => GetPossibleMatchesByName(version, pluginName))) {
yield return possibleMatch;
}
}
@@ -231,4 +225,18 @@ public interface IGitHubPluginUpdates : IPluginUpdates {
yield return $"{name}-V{version.Major}.zip";
yield return $"{name}.zip";
}
private IEnumerable<string> GetPossibleNames() {
string pluginName = Name;
if (!string.IsNullOrEmpty(pluginName)) {
yield return pluginName;
}
string? assemblyName = GetType().Assembly.GetName().Name;
if (!string.IsNullOrEmpty(assemblyName) && !assemblyName.Equals(pluginName, StringComparison.OrdinalIgnoreCase)) {
yield return assemblyName;
}
}
}

View File

@@ -57,9 +57,9 @@ public static class PluginsCore {
internal static bool HasCustomPluginsLoaded => ActivePlugins.Any(static plugin => plugin is not OfficialPlugin officialPlugin || !officialPlugin.HasSameVersion());
[ImportMany]
internal static FrozenSet<IPlugin> ActivePlugins { get; private set; } = FrozenSet<IPlugin>.Empty;
internal static FrozenSet<IPlugin> ActivePlugins { get; private set; } = [];
private static FrozenSet<IPluginUpdates> ActivePluginUpdates = FrozenSet<IPluginUpdates>.Empty;
private static FrozenSet<IPluginUpdates> ActivePluginUpdates = [];
[PublicAPI]
public static async Task<ICrossProcessSemaphore> GetCrossProcessSemaphore(string objectName) {

View File

@@ -60,7 +60,7 @@ internal static class Program {
private static readonly Dictionary<PosixSignal, PosixSignalRegistration> RegisteredPosixSignals = new();
private static readonly TaskCompletionSource<byte> ShutdownResetEvent = new();
private static readonly FrozenSet<PosixSignal> SupportedPosixSignals = new HashSet<PosixSignal>(2) { PosixSignal.SIGINT, PosixSignal.SIGTERM }.ToFrozenSet();
private static readonly FrozenSet<PosixSignal> SupportedPosixSignals = [PosixSignal.SIGINT, PosixSignal.SIGTERM];
private static bool InputCryptkeyManually;
private static bool Minimized;
@@ -187,10 +187,9 @@ internal static class Program {
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
// Add support for custom logging targets
LogManager.Setup().SetupExtensions(
static extensions => {
extensions.RegisterTarget<HistoryTarget>(HistoryTarget.TargetName);
extensions.RegisterTarget<SteamTarget>(SteamTarget.TargetName);
LogManager.Setup().SetupExtensions(static extensions => {
extensions.RegisterTarget<HistoryTarget>();
extensions.RegisterTarget<SteamTarget>();
}
);
@@ -217,7 +216,7 @@ internal static class Program {
// Allow loading configs from source tree if it's a debug build
if (Debugging.IsDebugBuild) {
// Common structure is bin/(x64/)Debug/ArchiSteamFarm.exe, so we allow up to 4 directories up
// Common structure is bin/Debug/netX.Y/ArchiSteamFarm.dll, so we allow up to 4 directories up
for (byte i = 0; i < 4; i++) {
Directory.SetCurrentDirectory("..");
@@ -400,6 +399,8 @@ internal static class Program {
await Task.Delay(SharedInfo.ShortInformationDelay).ConfigureAwait(false);
}
ASF.ArchiLogger.LogGenericInfo(Strings.FormatInitializing(nameof(GlobalDatabase)));
GlobalDatabase? globalDatabase = await GlobalDatabase.CreateOrLoad(globalDatabaseFile).ConfigureAwait(false);
if (globalDatabase == null) {

View File

@@ -35,7 +35,6 @@ public static class SharedInfo {
[PublicAPI]
public const string ConfigDirectory = "config";
internal const string ArchivalLogFile = "log.{#}.txt";
internal const string ArchivalLogsDirectory = "logs";
internal const string ASF = nameof(ASF);
internal const ulong ASFGroupSteamID = 103582791440160998;

Some files were not shown because too many files have changed in this diff Show More