Commit Graph

347 Commits

Author SHA1 Message Date
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