Skip to content

Commit

Permalink
Merge pull request #545 from zaanposni/release/3.2.0
Browse files Browse the repository at this point in the history
Release/3.2.0
  • Loading branch information
zaanposni authored Sep 1, 2022
2 parents 04db0bc + a77786c commit a0c0263
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/MASZ/MASZ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<ItemGroup>
<PackageReference Include="AspNet.Security.OAuth.Discord" Version="6.0.1" />
<PackageReference Include="AspNetCoreRateLimit" Version="4.0.1" />
<PackageReference Include="Discord.Net" Version="3.5.0" />
<PackageReference Include="Discord.Net" Version="3.8.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.1" />
Expand Down
2 changes: 1 addition & 1 deletion backend/MASZ/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
AlwaysDownloadUsers = true,
MessageCacheSize = 10240,
LogLevel = LogSeverity.Debug,
GatewayIntents = GatewayIntents.AllUnprivileged | GatewayIntents.GuildMembers,
GatewayIntents = GatewayIntents.AllUnprivileged | GatewayIntents.GuildMembers | GatewayIntents.GuildMessages | GatewayIntents.DirectMessages,
LogGatewayIntentWarnings = false
})

Expand Down
4 changes: 3 additions & 1 deletion backend/MASZ/Services/DiscordBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@ private async Task<List<TrackedInvite>> FetchInvites(IGuild guild)
var vanityInvite = await guild.GetVanityInviteAsync();
invites.Add(new TrackedInvite(guild.Id, vanityInvite.Code, vanityInvite.Uses.GetValueOrDefault()));
}
catch (HttpException) { }
catch (Exception ex) {
_logger.LogError(ex, $"Failed to fetch vanity url for guild {guild.Id}.");
}
return invites;
}

Expand Down
Binary file added nginx/masz-svelte/public/img/kofi2.webp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>
<div class="mt-4">
<a href="https://ko-fi.com/Z8Z5CUDVV" target="_blank"
><img height="36" style="border:0px;height:36px;" src="https://cdn.ko-fi.com/cdn/kofi2.png?v=3" alt={$_("supportme")} /></a>
><img height="36" style="border:0px;height:36px;" src="/img/kofi2.webp" alt={$_("supportme")} /></a>
</div>

<Accordion class="mt-4">
Expand Down
2 changes: 1 addition & 1 deletion nginx/masz-svelte/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const LOCAL_STORAGE_KEY_GUILD_QUICKSEARCH_HISTORY = "__masz-guild-quickse
export const FEEDBACK_COOKIE_NAME = "__masz-feedback";

export const APP_NAME = "MASZ";
export const APP_VERSION = "v3.1.3";
export const APP_VERSION = "v3.2.0";

export const GUILD_QUICKSEARCH_MAX_HISTORY_ENTRIES = 10;

Expand Down
30 changes: 28 additions & 2 deletions nginx/static/patchnotes.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,39 @@
[
{
"title": "Version 3.2.0",
"version": "v3.2.0",
"released_at": "2022-09-01",
"contributors": [ ],
"features": [
{
"title": "Support for voice text channels.",
"description": "MASZ now supports voice text channels for automoderation and audit logging.",
"link": "https://github.com/zaanposni/discord-masz/issues/543"
}
],
"fixes": [
{
"title": "Correctly handle missing vanity url.",
"description": "In some cases, a missing vanity invite url, caused the invite tracking to fail. This has been fixed."
}
],
"technical": [
{
"title": "Discord message content intent.",
"description": "Discords message content intent has been enabled today. MASZ should handle blank messages correctly, but if you want to use message related features just as audit logging or automoderation, make sure to enable the message content intent in your bots settings.",
"link": "https://discord.com/developers/applications"
}
]
},
{
"title": "Version 3.1.3",
"version": "v3.1.3",
"released_at": "2022-08-20",
"contributors": [ ],
"features": [
{
"title": " Add the current guild to the header.",
"description": "The current guild is now displayed in the header while navigating through the dashbaord.",
"title": "Add the current guild to the header.",
"description": "The current guild is now displayed in the header while navigating through the dashboard.",
"link": "https://github.com/zaanposni/discord-masz/issues/540"
}
],
Expand Down
2 changes: 1 addition & 1 deletion nginx/static/version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "v3.1.3",
"version": "v3.2.0",
"wrapper_version": 4,
"pre_release": false
}

0 comments on commit a0c0263

Please sign in to comment.