version dumps

This commit is contained in:
Paul Schneider 2026-11-23 14:58:57 +00:00
commit 93ffb7a432
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
22 changed files with 102 additions and 92 deletions

View file

@ -23,14 +23,14 @@
<PackageVersion Include="Tmds.DBus.Protocol" Version="0.95.2" />
<PackageVersion Include="VideoLAN.LibVLC.Android" Version="3.7.0-beta" />
<PackageVersion Include="Live.Avalonia" Version="1.4.2" />
<PackageVersion Include="Mapsui" Version="5.1.0" />
<PackageVersion Include="Mapsui.Avalonia12" Version="5.1.0" />
<PackageVersion Include="Mapsui" Version="5.2.0" />
<PackageVersion Include="Mapsui.Avalonia12" Version="5.2.0" />
<PackageVersion Include="MarkdownViewer.Core" Version="1.0.6-47" />
<PackageVersion Include="Markdown.Avalonia.Tight" Version="12.0.2" />
<PackageVersion Include="Material.Avalonia" Version="3.21.0" />
<PackageVersion Include="AvaloniaUI.DiagnosticsSupport" Version="2.2.3" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="10.0.13" />
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="11.0.0" />
<PackageVersion Include="Mono.Options" Version="6.12.0.148" />
<PackageVersion Include="PvRecorder" Version="1.2.13" />
<PackageVersion Include="Silk.NET.OpenAL" Version="2.23.0" />
@ -40,7 +40,7 @@
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.Common" Version="2.11.0.1" />
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.Process" Version="2.11.0.1" />
<PackageVersion Include="Xamarin.UITest" Version="4.4.2" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.13" />
<PackageVersion Include="Microsoft.ML.OnnxRuntime" Version="1.31.1" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="11.0.0" />
<PackageVersion Include="Microsoft.ML.OnnxRuntime" Version="1.32.0" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0-android</TargetFramework>
<TargetFramework>net11.0-android</TargetFramework>
<SupportedOSPlatformVersion>23</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<ApplicationId>fr.pschneider.postit</ApplicationId>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.WebAssembly">
<PropertyGroup>
<TargetFramework>net10.0-browser</TargetFramework>
<TargetFramework>net11.0-browser</TargetFramework>
<OutputType>Exe</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>

View file

