Commit Graph

39477 Commits

Author SHA1 Message Date
Bjarke Berg
e19b3718e4 Merge pull request #10873 from umbraco/v9/task/fixed_todo_make_backoffice_url_absolute
v9: Making backoffice path absolute
2021-08-17 12:45:56 +02:00
Mole
1902f00d0c Merge pull request #10826 from umbraco/v9/bugfix/AB12681-unique-constraints-to-dictionary-tables
V9: Add unique constraints to cmsDictionary and cmsLanguageText tables
2021-08-17 11:17:18 +02:00
Nikolaj Geisle
9fe0a40b63 Update src/Umbraco.Web.Common/AspNetCore/AspNetCoreBackOfficeInfo.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-08-17 11:09:53 +02:00
Nikolaj Geisle
efac943e11 Update src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-08-17 11:09:49 +02:00
Bjarke Berg
c6cdc6d226 Merge pull request #10860 from nzdev/v9/bugfix/logging-patterns
Avoid mixing using of string interpolation and string formatting in log messages
2021-08-17 10:30:46 +02:00
Zeegaan
45bbaafde9 fixed todo in AspNetCore Backoffice 2021-08-17 09:55:57 +02:00
Nikolaj Geisle
a4b6fc8db6 Merge pull request #10855 from bjarnef/v9/bug/packages-overflow
V9: Fix packages overflow
2021-08-17 08:29:07 +02:00
Bjarke Berg
4ef08072ed Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-08-17 08:26:56 +02:00
Bjarke Berg
c39053d7c1 Bumb version 2021-08-17 08:26:32 +02:00
Bjarke Berg
f6bd3a1eec Merge pull request #10861 from nzdev/v9/bugfix/trimstart-arrays
Reduce allocations by using existing CharArrays for TrimStart()
2021-08-17 08:07:14 +02:00
Bjarke Berg
bab7545a6d Merge pull request #10862 from nzdev/v9/bugfix/razor-event-cleanup
Cleanup _inMemoryModelFactory.ModelsChanged event on dispose in  RefreshingRazorViewEngine
2021-08-17 08:06:17 +02:00
Bjarke Berg
615c78dab5 Merge pull request #10859 from nzdev/v9/bugfix/dispose-processes
Process requires disposal
2021-08-17 07:59:46 +02:00
Bjarke Berg
a7fcb60d3f Merge pull request #10857 from gunnim/patch-2
SystemLock - Update link to msdn blog
2021-08-17 07:58:35 +02:00
Bjarke Berg
831efead10 Merge pull request #10623 from umbraco/v9/bugfix/image-cropping
V9: Fix ImageSharp integration and add support for custom crops
2021-08-17 07:49:32 +02:00
Elitsa Marinovska
fba02ea2d6 Fix merge conflict 2021-08-16 14:21:37 +02:00
Elitsa Marinovska
5518867590 Merge remote-tracking branch 'v9/dev' into v9/bugfix/AB12681-unique-constraints-to-dictionary-tables 2021-08-16 14:21:13 +02:00
Elitsa Marinovska
600319cf93 Added missing key value for a test dictionary item 2021-08-16 14:14:41 +02:00
Elitsa Marinovska
b82320c9f3 Modifying the cmsLanguageText unique index to be just across the languageId and unqiueId fields 2021-08-16 13:26:42 +02:00
Ronald Barendse
0b53249d57 Make ImageSharpConfigurationOptions public 2021-08-16 12:11:30 +02:00
Ronald Barendse
43704da869 Remove dimensions if either one is above the configured maximum 2021-08-16 11:12:54 +02:00
Ronald Barendse
992eb58023 Move ImageSharpImageUrlGenerator back to Infrastructure and remove NoopImageUrlGenerator 2021-08-16 11:08:09 +02:00
Mole
5d5ee574c8 Merge pull request #10865 from umbraco/v9/task/removed-VaritaionContextAccessor-from-IUmbracoContext
v9: Removed VariationContextAccessor from IUmbracoContext
2021-08-16 10:44:20 +02:00
Ronald Barendse
42c6aa8d56 Register default ImageSharp configuration for application-wide use 2021-08-16 10:35:37 +02:00
Zeegaan
2a03c7dfd3 Removed CultureAccessor from test 2021-08-16 08:54:28 +02:00
Zeegaan
3c4cefb17d Removed VariationContextAccessor from IUmbracoContext 2021-08-16 08:43:13 +02:00
Chad Currie
2b6b620370 fix backslash 2021-08-15 19:36:41 +12:00
Chad Currie
c8777c25ff Remove _inMemoryModelFactory.ModelsChanged event handler on dispose 2021-08-15 19:04:36 +12:00
Chad Currie
c72e4f224a use existing CharArrays for TrimStart() to reduce array allocations 2021-08-15 19:02:05 +12:00
Chad Currie
9457d73499 Avoid mixing using of string interpolation and string formatting. MessageFormat parameter is cached and should be a constant string. 2021-08-15 18:51:26 +12:00
Chad Currie
f934780300 Process requires disposal 2021-08-15 18:38:17 +12:00
Gunnar
a79aec85d7 SystemLock - Update link to msdn blog 2021-08-13 22:03:15 +00:00
Bjarne Fyrstenborg
96cbf1622f Fix expansion panel header causing horizontal overflow 2021-08-13 19:46:37 +02:00
Bjarke Berg
3c6efa6cb5 Merge pull request #10787 from umbraco/v9/bugfix/member_validation_doesnt_update_properly
v9: Fixed a bug where validation didnt update properly
2021-08-13 19:19:37 +02:00
Bjarke Berg
cf78027b84 Merge pull request #10850 from umbraco/v9/bugfix/user-roles-fail-if-0
v9: If you didnt have a member group, restricting acces to the public would always lead to error page
2021-08-13 19:15:43 +02:00
Bjarke Berg
8c42d563bd Updated unittest to match real usecase 2021-08-13 18:51:06 +02:00
Bjarke Berg
8e2044ad4e Revert "Removed UnitTest"
This reverts commit 18d670bc20.
2021-08-13 18:30:09 +02:00
Ronald Barendse
a0184d5556 Remove repeated ImageSharp default configuration 2021-08-13 16:04:44 +02:00
Ronald Barendse
36568a0fdc Move ImageSharpImageUrlGenerator to Web.Common and add NoopImageUrlGenerator 2021-08-13 16:01:56 +02:00
Paul Johnson
774e174b87 Remove duplicate project references in Umbraco.Examine.Lucene.csproj 2021-08-13 14:34:52 +01:00
Ronald Barendse
74ea311e3c Remove width/height when both are above the configured maximums, add comments/documentation 2021-08-13 14:23:27 +02:00
Zeegaan
18d670bc20 Removed UnitTest 2021-08-13 12:17:20 +02:00
Zeegaan
683170b04e Removed Unneccesary if check 2021-08-13 10:51:50 +02:00
Paul Johnson
afe3f5bc38 Merge pull request #10849 from umbraco/v9/feature/improve-pipelines-test-setup
Build sln before running tests.
2021-08-13 09:46:16 +01:00
Paul Johnson
5aad18b99a Build sln before running tests.
Should prevent more OS related broken builds e.g. project files with case sensitivity issues.
2021-08-13 09:21:10 +01:00
Nikolaj Geisle
21c762d7de Merge pull request #10838 from umbraco/v9/bugfix/AB13223-fix-absolute-url-provider-mode
V9: Fix RedirectToCurrentUmbracoPage when UrlProviderMode is set to "Absolute"
2021-08-13 09:12:42 +02:00
Shannon
c92e1beaa0 Better debugging when working with external login providers 2021-08-12 15:50:47 -06:00
Kenny Nielsen
e4a2fc2736 Only encode text once
Html.ReplaceLineBreaks calls WebUtility.HtmlEncode internally, so the text gets encoded by this method.

As far as I know, WebUtility.HtmlEncode and HttpUtility.HtmlEncode produces the same result (unlike WebUtility.UrlEncode and HttpUtility.UrlEncode which produces different results; see https://edi.wang/post/2018/11/25/netcore-webutility-urlencode-httputility-urlencode), so it should be safe to omit HttpUtility.HtmlEncode here.
2021-08-12 16:16:48 +02:00
Laura Neto
7710409be8 Set isMainPage to true on TemplateRenderer.ExecuteTemplateRendering (#10684)
* Set isMainPage to true on TemplateRenderer.ExecuteTemplateRendering (#10683)

* Added comment

* Tweak comment for clarity

Co-authored-by: Paul Johnson <pmj@umbraco.com>
2021-08-12 11:09:21 +01:00
Elitsa Marinovska
185cebb490 Adding a check for when the UrlProviderMode is set to Absolute 2021-08-12 12:08:39 +03:00
Bjarke Berg
6085e03600 Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-08-12 11:03:32 +02:00