Skip to content

Commit

Permalink
Update packages. (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle authored Jun 30, 2024
1 parent d0db2df commit 1ffa521
Show file tree
Hide file tree
Showing 34 changed files with 183 additions and 193 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.146">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.159">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ public sealed class IntegratedAmazonSESIntegration : IIntegration, IInitializabl
"AmazonSES",
Texts.AmazonSES_Name,
"<svg xmlns='http://www.w3.org/2000/svg' viewBox='14.7 23 39.515 24.641' xml:space='preserve' width='39.515' height='24.641'><path style='fill:#f7981f' transform='translate(-1.602 -.429)' d='m28.182 40.34-1.067-4.576h-.025l-1.106 4.576z'/><path d='M14.7 40.315v.666c0 3.311 3.579 6.66 7.991 6.66h23.533c4.412 0 7.991-3.35 7.991-6.66v-.666c0-3.078-3.098-6.943-7.081-7.283a5.118 5.118 0 0 0-8.011-4.055C37.543 25.457 34.016 23 29.907 23c-5.579 0-10.101 4.521-10.101 10.102 0 .1.012.195.015.293-2.993.867-5.121 4.371-5.121 6.92zm12.699 3.055-.572-2.275H24.11l-.599 2.275h-1.547l2.639-9.283h1.898l2.444 9.283zm9.012 0h-1.716l-1.196-6.994h-.026L32.29 43.37h-1.716l-1.795-9.283h1.496l1.221 7.215h.027l1.221-7.215h1.561l1.248 7.254h.026l1.209-7.254h1.469zm5.433.181c-2.301 0-2.821-1.533-2.821-2.834v-.221h1.482v.234c0 1.131.494 1.703 1.521 1.703.936 0 1.403-.664 1.403-1.354 0-.975-.493-1.404-1.325-1.65l-1.015-.352c-1.353-.52-1.937-1.221-1.937-2.547 0-1.691 1.144-2.627 2.886-2.627 2.379 0 2.626 1.482 2.626 2.443v.209h-1.482v-.195c0-.846-.377-1.34-1.3-1.34-.637 0-1.248.352-1.248 1.34 0 .793.403 1.195 1.392 1.572l1 .365c1.313.467 1.886 1.184 1.886 2.457.001 1.979-1.196 2.797-3.068 2.797z' style='fill:#f7981f'/><path d='m24.603 34.087-2.639 9.283h1.547l.599-2.275h2.717l.572 2.275h1.547l-2.444-9.283zm-.221 5.824 1.105-4.576h.025l1.066 4.576z' style='fill:#fff'/><path style='fill:#fff' transform='translate(-1.602 -.429)' d='M35.906 34.516h-1.56l-1.221 7.214h-.027l-1.221-7.214h-1.496l1.795 9.283h1.716l1.182-6.994h.027l1.196 6.994h1.716l1.845-9.283H38.39l-1.209 7.254h-.027z'/><path d='m43.027 38.3-1-.365c-.988-.377-1.392-.779-1.392-1.572 0-.988.611-1.34 1.248-1.34.923 0 1.3.494 1.3 1.34v.195h1.482v-.209c0-.961-.247-2.443-2.626-2.443-1.742 0-2.886.936-2.886 2.627 0 1.326.584 2.027 1.937 2.547l1.015.352c.832.246 1.325.676 1.325 1.65 0 .689-.468 1.354-1.403 1.354-1.027 0-1.521-.572-1.521-1.703v-.234h-1.482v.221c0 1.301.521 2.834 2.821 2.834 1.872 0 3.068-.818 3.068-2.795 0-1.276-.573-1.993-1.886-2.459z' style='fill:#fff'/></svg>",
new List<IntegrationProperty>
{
[
FromEmailProperty,
FromNameProperty,
AdditionalFromEmails
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.Email
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public DiscordBotClientPool(IMemoryCache memoryCache)
{
}

public async Task<IDiscordClient> GetDiscordClient(string botToken, CancellationToken ct)
public async Task<IDiscordClient> GetDiscordClient(string botToken)
{
var cacheKey = $"{nameof(IDiscordClient)}_{botToken}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,20 @@ private async Task<DeliveryResult> SendMessageAsync(IntegrationContext context,
{
try
{
var client = await discordBotClientPool.GetDiscordClient(botToken, ct);
var requestOptions = new RequestOptions { CancelToken = ct };
var client = await discordBotClientPool.GetDiscordClient(botToken);

var requestOptions = new RequestOptions
{
CancelToken = ct
};

if (!ulong.TryParse(chatId, out var chatIdParsed))
{
throw new InvalidOperationException("Invalid Discord DM chat ID.");
}

var user = await client.GetUserAsync(chatIdParsed, CacheMode.AllowDownload, requestOptions);
if (user is null)
{
throw new InvalidOperationException("User not found.");
}
var user = await client.GetUserAsync(chatIdParsed, CacheMode.AllowDownload, requestOptions)
?? throw new InvalidOperationException("User not found.");

EmbedBuilder builder = new EmbedBuilder();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ public sealed partial class DiscordIntegration : IIntegration
"Discord",
Texts.Discord_Name,
"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 127.14 96.36\"><path fill=\"#5865f2\" d=\"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z\"/></svg>",
new List<IntegrationProperty>
{
[
BotToken
},
new List<IntegrationProperty>
{
],
[
UserId
},
],
new HashSet<string>
{
Providers.Messaging,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,13 @@ public sealed partial class FirebaseIntegration : IIntegration
"Firebase",
Texts.Firebase_Name,
"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='fill:#fff;fill-rule:evenodd;stroke:#000;stroke-linecap:round;stroke-linejoin:round' viewBox='0 0 46.214 64.021'><use xlink:href='#a' x='1' y='1' width='100%' height='100%'/><symbol id='a' overflow='visible' style='overflow:visible' transform='translate(-1 -1)'><g style='fill-rule:nonzero;stroke:none'><path d='m30.346 23.115-6.406 5.96-5.944-11.99 3.076-6.896c.8-1.4 2.048-1.384 2.828 0z' style='fill:#ffa000'/><path d='m17.996 17.085 5.944 11.99L0 51.345Z' style='fill:#f57f17'/><path d='M37.352 14.006c1.144-1.1 2.328-.724 2.63.834l6.232 36.21-20.656 12.4c-.72.4-2.64.572-2.64.572s-1.748-.208-2.414-.6L0 51.346Z' style='fill:#ffca28'/><path d='M17.996 17.086.002 51.346l8.014-50.07C8.312-.284 9.2-.434 9.992.942Z' style='fill:#ffa000'/></g></symbol></svg>",
new List<IntegrationProperty>
{
[
ProjectIdProperty,
SilentAndroidProperty,
SilentIOSProperty,
CredentialsProperty
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.MobilePush
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,12 @@ public sealed partial class HttpIntegration : IIntegration
"Webhook",
"Webhook",
"<svg width='2500' height='2334' viewBox='0 0 256 239' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid'><path d='M119.54 100.503c-10.61 17.836-20.775 35.108-31.152 52.25-2.665 4.401-3.984 7.986-1.855 13.58 5.878 15.454-2.414 30.493-17.998 34.575-14.697 3.851-29.016-5.808-31.932-21.543-2.584-13.927 8.224-27.58 23.58-29.757 1.286-.184 2.6-.205 4.762-.367l23.358-39.168C73.612 95.465 64.868 78.39 66.803 57.23c1.368-14.957 7.25-27.883 18-38.477 20.59-20.288 52.002-23.573 76.246-8.001 23.284 14.958 33.948 44.094 24.858 69.031-6.854-1.858-13.756-3.732-21.343-5.79 2.854-13.865.743-26.315-8.608-36.981-6.178-7.042-14.106-10.733-23.12-12.093-18.072-2.73-35.815 8.88-41.08 26.618-5.976 20.13 3.069 36.575 27.784 48.967z' fill='#C73A63'/><path d='M149.841 79.41c7.475 13.187 15.065 26.573 22.587 39.836 38.02-11.763 66.686 9.284 76.97 31.817 12.422 27.219 3.93 59.457-20.465 76.25-25.04 17.238-56.707 14.293-78.892-7.851 5.654-4.733 11.336-9.487 17.407-14.566 21.912 14.192 41.077 13.524 55.305-3.282 12.133-14.337 11.87-35.714-.615-49.75-14.408-16.197-33.707-16.691-57.035-1.143-9.677-17.168-19.522-34.199-28.893-51.491-3.16-5.828-6.648-9.21-13.77-10.443-11.893-2.062-19.571-12.275-20.032-23.717-.453-11.316 6.214-21.545 16.634-25.53 10.322-3.949 22.435-.762 29.378 8.014 5.674 7.17 7.477 15.24 4.491 24.083-.83 2.466-1.905 4.852-3.07 7.774z' fill='#4B4B4B'/><path d='M167.707 187.21h-45.77c-4.387 18.044-13.863 32.612-30.19 41.876-12.693 7.2-26.373 9.641-40.933 7.29-26.808-4.323-48.728-28.456-50.658-55.63-2.184-30.784 18.975-58.147 47.178-64.293 1.947 7.071 3.915 14.21 5.862 21.264-25.876 13.202-34.832 29.836-27.59 50.636 6.375 18.304 24.484 28.337 44.147 24.457 20.08-3.962 30.204-20.65 28.968-47.432 19.036 0 38.088-.197 57.126.097 7.434.117 13.173-.654 18.773-7.208 9.22-10.784 26.191-9.811 36.121.374 10.148 10.409 9.662 27.157-1.077 37.127-10.361 9.62-26.73 9.106-36.424-1.26-1.992-2.136-3.562-4.673-5.533-7.298z' fill='#4A4A4A'/></svg>",
new List<IntegrationProperty>
{
[
HttpUrlProperty,
HttpMethodProperty,
SendConfirmProperty
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.Webhook
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ public sealed partial class MailchimpIntegration : IIntegration
"Mailchimp",
Texts.Mailchimp_Name,
"<svg id='Layer_1' style='enable-background:new 0 0 56.7 56.7;' version='1.1' viewBox='0 0 56.7 56.7' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g><path d='M51.1,35.8c-0.3-0.7-1-1.2-1.8-1.4c-0.3-1.3-0.7-1.9-0.7-2c0.1-0.2,0.3-0.3,0.3-0.4c1.2-1.4,0.4-3.5-1.6-4 c-1.1-1.1-2.1-1.6-3-2c-0.8-0.4-0.5-0.2-1.2-0.6c-0.2-1-0.3-3.2-0.6-4.8c-0.3-1.4-0.9-2.5-1.7-3.1c-0.4-0.8-0.8-1.5-1.4-2.1 c2.8-4.2,3.5-8.4,1.5-10.6c-0.9-1-2.2-1.4-3.8-1.4c-2.3,0-5,0.9-7.8,2.6c0,0-1.8-1.5-1.9-1.5c-7.8-6.1-29.9,21-22.1,26.9l2,1.5 c-1.3,3.5,0.5,7.7,4.2,9c0.8,0.3,1.7,0.4,2.6,0.4c0,0,5.9,10.8,18.4,10.8c14.4,0,18.1-14.1,18.1-14.2C50.5,39,51.7,37.2,51.1,35.8z M5.8,29.6C4.3,26.9,7,21.5,9,18.3c4.8-7.7,12.9-13.8,16.6-12.9l1-0.4c0,0,2.7,2.3,2.8,2.3c1.9-1.1,4.3-2.3,6.5-2.5 c-1.4,0.3-3,1-5,2.2c0,0-4.7,3.2-7.5,6c-1.5,1.5-7.7,9-7.7,8.9c1.1-2.1,1.9-3.2,3.7-5.4c1-1.3,2.1-2.5,3.2-3.7c0.5-0.5,1-1,1.6-1.5 c0.4-0.3,0.7-0.7,1.1-1c0.2-0.1,0.3-0.3,0.5-0.4c0,0,0,0,0,0l-3.6-3l0.2,1.3l2.6,2.3c0,0-2.3,1.6-3.5,2.6c-4.7,4-9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7-2.3C16.3,35.3,15.2,35.1,14.8,34.8z'/><ellipse cx='40' cy='28' rx='0.7' ry='0.5' transform='matrix(0.1541 -0.9881 0.9881 0.1541 6.2187 63.2376)'/><ellipse cx='37.7' cy='28.8' rx='0.6' ry='0.8' transform='matrix(0.4806 -0.877 0.877 0.4806 -5.6797 48.0401)'/></g></svg>",
new List<IntegrationProperty>
{
[
ApiKeyProperty,
FromEmailProperty,
FromNameProperty
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.Email
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,13 @@ public sealed partial class MailjetIntegration : IIntegration
"Mailjet",
Texts.Mailjet_Name,
"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520' style='enable-background:new 0 0 520 520' xml:space='preserve'><path d='M30.6 234.1 181.9 303l30.5-30.5-77.5-35.3 240.2-92.4L282.8 385l-35-77.1-30.5 30.5 1.6 3.5 67 147.5L445.4 74.6 30.6 234.1z' style='fill:#fead0d'/></svg>",
new List<IntegrationProperty>
{
[
ApiKeyProperty,
ApiSecretProperty,
FromEmailProperty,
FromNameProperty
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.Email
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public sealed class IntegratedMessageBirdIntegration : IIntegration, ISmsSender,
"MessageBirdIntegrated",
Texts.MessageBirdIntegrated_Name,
"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 66 55' fill='#fff' fill-rule='evenodd' stroke='#000' stroke-linecap='round' stroke-linejoin='round'><use xlink:href='#A' x='.5' y='.5'/><symbol id='a' overflow='visible'><path d='M57.425 9.57c-2.568 0-4.863 1.284-6.264 3.23l-9.454 13.228a1.9 1.9 0 0 1-1.556.817 1.91 1.91 0 0 1-1.906-1.906c0-.39.117-.778.31-1.05l7.975-11.945c.817-1.206 1.284-2.684 1.284-4.28C47.814 3.424 44.39 0 40.15 0H0v7.664h34.393c0 2.1-1.712 3.852-3.852 3.852H0c0 2.723.584 5.33 1.595 7.664H26.69c0 2.1-1.712 3.852-3.852 3.852H3.852a19.12 19.12 0 0 0 15.368 7.664h9.454a1.91 1.91 0 0 1 1.906 1.906 1.91 1.91 0 0 1-1.906 1.906H19.18L6.34 53.688h23.227c10.62 0 19.647-6.925 22.8-16.496l4.32-13.11c1.4-4.24 3.968-7.976 7.314-10.816-1.323-2.218-3.774-3.696-6.575-3.696zm0 5.252c-.778 0-1.44-.66-1.44-1.44a1.46 1.46 0 0 1 1.44-1.44 1.46 1.46 0 0 1 1.44 1.44c0 .817-.66 1.44-1.44 1.44z' stroke='none' fill='#2481d7' fill-rule='nonzero'/></symbol></svg>",
new List<IntegrationProperty>(),
new List<IntegrationProperty>(),
[],
[],
new HashSet<string>
{
Providers.Sms
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,15 @@ public sealed partial class MessageBirdSmsIntegration : IIntegration
"MessageBird",
Texts.MessageBird_Name,
"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 66 55' fill='#fff' fill-rule='evenodd' stroke='#000' stroke-linecap='round' stroke-linejoin='round'><path d='M57.425 9.57c-2.568 0-4.863 1.284-6.264 3.23l-9.454 13.228a1.9 1.9 0 0 1-1.556.817 1.91 1.91 0 0 1-1.906-1.906c0-.39.117-.778.31-1.05l7.975-11.945c.817-1.206 1.284-2.684 1.284-4.28C47.814 3.424 44.39 0 40.15 0H0v7.664h34.393c0 2.1-1.712 3.852-3.852 3.852H0c0 2.723.584 5.33 1.595 7.664H26.69c0 2.1-1.712 3.852-3.852 3.852H3.852a19.12 19.12 0 0 0 15.368 7.664h9.454a1.91 1.91 0 0 1 1.906 1.906 1.91 1.91 0 0 1-1.906 1.906H19.18L6.34 53.688h23.227c10.62 0 19.647-6.925 22.8-16.496l4.32-13.11c1.4-4.24 3.968-7.976 7.314-10.816-1.323-2.218-3.774-3.696-6.575-3.696zm0 5.252c-.778 0-1.44-.66-1.44-1.44a1.46 1.46 0 0 1 1.44-1.44 1.46 1.46 0 0 1 1.44 1.44c0 .817-.66 1.44-1.44 1.44z' stroke='none' fill='#2481d7'/></svg>",
new List<IntegrationProperty>
{
[
AccessKeyProperty,
PhoneNumberProperty,
PhoneNumbersProperty,
WhatsAppChannelIdProperty,
WhatsAppTemplateNamespaceProperty,
WhatsAppTemplateNameProperty
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.Sms
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,15 @@ public sealed partial class MessageBirdWhatsAppIntegration : IIntegration
"MessageBirdWhatsApp",
Texts.MessageBirdWhatsApp_Name,
"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 66 55' fill='#fff' fill-rule='evenodd' stroke='#000' stroke-linecap='round' stroke-linejoin='round'><path d='M57.425 9.57c-2.568 0-4.863 1.284-6.264 3.23l-9.454 13.228a1.9 1.9 0 0 1-1.556.817 1.91 1.91 0 0 1-1.906-1.906c0-.39.117-.778.31-1.05l7.975-11.945c.817-1.206 1.284-2.684 1.284-4.28C47.814 3.424 44.39 0 40.15 0H0v7.664h34.393c0 2.1-1.712 3.852-3.852 3.852H0c0 2.723.584 5.33 1.595 7.664H26.69c0 2.1-1.712 3.852-3.852 3.852H3.852a19.12 19.12 0 0 0 15.368 7.664h9.454a1.91 1.91 0 0 1 1.906 1.906 1.91 1.91 0 0 1-1.906 1.906H19.18L6.34 53.688h23.227c10.62 0 19.647-6.925 22.8-16.496l4.32-13.11c1.4-4.24 3.968-7.976 7.314-10.816-1.323-2.218-3.774-3.696-6.575-3.696zm0 5.252c-.778 0-1.44-.66-1.44-1.44a1.46 1.46 0 0 1 1.44-1.44 1.46 1.46 0 0 1 1.44 1.44c0 .817-.66 1.44-1.44 1.44z' stroke='none' fill='#2481d7'/></svg>",
new List<IntegrationProperty>
{
[
AccessKeyProperty,
PhoneNumberProperty,
PhoneNumbersProperty,
WhatsAppChannelIdProperty,
WhatsAppTemplateNamespaceProperty,
WhatsAppTemplateNameProperty
},
new List<IntegrationProperty>(),
],
[],
new HashSet<string>
{
Providers.Messaging
Expand Down
Loading

0 comments on commit 1ffa521

Please sign in to comment.