diff --git a/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/Visitors/FindExtensions.cs b/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/Visitors/FindExtensions.cs index caca0314e..f37cd8110 100644 --- a/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/Visitors/FindExtensions.cs +++ b/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/Visitors/FindExtensions.cs @@ -41,7 +41,7 @@ namespace Squidex.Domain.Apps.Entities.MongoDb.Contents.Visitors { var value = nodeIn.Rhs.Value; - if (value is Instant instant && + if (value is Instant && !string.Equals(nodeIn.Lhs[0], "mt", StringComparison.OrdinalIgnoreCase) && !string.Equals(nodeIn.Lhs[0], "ct", StringComparison.OrdinalIgnoreCase)) { diff --git a/src/Squidex.Infrastructure/Log/FileChannel.cs b/src/Squidex.Infrastructure/Log/FileChannel.cs index c5d8d37f1..26a8392e6 100644 --- a/src/Squidex.Infrastructure/Log/FileChannel.cs +++ b/src/Squidex.Infrastructure/Log/FileChannel.cs @@ -13,7 +13,7 @@ namespace Squidex.Infrastructure.Log { private readonly FileLogProcessor processor; private readonly object lockObject = new object(); - private bool isInitialized; + private volatile bool isInitialized; public FileChannel(string path) { diff --git a/src/Squidex/Areas/Frontend/Middlewares/WebpackMiddleware.cs b/src/Squidex/Areas/Frontend/Middlewares/WebpackMiddleware.cs index 4d145f1fa..83c57d810 100644 --- a/src/Squidex/Areas/Frontend/Middlewares/WebpackMiddleware.cs +++ b/src/Squidex/Areas/Frontend/Middlewares/WebpackMiddleware.cs @@ -7,6 +7,7 @@ using System; using System.IO; +using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; @@ -76,14 +77,14 @@ namespace Squidex.Areas.Frontend.Middlewares return response; } - var stylesTag = string.Empty; + var sb = new StringBuilder(); foreach (var file in Styles) { - stylesTag += $""; + sb.AppendLine($""); } - response = response.Replace("", $"{stylesTag}"); + response = response.Replace("", $"{sb}"); return response; } @@ -95,14 +96,14 @@ namespace Squidex.Areas.Frontend.Middlewares return response; } - var scriptsTag = string.Empty; + var sb = new StringBuilder(); foreach (var file in Scripts) { - scriptsTag += $""; + sb.AppendLine($""); } - response = response.Replace("", $"{scriptsTag}"); + response = response.Replace("", $"{sb}"); return response; } diff --git a/src/Squidex/Areas/IdentityServer/Views/Account/Consent.cshtml b/src/Squidex/Areas/IdentityServer/Views/Account/Consent.cshtml index e5875696e..955648686 100644 --- a/src/Squidex/Areas/IdentityServer/Views/Account/Consent.cshtml +++ b/src/Squidex/Areas/IdentityServer/Views/Account/Consent.cshtml @@ -52,7 +52,7 @@ I understand and agree that Squidex has integrated Google Analytics (with the anonymizer function). Google Analytics is a web analytics service to gather and analyse data about the behavior of users.

- I accept the privacy policies. + I accept the privacy policies.

diff --git a/src/Squidex/Pipeline/Swagger/SwaggerHelper.cs b/src/Squidex/Pipeline/Swagger/SwaggerHelper.cs index e8b41562e..4450d8e58 100644 --- a/src/Squidex/Pipeline/Swagger/SwaggerHelper.cs +++ b/src/Squidex/Pipeline/Swagger/SwaggerHelper.cs @@ -28,9 +28,10 @@ namespace Squidex.Pipeline.Swagger using (var resourceStream = assembly.GetManifestResourceStream($"Squidex.Docs.{name}.md")) { - var streamReader = new StreamReader(resourceStream); - - return streamReader.ReadToEnd(); + using (var streamReader = new StreamReader(resourceStream)) + { + return streamReader.ReadToEnd(); + } } } diff --git a/src/Squidex/app/features/api/api-area.component.html b/src/Squidex/app/features/api/api-area.component.html index fae5e792b..3311137f0 100644 --- a/src/Squidex/app/features/api/api-area.component.html +++ b/src/Squidex/app/features/api/api-area.component.html @@ -14,7 +14,7 @@ diff --git a/src/Squidex/app/features/apps/pages/apps-page.component.html b/src/Squidex/app/features/apps/pages/apps-page.component.html index 21578f636..61cfd438a 100644 --- a/src/Squidex/app/features/apps/pages/apps-page.component.html +++ b/src/Squidex/app/features/apps/pages/apps-page.component.html @@ -52,7 +52,7 @@
Start with our ready to use blog.
- Sample Code: C# + Sample Code: C#
@@ -69,7 +69,7 @@
Create your profile page.
- Sample Code: C# + Sample Code: C#
@@ -86,7 +86,7 @@
Create app for Squidex Identity.
- Project + Project
diff --git a/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html b/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html index 794573b9f..c68ead443 100644 --- a/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html +++ b/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html @@ -125,18 +125,18 @@

