Commit graph

78 commits

Author SHA1 Message Date
Renovate Bot
5791b1e552
Update dependency Humanizer to v2.14.1 2022-01-29 15:55:12 +00:00
Renovate Bot
e2578c7960
Update dependency Markdig.Signed to v0.27.0 2022-01-23 16:41:54 +00:00
Archi
dae6f9d328
Use newer syntax for Enum.IsDefined() 2022-01-23 01:37:43 +01:00
Renovate Bot
189f998faf
Update dependency SteamKit2 to v2.4.1 2022-01-10 03:06:39 +00:00
Renovate Bot
82702647b4
Update dotnet monorepo to v3.1.22 2021-12-14 17:49:07 +00:00
Archi
5229f52f47
Use latest MSTest
Let's see if it finally works properly
2021-12-12 15:34:31 +01:00
Archi
03fc35dad0
Another try 2021-12-12 02:15:21 +01:00
Archi
225003c5d1
Try to fix netf, once again into the breach 2021-12-12 01:44:17 +01:00
Renovate Bot
d6e569c970
Update dependency System.Linq.Async to v5.1.0 2021-12-06 18:25:27 +00:00
Renovate Bot
549ddb4271
Update dependency SteamKit2 to v2.4.0 2021-12-04 18:52:13 +00:00
renovate[bot]
9017c3970d
Update dependency JustArchiNET.Madness to v3 (#2468)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 19:51:45 +01:00
Archi
586ad7c370
Madness 2.4.1 2021-11-30 00:29:21 +01:00
Archi
86867c8d99
Madness to the rescue! 2021-11-29 23:54:39 +01:00
Archi
eb2c728361
Once again into the breach 2021-11-20 00:29:46 +01:00
Archi
a30c091387
Update madness, again 2021-11-20 00:05:02 +01:00
Archi
5a9d4d3f70
Update Madness, again and again 2021-11-19 23:45:49 +01:00
renovate[bot]
7892f110ea
Update dependency SteamKit2 to v2.4.0-Beta.1 (#2454)
* Update dependency SteamKit2 to v2.4.0-Beta.1

* Fix warnings

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Archi <JustArchi@JustArchi.net>
2021-11-18 22:47:54 +01:00
Archi
7b51cca934
Fix madness nullabilities 2021-11-18 22:02:40 +01:00
Archi
c709d529c1
Closes #2455 2021-11-18 21:33:06 +01:00
Renovate Bot
b7aee818b4
Update dependency JustArchiNET.Madness to v2.1.0 2021-11-18 00:56:51 +00:00
Renovate Bot
e4b82a7714
Update dependency Humanizer to v2.13.14 2021-11-16 14:21:13 +00:00
Renovate Bot
f327409184
Update dependency JustArchiNET.Madness to v2.0.0 2021-11-13 13:46:59 +00:00
Archi
9575b58258
Madness to the rescue! 2021-11-11 23:36:48 +01:00
Archi
66344a1a3d
Fix netf again and again
Bless madness
2021-11-11 20:14:32 +01:00
Archi
60376c4d93
Bring up new Madness alpha3 to fix netf 2021-11-11 01:17:49 +01:00
Archi
0964cdac96
Minimize define hell
Skipping a 20 KB stub in OS-specific non-windows builds and omitting a few very fast if checks isn't worth the code quality degradation that involves all of the ifdef options.

ifdefs should be reserved for stuff that either doesn't compile whatsoever in some specific configurations (NETFRAMEWORK), or is required to make logical decisions based on the compiler input (e.g. DEBUG for detecting debugging builds or ASF_VARIANT_* for hardcoding the platform identifier to use for auto-updates)

In all other situations, we should use OperatingSystem if condition, even if it's equal to hitting them on the platforms that are unlikely to hit them.

And I say unlikely, because nothing stops me from downloading a win-x64 build and running it like a generic one on windows, what you gonna do?
2021-11-10 19:03:05 +01:00
Renovate Bot
41bfd8ad2b
Update dependency JustArchiNET.Madness to v2.0.0-alpha2 2021-11-09 02:54:17 +00:00
Archi
35ca44ee01
Remove System.IO.FileSystem.AccessControl dependency
It's included in .NET 6.0 now
2021-11-08 23:45:19 +01:00
renovate[bot]
4929d35f11
Update dotnet monorepo to v6 (#2445)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 23:41:13 +01:00
Łukasz Domeradzki
0eee21360d
.NET 6.0 (#2388)
* Bump non-source files to net6.0

* Correct .NET 6.0 warnings

* Correct CI

* Correct linking errors

Not much I can do about them ATM

* Remove TrimmerRoots

At least runtime is no longer needed for our STD plugin, not sure about the dictionary

* Correct cc.sh

* Revert "Remove TrimmerRoots"

This reverts commit 11f603d3d6.

* First round of cat & mice game

* Update Directory.Build.props

* Update Startup.cs

* Update Startup.cs

* Update Startup.cs

* Fix new warnings

* Update SDK

* Address netf error

* Update Directory.Packages.props
2021-11-08 23:41:02 +01:00
Renovate Bot
fd93f0cd03
Update dotnet monorepo to v3.1.21 2021-11-08 02:43:43 +00:00
Renovate Bot
1c8b759624
Update dependency JetBrains.Annotations to v2021.3.0 2021-10-28 12:32:59 +00:00
renovate[bot]
4268aac82f
Update dependency Microsoft.NET.Test.Sdk to v17 (#2436)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 00:42:34 +02:00
Sebastian Göls
d894f3a830
Localize IPC (#2431)
* Localize IPC

* Keep logs in one language

* Cleanup

* Revert changes that keep strings in one locale

* Order dependencies alphabetically

* Fix formatting (Thanks, Rider -.-)
2021-10-25 20:24:56 +02:00
Renovate Bot
bc15da5cce
Update dependency JustArchiNET.Madness to v1.4.0 2021-10-22 17:04:45 +00:00
Renovate Bot
cfe88d59ec
Update swashbuckle-aspnetcore monorepo to v6.2.3 2021-10-16 14:42:55 +00:00
Sebastian Göls
be027523ac
Warn about insecure passwords (#2419)
* Add warnings about password security

* Warn about weak steam passwords even if they are encrypted

* Apply feedback

* Apply feedback

* Simplify code

* Move return criteria up a bit for increased performance

* Choose more fitting strings for localization

* Extract const value

* Fix incorrect null reference warning

* Switch prefix operator for postfix one

Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>

* Add tests

* Disable CA1724

The type name Utilities conflicts in whole or in part with the namespace name 'Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities'.

* Tell users why their password is considered weak

* Apply feedback

* Merge resource comments

* Misc.

* Use library for password testing and Run testing in background

* Clean up

* OncSeparate forbidden phrases forfor IPC passwords (once again)

* Additionally check encryption key

* Add comment about {0}

Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>
2021-10-13 21:44:48 +02:00
Renovate Bot
86173f6022
Update dotnet monorepo to v3.1.20 2021-10-12 00:34:36 +00:00
Renovate Bot
40610d8af4
Update dependency Nito.AsyncEx.Coordination to v5.1.2 2021-09-26 02:50:00 +00:00
Renovate Bot
49173a4b26
Update dependency Nito.AsyncEx.Coordination to v5.1.1 2021-09-25 16:52:41 +00:00
Renovate Bot
d8975235d0
Update swashbuckle-aspnetcore monorepo to v6.2.2 2021-09-22 14:16:01 +00:00
Renovate Bot
f7f264466b
Update dotnet monorepo to v3.1.19 2021-09-14 15:14:23 +00:00
Archi
0a3ae316da
Fix generic-netf update capability
For real this time.
2021-09-05 23:05:05 +02:00
Archi
4935ec3187
Remove support for SystemEvents.TimeChanged
This causes excessive delay during ASF shutdown on Windows, and because it's completely optional for irrelevant feature, it's not worth the burden
2021-09-02 13:45:56 +02:00
Renovate Bot
3cdb4129ba
Update swashbuckle-aspnetcore monorepo to v6.2.1 2021-08-31 03:01:19 +00:00
Archi
b32548d366
Remove explicit NLog dependency
NLog is included as part of NLog.Web.AspNetCore, we do not require a direct dependency.
2021-08-30 01:08:23 +02:00
Renovate Bot
e78fb5b1ec
Update dependency NLog.Web.AspNetCore to v4.14.0 2021-08-28 22:24:20 +00:00
Renovate Bot
541ee89126
Update dependency Markdig.Signed to v0.26.0 2021-08-27 21:14:32 +00:00
Archi
69e2a3590c
ApiAuthenticationMiddleware performance improvements
Previously we've used one semaphore per all ongoing authentication attempts, which is suboptimal given the existence of a lot of consumers, including ongoing (D)DoS or distributed bruteforce attack. ASF should be as resistant to that as possible, therefore it makes sense to replace the global semaphore with per-IP semaphore (actually task), that can control the access just as well, without stopping other consumers from accessing the same authentication process concurrently.
2021-08-24 01:37:14 +02:00
Renovate Bot
a2ffe2cbcd
Update dependency JustArchiNET.Madness to v1.2.0 2021-08-19 12:26:33 +00:00