Commit Graph

65 Commits

Author SHA1 Message Date
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
Renovate Bot
f749998b04 Update dependency NLog to v4.7.11 2021-08-18 22:40:21 +00:00
Renovate Bot
a3639c6d45 Update dotnet monorepo to v3.1.18 2021-08-13 22:58:38 +00:00
Łukasz Domeradzki
bb513921f1 Include ASF's windows-only parts only in generic and windows builds (#2404)
* Include ASF's windows-only parts only in generic and windows builds

* Apply Abry's note
2021-08-13 23:07:17 +02:00
Renovate Bot
1fda77a72d Update dependency Microsoft.NET.Test.Sdk to v16.11.0 2021-08-13 16:37:24 +00:00
Łukasz Domeradzki
f403e9c296 Better April Fools (#2401)
* Better April Fools

* Guard timer with lock

It's not thread-safe

* Address Abry note

* Add extra 100ms to the timer calculation
2021-08-10 11:43:36 +02:00
Renovate Bot
4e39cd629a Update dependency JustArchiNET.Madness to v1.1.0 2021-08-09 18:07:13 +00:00
renovate[bot]
23162ce5fd Update dependency JustArchiNET.Madness to v1 (#2396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-07 17:23:21 +02:00
Archi
911680d606 Remove IndexRange from explicit dependencies
Madness implicitly includes it already
2021-08-07 14:08:06 +02:00
Łukasz Domeradzki
9f281c6055 Embrace madness (#2394)
* Embrace madness

* Remove unused code

* Misc

* Address Abry's note

* Update for Madness 0.3.0
2021-08-07 14:03:46 +02:00
Renovate Bot
f31da41ed8 Update Swashbuckle monorepo to v6.1.5 2021-08-02 16:06:11 +00:00
Archi
13ea9df707 Fix STD plugin for generic-netf
It failed because it couldn't find immutable collections, ASF doesn't have it either, it doesn't look like it's needed to satisfy the compiler anymore (SK2 includes it through protobuf-net)
2021-07-30 16:09:05 +02:00
renovate[bot]
97a5a94220 Update dependency SteamKit2 to v2.4.0-Alpha.3 (#2392)
* Update dependency SteamKit2 to v2.4.0-Alpha.3

* Address SK2 breaking changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Archi <JustArchi@JustArchi.net>
2021-07-30 15:33:29 +02:00
Renovate Bot
7aaab660f4 Update dependency JetBrains.Annotations to v2021.2.0 2021-07-21 13:09:42 +00:00