Bjarke Berg
0151c435f1
Netcore: Package support for media + media types ( #9547 )
...
* Add support for media when installing a package
* clean up
* Fix tests
* Add support for media when installing a package
* clean up
* Fix tests
* moved tests + test data
* Migrated package tests + resources
* Fix issue with media picker on package page, was empty after save.
* Added missing files
* Fix casing issue of resources
* Added test for media
* Fix tests for linux
* Fix test
* Fix issue with move media..
* Fix issue with adding files to packages
* Add MediaType permissions.
* Fix test
* Fix test
* Retry flaky tests, and added TODOs to fix those
* new attempt to fix test
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2020-12-16 22:26:47 +01:00
Shannon
ea55d2662e
no app_data paths, changing to constants, some linting updates
2020-12-08 10:42:26 +11:00
Bjarke Berg
064dbd2f67
Fixed tests
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-26 15:15:53 +01:00
Bjarke Berg
f249553549
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/linux-paths
...
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
# src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
2020-11-26 13:14:26 +01:00
Paul Johnson
5268f9d7f0
Resolve review comments
2020-11-24 09:37:52 +00:00
Paul Johnson
a62079d794
Use OptionsMonitorAdapter over AspNetCoreHostingEnvironmentWithoutOptionsMonitor
...
Rollback Serilog setup as I broke BASEDIR env var
2020-11-23 10:27:13 +00:00
Paul Johnson
5b1ccb0659
Remove the crazy Func param on AddUmbracoCore
2020-11-20 11:13:53 +00:00
Benjamin Carleski
7faf79b818
Remove check for path starting with root, assume path is always relative to the root
2020-11-19 03:24:42 -08:00
Benjamin Carleski
42f4fdf8c8
Don't prepend root to path when path starts with root
2020-11-19 03:07:05 -08:00
Benjamin Carleski
ff8edd3bf9
Use forward slashes with virtual paths
2020-11-19 02:58:32 -08:00
Benjamin Carleski
4d4cb0d221
Fix unit test failures
2020-11-18 08:51:58 -08:00
Bjarke Berg
bb1b04be15
Netcore: Cleanup and migrate few classes from Umbraco.Web ( #9375 )
...
* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Migrated a few classes, and cleaned up by removing some old classs too in the Umbraco.Web Project
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Moved SurfaceControllerTypeCollection + Builder
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Moved Extension methods
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
* Removed Wrap methods.. People should use their own TagBuilder
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-11-12 11:01:19 +01:00
Andy Butland
b4ce2873cc
NetCore: Migrated database server registrar and messenger tasks into hosted services ( #9353 )
...
* Migrated database server registrar and messenger tasks into hosted services.
Moved DatabaseServerRegistrar Options into injectable configuration.
* Added further cases for unit tests on hosted services checking execution based on runtime level.
* Migrated DatabaseServerMessengerOptions into configuration.
2020-11-10 20:02:09 +01:00
Bjarke Berg
35c22f9074
Introduced SetViewDataAsync on UmbracoViewPage
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-10-20 21:30:45 +02:00
Bjarke Berg
aa3049fded
Migrated more tests + Aligned IHostingEnvironment.ToAbsolute implementation with expectations from old tests
2020-09-30 14:54:53 +02:00
Bjarke Berg
3efee8284a
Post merge fixes
2020-09-07 15:28:58 +02:00
Andy Butland
14404f2720
Changed singleton created dependencies in composition root to use IOptionsMonitor.
2020-09-03 12:52:47 +02:00
Andy Butland
b87630250b
Removed unused private field and constructor variable for configuration global settings from UmbracoVersion.
...
Updated singleton created instances in CreateCompositionRoot to accept IOptions based parameters for configuration.
2020-09-03 11:36:57 +02:00
Andy Butland
f1bda37a64
Updates following PR review.
2020-09-01 18:10:12 +02:00
Andy Butland
967f0be705
Aligned property names in code with those in configuration.
2020-08-25 10:45:54 +02:00
Andy Butland
2cd91a5a54
Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
...
Further amends to return to booting application.
2020-08-23 23:36:48 +02:00
Andy Butland
510bd92e78
Amended injection of further settings to use IOptionsSnapshot.
2020-08-21 14:52:47 +01:00
Andy Butland
e3a44c6717
Moved configuration setting POCOs into Umbraco.Core and adjusted references.
...
Amended injection of some settings to use IOptionsSnapshot.
2020-08-20 22:18:50 +01:00
Shannon
cca7303abd
Migrates preview auth Middleware
...
Migrates UriExtensionsTests to netcore, fixes preview controller bits, adds tests for preview path for back office route check, fixes virtual paths for views,
2020-08-07 00:48:32 +10:00
Bjarke Berg
a4a074e22c
More content model binding
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-12 13:35:37 +02:00
Bjarke Berg
b5f0a7348d
Avoid using Current.IOHelper
2020-06-08 08:51:50 +02:00
Bjarke Berg
1d543d1dfd
Migrated MacroRenderingController + Related UmbracoComponentRenderer => TemplateRenderer + ParitalViewMacroEngine
2020-06-05 06:31:42 +02:00
Bjarke Berg
b2b0291386
Netcore: Migration of more controllers ( #8220 )
...
* https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated DictionaryController, TinyMceController and UpdateCheckController
* Removing connection string and changing to use the right variable
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk >
2020-06-03 17:17:30 +02:00
Shannon
e3591923c3
Gets auto-routing back office api controllers working, lots of notes
2020-05-14 17:04:16 +10:00
Bjarke Berg
e4dfdbb504
AB#6233 - renamed extensions namespace to Umbraco.Extensions
2020-05-07 10:08:23 +02:00
Bjarke Berg
8f7c022f2d
AB#6233 - Handle ApplicationUrl
2020-05-07 09:34:16 +02:00
Bjarke Berg
305ed42b48
Moved the sqlce db to root/App_Data/umbraco.sdf, instead of wwwroot/App_Data/umbraco.sdf
2020-05-04 14:40:11 +02:00
Bjarke Berg
da1e83c0d1
AB#6233 - Added application url on IHostingEnvironment. Still need a way to figure out how to get this value
2020-05-01 08:26:05 +02:00
Bjarke Berg
55d9af2b68
#6233- Install steps + MacroRenderer
2020-04-27 13:00:55 +02:00
Bjarke Berg
f79526e46a
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core
...
# Conflicts:
# src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
# src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
2020-04-24 08:23:55 +02:00
Bjarke Berg
79e9235338
AB#6233 - Install in .NET Core
2020-04-22 08:17:45 +02:00
Shannon
46e14f7692
Fixes up all logging. Configures serilog logging to replace MS logging just like serilog does, adds new ILoggerConfiguration so we aren't hard coding things, dynamically adds enrichers when the container is ready to resolve services.
2020-04-22 14:23:56 +10:00
Shannon
d56867757c
Merge branch 'netcore/dev' into netcore/feature/ab5819-initialize-composers
2020-04-08 15:59:00 +10:00
Bjarke Berg
7c87ec3141
Merge remote-tracking branch 'origin/netcore/feature/AB5822-smidge-implementation' into netcore/feature/ab5819-initialize-composers
2020-04-03 10:12:10 +02:00
Shannon
60abdd60b5
Starts fixing up integration tests
2020-04-03 13:16:01 +11:00
Shannon
7e2d0902af
Huge IIOHelper cleanup, removes some overlap with IHostingEnvironment, much less usages of IIOHelper and instead just use what is already available on IHostingEnvironment
2020-04-03 11:03:06 +11:00
Shannon
1224c97f07
Don't pass in Root to ToAbsolute there's no need
2020-04-03 09:17:40 +11:00
Shannon
fa2e9c3715
Fixing AspNetCoreHostingEnvironment, cleaning up more IOHelper, adds notes
2020-04-03 09:13:55 +11:00
Shannon
f0579714e9
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
...
# Conflicts:
# .gitignore
# src/Umbraco.Core/IO/IIOHelper.cs
2020-04-02 22:32:02 +11:00
Bjarke Berg
01957b7c64
Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/integration-tests-running
2020-04-02 10:01:57 +02:00
Bjarke Berg
97cf099f9f
AB#5819 - Moved composing of core/infrastructure items into CoreInitialComposer
2020-04-01 20:00:27 +02:00
Bjarke Berg
55426515c0
Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
...
# Conflicts:
# src/Umbraco.Infrastructure/Media/ImageProcessorImageUrlGenerator.cs
# src/Umbraco.Infrastructure/Models/ImageProcessorImageUrlGenerator.cs
# src/Umbraco.Infrastructure/Models/ImageSharpImageUrlGenerator.cs
# src/Umbraco.Web.BackOffice/AspNetCore/AspNetCoreComposer.cs
# src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
# src/Umbraco.Web.UI.NetCore/Startup.cs
# src/Umbraco.Web.UI.NetCore/appsettings.json
2020-03-31 15:36:25 +02:00
Bjarke Berg
b9ad6a0b7c
AB#5820 - Cleanup
2020-03-31 15:02:02 +02:00
Bjarke Berg
2a2903f932
AB#5820 - Review fixes / Clean up
2020-03-31 12:22:11 +02:00
Bjarke Berg
2fc2166767
AB#5820 - Clean up
2020-03-30 07:14:22 +02:00