Skip to content
Merged

Deploy #1766

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import { settingsState } from '@/shared/state/settings.svelte';
import { sharedState } from '@/shared/state/shared.svelte';
import { userStore } from '@/stores';
import type { BackgroundImage } from '@/types';
import type { CharacterProps } from '@/types/props';

import Configure from './CharactersPaperdollConfigure.svelte';
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/components/lockouts/Lockouts.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { browserState } from '@/shared/state/browser.svelte';
import { wowthingData } from '@/shared/stores/data';
import { userState } from '@/user-home/state/user';
import { getCharacterSortFunc } from '@/utils/get-character-sort-func';
import type { Character } from '@/types';
Expand All @@ -9,7 +10,6 @@
import HeadInstance from './LockoutsTableHeadInstance.svelte';
import RowLockout from './LockoutsTableRowLockout.svelte';
import CheckboxInput from '@/shared/components/forms/CheckboxInput.svelte';
import { wowthingData } from '@/shared/stores/data';
import GroupedHead from './GroupedHead.svelte';

const filterFunc = function (char: Character): boolean {
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/data/difficulty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const difficultyMap: Record<number, Difficulty> = {
17: new Difficulty(17, 'Looking For Raid', 'L', InstanceType.Raid, 10, 30),
18: new Difficulty(18, 'Event?', 'E', InstanceType.Raid, 40, 40),
33: new Difficulty(33, 'Timewalking', 'T', InstanceType.Raid, 10, 30),
233: new Difficulty(233, 'Mythic Flex', 'MF', InstanceType.Raid, 15, 25),
};

export const dungeonDifficulties = Object.values(difficultyMap)
Expand Down
2 changes: 2 additions & 0 deletions apps/web/Controllers/ApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ await _context.Users
timer.AddPoint("Dailies");

var images = await _context.Image
.AsNoTracking()
.Where(image =>
(image.Type == ImageType.Character || image.Type == ImageType.CharacterFull) &&
characterIds.Contains(image.Id)
Expand All @@ -320,6 +321,7 @@ await _context.Users
Format = image.Format,
Sha256 = image.Sha256,
Type = image.Type,
Data = image.Data != null ? image.Data.Take(4).ToArray() : null,
})
.ToDictionaryAsync(
image => $"{image.Id.ToString()}-{((int)image.Type).ToString()}",
Expand Down
1 change: 1 addition & 0 deletions apps/web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public void Configure(IApplicationBuilder app, IServiceProvider serviceProvider,
app.UseExceptionHandler("/Error");
app.UseForwardedHeaders();
app.UseStaticFilesWithCaching();
app.UseSentryTracing();
}

app.UseStatusCodePagesWithReExecute("/error", "?statusCode={0}");
Expand Down
3 changes: 3 additions & 0 deletions apps/web/Wowthing.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="10.0.7" />
<PackageReference Include="prometheus-net" Version="8.2.1" />
<PackageReference Include="prometheus-net.AspNetCore" Version="8.2.1" />
<PackageReference Include="Sentry" Version="6.6.0" />
<PackageReference Include="Sentry.AspNetCore" Version="6.6.0" />
<PackageReference Include="Sentry.Profiling" Version="6.6.0" />
<PackageReference Include="StackExchange.Redis" Version="2.12.14" />
</ItemGroup>

Expand Down
Loading