Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev to master #446

Merged
merged 57 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
cb58fad
dev version bump
ChaosEngine Jan 31, 2024
9c7a005
bumps:
ChaosEngine Feb 3, 2024
17ddb01
.NET February 2024 Updates (.NET 8.0.2 and .NET SDK 8.0.200)
ChaosEngine Feb 20, 2024
58a504b
bumps: sass, webpack, ace-builds
ChaosEngine Feb 20, 2024
53ccfc2
build(deps): bump MongoDB.Driver from 2.23.1 to 2.23.2
dependabot[bot] Feb 21, 2024
e0adf66
bumps:
ChaosEngine Feb 21, 2024
212aaec
Merge pull request #423 from ChaosEngine/dependabot/nuget/dev/MongoDB…
ChaosEngine Feb 21, 2024
782e2e1
build(deps): bump Google.Apis.YouTube.v3 from 1.66.0.3330 to 1.67.0.3…
dependabot[bot] Feb 23, 2024
9a0a526
build(deps): bump MongoDB.Driver from 2.23.2 to 2.24.0 (#424)
dependabot[bot] Feb 23, 2024
508278d
bumps: eslint, bootstrap-table
ChaosEngine Feb 27, 2024
0fcca73
fix for changed button classes in bootstrao-table
ChaosEngine Feb 27, 2024
962b9bf
bumps: Pomelo.EntityFrameworkCore.MySql-8.0.1, Google.Apis.YouTube.v3
ChaosEngine Feb 29, 2024
d9054fd
bump:
ChaosEngine Mar 2, 2024
4d4a1e9
inkball clustering optimizations
ChaosEngine Mar 8, 2024
8af71f0
build(deps): bump Google.Apis.YouTube.v3 from 1.67.0.3343 to 1.67.0.3…
dependabot[bot] Mar 8, 2024
7789095
cache Busting anv passing global version for all resources
ChaosEngine Mar 10, 2024
e014a45
Brutforce JS code: passing search-hash from initial call to all worke…
ChaosEngine Mar 11, 2024
ef3034a
migrating from npm -> pnpm
ChaosEngine Mar 11, 2024
69edd64
Dockerfile, publish and installation changes
ChaosEngine Mar 11, 2024
7a30f15
Dockerfile caching small changes, pnpm lock latest upgrades
ChaosEngine Mar 12, 2024
f10193d
.NET March 2024 Updates (.NET 8.0.3 and .NET SDK 8.0.202)
ChaosEngine Mar 12, 2024
d9730a8
bump: sass, Google.Apis.YouTube.v3
ChaosEngine Mar 14, 2024
f27b437
inkball trigger column change, ignoring pnpm-lock.yaml
ChaosEngine Mar 16, 2024
ac1bf7e
optimize waits for playwright tests
ChaosEngine Mar 16, 2024
c00c14d
lock cleaning
ChaosEngine Mar 17, 2024
315eda3
bumps: Pomelo.EntityFrameworkCore.MySql
ChaosEngine Mar 17, 2024
aa8b2ed
bump: webpack
ChaosEngine Mar 20, 2024
dda6f8b
bumps:
ChaosEngine Mar 22, 2024
8916f30
bumps
ChaosEngine Mar 26, 2024
9df4edd
bumps:
ChaosEngine Mar 30, 2024
18f7eec
bump: gulp-5.0.0 and blocking "glob-stream": "8.0.0"
ChaosEngine Apr 4, 2024
ab3ec22
inkball cache pupulation
ChaosEngine Apr 6, 2024
edc1926
.NET April 2024 Updates (.NET 8.0.4 and .NET SDK 8.0.204)
ChaosEngine Apr 9, 2024
7f2aa4b
bumps: xunit*, Oracle.EntityFrameworkCore
ChaosEngine Apr 12, 2024
b81a93d
bump: MongoDB.Driver, @playwright/test
ChaosEngine Apr 13, 2024
bf7fdfa
drop pnpm-overrides for glob-stream
ChaosEngine Apr 17, 2024
6042398
build(deps): bump Google.Apis.YouTube.v3 from 1.67.0.3358 to 1.67.0.3…
dependabot[bot] Apr 21, 2024
3840e80
bumps: Google.Apis.YouTube.v3, eslint, ace-builds
ChaosEngine Apr 21, 2024
c84dd5a
bumps: bootstrap-table, xunit*, MysqlCache/MySqlConnector
ChaosEngine Apr 29, 2024
7a0195d
bumps:
ChaosEngine May 2, 2024
0a4cdca
bump: Oracle.EntityFrameworkCore
ChaosEngine May 3, 2024
8498f48
bump: eslint, sass, playwright
ChaosEngine May 4, 2024
5073a10
bumps: Google.Apis.YouTube.v3,
ChaosEngine May 14, 2024
dc19490
.NET May 2024 Updates (.NET 8.0.5 and .NET SDK 8.0.300)
ChaosEngine May 14, 2024
7ca46fc
bump: Google.Apis.YouTube.v3, sass
ChaosEngine May 15, 2024
21e07a4
changing Caching-MySQL submodule to point to parent proper PomeloFoun…
ChaosEngine May 18, 2024
36f63dd
Revert Oracle.EntityFrameworkCore driver due to boolean bug
ChaosEngine May 18, 2024
1ac2473
Adding compatibility option for 19c on Oracle.EntityFrameworkCore driver
ChaosEngine May 18, 2024
5dedd04
bump: ace-builds, Microsoft.NET.Test.Sdk, gh-actions: actions/setup-d…
ChaosEngine May 22, 2024
8988bf1
bump: xunit*, ace-builds
ChaosEngine May 24, 2024
841ece3
.NET security bump (.NET 8.0.6 and .NET SDK 8.0.301)
ChaosEngine May 29, 2024
fd69c0b
bump: MessagePack, eslint, sass
ChaosEngine Jun 10, 2024
44a6683
build(deps): bump MongoDB.Driver from 2.25.0 to 2.26.0 (#443)
dependabot[bot] Jun 13, 2024
cd6cd09
bumps: ace-builds, playwright, eslint, sass, webpack, jquery-validation
ChaosEngine Jun 12, 2024
f59ea6a
bumps: ace-builds, bootstrap-table, MongoDB.Driver
ChaosEngine Jul 5, 2024
2a9554b
inkball: Move calculation of SurroundablePoints into Web Worker
ChaosEngine Jul 8, 2024
f568819
bump: MessagePack
ChaosEngine Jul 8, 2024
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
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@ jobs:
curl -O https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb
apt update && apt install -y dotnet-sdk-8.0
corepack enable
- run:
name: Show versions
command: |
dotnet --info
node --version
npm --version
pnpm --version
- run:
name: Install project dependencies
command: |
dotnet restore
cd DotnetPlayground.Web
npm i
pnpm i
npx playwright install
cd ..
- run:
Expand Down Expand Up @@ -197,18 +198,19 @@ jobs:
curl -O https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb
apt update && apt install -y dotnet-sdk-8.0
corepack enable
- run:
name: Show versions
command: |
dotnet --info
node --version
npm --version
pnpm --version
- run:
name: Install project dependencies
command: |
dotnet restore
cd DotnetPlayground.Web
npm i
pnpm i
npx playwright install chromium
cd ..
- run:
Expand Down Expand Up @@ -240,6 +242,7 @@ jobs:
chmod 500 nsolid_setup_deb.sh
./nsolid_setup_deb.sh 20
apt-get install -y nodejs
corepack enable
- run:
name: "Build Application according to some given configuration"
command: dotnet publish -c Release --self-contained -r linux-x64 DotnetPlayground.Web
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Set up .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
submodules: true # 'recursive' 'true' or 'false'
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build with dotnet
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,4 @@ DotnetPlayground.Web/wwwroot/**/*.min.js
DotnetPlayground.Web/wwwroot/**/*.map
docker-*.env
DotnetPlayground.Web/package-lock.json
DotnetPlayground.Web/pnpm-lock.yaml
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "Caching-MySQL"]
path = Caching-MySQL
url = https://github.com/ChaosEngine/Caching-MySQL.git
url = https://github.com/PomeloFoundation/Caching-MySQL.git
[submodule "InkBall"]
path = InkBall
url = https://github.com/ChaosEngine/InkBall.git
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# syntax = docker/dockerfile:experimental
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
RUN --mount=type=cache,target=/root/.nuget --mount=type=cache,target=/root/.local/share/NuGet --mount=type=cache,target=/root/.npm/ --mount=type=cache,target=./DotnetPlayground.Web/node_modules
RUN --mount=type=cache,target=/root/.nuget --mount=type=cache,target=/root/.local/ --mount=type=cache,target=/root/.cache/ --mount=type=cache,target=./DotnetPlayground.Web/node_modules
RUN curl -SLO https://deb.nodesource.com/nsolid_setup_deb.sh && \
chmod 500 nsolid_setup_deb.sh && \
./nsolid_setup_deb.sh 20 && \
apt-get install -y nodejs
apt-get install -y nodejs && npm install -g pnpm
WORKDIR /build

ENV DBKind="sqlite" ConnectionStrings__Sqlite="Filename=./bin/Debug/net8.0/Blogging.db"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:experimental
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
RUN --mount=type=cache,target=/root/.nuget --mount=type=cache,target=/root/.local/share/NuGet --mount=type=cache,target=/root/.npm/ --mount=type=cache,target=./DotnetPlayground.Web/node_modules
RUN apk add --update nodejs npm
RUN --mount=type=cache,target=/root/.nuget --mount=type=cache,target=/root/.local/ --mount=type=cache,target=/root/.cache/ --mount=type=cache,target=./DotnetPlayground.Web/node_modules
RUN apk add --update nodejs npm && npm install -g pnpm
WORKDIR /build

ENV DBKind="sqlite" ConnectionStrings__Sqlite="Filename=./bin/Debug/net8.0/Blogging.db"
Expand Down
14 changes: 7 additions & 7 deletions DotnetPlayground.Tests/DotnetPlayground.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.6" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.1">
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
42 changes: 21 additions & 21 deletions DotnetPlayground.Web/DotnetPlayground.Web.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<Version>1.0.26-dotnet8</Version>
<Version>1.0.27-dotnet8</Version>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyName>DotnetPlayground.Web</AssemblyName>
Expand Down Expand Up @@ -37,29 +37,29 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.1" Condition="$(DefineConstants.Contains('INCLUDE_SQLSERVER'))" />
<PackageReference Include="Microsoft.Extensions.Caching.SqlServer" Version="8.0.1" Condition="$(DefineConstants.Contains('INCLUDE_SQLSERVER'))" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.1" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" Condition="$(DefineConstants.Contains('INCLUDE_POSTGRES'))" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.0-silver.1.ci.20231204170005" Condition="$(DefineConstants.Contains('INCLUDE_MYSQL'))" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.21.121" Condition="$(DefineConstants.Contains('INCLUDE_ORACLE'))" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.6" Condition="$(DefineConstants.Contains('INCLUDE_SQLSERVER'))" />
<PackageReference Include="Microsoft.Extensions.Caching.SqlServer" Version="8.0.6" Condition="$(DefineConstants.Contains('INCLUDE_SQLSERVER'))" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.6" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" Condition="$(DefineConstants.Contains('INCLUDE_POSTGRES'))" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.2" Condition="$(DefineConstants.Contains('INCLUDE_MYSQL'))" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.23.40" Condition="$(DefineConstants.Contains('INCLUDE_ORACLE'))" />
<PackageReference Include="IdentityManager2.AspNetIdentity" Version="1.0.0" />
<PackageReference Include="Lib.AspNetCore.ServerTiming" Version="6.0.0" />
<!--<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.16.2" Condition="$(DefineConstants.Contains('INCLUDE_COSMOSDB'))" />-->
<PackageReference Include="MongoDB.Driver" Version="2.23.1" Condition="$(DefineConstants.Contains('INCLUDE_MONGODB'))" />
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.66.0.3309" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Facebook" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="8.0.1" />
<PackageReference Include="MessagePack" Version="2.5.140" />
<PackageReference Include="MongoDB.Driver" Version="2.27.0" Condition="$(DefineConstants.Contains('INCLUDE_MONGODB'))" />
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.68.0.3421" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Facebook" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="8.0.6" />
<PackageReference Include="MessagePack" Version="2.5.171" />
</ItemGroup>

<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish">
<Exec Command="npm install --unsafe-perm" />
<Exec Command="pnpm install --unsafe-perm" />
<Exec Command="npm run gulp -- --version=$(Version) --env=production" />
</Target>

Expand All @@ -77,9 +77,9 @@
</ItemGroup>

<ItemGroup Condition="'$(Configuration)'=='Debug'">
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Language" Version="6.0.26" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.1">
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Language" Version="6.0.31" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
5 changes: 4 additions & 1 deletion DotnetPlayground.Web/Helpers/ContextFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ internal static string ConfigureDBKind(DbContextOptionsBuilder dbContextOpts, IC
}
}