Awesome, now you know the basics!

- But that's not all of the support we can provide.
You can go to https://docs.squidex.io/ to read more. + But that's not all of the support we can provide.
You can go to https://docs.squidex.io/ to read more.

Do you want to join our community?

- + Join our Forum   - + Join us on Github
diff --git a/src/Squidex/app/features/content/pages/content/content-field.component.html b/src/Squidex/app/features/content/pages/content/content-field.component.html index b4ea1e648..21083937f 100644 --- a/src/Squidex/app/features/content/pages/content/content-field.component.html +++ b/src/Squidex/app/features/content/pages/content/content-field.component.html @@ -8,7 +8,7 @@ - + Please remember to check all languages when you see validation errors. diff --git a/src/Squidex/app/features/content/pages/content/content-page.component.html b/src/Squidex/app/features/content/pages/content/content-page.component.html index a4946cba7..59fcf8824 100644 --- a/src/Squidex/app/features/content/pages/content/content-page.component.html +++ b/src/Squidex/app/features/content/pages/content/content-page.component.html @@ -125,7 +125,7 @@ - + The sidebar navigation contains useful context specific links. Here you can view the history how this schema has changed over time. diff --git a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html index d5b986d81..468aa10c5 100644 --- a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html +++ b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html @@ -26,7 +26,7 @@ - +
@@ -40,7 +40,7 @@
- +
@@ -54,7 +54,7 @@
- + diff --git a/src/Squidex/app/features/rules/pages/rules/rule-element.component.html b/src/Squidex/app/features/rules/pages/rules/rule-element.component.html index 89e18a12a..623341362 100644 --- a/src/Squidex/app/features/rules/pages/rules/rule-element.component.html +++ b/src/Squidex/app/features/rules/pages/rules/rule-element.component.html @@ -25,7 +25,7 @@
diff --git a/src/Squidex/app/features/rules/pages/rules/rules-page.component.html b/src/Squidex/app/features/rules/pages/rules/rules-page.component.html index 8a65830fb..cfd928ea2 100644 --- a/src/Squidex/app/features/rules/pages/rules/rules-page.component.html +++ b/src/Squidex/app/features/rules/pages/rules/rules-page.component.html @@ -84,8 +84,8 @@ - - Click the help icon to show a context specific help page. Go to https://docs.squidex.io for the full documentation. + + Click the help icon to show a context specific help page. Go to https://docs.squidex.io for the full documentation. diff --git a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html index 0aa4c77be..c34218f27 100644 --- a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html +++ b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html @@ -41,11 +41,11 @@ - + Open the context menu to delete the schema or to create some scripts for content changes. - + Note, that you have to publish the schema before you can add content to it. diff --git a/src/Squidex/app/features/schemas/pages/schema/types/references-validation.component.html b/src/Squidex/app/features/schemas/pages/schema/types/references-validation.component.html index 81eaf60ad..f414d0a0d 100644 --- a/src/Squidex/app/features/schemas/pages/schema/types/references-validation.component.html +++ b/src/Squidex/app/features/schemas/pages/schema/types/references-validation.component.html @@ -1,6 +1,6 @@
- +