Commit Graph

908 Commits

Author SHA1 Message Date
Shannon Deminick
5bfab13dc5 Fixes #11189 - protected content not working (#11193)
* Fixes #11189

* Fixes #11183

* Fix test Null_When_No_Content_On_PublishedRequest.

Believe this is reasonable.

* Update src/Umbraco.Web.Website/Routing/PublicAccessRequestHandler.cs

Co-authored-by: Paul Johnson <pmj@umbraco.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-09-26 12:42:27 +02:00
Bjarke Berg
f2df363c77 Fix for issue while running .NET6 with runtime compiled views 2021-09-22 19:07:53 +02:00
Bjarke Berg
5fab8f22c7 Bump Smidge to 4.0.0 final 2021-09-22 15:55:24 +02:00
Bjarke Berg
2575432e4b Merge pull request #11126 from An0d/v9/9.0-rc003
Fix: AllowAnonymous attribute on Action is ignored when UmbracoMember…
2021-09-20 21:30:21 +02:00
Bjarke Berg
f088a9b637 Merge pull request #11127 from umbraco/v9/feature/localdb-install-option
Add LocalDB database install option and implement automatic database creation
2021-09-20 20:02:30 +02:00
Bjarke Berg
baa51d9469 Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-09-20 12:59:22 +02:00
Bjarke Berg
e95a759181 Updated nuget package dependencies 2021-09-20 12:59:14 +02:00
Mole
85e8caf306 Merge pull request #11105 from umbraco/v9/bugfix/11097-apparently_the_swedish_minus_symbol_is_different_from_us_and_dk
V9: Use invarint culture when parsing ints
2021-09-20 12:34:25 +02:00
Bjarke Berg
1a794fe6fc Merge pull request #11136 from umbraco/v9/bugfix/10977-Region-and-UI-cultures-are-different
Fixed cultures to now both seperately in the backoffice and frontend …
2021-09-20 11:41:58 +02:00
Zeegaan
3b9593614c Fixed cultures to now both seperately in the backoffice and frontend check for both region culture and UI culture 2021-09-20 10:29:03 +02:00
Bjarke Berg
3ffbbf64e5 Clean up 2021-09-20 08:40:23 +02:00
Bjarke Berg
0a042b2c37 IIS can only handle ~4GB uploads. No good documentation, but found a couple of places documenting this. E.g. https://newbedev.com/how-to-set-the-maxallowedcontentlength-to-500mb-while-running-on-iis7 2021-09-20 08:39:59 +02:00
Bjarke Berg
e960ca6fdb Handle null in ConfigureKestrelServerOptions.cs 2021-09-20 07:56:22 +02:00
Bjarke Berg
c7fcb4abaa Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/AB13489-no-error-when-exceeding-maxAllowedContentLength
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/upload/umbfiledropzone.directive.js
2021-09-20 07:56:06 +02:00
Ronald Barendse
fd5cef6b42 Support DataDirectory placeholder in LocalDB connection string 2021-09-17 20:20:36 +02:00
Ronald Barendse
785630922e Rename IEmbeddedDatabaseCreator to IDatabaseCreator and refactor implementations 2021-09-17 12:48:48 +02:00
An0d
e6413aad0a Fix: AllowAnonymous attribute on Action is ignored when UmbracoMemberAuthorize is set on Controller
Ref: https://github.com/umbraco/Umbraco-CMS/issues/11125
2021-09-17 11:22:09 +02:00
Bjarke Berg
c799d9e45c https://github.com/umbraco/Umbraco-CMS/issues/11123 initializing the IVariationContextAccessor if the UmbracoRequestMiddleware 2021-09-16 21:59:52 +02:00
Bjarke Berg
39faf63f9c Fixed tryParse 2021-09-15 13:40:08 +02:00
Elitsa Marinovska
45a9a94aba Change from int.MaxValue to long.MaxValue 2021-09-15 10:41:58 +02:00
Elitsa Marinovska
00bd5bd6ee Fixing the IIS Express maxAllowedContentLength 2021-09-15 09:57:56 +02:00
Elitsa Marinovska
720006457e Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/AB13489-no-error-when-exceeding-maxAllowedContentLength 2021-09-15 09:28:06 +02:00
Bjarke Berg
f68717c1c8 Temp commit 2021-09-14 22:13:39 +02:00
Elitsa Marinovska
aaf1b464ba Update MultipartBodyLengthLimit on FormsOptions 2021-09-09 11:39:47 +02:00
Nikolaj
7578d460c4 Assign ApplicationMainUrl in constructor of hosting environment if its specified in appsettings 2021-09-09 11:18:12 +02:00
Bjarke Berg
3eb21d5bbd Merge pull request #11016 from umbraco/v9/feature/add_friendly_extension_method_to_replace_the_backofficeusermanager
Added SetBackOfficeUserManager extension method to IUmbracoBuilder
2021-09-08 19:11:52 +02:00
Bjarke Berg
e284e30df5 Fixed issues where we used the global setting UmbracoPath instead of the constant 2021-09-08 18:29:24 +02:00
Bjarke Berg
e5ab0fc084 Merge pull request #10962 from umbraco/v9/task/examine-update
Updates to latest Examine version
2021-09-08 17:45:27 +02:00
Elitsa Marinovska
e3b1400f22 Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/AB13489-no-error-when-exceeding-maxAllowedContentLength 2021-09-08 13:42:25 +02:00
Elitsa Marinovska
3d60d2b967 Update MaxRequestBodySize on both IIS Server and Kestrel Server 2021-09-08 13:41:46 +02:00
Shannon Deminick
676b5c4198 Update Umbraco.Web.Common.csproj 2021-09-08 06:03:12 +10:00
Bjarke Berg
9787ea0cfa Apply suggestions from code review 2021-09-03 08:42:22 +02:00
Bjarke Berg
2254d475bd Apply suggestions from code review
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-09-03 08:35:13 +02:00
Bjarke Berg
aaab486c52 Added SetBackOfficeUserManager extension method to IUmbracoBuilder 2021-09-02 09:50:13 +02:00
Shannon
706a629f93 Updates Smidge too 2021-08-31 15:25:17 -06:00
Nikolaj Geisle
f1ba8a3868 Merge pull request #10942 from lauraneto/v9/feature/add_url_mode_to_getcropurl
Added url mode parameter to the GetCropUrl extension methods
2021-08-31 08:49:23 +02:00
Sebastiaan Janssen
e62dd04295 Fixes #10956 - GetLocalCropUrl Obsolete message is misleading 2021-08-30 17:18:42 +00:00
Laura Neto
9e73cfe0ec Added url mode parameter to the GetCropUrl extension methods 2021-08-24 18:26:14 +02:00
Ronald Barendse
33108a7e05 Merge branch 'v9/dev' into v9/feature/imagesharp-cachefolder 2021-08-19 23:42:08 +02:00
Warren Buckley
9671a08be2 Ensure Nuget dependencies are upto date excpet NPoco as breaking changes in major 2021-08-18 11:38:23 +01:00
Ronald Barendse
34b65404e0 Move default ImageSharp cache folder to TEMP and map configured value to content root 2021-08-18 10:01:33 +02:00
Elitsa Marinovska
81ea232ecb Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/Refractor_UmbracoContextAccessor 2021-08-17 13:11:45 +02:00
Elitsa Marinovska
e9b697b0c2 Cleanup 2021-08-17 13:10:13 +02:00
Elitsa Marinovska
d8b3a1bbe5 Get rid of some more duplicate code 2021-08-17 13:09:25 +02:00
Zeegaan
285c9c92b5 Fixed duplications 2021-08-17 11:41:28 +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
Zeegaan
d9a7727175 implemented checking if "_httpContextAccessor" is null 2021-08-17 10:21:00 +02:00
Zeegaan
45bbaafde9 fixed todo in AspNetCore Backoffice 2021-08-17 09:55:57 +02:00
Zeegaan
d51fed4f6d Fixed UmbracoHelperAccessor to do a null check 2021-08-17 08:34:01 +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