@ -3,7 +3,7 @@
<OutputType>WinExe</OutputType>
<!--If you are willing to use platform-specific APIs, use conditional compilation.
See https://docs.avaloniaui.net/docs/guides/platforms/platform-specific-code/dotnet for more details.-->
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<Nullable>enable</Nullable>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
@ -25,4 +25,4 @@
<ItemGroup>
<ProjectReference Include="..\PostIt\PostIt.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
@ -33,4 +33,4 @@
<Compile Include="..\PostIt.Android\Services\CameraFrameOrientation.cs" Link="Android\CameraFrameOrientation.cs" />
<Compile Include="..\PostIt.Android\Services\CameraFrameClock.cs" Link="Android\CameraFrameClock.cs" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
@ -66,4 +66,4 @@
</Compile>
<Watch Include="**\*.xaml" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0</TargetFrameworks>
<TargetFrameworks>net11.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Description> A shared model for a little client/server app, dealing about establishing some contract, between some human client and provider.
</Description>
@ -14,4 +14,4 @@
<InformationalVersion>1.1.0-feat-calls.1+472.Branch.feat-calls.Sha.d8200cb98ddef152313ef1f102b866c50f107cbd</InformationalVersion>
<Version>1.1.0-feat-calls.1</Version>
</PropertyGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>Yavsc.Api.Client</RootNamespace>
<AssemblyName>Yavsc.Api.Client</AssemblyName>
@ -23,4 +23,4 @@
<ItemGroup>
<ProjectReference Include="../Yavsc.Abstract/Yavsc.Abstract.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>1c73094f-959f-4211-b1a1-6a69b236c283</UserSecretsId>
<RootNamespace>Yavsc.Api</RootNamespace>
@ -16,4 +16,4 @@
<PackageReference Include="xFFmpeg.NET" />
<ProjectReference Include="../Yavsc.Server/Yavsc.Server.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>1c73094f-959f-4211-b1a1-6a69b236c283</UserSecretsId>
<RootNamespace>Yavsc.Blogs</RootNamespace>
@ -15,4 +15,4 @@
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<ProjectReference Include="../Yavsc.Server/Yavsc.Server.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<PackageLicenseExpression>WTFPL</PackageLicenseExpression>
<UserSecretsId>76e56fc2-1619-40d8-8393-365258b7a21d</UserSecretsId>
@ -47,4 +47,4 @@
<ProjectReference Include="../Yavsc.Server/Yavsc.Server.csproj" />
<ProjectReference Include="../Yavsc.Abstract/Yavsc.Abstract.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,4 +1,5 @@
using MailKit.Security;
using MailKit.Net;
using MimeKit;
using Yavsc.Interfaces;
@ -13,10 +14,12 @@ namespace Yavsc.Services
public sealed class MailKitSmtpClient : ISmtpClient
{
private readonly MailKit.Net.Smtp.SmtpClient _client;
private readonly FormatOptions _Options;
public MailKitSmtpClient()
{
_client = new MailKit.Net.Smtp.SmtpClient();
_Options = new FormatOptions();
}
public int Timeout
@ -37,7 +40,8 @@ namespace Yavsc.Services
public Task SendAsync(MimeMessage message, CancellationToken cancellationToken = default)
{
return _client.SendAsync(message, cancellationToken);
MailKit.SendRequest request = new MailKit.SendRequest(message);
return _client.SendAsync(_Options, request, cancellationToken);
}
public void Disconnect(bool quit)

View file

@ -120,8 +120,9 @@ namespace Yavsc.Services
};
msg.Subject = subject;
var domain = new Uri(siteSettings.Authority).Host;
msg.MessageId = MimeKit.Utils.MimeUtils.GenerateMessageId(
siteSettings.Authority
domain
);
using Yavsc.Interfaces.ISmtpClient sc = _smtpClientFactory.CreateClient();
{

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>53bd70e8-ff81-497a-847f-a15fd8ea7a09</UserSecretsId>
<RootNamespace>Yavsc.Server</RootNamespace>
@ -40,4 +40,4 @@
<ItemGroup>
<ProjectReference Include="../Yavsc.Abstract/Yavsc.Abstract.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>Yavsc.cli</RootNamespace>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
@ -22,4 +22,4 @@
<ProjectReference Include="..\Yavsc.Abstract\Yavsc.Abstract.csproj" />
<ProjectReference Include="..\Yavsc.Server\Yavsc.Server.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
@ -30,4 +30,4 @@
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
@ -32,4 +32,4 @@
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
@ -88,4 +88,4 @@
</ItemGroup>
<Copy SourceFiles="@(_YavscOrgStaticAssetsFiles)" DestinationFolder="$(OutDir)" />
</Target>
</Project>
</Project>

View file

@ -2,6 +2,7 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Globalization;
using System.Text.Json;
using Yavsc.Models;
using Yavsc.Models.Payment;
@ -86,11 +87,12 @@ public sealed class ResourceSubscriptionTests
=> Assert.Equal(grant, ResourceUsageCredit.MonthlyGrant(gross, previous, allowance));
[Theory]
[InlineData("Premium", 2.4, 5)]
[InlineData("Discovery", 1.2, 2)]
[InlineData("Premium", "2.4", 5)]
[InlineData("Discovery", "1.2", 2)]
public async Task Paid_disk_quota_uses_standard_reference_and_survives_cancellation_until_anniversary(
string pack, decimal amount, long multiplier)
string pack, string amountText, long multiplier)
{
var amount = decimal.Parse(amountText, NumberStyles.Number, CultureInfo.InvariantCulture);
var clock = new Clock();
var gateway = new Gateway();
using var provider = Provider(clock, gateway);
@ -120,12 +122,13 @@ public sealed class ResourceSubscriptionTests
}
[Theory]
[InlineData("Discovery", "PENDING", 1.2)]
[InlineData("Discovery", "FAILED", 1.2)]
[InlineData("Premium", "PENDING", 2.4)]
[InlineData("Premium", "FAILED", 2.4)]
public async Task Unpaid_subscriptions_do_not_grant_disk_bonus(string pack, string state, decimal amount)
[InlineData("Discovery", "PENDING", "1.2")]
[InlineData("Discovery", "FAILED", "1.2")]
[InlineData("Premium", "PENDING", "2.4")]
[InlineData("Premium", "FAILED", "2.4")]
public async Task Unpaid_subscriptions_do_not_grant_disk_bonus(string pack, string state, string amountText)
{
var amount = decimal.Parse(amountText, NumberStyles.Number, CultureInfo.InvariantCulture);
var clock = new Clock();
var gateway = new Gateway();
using var provider = Provider(clock, gateway);
@ -141,10 +144,11 @@ public sealed class ResourceSubscriptionTests
}
[Theory]
[InlineData("Premium", 2.4)]
[InlineData("Discovery", 1.2)]
public async Task Refund_revokes_disk_bonus_but_not_another_paid_period(string pack, decimal amount)
[InlineData("Premium", "2.4")]
[InlineData("Discovery", "1.2")]
public async Task Refund_revokes_disk_bonus_but_not_another_paid_period(string pack, string amountText)
{
var amount = decimal.Parse(amountText, NumberStyles.Number, CultureInfo.InvariantCulture);
var clock = new Clock();
var gateway = new Gateway();
using var provider = Provider(clock, gateway);
@ -190,11 +194,12 @@ public sealed class ResourceSubscriptionTests
}
[Theory]
[InlineData("Discovery", 1.2, 1000, 3000)]
[InlineData("Premium", 2.4, 3000, 1000)]
[InlineData("Discovery", "1.2", 1000, 3000)]
[InlineData("Premium", "2.4", 3000, 1000)]
public async Task Current_backend_defaults_give_one_or_three_thousand_monthly_points(
string pack, decimal amount, decimal monthlyPoints, decimal remainingUsage)
string pack, string amountText, decimal monthlyPoints, decimal remainingUsage)
{
var amount = decimal.Parse(amountText, NumberStyles.Number, CultureInfo.InvariantCulture);
var clock = new Clock();
var gateway = new Gateway();
using var provider = Provider(clock, gateway, useBackendDefaults: true);

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
@ -29,4 +29,4 @@
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
</Project>
</Project>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
@ -26,4 +26,4 @@
<ItemGroup>
<ProjectReference Include="../../Yavsc.Abstract/Yavsc.Abstract.csproj" />
</ItemGroup>
</Project>
</Project>