Commit graph

233 commits

Author SHA1 Message Date
Renovate Bot
813587508e
Update dotnet monorepo to v3.1.23 2022-03-08 16:53:12 +00:00
Renovate Bot
0e3d124663
Update swashbuckle-aspnetcore monorepo to v6.3.0 2022-03-08 02:27:31 +00:00
Archi
c1d9d04071
Rider cleanup & improvements 2022-02-18 15:40:33 +01:00
Renovate Bot
842fb6e304
Update dependency Microsoft.NET.Test.Sdk to v17.1.0 2022-02-16 15:28:50 +00:00
renovate[bot]
aad77569a7
Update dependency System.Linq.Async to v6 (#2504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 20:11:23 +01:00
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
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
Renovate Bot
b7fc38eaaa
Update dependency NLog.Web.AspNetCore to v4.13.0 2021-07-14 18:52:43 +00:00
Vitaliya
fd4c1ef59b
Use ArchiHandler to fetch owned games (#2370)
* Use ArchiHandler to fetch owned games

* Mark deprecated methods with Obsolete attribute
2021-07-10 17:31:48 +02:00
Archi
28242aa6e8
IPC: Implement ResponseCaching
This actually does two things: client caching and server caching

Client caching considers only static files, for which we instruct the web browser to revalidate each cache usage with our server to ensure that it's up-to-date.

Server caching with those settings actually doesn't work (nothing to do), but may in the future as lack of no-store means that server is technically allowed to cache I/O read files for as long as it can guarantee they didn't change on the disk.
2021-07-04 21:36:54 +02:00
Archi
9f02bebe4a
Group MSTest packages together
As per advice in https://github.com/microsoft/testfx/issues/895#issuecomment-870457008
2021-06-29 13:15:57 +02:00
Archi
a38dea80e9
Downgrade MSTest.TestAdapter to 2.2.4
https://github.com/microsoft/testfx/issues/895
2021-06-29 00:11:17 +02:00
Renovate Bot
6bc903a3b1 Update dependency MSTest.TestAdapter to v2.2.5 2021-06-28 21:58:11 +00:00
Renovate Bot
2a3f7cfc60
Update dependency MSTest.TestFramework to v2.2.5 2021-06-28 14:34:13 +00:00
Renovate Bot
b5b7dcfbd2
Update dependency Markdig.Signed to v0.25.0 2021-06-10 08:07:15 +00:00
Renovate Bot
fc86bd3b5e
Update dependency Humanizer to v2.11.10 2021-06-07 18:22:27 +00:00
Renovate Bot
6a897de9b6
Update dependency MSTest.TestFramework to v2.2.4 2021-05-26 07:23:19 +00:00
Renovate Bot
8c9d98d0fc
Update dependency MSTest.TestAdapter to v2.2.4 2021-05-25 23:54:01 +00:00
Renovate Bot
f435f32ed5
Update dependency Microsoft.NET.Test.Sdk to v16.10.0 2021-05-25 20:22:52 +00:00
Renovate Bot
52f4cd58f4
Update dependency NLog to v4.7.10 2021-05-14 13:22:30 +00:00
Renovate Bot
150e22f302
Update dependency Humanizer to v2.10.1 2021-05-05 20:56:47 +00:00
Łukasz Domeradzki
0808a38f48
Manage package versions centrally (#2317)
Closes #2316

The issue we're facing right now comes from the fact of desynchronization of packages between different projects. Since I didn't find any way to "fix" the package versions of our plugins to the main ASF project, we'll instead use centralized Directory.packages.props which specifies appropriate versions
2021-05-02 14:51:08 +02:00