Commit graph

233 commits

Author SHA1 Message Date
Łukasz Domeradzki
13755d4d06
Make ASF compatible with global invariant mode
Requires Humanizer update
2024-06-02 21:33:44 +02:00
renovate[bot]
0abe05b7bd
Update dependency MSTest to v3.4.3 2024-05-30 15:29:53 +00:00
renovate[bot]
45ff19f9ae
Update dependency MSTest to v3.4.2 2024-05-30 11:07:17 +00:00
Łukasz Domeradzki
8c38de1b26
Downgrade prometheus exporter again 2024-05-28 19:10:34 +02:00
renovate[bot]
ebdb412adf
Update dependency Microsoft.IdentityModel.JsonWebTokens to v7.6.0 2024-05-28 02:07:48 +00:00
renovate[bot]
e73c72d148
Update dependency MSTest to v3.4.1 2024-05-27 17:05:17 +00:00
renovate[bot]
bc2831c066
Update dependency MSTest to v3.4.0 2024-05-23 10:20:09 +00:00
renovate[bot]
905d2acdbd
Update swashbuckle-aspnetcore monorepo to v6.6.2 2024-05-22 12:27:49 +00:00
Łukasz Domeradzki
3fce1cc934
Monitoring: Bump OpenTelemetry dependencies, since the upstream issue is fixed 2024-05-21 22:57:13 +02:00
renovate[bot]
264ca84513
chore(deps): update swashbuckle-aspnetcore monorepo to v6.6.1 2024-05-14 12:02:17 +00:00
renovate[bot]
f37d2297bb
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.5.2 2024-05-13 22:47:12 +00:00
renovate[bot]
a11b955a9d
chore(deps): update dependency nlog.web.aspnetcore to v5.3.11 2024-05-07 20:25:51 +00:00
Łukasz Domeradzki
ff02a4a8d4
Remove zxcvbn dependency
Pushing external lib purely to save user's from eventual stupidity is just simply not worth the bytes in the final zip archive.
2024-05-02 21:54:54 +02:00
renovate[bot]
18daa6a8c7
chore(deps): update dependency nlog.web.aspnetcore to v5.3.10 2024-04-30 23:00:34 +00:00
renovate[bot]
a80aef16a0
chore(deps): update dependency nlog.web.aspnetcore to v5.3.9 2024-04-27 19:55:05 +00:00
renovate[bot]
86281b5fdb
chore(deps): update dependency opentelemetry.extensions.hosting to v1.8.1 2024-04-18 04:45:31 +00:00
renovate[bot]
7062928c32
chore(deps): update opentelemetry-dotnet monorepo to v1.8.1 2024-04-13 03:38:50 +00:00
renovate[bot]
76f74dabbe
chore(deps): update dependency markdig.signed to v0.37.0 2024-04-09 19:54:33 +00:00
Sebastian Göls
9016a5109d
Fix monitoring integration with actual prometheus (#3183)
* Downgrade OpenTelemetry.Exporter.Prometheus.AspNetCore due to issues with latest version

* Add unit to asf_bot_farming_minutes_remaining

* Upgrade some packages released last night (already tested to work)

* Don't forget about unit suffix

* Add build and runtime information metrics

It is not recommended to include this information as labels in all
metrics. Instead, we add two special metrics with a constant value of
"1" and restrict those static pieces of information to them

* Remove module version from metrics as it does not work

* Apply feedback

* Deduplicate code

* Reference related issue in upstream repo
2024-04-07 23:56:44 +02:00
renovate[bot]
3b2bb0590f
chore(deps): update opentelemetry-dotnet monorepo to v1.8.0 2024-04-06 13:14:22 +00:00
renovate[bot]
134d3e2d0d
chore(deps): update dependency opentelemetry.instrumentation.runtime to v1.8.0 2024-04-06 11:22:56 +00:00
renovate[bot]
3992ea6656
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.5.1 2024-04-06 03:04:47 +00:00
renovate[bot]
c5799c561a
chore(deps): update dependency mstest to v3.3.1 2024-04-05 04:44:28 +00:00
renovate[bot]
5bdaec6980
chore(deps): update dependency mstest to v3.3.0 2024-04-04 03:20:35 +00:00
renovate[bot]
44dec3ab3f
chore(deps): update dependency opentelemetry.extensions.hosting to v1.8.0 2024-04-03 04:19:18 +00:00
renovate[bot]
497da6487d
chore(deps): update dependency anglesharp.xpath to v2.0.4 2024-04-01 23:24:14 +00:00
renovate[bot]
a9d0092bd2
chore(deps): update opentelemetry-dotnet monorepo to v1.8.0-rc.1 2024-03-28 11:46:37 +00:00
renovate[bot]
d3957b5604
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.5.0 2024-03-27 04:15:12 +00:00
Sebastian Göls
f9f6e207d4
Add official monitoring plugin (#3160)
* Add Monitoring plugin

* Prepare pipeline

* Fix Rider stupidity

* Fix Windows build

* Remove translation files

* Apply feedback

* Add steam id as additional tag to metrics

* Apply feedback

* Add runtime metrics

* Fix my brain not braining

* Use extension methods to add instrumentation and Add monitoring for outbound HTTP traffic

* Upgrade OpenTelemetry.Extensions.Hosting to prerelease due to runtime exception

* Remove config and add file that was supposed to be committed yesterday to fix the runtime exception

* Revert changes to publish.yml

* Remove localization

* Apply feedback

* Apply feedback

* Fix version number

* Revert use of property in Kestrel (even tho it's an outside caller to the source class)
2024-03-25 22:58:03 +01:00
Archi
04b534bda1
SK2 3.0 2024-03-19 12:40:54 +01:00
renovate[bot]
c874779c0d
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.4.1 2024-03-16 00:47:06 +00:00
renovate[bot]
19eefff525
chore(deps): update dependency markdig.signed to v0.36.2 2024-03-14 19:16:09 +00:00
renovate[bot]
25fa5cabbb
chore(deps): update dependency markdig.signed to v0.36.0 2024-03-14 11:13:36 +00:00
renovate[bot]
a93ca58e9c
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.4.0 2024-02-27 23:03:52 +00:00
Archi
6c9e9da740
Modernize unit tests 2024-02-22 16:08:54 +01:00
Łukasz Domeradzki
6b0bf0f9c1
Closes #3061 (#3145)
* Good start

* Misc

* Make ApiAuthenticationMiddleware use new json

* Remove first newtonsoft dependency

* Pull latest ASFB json enhancements

* Start reimplementing newtonsoft!

* One thing at a time

* Keep doing all kind of breaking changes which need to be tested later

* Add back ShouldSerialize() support

* Misc

* Eradicate remaining parts of newtonsoft

* WIP

* Workaround STJ stupidity in regards to derived types

STJ can't serialize derived type properties by default, so we'll use another approach in our serializable file function

* Make CI happy

* Bunch of further fixes

* Fix AddFreeLicense() after rewrite

* Add full support for JsonDisallowNullAttribute

* Optimize our json utilities even further

* Misc

* Add support for fields in disallow null

* Misc optimization

* Fix deserialization of GlobalCache in STD

* Fix non-public [JsonExtensionData]

* Fix IM missing method exception, correct db storage helpers

* Fix saving into generic databases

Thanks STJ

* Make Save() function abstract to force inheritors to implement it properly

* Correct ShouldSerializeAdditionalProperties to be a method

* Misc cleanup

* Code review

* Allow JSON comments in configs, among other

* Allow trailing commas in configs

Users very often add them accidentally, no reason to throw on them

* Fix confirmation ID

Probably needs further fixes, will need to check later

* Correct confirmations deserialization

* Use JsonNumberHandling

* Misc

* Misc

* [JsonDisallowNull] corrections

* Forbid [JsonDisallowNull] on non-nullable structs

* Not really but okay

* Add and use ToJson() helpers

* Misc

* Misc
2024-02-21 03:09:36 +01:00
renovate[bot]
a790c34976
chore(deps): update dependency markdig.signed to v0.35.0 2024-02-17 06:16:26 +00:00
renovate[bot]
24ec938565
chore(deps): update mstest monorepo to v3.2.1 2024-02-13 22:23:04 +00:00
renovate[bot]
407496efd6
chore(deps): update dependency microsoft.net.test.sdk to v17.9.0 2024-02-07 04:18:59 +00:00
renovate[bot]
eb71b640c5
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.3.1 2024-02-03 08:28:40 +00:00
Archi
716b253a04
Move from System.IdentityModel.Tokens.Jwt to Microsoft.IdentityModel.JsonWebTokens
> As of IdentityModel 7x, this is a legacy tool that should be replaced with Microsoft.IdentityModel.JsonWebTokens.

> This is a newer, faster version of System.IdentityModel.Tokens.Jwt that has additional functionality
2024-01-30 13:26:32 +01:00
renovate[bot]
0384365315
chore(deps): update dependency system.identitymodel.tokens.jwt to v7.3.0 2024-01-30 06:46:07 +00:00
renovate[bot]
ddfa7220d8 chore(deps): update mstest monorepo to v3.2.0 2024-01-25 06:39:34 +00:00
renovate[bot]
c78d26a701
chore(deps): update dependency system.identitymodel.tokens.jwt to v7.2.0 2024-01-11 00:47:47 +00:00
renovate[bot]
bb91bf3918
chore(deps): update dependency system.identitymodel.tokens.jwt to v7.1.2 2024-01-09 18:38:55 +00:00
renovate[bot]
45539018f5
chore(deps): update dependency nlog.web.aspnetcore to v5.3.8 2023-12-29 22:50:02 +00:00
renovate[bot]
b8e9dca6d3
chore(deps): update dependency markdig.signed to v0.34.0 2023-12-14 21:15:35 +00:00
renovate[bot]
457bf6dfbb
Update dependency NLog.Web.AspNetCore to v5.3.7 2023-12-10 11:22:34 +00:00
Archi
f2ff2f4929
Closes #3060 2023-11-14 20:01:29 +01:00
renovate[bot]
1e04acb904
Update dotnet monorepo to v8 (#3071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 17:25:06 +01:00