From a214c4865e3936f91fbdcdd494c78783dc176ef5 Mon Sep 17 00:00:00 2001 From: sanderdewit Date: Thu, 10 Oct 2024 12:42:50 +0200 Subject: [PATCH 1/8] Update SynoAI.csproj --- SynoAI/SynoAI.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index cef8d93..15d5bb8 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -30,7 +30,7 @@ - + From 020a87cf46750312cea716a975a9f75597077518 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 10 Oct 2024 10:43:24 +0000 Subject: [PATCH 2/8] Update NuGet packages --- SynoAI.Tests/packages.lock.json | 18 ++++++++---------- SynoAI/SynoAI.csproj | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/SynoAI.Tests/packages.lock.json b/SynoAI.Tests/packages.lock.json index 21ee8b0..6abca73 100644 --- a/SynoAI.Tests/packages.lock.json +++ b/SynoAI.Tests/packages.lock.json @@ -101,11 +101,10 @@ }, "MailKit": { "type": "Transitive", - "resolved": "4.8.0", - "contentHash": "zZ1UoM4FUnSFUJ9fTl5CEEaejR0DNP6+FDt1OfXnjg4igZntcir1tg/8Ufd6WY5vrpmvToAjluYqjVM24A+5lA==", + "resolved": "4.7.0", + "contentHash": "NHTD7QXeDwhgwl+l7jM/Ys8qs43r1J6zQ0PvuSBVTj3P2omWibkt+TZquXWmQeqEyAaYtVGOHUhTEhlaT63QDA==", "dependencies": { - "MimeKit": "4.8.0", - "System.Formats.Asn1": "8.0.1" + "MimeKit": "4.7.0" } }, "Microsoft.CodeCoverage": { @@ -157,11 +156,10 @@ }, "MimeKit": { "type": "Transitive", - "resolved": "4.8.0", - "contentHash": "U24wp4LKED+sBRzyrWICE+3bSwptsTrPOcCIXbW5zfeThCNzQx5NCo8Wus+Rmi+EUkQrCwlI/3sVfejeq9tuxQ==", + "resolved": "4.7.0", + "contentHash": "VDqnKACvUiNo5eQshOqB1XzmQROkCSJRkmPu6zj/JqKIn3PID2TtnWGHN5YjkhlLIB7x8MwkXYG6iPLDfiYdcQ==", "dependencies": { "BouncyCastle.Cryptography": "2.4.0", - "System.Formats.Asn1": "8.0.1", "System.Security.Cryptography.Pkcs": "8.0.0" } }, @@ -401,8 +399,8 @@ }, "System.Formats.Asn1": { "type": "Transitive", - "resolved": "8.0.1", - "contentHash": "XqKba7Mm/koKSjKMfW82olQdmfbI5yqeoLV/tidRp7fbh5rmHAQ5raDI/7SU0swTzv+jgqtUGkzmFxuUg0it1A==" + "resolved": "8.0.0", + "contentHash": "AJukBuLoe3QeAF+mfaRKQb2dgyrvt340iMBHYv+VdBzCUM06IxGlvl0o/uPOS7lHnXPN6u8fFRHSHudx5aTi8w==" }, "System.Globalization": { "type": "Transitive", @@ -821,7 +819,7 @@ "type": "Project", "dependencies": { "MQTTnet": "[4.3.7.1207, )", - "MailKit": "[4.8.0, )", + "MailKit": "[4.7.0, )", "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.21.0, )", "Newtonsoft.Json": "[13.0.3, )", "SkiaSharp": "[2.88.8, )", diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index 15d5bb8..cef8d93 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -30,7 +30,7 @@ - + From 8de8e1427a8935f840251212e38605d6560b84c5 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 22 Oct 2024 02:58:03 +0000 Subject: [PATCH 3/8] Update NuGet packages --- SynoAI.Tests/packages.lock.json | 18 ++++++++++-------- SynoAI/SynoAI.csproj | 2 +- SynoAI/packages.lock.json | 26 +++++++++++++------------- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/SynoAI.Tests/packages.lock.json b/SynoAI.Tests/packages.lock.json index 6abca73..21ee8b0 100644 --- a/SynoAI.Tests/packages.lock.json +++ b/SynoAI.Tests/packages.lock.json @@ -101,10 +101,11 @@ }, "MailKit": { "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "NHTD7QXeDwhgwl+l7jM/Ys8qs43r1J6zQ0PvuSBVTj3P2omWibkt+TZquXWmQeqEyAaYtVGOHUhTEhlaT63QDA==", + "resolved": "4.8.0", + "contentHash": "zZ1UoM4FUnSFUJ9fTl5CEEaejR0DNP6+FDt1OfXnjg4igZntcir1tg/8Ufd6WY5vrpmvToAjluYqjVM24A+5lA==", "dependencies": { - "MimeKit": "4.7.0" + "MimeKit": "4.8.0", + "System.Formats.Asn1": "8.0.1" } }, "Microsoft.CodeCoverage": { @@ -156,10 +157,11 @@ }, "MimeKit": { "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "VDqnKACvUiNo5eQshOqB1XzmQROkCSJRkmPu6zj/JqKIn3PID2TtnWGHN5YjkhlLIB7x8MwkXYG6iPLDfiYdcQ==", + "resolved": "4.8.0", + "contentHash": "U24wp4LKED+sBRzyrWICE+3bSwptsTrPOcCIXbW5zfeThCNzQx5NCo8Wus+Rmi+EUkQrCwlI/3sVfejeq9tuxQ==", "dependencies": { "BouncyCastle.Cryptography": "2.4.0", + "System.Formats.Asn1": "8.0.1", "System.Security.Cryptography.Pkcs": "8.0.0" } }, @@ -399,8 +401,8 @@ }, "System.Formats.Asn1": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "AJukBuLoe3QeAF+mfaRKQb2dgyrvt340iMBHYv+VdBzCUM06IxGlvl0o/uPOS7lHnXPN6u8fFRHSHudx5aTi8w==" + "resolved": "8.0.1", + "contentHash": "XqKba7Mm/koKSjKMfW82olQdmfbI5yqeoLV/tidRp7fbh5rmHAQ5raDI/7SU0swTzv+jgqtUGkzmFxuUg0it1A==" }, "System.Globalization": { "type": "Transitive", @@ -819,7 +821,7 @@ "type": "Project", "dependencies": { "MQTTnet": "[4.3.7.1207, )", - "MailKit": "[4.7.0, )", + "MailKit": "[4.8.0, )", "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.21.0, )", "Newtonsoft.Json": "[13.0.3, )", "SkiaSharp": "[2.88.8, )", diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index cef8d93..5788cda 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -36,7 +36,7 @@ - + diff --git a/SynoAI/packages.lock.json b/SynoAI/packages.lock.json index e10d59a..2aa2790 100644 --- a/SynoAI/packages.lock.json +++ b/SynoAI/packages.lock.json @@ -51,14 +51,14 @@ }, "Swashbuckle.AspNetCore": { "type": "Direct", - "requested": "[6.8.1, )", - "resolved": "6.8.1", - "contentHash": "JN6ccH37QKtNOwBrvSxc+jBYIB+cw6RlZie2IKoJhjjf6HzBH+2kPJCpxmJ5EHIqmxvq6aQG+0A8XklGx9rAxA==", + "requested": "[6.9.0, )", + "resolved": "6.9.0", + "contentHash": "lvI+XHF21tkwXd2nDCLGJsdhdUYsY3Ax2fWUlvw81Oa6EedtnIAf5tThy8ZnPcz/9/TwsLgjgtX9ifOCIjbEPA==", "dependencies": { "Microsoft.Extensions.ApiDescription.Server": "6.0.5", - "Swashbuckle.AspNetCore.Swagger": "6.8.1", - "Swashbuckle.AspNetCore.SwaggerGen": "6.8.1", - "Swashbuckle.AspNetCore.SwaggerUI": "6.8.1" + "Swashbuckle.AspNetCore.Swagger": "6.9.0", + "Swashbuckle.AspNetCore.SwaggerGen": "6.9.0", + "Swashbuckle.AspNetCore.SwaggerUI": "6.9.0" } }, "System.Drawing.Common": { @@ -121,24 +121,24 @@ }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "eOkdM4bsWBU5Ty3kWbyq5O9L+05kZT0vOdGh4a92vIb/LLQGQTPLRHXuJdnUBNIPNC8XfKWfSbtRfqzI6nnbqw==", + "resolved": "6.9.0", + "contentHash": "P316kpxx5DnDvJwNWW8iTAXkh9DVenAxFGe9v4OUS0gil+vitH7F1feXhCtVeHN/616EFNTMh4pV2lcr9kkw/w==", "dependencies": { "Microsoft.OpenApi": "1.6.14" } }, "Swashbuckle.AspNetCore.SwaggerGen": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "TjBPxsN0HeJzxEXZYeDXBNNMSyhg+TYXtkbwX+Cn8GH/y5ZeoB/chw0p71kRo5tR2sNshbKwL24T6f9pTF9PHg==", + "resolved": "6.9.0", + "contentHash": "FjeMR3fBzwVc5plfYjoHw9ptf8SOWMupvO9X35J5EgzT3L9dRqSxa+cBKzL8PwCyemY0xNrggQSB5+MFWx1axg==", "dependencies": { - "Swashbuckle.AspNetCore.Swagger": "6.8.1" + "Swashbuckle.AspNetCore.Swagger": "6.9.0" } }, "Swashbuckle.AspNetCore.SwaggerUI": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "lpEszYJ7vZaTTE5Dp8MrsbSHrgDfjhDMjzW1qOA1Xs1Dnj3ZRBJAcPZUTsa5Bva+nLaw91JJ8OI8FkSg8hhIyA==" + "resolved": "6.9.0", + "contentHash": "0OxlWBFLl2gUESZX/K7QCTz9KctKy0VxHTvLIBcyWGD4z/fv5MCMW02qzYGcReLJr4yBnNDRzApKtLh6oBpe9A==" }, "System.Formats.Asn1": { "type": "Transitive", From cf299623568f53f456b439415f27b924aad8c5b9 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 8 Nov 2024 02:54:37 +0000 Subject: [PATCH 4/8] Update NuGet packages --- SynoAI.Tests/packages.lock.json | 26 +++++----- SynoAI/SynoAI.csproj | 6 +-- SynoAI/packages.lock.json | 87 ++++++++++++++++++++++++++------- 3 files changed, 86 insertions(+), 33 deletions(-) diff --git a/SynoAI.Tests/packages.lock.json b/SynoAI.Tests/packages.lock.json index 21ee8b0..09cd806 100644 --- a/SynoAI.Tests/packages.lock.json +++ b/SynoAI.Tests/packages.lock.json @@ -302,35 +302,35 @@ }, "Swashbuckle.AspNetCore": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "JN6ccH37QKtNOwBrvSxc+jBYIB+cw6RlZie2IKoJhjjf6HzBH+2kPJCpxmJ5EHIqmxvq6aQG+0A8XklGx9rAxA==", + "resolved": "6.9.0", + "contentHash": "lvI+XHF21tkwXd2nDCLGJsdhdUYsY3Ax2fWUlvw81Oa6EedtnIAf5tThy8ZnPcz/9/TwsLgjgtX9ifOCIjbEPA==", "dependencies": { "Microsoft.Extensions.ApiDescription.Server": "6.0.5", - "Swashbuckle.AspNetCore.Swagger": "6.8.1", - "Swashbuckle.AspNetCore.SwaggerGen": "6.8.1", - "Swashbuckle.AspNetCore.SwaggerUI": "6.8.1" + "Swashbuckle.AspNetCore.Swagger": "6.9.0", + "Swashbuckle.AspNetCore.SwaggerGen": "6.9.0", + "Swashbuckle.AspNetCore.SwaggerUI": "6.9.0" } }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "eOkdM4bsWBU5Ty3kWbyq5O9L+05kZT0vOdGh4a92vIb/LLQGQTPLRHXuJdnUBNIPNC8XfKWfSbtRfqzI6nnbqw==", + "resolved": "6.9.0", + "contentHash": "P316kpxx5DnDvJwNWW8iTAXkh9DVenAxFGe9v4OUS0gil+vitH7F1feXhCtVeHN/616EFNTMh4pV2lcr9kkw/w==", "dependencies": { "Microsoft.OpenApi": "1.6.14" } }, "Swashbuckle.AspNetCore.SwaggerGen": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "TjBPxsN0HeJzxEXZYeDXBNNMSyhg+TYXtkbwX+Cn8GH/y5ZeoB/chw0p71kRo5tR2sNshbKwL24T6f9pTF9PHg==", + "resolved": "6.9.0", + "contentHash": "FjeMR3fBzwVc5plfYjoHw9ptf8SOWMupvO9X35J5EgzT3L9dRqSxa+cBKzL8PwCyemY0xNrggQSB5+MFWx1axg==", "dependencies": { - "Swashbuckle.AspNetCore.Swagger": "6.8.1" + "Swashbuckle.AspNetCore.Swagger": "6.9.0" } }, "Swashbuckle.AspNetCore.SwaggerUI": { "type": "Transitive", - "resolved": "6.8.1", - "contentHash": "lpEszYJ7vZaTTE5Dp8MrsbSHrgDfjhDMjzW1qOA1Xs1Dnj3ZRBJAcPZUTsa5Bva+nLaw91JJ8OI8FkSg8hhIyA==" + "resolved": "6.9.0", + "contentHash": "0OxlWBFLl2gUESZX/K7QCTz9KctKy0VxHTvLIBcyWGD4z/fv5MCMW02qzYGcReLJr4yBnNDRzApKtLh6oBpe9A==" }, "System.Collections": { "type": "Transitive", @@ -826,7 +826,7 @@ "Newtonsoft.Json": "[13.0.3, )", "SkiaSharp": "[2.88.8, )", "SkiaSharp.NativeAssets.Linux": "[2.88.8, )", - "Swashbuckle.AspNetCore": "[6.8.1, )", + "Swashbuckle.AspNetCore": "[6.9.0, )", "System.Drawing.Common": "[8.0.10, )", "Telegram.Bot": "[19.0.0, )" } diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index 5788cda..520e300 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -34,10 +34,10 @@ - - + + - + diff --git a/SynoAI/packages.lock.json b/SynoAI/packages.lock.json index 2aa2790..39e8d71 100644 --- a/SynoAI/packages.lock.json +++ b/SynoAI/packages.lock.json @@ -32,21 +32,21 @@ }, "SkiaSharp": { "type": "Direct", - "requested": "[2.88.8, )", - "resolved": "2.88.8", - "contentHash": "bRkp3uKp5ZI8gXYQT57uKwil1uobb2p8c69n7v5evlB/2JNcMAXVcw9DZAP5Ig3WSvgzGm2YSn27UVeOi05NlA==", + "requested": "[2.88.9, )", + "resolved": "2.88.9", + "contentHash": "3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", "dependencies": { - "SkiaSharp.NativeAssets.Win32": "2.88.8", - "SkiaSharp.NativeAssets.macOS": "2.88.8" + "SkiaSharp.NativeAssets.Win32": "2.88.9", + "SkiaSharp.NativeAssets.macOS": "2.88.9" } }, "SkiaSharp.NativeAssets.Linux": { "type": "Direct", - "requested": "[2.88.8, )", - "resolved": "2.88.8", - "contentHash": "0FO6YA7paNFBMJULvEyecPmCvL9/STvOAi5VOUw2srqJ7pNTbiiZkfl7sulAzcumbWgfzaVjRXYTgMj7SoUnWQ==", + "requested": "[2.88.9, )", + "resolved": "2.88.9", + "contentHash": "cWSaJKVPWAaT/WIn9c8T5uT/l4ETwHxNJTkEOtNKjphNo8AW6TF9O32aRkxqw3l8GUdUo66Bu7EiqtFh/XG0Zg==", "dependencies": { - "SkiaSharp": "2.88.8" + "SkiaSharp": "2.88.9" } }, "Swashbuckle.AspNetCore": { @@ -72,11 +72,12 @@ }, "Telegram.Bot": { "type": "Direct", - "requested": "[19.0.0, )", - "resolved": "19.0.0", - "contentHash": "Q16IOitgjGoaJOuqgKQy0FeF+hr/ncmlX2esrhCC7aiyhSX7roYEriWaGAHkQZR8QzbImjFfl4eQh2IxcnOrPg==", + "requested": "[22.0.2, )", + "resolved": "22.0.2", + "contentHash": "Zkzku7yQJuo2T5x/tn2fN6/mRWrTCZoAMwNF7YR7g33xXdsPUu3mYyXY//c4h9RVD1OswrumsPbrgRjtpIEC0g==", "dependencies": { - "Newtonsoft.Json": "13.0.1" + "Microsoft.Extensions.Options.ConfigurationExtensions": "8.0.0", + "System.Text.Json": "8.0.5" } }, "BouncyCastle.Cryptography": { @@ -89,6 +90,53 @@ "resolved": "6.0.5", "contentHash": "Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==" }, + "Microsoft.Extensions.Configuration.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==", + "dependencies": { + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Configuration.Binder": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "mBMoXLsr5s1y2zOHWmKsE9veDcx8h1x/c3rz4baEdQKTeDcmQAPNbB54Pi/lhFO3K431eEq6PFbMgLaa6PHFfA==", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "8.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==" + }, + "Microsoft.Extensions.Options": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Options.ConfigurationExtensions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "0f4DMRqEd50zQh+UyJc+/HiBsZ3vhAQALgdkcQEalSH1L2isdC7Yj54M3cyo5e+BeO5fcBQ7Dxly8XiBBcvRgw==", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "8.0.0", + "Microsoft.Extensions.Configuration.Binder": "8.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Options": "8.0.0", + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Primitives": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==" + }, "Microsoft.OpenApi": { "type": "Transitive", "resolved": "1.6.14", @@ -111,13 +159,13 @@ }, "SkiaSharp.NativeAssets.macOS": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "6Kn5TSkKlfyS6azWHF3Jk2sW5C4jCE5uSshM/5AbfFrR+5n6qM5XEnz9h4VaVl7LTxBvHvMkuPb/3bpbq0vxTw==" + "resolved": "2.88.9", + "contentHash": "Nv5spmKc4505Ep7oUoJ5vp3KweFpeNqxpyGDWyeEPTX2uR6S6syXIm3gj75dM0YJz7NPvcix48mR5laqs8dPuA==" }, "SkiaSharp.NativeAssets.Win32": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "O9QXoWEXA+6cweR4h3BOnwMz+pO9vL9mXdjLrpDd0w1QzCgWmLQBxa1VgySDITiH7nQndrDG1h6937zm9pLj1Q==" + "resolved": "2.88.9", + "contentHash": "wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==" }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", @@ -152,6 +200,11 @@ "dependencies": { "System.Formats.Asn1": "8.0.0" } + }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "8.0.5", + "contentHash": "0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==" } } } From 332d08c3bc5b9df56b09422a594e58b5f40fa2cd Mon Sep 17 00:00:00 2001 From: Sander de Wit Date: Thu, 14 Nov 2024 09:25:59 +0100 Subject: [PATCH 5/8] fixed telegram async issue --- SynoAI.Tests/packages.lock.json | 131 ++++++++++++++++++-------- SynoAI/Notifiers/Telegram/Telegram.cs | 4 +- SynoAI/SynoAI.csproj | 4 +- SynoAI/packages.lock.json | 44 ++++----- 4 files changed, 118 insertions(+), 65 deletions(-) diff --git a/SynoAI.Tests/packages.lock.json b/SynoAI.Tests/packages.lock.json index 09cd806..a4701c1 100644 --- a/SynoAI.Tests/packages.lock.json +++ b/SynoAI.Tests/packages.lock.json @@ -118,6 +118,53 @@ "resolved": "6.0.5", "contentHash": "Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==" }, + "Microsoft.Extensions.Configuration.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==", + "dependencies": { + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Configuration.Binder": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "mBMoXLsr5s1y2zOHWmKsE9veDcx8h1x/c3rz4baEdQKTeDcmQAPNbB54Pi/lhFO3K431eEq6PFbMgLaa6PHFfA==", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "8.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==" + }, + "Microsoft.Extensions.Options": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Options.ConfigurationExtensions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "0f4DMRqEd50zQh+UyJc+/HiBsZ3vhAQALgdkcQEalSH1L2isdC7Yj54M3cyo5e+BeO5fcBQ7Dxly8XiBBcvRgw==", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "8.0.0", + "Microsoft.Extensions.Configuration.Binder": "8.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Options": "8.0.0", + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Primitives": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==" + }, "Microsoft.NETCore.Targets": { "type": "Transitive", "resolved": "1.1.3", @@ -125,8 +172,8 @@ }, "Microsoft.OpenApi": { "type": "Transitive", - "resolved": "1.6.14", - "contentHash": "tTaBT8qjk3xINfESyOPE2rIellPvB7qpVqiWiyA/lACVvz+xOGiXhFUfohcx82NLbi5avzLW0lx+s6oAqQijfw==" + "resolved": "1.6.22", + "contentHash": "aBvunmrdu/x+4CaA/UP1Jx4xWGwk4kymhoIRnn2Vp+zi5/KOPQJ9EkSXHRUr01WcGKtYl3Au7XfkPJbU1G2sjQ==" }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", @@ -152,8 +199,8 @@ }, "Microsoft.Win32.SystemEvents": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw==" + "resolved": "9.0.0", + "contentHash": "z8FfGIaoeALdD+KF44A2uP8PZIQQtDGiXsOLuN8nohbKhkyKt7zGaZb+fKiCxTuBqG22Q7myIAioSWaIcOOrOw==" }, "MimeKit": { "type": "Transitive", @@ -275,62 +322,62 @@ }, "SkiaSharp": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "bRkp3uKp5ZI8gXYQT57uKwil1uobb2p8c69n7v5evlB/2JNcMAXVcw9DZAP5Ig3WSvgzGm2YSn27UVeOi05NlA==", + "resolved": "2.88.9", + "contentHash": "3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", "dependencies": { - "SkiaSharp.NativeAssets.Win32": "2.88.8", - "SkiaSharp.NativeAssets.macOS": "2.88.8" + "SkiaSharp.NativeAssets.Win32": "2.88.9", + "SkiaSharp.NativeAssets.macOS": "2.88.9" } }, "SkiaSharp.NativeAssets.Linux": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "0FO6YA7paNFBMJULvEyecPmCvL9/STvOAi5VOUw2srqJ7pNTbiiZkfl7sulAzcumbWgfzaVjRXYTgMj7SoUnWQ==", + "resolved": "2.88.9", + "contentHash": "cWSaJKVPWAaT/WIn9c8T5uT/l4ETwHxNJTkEOtNKjphNo8AW6TF9O32aRkxqw3l8GUdUo66Bu7EiqtFh/XG0Zg==", "dependencies": { - "SkiaSharp": "2.88.8" + "SkiaSharp": "2.88.9" } }, "SkiaSharp.NativeAssets.macOS": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "6Kn5TSkKlfyS6azWHF3Jk2sW5C4jCE5uSshM/5AbfFrR+5n6qM5XEnz9h4VaVl7LTxBvHvMkuPb/3bpbq0vxTw==" + "resolved": "2.88.9", + "contentHash": "Nv5spmKc4505Ep7oUoJ5vp3KweFpeNqxpyGDWyeEPTX2uR6S6syXIm3gj75dM0YJz7NPvcix48mR5laqs8dPuA==" }, "SkiaSharp.NativeAssets.Win32": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "O9QXoWEXA+6cweR4h3BOnwMz+pO9vL9mXdjLrpDd0w1QzCgWmLQBxa1VgySDITiH7nQndrDG1h6937zm9pLj1Q==" + "resolved": "2.88.9", + "contentHash": "wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==" }, "Swashbuckle.AspNetCore": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "lvI+XHF21tkwXd2nDCLGJsdhdUYsY3Ax2fWUlvw81Oa6EedtnIAf5tThy8ZnPcz/9/TwsLgjgtX9ifOCIjbEPA==", + "resolved": "7.0.0", + "contentHash": "aF6oCgMy8CC17cSbILAw9J4UVhqOE+0Z11V8JstA+pIrXcY8ZbNL3ayHOWKZm0NdHMS6RI1k5sFVfMkpZOobvw==", "dependencies": { "Microsoft.Extensions.ApiDescription.Server": "6.0.5", - "Swashbuckle.AspNetCore.Swagger": "6.9.0", - "Swashbuckle.AspNetCore.SwaggerGen": "6.9.0", - "Swashbuckle.AspNetCore.SwaggerUI": "6.9.0" + "Swashbuckle.AspNetCore.Swagger": "7.0.0", + "Swashbuckle.AspNetCore.SwaggerGen": "7.0.0", + "Swashbuckle.AspNetCore.SwaggerUI": "7.0.0" } }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "P316kpxx5DnDvJwNWW8iTAXkh9DVenAxFGe9v4OUS0gil+vitH7F1feXhCtVeHN/616EFNTMh4pV2lcr9kkw/w==", + "resolved": "7.0.0", + "contentHash": "Y2QnwZkuszoIYpz069xqDU0h/rklVedE4a0NOdb8HSDTcXCmsi7Zm2RGdJccde5MojHmEhDmZggCO1wgpfZ2IA==", "dependencies": { - "Microsoft.OpenApi": "1.6.14" + "Microsoft.OpenApi": "1.6.22" } }, "Swashbuckle.AspNetCore.SwaggerGen": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "FjeMR3fBzwVc5plfYjoHw9ptf8SOWMupvO9X35J5EgzT3L9dRqSxa+cBKzL8PwCyemY0xNrggQSB5+MFWx1axg==", + "resolved": "7.0.0", + "contentHash": "f/urqk9zkb5ZXc3ljLNP++JgYe2HTlA4WaIaO1DLRQLRFh3HXIZakFfMfTWX1T8NVqeMyJF7MzETN4HsokxNuQ==", "dependencies": { - "Swashbuckle.AspNetCore.Swagger": "6.9.0" + "Swashbuckle.AspNetCore.Swagger": "7.0.0" } }, "Swashbuckle.AspNetCore.SwaggerUI": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "0OxlWBFLl2gUESZX/K7QCTz9KctKy0VxHTvLIBcyWGD4z/fv5MCMW02qzYGcReLJr4yBnNDRzApKtLh6oBpe9A==" + "resolved": "7.0.0", + "contentHash": "rJJony+jsxvpfJM9ZGVxjp0DVpalZv8cAhiMSLW6L2hgUWb7k5qPVuzQHWXtkT8lrG1hQ8vWeR+HUwgCQm9J3A==" }, "System.Collections": { "type": "Transitive", @@ -393,10 +440,10 @@ }, "System.Drawing.Common": { "type": "Transitive", - "resolved": "8.0.10", - "contentHash": "MdajRp3P+FOlThgY6FBjAqnmLiVl5t2yWEC/2AsDMqx1zYbJG3G5TnscFBQ4obqcaGqvN5UnhQHSFaJFG2HftQ==", + "resolved": "9.0.0", + "contentHash": "uoozjI3+dlgKh2onFJcz8aNLh6TRCPlLSh8Dbuljc8CdvqXrxHOVysJlrHvlsOCqceqGBR1wrMPxlnzzhynktw==", "dependencies": { - "Microsoft.Win32.SystemEvents": "8.0.0" + "Microsoft.Win32.SystemEvents": "9.0.0" } }, "System.Formats.Asn1": { @@ -750,6 +797,11 @@ "System.Runtime": "4.3.0" } }, + "System.Text.Json": { + "type": "Transitive", + "resolved": "8.0.5", + "contentHash": "0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==" + }, "System.Threading": { "type": "Transitive", "resolved": "4.3.0", @@ -771,10 +823,11 @@ }, "Telegram.Bot": { "type": "Transitive", - "resolved": "19.0.0", - "contentHash": "Q16IOitgjGoaJOuqgKQy0FeF+hr/ncmlX2esrhCC7aiyhSX7roYEriWaGAHkQZR8QzbImjFfl4eQh2IxcnOrPg==", + "resolved": "22.0.2", + "contentHash": "Zkzku7yQJuo2T5x/tn2fN6/mRWrTCZoAMwNF7YR7g33xXdsPUu3mYyXY//c4h9RVD1OswrumsPbrgRjtpIEC0g==", "dependencies": { - "Newtonsoft.Json": "13.0.1" + "Microsoft.Extensions.Options.ConfigurationExtensions": "8.0.0", + "System.Text.Json": "8.0.5" } }, "xunit.abstractions": { @@ -824,11 +877,11 @@ "MailKit": "[4.8.0, )", "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.21.0, )", "Newtonsoft.Json": "[13.0.3, )", - "SkiaSharp": "[2.88.8, )", - "SkiaSharp.NativeAssets.Linux": "[2.88.8, )", - "Swashbuckle.AspNetCore": "[6.9.0, )", - "System.Drawing.Common": "[8.0.10, )", - "Telegram.Bot": "[19.0.0, )" + "SkiaSharp": "[2.88.9, )", + "SkiaSharp.NativeAssets.Linux": "[2.88.9, )", + "Swashbuckle.AspNetCore": "[7.0.0, )", + "System.Drawing.Common": "[9.0.0, )", + "Telegram.Bot": "[22.0.2, )" } } } diff --git a/SynoAI/Notifiers/Telegram/Telegram.cs b/SynoAI/Notifiers/Telegram/Telegram.cs index 9e4f17c..a847ef1 100644 --- a/SynoAI/Notifiers/Telegram/Telegram.cs +++ b/SynoAI/Notifiers/Telegram/Telegram.cs @@ -49,7 +49,7 @@ public override async Task SendAsync(Camera camera, Notification notification, I // The photo base URL hasn't been specified, which means we need to send the file ourselves using FileStream fileStream = processedImage.GetReadonlyStream(); var inputFile = new InputFileStream(fileStream, processedImage.FileName); - await bot.SendPhotoAsync(chatId: ChatID, photo: inputFile, caption: message); + await bot.SendPhoto(chatId: ChatID, photo: inputFile, caption: message); // TODO - Add a config to disable the sending of the image? } else @@ -58,7 +58,7 @@ public override async Task SendAsync(Camera camera, Notification notification, I //api requires a download of the file using HttpClient httpClient = new(); using Stream photoStream = await httpClient.GetStreamAsync(photoUrl); - await bot.SendPhotoAsync(chatId: ChatID, photo: new InputFileStream(photoStream, processedImage.FileName), caption: message); + await bot.SendPhoto(chatId: ChatID, photo: new InputFileStream(photoStream, processedImage.FileName), caption: message); } logger.LogInformation("{cameraName}: Telegram notification sent successfully", cameraName); diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index 520e300..1eae70b 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -36,9 +36,9 @@ - + - + diff --git a/SynoAI/packages.lock.json b/SynoAI/packages.lock.json index 39e8d71..5ccdb2c 100644 --- a/SynoAI/packages.lock.json +++ b/SynoAI/packages.lock.json @@ -51,23 +51,23 @@ }, "Swashbuckle.AspNetCore": { "type": "Direct", - "requested": "[6.9.0, )", - "resolved": "6.9.0", - "contentHash": "lvI+XHF21tkwXd2nDCLGJsdhdUYsY3Ax2fWUlvw81Oa6EedtnIAf5tThy8ZnPcz/9/TwsLgjgtX9ifOCIjbEPA==", + "requested": "[7.0.0, )", + "resolved": "7.0.0", + "contentHash": "aF6oCgMy8CC17cSbILAw9J4UVhqOE+0Z11V8JstA+pIrXcY8ZbNL3ayHOWKZm0NdHMS6RI1k5sFVfMkpZOobvw==", "dependencies": { "Microsoft.Extensions.ApiDescription.Server": "6.0.5", - "Swashbuckle.AspNetCore.Swagger": "6.9.0", - "Swashbuckle.AspNetCore.SwaggerGen": "6.9.0", - "Swashbuckle.AspNetCore.SwaggerUI": "6.9.0" + "Swashbuckle.AspNetCore.Swagger": "7.0.0", + "Swashbuckle.AspNetCore.SwaggerGen": "7.0.0", + "Swashbuckle.AspNetCore.SwaggerUI": "7.0.0" } }, "System.Drawing.Common": { "type": "Direct", - "requested": "[8.0.10, )", - "resolved": "8.0.10", - "contentHash": "MdajRp3P+FOlThgY6FBjAqnmLiVl5t2yWEC/2AsDMqx1zYbJG3G5TnscFBQ4obqcaGqvN5UnhQHSFaJFG2HftQ==", + "requested": "[9.0.0, )", + "resolved": "9.0.0", + "contentHash": "uoozjI3+dlgKh2onFJcz8aNLh6TRCPlLSh8Dbuljc8CdvqXrxHOVysJlrHvlsOCqceqGBR1wrMPxlnzzhynktw==", "dependencies": { - "Microsoft.Win32.SystemEvents": "8.0.0" + "Microsoft.Win32.SystemEvents": "9.0.0" } }, "Telegram.Bot": { @@ -139,13 +139,13 @@ }, "Microsoft.OpenApi": { "type": "Transitive", - "resolved": "1.6.14", - "contentHash": "tTaBT8qjk3xINfESyOPE2rIellPvB7qpVqiWiyA/lACVvz+xOGiXhFUfohcx82NLbi5avzLW0lx+s6oAqQijfw==" + "resolved": "1.6.22", + "contentHash": "aBvunmrdu/x+4CaA/UP1Jx4xWGwk4kymhoIRnn2Vp+zi5/KOPQJ9EkSXHRUr01WcGKtYl3Au7XfkPJbU1G2sjQ==" }, "Microsoft.Win32.SystemEvents": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw==" + "resolved": "9.0.0", + "contentHash": "z8FfGIaoeALdD+KF44A2uP8PZIQQtDGiXsOLuN8nohbKhkyKt7zGaZb+fKiCxTuBqG22Q7myIAioSWaIcOOrOw==" }, "MimeKit": { "type": "Transitive", @@ -169,24 +169,24 @@ }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "P316kpxx5DnDvJwNWW8iTAXkh9DVenAxFGe9v4OUS0gil+vitH7F1feXhCtVeHN/616EFNTMh4pV2lcr9kkw/w==", + "resolved": "7.0.0", + "contentHash": "Y2QnwZkuszoIYpz069xqDU0h/rklVedE4a0NOdb8HSDTcXCmsi7Zm2RGdJccde5MojHmEhDmZggCO1wgpfZ2IA==", "dependencies": { - "Microsoft.OpenApi": "1.6.14" + "Microsoft.OpenApi": "1.6.22" } }, "Swashbuckle.AspNetCore.SwaggerGen": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "FjeMR3fBzwVc5plfYjoHw9ptf8SOWMupvO9X35J5EgzT3L9dRqSxa+cBKzL8PwCyemY0xNrggQSB5+MFWx1axg==", + "resolved": "7.0.0", + "contentHash": "f/urqk9zkb5ZXc3ljLNP++JgYe2HTlA4WaIaO1DLRQLRFh3HXIZakFfMfTWX1T8NVqeMyJF7MzETN4HsokxNuQ==", "dependencies": { - "Swashbuckle.AspNetCore.Swagger": "6.9.0" + "Swashbuckle.AspNetCore.Swagger": "7.0.0" } }, "Swashbuckle.AspNetCore.SwaggerUI": { "type": "Transitive", - "resolved": "6.9.0", - "contentHash": "0OxlWBFLl2gUESZX/K7QCTz9KctKy0VxHTvLIBcyWGD4z/fv5MCMW02qzYGcReLJr4yBnNDRzApKtLh6oBpe9A==" + "resolved": "7.0.0", + "contentHash": "rJJony+jsxvpfJM9ZGVxjp0DVpalZv8cAhiMSLW6L2hgUWb7k5qPVuzQHWXtkT8lrG1hQ8vWeR+HUwgCQm9J3A==" }, "System.Formats.Asn1": { "type": "Transitive", From e04b8631f336ccc91206742ddbb9ec363e20d316 Mon Sep 17 00:00:00 2001 From: Sander de Wit Date: Thu, 14 Nov 2024 10:02:58 +0100 Subject: [PATCH 6/8] test --- SynoAI.Tests/packages.lock.json | 26 +++++++++++++------------- SynoAI/SynoAI.csproj | 4 ++-- SynoAI/packages.lock.json | 26 +++++++++++++------------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/SynoAI.Tests/packages.lock.json b/SynoAI.Tests/packages.lock.json index a4701c1..afa937a 100644 --- a/SynoAI.Tests/packages.lock.json +++ b/SynoAI.Tests/packages.lock.json @@ -322,30 +322,30 @@ }, "SkiaSharp": { "type": "Transitive", - "resolved": "2.88.9", - "contentHash": "3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", + "resolved": "2.88.8", + "contentHash": "bRkp3uKp5ZI8gXYQT57uKwil1uobb2p8c69n7v5evlB/2JNcMAXVcw9DZAP5Ig3WSvgzGm2YSn27UVeOi05NlA==", "dependencies": { - "SkiaSharp.NativeAssets.Win32": "2.88.9", - "SkiaSharp.NativeAssets.macOS": "2.88.9" + "SkiaSharp.NativeAssets.Win32": "2.88.8", + "SkiaSharp.NativeAssets.macOS": "2.88.8" } }, "SkiaSharp.NativeAssets.Linux": { "type": "Transitive", - "resolved": "2.88.9", - "contentHash": "cWSaJKVPWAaT/WIn9c8T5uT/l4ETwHxNJTkEOtNKjphNo8AW6TF9O32aRkxqw3l8GUdUo66Bu7EiqtFh/XG0Zg==", + "resolved": "2.88.8", + "contentHash": "0FO6YA7paNFBMJULvEyecPmCvL9/STvOAi5VOUw2srqJ7pNTbiiZkfl7sulAzcumbWgfzaVjRXYTgMj7SoUnWQ==", "dependencies": { - "SkiaSharp": "2.88.9" + "SkiaSharp": "2.88.8" } }, "SkiaSharp.NativeAssets.macOS": { "type": "Transitive", - "resolved": "2.88.9", - "contentHash": "Nv5spmKc4505Ep7oUoJ5vp3KweFpeNqxpyGDWyeEPTX2uR6S6syXIm3gj75dM0YJz7NPvcix48mR5laqs8dPuA==" + "resolved": "2.88.8", + "contentHash": "6Kn5TSkKlfyS6azWHF3Jk2sW5C4jCE5uSshM/5AbfFrR+5n6qM5XEnz9h4VaVl7LTxBvHvMkuPb/3bpbq0vxTw==" }, "SkiaSharp.NativeAssets.Win32": { "type": "Transitive", - "resolved": "2.88.9", - "contentHash": "wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==" + "resolved": "2.88.8", + "contentHash": "O9QXoWEXA+6cweR4h3BOnwMz+pO9vL9mXdjLrpDd0w1QzCgWmLQBxa1VgySDITiH7nQndrDG1h6937zm9pLj1Q==" }, "Swashbuckle.AspNetCore": { "type": "Transitive", @@ -877,8 +877,8 @@ "MailKit": "[4.8.0, )", "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.21.0, )", "Newtonsoft.Json": "[13.0.3, )", - "SkiaSharp": "[2.88.9, )", - "SkiaSharp.NativeAssets.Linux": "[2.88.9, )", + "SkiaSharp": "[2.88.8, )", + "SkiaSharp.NativeAssets.Linux": "[2.88.8, )", "Swashbuckle.AspNetCore": "[7.0.0, )", "System.Drawing.Common": "[9.0.0, )", "Telegram.Bot": "[22.0.2, )" diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index 1eae70b..341a59b 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -34,8 +34,8 @@ - - + + diff --git a/SynoAI/packages.lock.json b/SynoAI/packages.lock.json index 5ccdb2c..34a1c39 100644 --- a/SynoAI/packages.lock.json +++ b/SynoAI/packages.lock.json @@ -32,21 +32,21 @@ }, "SkiaSharp": { "type": "Direct", - "requested": "[2.88.9, )", - "resolved": "2.88.9", - "contentHash": "3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", + "requested": "[2.88.8, )", + "resolved": "2.88.8", + "contentHash": "bRkp3uKp5ZI8gXYQT57uKwil1uobb2p8c69n7v5evlB/2JNcMAXVcw9DZAP5Ig3WSvgzGm2YSn27UVeOi05NlA==", "dependencies": { - "SkiaSharp.NativeAssets.Win32": "2.88.9", - "SkiaSharp.NativeAssets.macOS": "2.88.9" + "SkiaSharp.NativeAssets.Win32": "2.88.8", + "SkiaSharp.NativeAssets.macOS": "2.88.8" } }, "SkiaSharp.NativeAssets.Linux": { "type": "Direct", - "requested": "[2.88.9, )", - "resolved": "2.88.9", - "contentHash": "cWSaJKVPWAaT/WIn9c8T5uT/l4ETwHxNJTkEOtNKjphNo8AW6TF9O32aRkxqw3l8GUdUo66Bu7EiqtFh/XG0Zg==", + "requested": "[2.88.8, )", + "resolved": "2.88.8", + "contentHash": "0FO6YA7paNFBMJULvEyecPmCvL9/STvOAi5VOUw2srqJ7pNTbiiZkfl7sulAzcumbWgfzaVjRXYTgMj7SoUnWQ==", "dependencies": { - "SkiaSharp": "2.88.9" + "SkiaSharp": "2.88.8" } }, "Swashbuckle.AspNetCore": { @@ -159,13 +159,13 @@ }, "SkiaSharp.NativeAssets.macOS": { "type": "Transitive", - "resolved": "2.88.9", - "contentHash": "Nv5spmKc4505Ep7oUoJ5vp3KweFpeNqxpyGDWyeEPTX2uR6S6syXIm3gj75dM0YJz7NPvcix48mR5laqs8dPuA==" + "resolved": "2.88.8", + "contentHash": "6Kn5TSkKlfyS6azWHF3Jk2sW5C4jCE5uSshM/5AbfFrR+5n6qM5XEnz9h4VaVl7LTxBvHvMkuPb/3bpbq0vxTw==" }, "SkiaSharp.NativeAssets.Win32": { "type": "Transitive", - "resolved": "2.88.9", - "contentHash": "wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==" + "resolved": "2.88.8", + "contentHash": "O9QXoWEXA+6cweR4h3BOnwMz+pO9vL9mXdjLrpDd0w1QzCgWmLQBxa1VgySDITiH7nQndrDG1h6937zm9pLj1Q==" }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", From 9234a4e0354d9d6c54f557fdac4281934979e09a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 14 Nov 2024 09:03:37 +0000 Subject: [PATCH 7/8] Update NuGet packages --- SynoAI/SynoAI.csproj | 4 ++-- SynoAI/packages.lock.json | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index 341a59b..1eae70b 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -34,8 +34,8 @@ - - + + diff --git a/SynoAI/packages.lock.json b/SynoAI/packages.lock.json index 34a1c39..5ccdb2c 100644 --- a/SynoAI/packages.lock.json +++ b/SynoAI/packages.lock.json @@ -32,21 +32,21 @@ }, "SkiaSharp": { "type": "Direct", - "requested": "[2.88.8, )", - "resolved": "2.88.8", - "contentHash": "bRkp3uKp5ZI8gXYQT57uKwil1uobb2p8c69n7v5evlB/2JNcMAXVcw9DZAP5Ig3WSvgzGm2YSn27UVeOi05NlA==", + "requested": "[2.88.9, )", + "resolved": "2.88.9", + "contentHash": "3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", "dependencies": { - "SkiaSharp.NativeAssets.Win32": "2.88.8", - "SkiaSharp.NativeAssets.macOS": "2.88.8" + "SkiaSharp.NativeAssets.Win32": "2.88.9", + "SkiaSharp.NativeAssets.macOS": "2.88.9" } }, "SkiaSharp.NativeAssets.Linux": { "type": "Direct", - "requested": "[2.88.8, )", - "resolved": "2.88.8", - "contentHash": "0FO6YA7paNFBMJULvEyecPmCvL9/STvOAi5VOUw2srqJ7pNTbiiZkfl7sulAzcumbWgfzaVjRXYTgMj7SoUnWQ==", + "requested": "[2.88.9, )", + "resolved": "2.88.9", + "contentHash": "cWSaJKVPWAaT/WIn9c8T5uT/l4ETwHxNJTkEOtNKjphNo8AW6TF9O32aRkxqw3l8GUdUo66Bu7EiqtFh/XG0Zg==", "dependencies": { - "SkiaSharp": "2.88.8" + "SkiaSharp": "2.88.9" } }, "Swashbuckle.AspNetCore": { @@ -159,13 +159,13 @@ }, "SkiaSharp.NativeAssets.macOS": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "6Kn5TSkKlfyS6azWHF3Jk2sW5C4jCE5uSshM/5AbfFrR+5n6qM5XEnz9h4VaVl7LTxBvHvMkuPb/3bpbq0vxTw==" + "resolved": "2.88.9", + "contentHash": "Nv5spmKc4505Ep7oUoJ5vp3KweFpeNqxpyGDWyeEPTX2uR6S6syXIm3gj75dM0YJz7NPvcix48mR5laqs8dPuA==" }, "SkiaSharp.NativeAssets.Win32": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "O9QXoWEXA+6cweR4h3BOnwMz+pO9vL9mXdjLrpDd0w1QzCgWmLQBxa1VgySDITiH7nQndrDG1h6937zm9pLj1Q==" + "resolved": "2.88.9", + "contentHash": "wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==" }, "Swashbuckle.AspNetCore.Swagger": { "type": "Transitive", From 4fb6182e0554ff3638d99e203c3c190c4dff8eea Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 22 Nov 2024 03:03:10 +0000 Subject: [PATCH 8/8] Update NuGet packages --- SynoAI.Tests/SynoAI.Tests.csproj | 2 +- SynoAI.Tests/packages.lock.json | 56 ++++++++++++++++---------------- SynoAI/SynoAI.csproj | 2 +- SynoAI/packages.lock.json | 6 ++-- 4 files changed, 33 insertions(+), 33 deletions(-) diff --git a/SynoAI.Tests/SynoAI.Tests.csproj b/SynoAI.Tests/SynoAI.Tests.csproj index d92b7fa..0644d9c 100644 --- a/SynoAI.Tests/SynoAI.Tests.csproj +++ b/SynoAI.Tests/SynoAI.Tests.csproj @@ -21,7 +21,7 @@ - + diff --git a/SynoAI.Tests/packages.lock.json b/SynoAI.Tests/packages.lock.json index afa937a..13ab273 100644 --- a/SynoAI.Tests/packages.lock.json +++ b/SynoAI.Tests/packages.lock.json @@ -10,12 +10,12 @@ }, "Microsoft.NET.Test.Sdk": { "type": "Direct", - "requested": "[17.11.1, )", - "resolved": "17.11.1", - "contentHash": "U3Ty4BaGoEu+T2bwSko9tWqWUOU16WzSFkq6U8zve75oRBMSLTBdMAZrVNNz1Tq12aCdDom9fcOcM9QZaFHqFg==", + "requested": "[17.12.0, )", + "resolved": "17.12.0", + "contentHash": "kt/PKBZ91rFCWxVIJZSgVLk+YR+4KxTuHf799ho8WNiK5ZQpJNAEZCAWX86vcKrs+DiYjiibpYKdGZP6+/N17w==", "dependencies": { - "Microsoft.CodeCoverage": "17.11.1", - "Microsoft.TestPlatform.TestHost": "17.11.1" + "Microsoft.CodeCoverage": "17.12.0", + "Microsoft.TestPlatform.TestHost": "17.12.0" } }, "Microsoft.NETCore.Platforms": { @@ -110,8 +110,8 @@ }, "Microsoft.CodeCoverage": { "type": "Transitive", - "resolved": "17.11.1", - "contentHash": "nPJqrcA5iX+Y0kqoT3a+pD/8lrW/V7ayqnEJQsTonSoPz59J8bmoQhcSN4G8+UJ64Hkuf0zuxnfuj2lkHOq4cA==" + "resolved": "17.12.0", + "contentHash": "4svMznBd5JM21JIG2xZKGNanAHNXplxf/kQDFfLHXQ3OnpJkayRK/TjacFjA+EYmoyuNXHo/sOETEfcYtAzIrA==" }, "Microsoft.Extensions.ApiDescription.Server": { "type": "Transitive", @@ -177,18 +177,18 @@ }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", - "resolved": "17.11.1", - "contentHash": "E2jZqAU6JeWEVsyOEOrSW1o1bpHLgb25ypvKNB/moBXPVsFYBPd/Jwi7OrYahG50J83LfHzezYI+GaEkpAotiA==", + "resolved": "17.12.0", + "contentHash": "TDqkTKLfQuAaPcEb3pDDWnh7b3SyZF+/W9OZvWFp6eJCIiiYFdSB6taE2I6tWrFw5ywhzOb6sreoGJTI6m3rSQ==", "dependencies": { "System.Reflection.Metadata": "1.6.0" } }, "Microsoft.TestPlatform.TestHost": { "type": "Transitive", - "resolved": "17.11.1", - "contentHash": "DnG+GOqJXO/CkoqlJWeDFTgPhqD/V6VqUIL3vINizCWZ3X+HshCtbbyDdSHQQEjrc2Sl/K3yaxX6s+5LFEdYuw==", + "resolved": "17.12.0", + "contentHash": "MiPEJQNyADfwZ4pJNpQex+t9/jOClBGMiCiVVFuELCMSX2nmNfvUor3uFVxNNCg30uxDP8JDYfPnMXQzsfzYyg==", "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.11.1", + "Microsoft.TestPlatform.ObjectModel": "17.12.0", "Newtonsoft.Json": "13.0.1" } }, @@ -322,30 +322,30 @@ }, "SkiaSharp": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "bRkp3uKp5ZI8gXYQT57uKwil1uobb2p8c69n7v5evlB/2JNcMAXVcw9DZAP5Ig3WSvgzGm2YSn27UVeOi05NlA==", + "resolved": "2.88.9", + "contentHash": "3MD5VHjXXieSHCleRLuaTXmL2pD0mB7CcOB1x2kA1I4bhptf4e3R27iM93264ZYuAq6mkUyX5XbcxnZvMJYc1Q==", "dependencies": { - "SkiaSharp.NativeAssets.Win32": "2.88.8", - "SkiaSharp.NativeAssets.macOS": "2.88.8" + "SkiaSharp.NativeAssets.Win32": "2.88.9", + "SkiaSharp.NativeAssets.macOS": "2.88.9" } }, "SkiaSharp.NativeAssets.Linux": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "0FO6YA7paNFBMJULvEyecPmCvL9/STvOAi5VOUw2srqJ7pNTbiiZkfl7sulAzcumbWgfzaVjRXYTgMj7SoUnWQ==", + "resolved": "2.88.9", + "contentHash": "cWSaJKVPWAaT/WIn9c8T5uT/l4ETwHxNJTkEOtNKjphNo8AW6TF9O32aRkxqw3l8GUdUo66Bu7EiqtFh/XG0Zg==", "dependencies": { - "SkiaSharp": "2.88.8" + "SkiaSharp": "2.88.9" } }, "SkiaSharp.NativeAssets.macOS": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "6Kn5TSkKlfyS6azWHF3Jk2sW5C4jCE5uSshM/5AbfFrR+5n6qM5XEnz9h4VaVl7LTxBvHvMkuPb/3bpbq0vxTw==" + "resolved": "2.88.9", + "contentHash": "Nv5spmKc4505Ep7oUoJ5vp3KweFpeNqxpyGDWyeEPTX2uR6S6syXIm3gj75dM0YJz7NPvcix48mR5laqs8dPuA==" }, "SkiaSharp.NativeAssets.Win32": { "type": "Transitive", - "resolved": "2.88.8", - "contentHash": "O9QXoWEXA+6cweR4h3BOnwMz+pO9vL9mXdjLrpDd0w1QzCgWmLQBxa1VgySDITiH7nQndrDG1h6937zm9pLj1Q==" + "resolved": "2.88.9", + "contentHash": "wb2kYgU7iy84nQLYZwMeJXixvK++GoIuECjU4ECaUKNuflyRlJKyiRhN1MAHswvlvzuvkrjRWlK0Za6+kYQK7w==" }, "Swashbuckle.AspNetCore": { "type": "Transitive", @@ -823,8 +823,8 @@ }, "Telegram.Bot": { "type": "Transitive", - "resolved": "22.0.2", - "contentHash": "Zkzku7yQJuo2T5x/tn2fN6/mRWrTCZoAMwNF7YR7g33xXdsPUu3mYyXY//c4h9RVD1OswrumsPbrgRjtpIEC0g==", + "resolved": "22.1.2", + "contentHash": "5ehl9lwENSULyxJ86kIVXS5a3V9XvAYvorSEmlf7mDY747eoVZmnS0dyqgWbkaE9GoTOxbpre8s2D+n5+8ZxLw==", "dependencies": { "Microsoft.Extensions.Options.ConfigurationExtensions": "8.0.0", "System.Text.Json": "8.0.5" @@ -877,11 +877,11 @@ "MailKit": "[4.8.0, )", "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": "[1.21.0, )", "Newtonsoft.Json": "[13.0.3, )", - "SkiaSharp": "[2.88.8, )", - "SkiaSharp.NativeAssets.Linux": "[2.88.8, )", + "SkiaSharp": "[2.88.9, )", + "SkiaSharp.NativeAssets.Linux": "[2.88.9, )", "Swashbuckle.AspNetCore": "[7.0.0, )", "System.Drawing.Common": "[9.0.0, )", - "Telegram.Bot": "[22.0.2, )" + "Telegram.Bot": "[22.1.2, )" } } } diff --git a/SynoAI/SynoAI.csproj b/SynoAI/SynoAI.csproj index 1eae70b..2f9b937 100644 --- a/SynoAI/SynoAI.csproj +++ b/SynoAI/SynoAI.csproj @@ -37,7 +37,7 @@ - + diff --git a/SynoAI/packages.lock.json b/SynoAI/packages.lock.json index 5ccdb2c..bd30026 100644 --- a/SynoAI/packages.lock.json +++ b/SynoAI/packages.lock.json @@ -72,9 +72,9 @@ }, "Telegram.Bot": { "type": "Direct", - "requested": "[22.0.2, )", - "resolved": "22.0.2", - "contentHash": "Zkzku7yQJuo2T5x/tn2fN6/mRWrTCZoAMwNF7YR7g33xXdsPUu3mYyXY//c4h9RVD1OswrumsPbrgRjtpIEC0g==", + "requested": "[22.1.2, )", + "resolved": "22.1.2", + "contentHash": "5ehl9lwENSULyxJ86kIVXS5a3V9XvAYvorSEmlf7mDY747eoVZmnS0dyqgWbkaE9GoTOxbpre8s2D+n5+8ZxLw==", "dependencies": { "Microsoft.Extensions.Options.ConfigurationExtensions": "8.0.0", "System.Text.Json": "8.0.5"