dbContextOpts.UseOracle(conn_str);
dbContextOpts.UseOracle(conn_str, builder =>
//enable compatibility with old bool and json handling: https://docs.oracle.com/en/database/oracle/oracle-database/21/odpnt/EFCoreAPI.html#GUID-41786CF0-11E3-4AD2-8ED1-3D31D5FE2082
builder .UseOracleSQLCompatibility(OracleSQLCompatibility.DatabaseVersion19)
);
}
break;
#endif
Expand Down
4 changes: 2 additions & 2 deletions DotnetPlayground.Web/Pages/PuzzleGenerator.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
@section scripts
{
<environment include="Development">
<script type="text/javascript" src="~/js/Puzzles.js"></script>
<script type="text/javascript" src="~/js/Puzzles.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script type="text/javascript" src="~/js/Puzzles.min.js"></script>
<script type="text/javascript" src="~/js/Puzzles.min.js" asp-append-version="true"></script>
</environment>
<script type="text/javascript">
window.addEventListener('load', PuzzlesOnLoad);
Expand Down
8 changes: 4 additions & 4 deletions DotnetPlayground.Web/Pages/WebCamGallery.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/blueimp-gallery/3.4.0/css/blueimp-gallery.min.css" integrity="sha512-8z9zEPEYVxCX7hdM+6hA0RMSW42V+XtqsyXSbNkujXYclFqhRV8J4+MasIpuYZODoHJuQgxGjcRKm//sWEQm6w==" crossorigin="anonymous"
asp-fallback-href="~/lib/blueimp-gallery/css/blueimp-gallery.min.css"
asp-fallback-test-class="blueimp-gallery" asp-fallback-test-property="position" asp-fallback-test-value="fixed" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.11.0/video-js.min.css" integrity="sha512-7ygWwJCkEsI7sNqXtHyZv+W9eCZwAgNcYwaV7tdLvWtDxTmASJLyigHOhufdziF812S99GnAM8JuDIc2+Ppkiw==" crossorigin="anonymous" referrerpolicy="no-referrer"
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.12.0/video-js.min.css" integrity="sha512-qdNDoWK29TwXVKBtiWgkyY6zUC/2Ml5mVT6tQr7cPBraxBnSNgPuKt484AHwTqOBZmm4LPG+qBp3F3/419kzAA==" crossorigin="anonymous" referrerpolicy="no-referrer"
asp-fallback-href="~/lib/video.js/video-js.min.css"
asp-fallback-test-class="video-js" asp-fallback-test-property="position" asp-fallback-test-value="relative" />
</environment>
Expand Down Expand Up @@ -131,16 +131,16 @@
<environment include="Development">
<script type="text/javascript" defer src="~/lib/blueimp-gallery/js/blueimp-gallery.min.js"></script>
<script type="text/javascript" defer src="~/lib/video.js/alt/video.core.novtt.min.js"></script>
<script type="text/javascript" defer src="~/js/WebCamGallery.js"></script>
<script type="text/javascript" defer src="~/js/WebCamGallery.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script src="https://cdnjs.cloudflare.com/ajax/libs/blueimp-gallery/3.4.0/js/blueimp-gallery.min.js" integrity="sha512-Tt9Ui0O6Sg6FjAK5XpAIM7PCMhaXCL+i13IHLZYuluoDXlesfg+JzVI86rgUU2YnfEz2ZEDHXkRkPnHlyWnqzg==" crossorigin="anonymous"
asp-fallback-src="~/lib/blueimp-gallery/js/blueimp-gallery.min.js"
asp-fallback-test="window.jQuery && window.blueimp"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.11.0/alt/video.core.novtt.min.js" integrity="sha512-p9d30oe622MK6XAd6FKeqoc6B1FU2qhUq90BMbJILoRAMoaiekDIsAXiMQIMbxIamjvAS/1BbX33JcROet3GPg==" crossorigin="anonymous" referrerpolicy="no-referrer"
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.12.0/alt/video.core.novtt.min.js" integrity="sha512-Ge2v3kusPKpj4BTKTIg1hCXVDEmc4gGDvGS6zIPAfiBnBkxhcU8sc+w30MloRknqq7WKFc2uWzbe9erNnARMVg==" crossorigin="anonymous" referrerpolicy="no-referrer"
asp-fallback-src="~/lib/video.js/alt/video.core.novtt.min.js"
asp-fallback-test="window.jQuery && videojs.options"></script>
<script type="text/javascript" src="~/js/WebCamGallery.min.js"></script>
<script type="text/javascript" src="~/js/WebCamGallery.min.js" asp-append-version="true"></script>
</environment>
<script type="text/javascript">
window.addEventListener('load', function () {
Expand Down
7 changes: 2 additions & 5 deletions DotnetPlayground.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,8 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
[RequiresUnreferencedCode("Contains trimming unsafe calls")]
static async Task Main(string[] args)
{
//// Adding following lines in order to mitigate:
//// https://github.com/aspnet/Announcements/issues/405
//// https://github.com/neuecc/MessagePack-CSharp/security/advisories/GHSA-7q36-4xx7-xcxf
//// Enable additional security in MessagePack to handle untrusted data.
//MessagePackSecurity.Active = MessagePackSecurity.UntrustedData;
//Populate inkball resource cache early
var dummy = Constants.WwwIncludeInkballJS;


//await CreateHostBuilder(args).Build().RunAsync();
Expand Down
4 changes: 2 additions & 2 deletions DotnetPlayground.Web/Views/Blogs/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
@section scripts
{
<environment include="Development">
<script type="text/javascript" src="~/js/Blogs.js"></script>
<script type="text/javascript" src="~/js/Blogs.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script type="text/javascript" src="~/js/Blogs.min.js"></script>
<script type="text/javascript" src="~/js/Blogs.min.js" asp-append-version="true"></script>
</environment>
<script type="text/javascript">
window.addEventListener('DOMContentLoaded', function () {
Expand Down
12 changes: 5 additions & 7 deletions DotnetPlayground.Web/Views/Hashes/BruteForce.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,15 @@
@await Html.PartialAsync("_CryptoJSScriptsPartial")

<environment include="Development">
<script src="~/js/workers/shared.js"></script>
<script src="~/js/BruteForce.js"></script>
<script src="~/js/workers/shared.js" asp-append-version="true"></script>
<script src="~/js/BruteForce.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script src="~/js/workers/shared.min.js"></script>
<script src="~/js/BruteForce.min.js"></script>
<script src="~/js/workers/shared.min.js" asp-append-version="true"></script>
<script src="~/js/BruteForce.min.js" asp-append-version="true"></script>
</environment>

<script type="text/javascript">
window.addEventListener('load', function () {
BruteForceOnLoad();
});
window.addEventListener('load', BruteForceOnLoad);
</script>
}
4 changes: 2 additions & 2 deletions DotnetPlayground.Web/Views/Hashes/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
@await Html.PartialAsync("_CryptoJSScriptsPartial")

<environment include="Development">
<script type="text/javascript" src="~/js/Hashes.js"></script>
<script type="text/javascript" src="~/js/Hashes.js" asp-append-version="true"></script>
</environment>
<environment exclude="Development">
<script type="text/javascript" src="~/js/Hashes.min.js"></script>
<script type="text/javascript" src="~/js/Hashes.min.js" asp-append-version="true"></script>
</environment>
<script type="text/javascript">
window.addEventListener('load', HashesOnLoad);
Expand Down
Loading
Loading