Compare commits

...
Author SHA1 Message Date
Bjarke Berg ae3fc84369 Fix templates by only allowing generated https ports withing the range 44300-44399 https://docs.microsoft.com/en-us/iis/extensions/using-iis-express/running-iis-express-without-administrative-privileges#summary 2021-04-28 09:30:05 +02:00
Bjarke Berg 5157d67485 Fix for template 2021-04-27 15:01:13 +02:00
3781c6b00f Remove a bunch of template related, unreferenced methods from file service and stylesheet repository (#9875)
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-27 12:30:38 +02:00
8674244e61 Remove a bunch of partial views related, unreferenced methods from file service and partial view repositories (#9879)
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-27 11:42:06 +02:00
4f0d4d1fcd Remove a bunch of script related, unreferenced methods from file service and script repository (#9878)
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-27 10:36:28 +02:00
Kenn JacobsenandGitHub 720e529474 Remove a bunch of template related, unreferenced methods from file service and template repository (#9876) 2021-04-27 09:59:51 +02:00
c9ebaadf23 Netcore: File systems rework (#10181)
* Allow IMediaFileSystem to be replace in the DI, or registered with inner filesystem

* Remove GetFileSystem from Filesystems

It was only used by tests.

* Make MediaFileSystem inherit from PhysicalFileSystem directly

* Remove FileSystemWrapper

* Remove inner filesystem from MediaFileSystem

* Add MediaFileManager and bare minimum to make it testable

* Remove MediaFileSystem

* Fix unit tests using MediaFileManager

* Remove IFileSystem and rely only on FileSystem

* Hide dangerous methods in FileSystems and do some cleaning

* Apply stylecop warnings to MediaFileManager

* Add FilesystemsCreator to Tests.Common

This allows you to create an instance if FileSystems with your own specified IFileSystem for testing purposes outside our own test suite.

* Allow the stylesheet filesystem to be replaced.

* Fix tests

* Don't save stylesheetWrapper in a temporary var

* refactor(FileSystems): change how stylesheet filesystem is registered

* fix(FileSystems): unable to overwrite media filesystem

SetMediaFileSystem added the MediaManager as a Singleton instead of
replacing the existing instance.

* fix(FileSystems): calling AddFileSystems replaces MediaManager

When calling AddFileSystems after SetMediaFileSystem the MediaManager
gets replaced by the default PhysicalFileSystem, so instead of calling
SetMediaFileSystem in AddFileSystems we now call TrySetMediaFileSystem
instead. This method will not replace any existing instance of the
MediaManager if there's already a MediaManager registered.

* Use SetMediaFileSystem instead of TrySet, and rename AddFilesystems to ConfigureFileSystems

Also don't call AddFileSystems again in ConfigureFilesystems

* Don't wrap CSS filesystem twice

* Add CreateShadowWrapperInternal to avoid casting

* Throw UnauthorizedAccessException isntead of InvalidOperationException

* Remove ResetShadowId

Co-authored-by: Rasmus John Pedersen <mail@rjp.dk>
2021-04-27 09:52:17 +02:00
eaa46fe190 Allows for structured logging with the IProfilingLogger (#9958)
* Allows for structured logging with the IProfilingLogger

* Review fixes

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-27 09:10:30 +02:00
51a720b16c Add references to Umbraco.Code as PrivateAsset (#10148)
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-27 09:07:10 +02:00
Warren BuckleyandGitHub 67f980fecb Merge pull request #10180 from umbraco/netcore/bugfix/10179_check_authorization_policies_on_nested_tree_requests
Fix check authorization policies on nested tree requests
2021-04-26 11:46:15 +01:00
Bjarke Berg bc25e82767 https://github.com/umbraco/Umbraco-CMS/issues/10179
Execute AuthenticateAsync and AuthorizeAsync on nested requests
2021-04-23 13:32:42 +02:00
Andy ButlandandGitHub 7dd92efe25 Added additional addresses and attachments to core's email sending service. (#10178) 2021-04-23 08:59:10 +02:00
Shannon DeminickandGitHub 9382500b1f Ensure we don't issue a write lock on member login (#10175)
If only the last login property has changed we can issue a SQL call without write locks to make that update.
2021-04-22 18:37:56 +02:00
Shannon DeminickandGitHub 57009be435 Stop allocating arrays for every scope lock (#10172)
This is left over from v8's APIs where we would pass in params int[] but in most cases we are just passing in a single value yet we are then allocating arrays everytime. There's no need to allocate these, it's just extra overhead.
2021-04-22 18:36:45 +02:00
39aeec0f1f Implement password config storage for members (#10170)
* Getting new netcore PublicAccessChecker in place

* Adds full test coverage for PublicAccessChecker

* remove PublicAccessComposer

* adjust namespaces, ensure RoleManager works, separate public access controller, reduce content controller

* Implements the required methods on IMemberManager, removes old migrated code

* Updates routing to be able to re-route, Fixes middleware ordering ensuring endpoints are last, refactors pipeline options, adds public access middleware, ensures public access follows all hops

* adds note

* adds note

* Cleans up ext methods, ensures that members identity is added on both front-end and back ends. updates how UmbracoApplicationBuilder works in that it explicitly starts endpoints at the time of calling.

* Changes name to IUmbracoEndpointBuilder

* adds note

* Fixing tests, fixing error describers so there's 2x one for back office, one for members, fixes TryConvertTo, fixes login redirect

* fixing build

* Updates user manager to correctly validate password hashing and injects the IBackOfficeUserPasswordChecker

* Merges PR

* Fixes up build and notes

* Implements security stamp and email confirmed for members, cleans up a bunch of repo/service level member groups stuff, shares user store code between members and users and fixes the user identity object so we arent' tracking both groups and roles.

* Security stamp for members is now working

* Fixes keepalive, fixes PublicAccessMiddleware to not throw, updates startup code to be more clear and removes magic that registers middleware.

* adds note

* removes unused filter, fixes build

* fixes WebPath and tests

* Looks up entities in one query

* remove usings

* Fix test, remove stylesheet

* Set status code before we write to response to avoid error

* Ensures that users and members are validated when logging in. Shares more code between users and members.

* merge changes

* oops

* Reducing and removing published member cache

* Fixes RepositoryCacheKeys to ensure the keys are normalized

* oops didn't mean to commit this

* Fix casing issues with caching, stop boxing value types for all cache operations, stop re-creating string keys in DefaultRepositoryCachePolicy

* oops didn't mean to comit this

* bah, far out this keeps getting recommitted. sorry

* cannot inject IPublishedMemberCache and cannot have IPublishedMember

* splits out files, fixes build

* fix tests

* removes membership provider classes

* removes membership provider classes

* updates the identity map definition

* reverts commented out lines

* reverts commented out lines

* Implements members Password config in db, fixes members cookie auth to not interfere with the back office cookie auth, fixes Startup sequence, fixes startup pipeline

* commits change to Startup

* Rename migration from `MemberTableColumns2` to `AddPasswordConfigToMemberTable`

* Fix test

* Fix tests, but adding default passwordConfig to members

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-22 15:59:13 +02:00
473bc53c66 dotnet new template - Support unattended (#10107)
* Remove trailing comma

* Remove duplicate property

* Logo is now transparent & not on a solid a white BG

* Adds in auto Nuget Restore with an option to skip auto restore if you wish to

https://github.com/dotnet/dotnet-template-samples/tree/master/08-restore-on-create

* Fix typo

* Rename from UmbracoSolution to UmbracoProject

Bit misleading as it only ever creates a CSProj & not a SLN

* Couple extra places that needed a rename

* Adds support for HTTP & HTTPS port that will autogenerate an available free port number

https://github.com/dotnet/templating/wiki/Available-Symbols-Generators#port

* Update build/templates/UmbracoProject/.template.config/template.json

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Update build/templates/UmbracoProject/.template.config/template.json

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Rather than COPY appsettings from Umbraco.Web.UI.NetCore we use these specific ones so we can add logic to them

* Support for unattended install with new CLI args

* Change order so all the long textboxes that are optional are together

* Apply suggestions from code review from Elitsa

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2021-04-22 13:22:01 +02:00
3792cafb9f Published members cleanup (#10159)
* Getting new netcore PublicAccessChecker in place

* Adds full test coverage for PublicAccessChecker

* remove PublicAccessComposer

* adjust namespaces, ensure RoleManager works, separate public access controller, reduce content controller

* Implements the required methods on IMemberManager, removes old migrated code

* Updates routing to be able to re-route, Fixes middleware ordering ensuring endpoints are last, refactors pipeline options, adds public access middleware, ensures public access follows all hops

* adds note

* adds note

* Cleans up ext methods, ensures that members identity is added on both front-end and back ends. updates how UmbracoApplicationBuilder works in that it explicitly starts endpoints at the time of calling.

* Changes name to IUmbracoEndpointBuilder

* adds note

* Fixing tests, fixing error describers so there's 2x one for back office, one for members, fixes TryConvertTo, fixes login redirect

* fixing build

* Updates user manager to correctly validate password hashing and injects the IBackOfficeUserPasswordChecker

* Merges PR

* Fixes up build and notes

* Implements security stamp and email confirmed for members, cleans up a bunch of repo/service level member groups stuff, shares user store code between members and users and fixes the user identity object so we arent' tracking both groups and roles.

* Security stamp for members is now working

* Fixes keepalive, fixes PublicAccessMiddleware to not throw, updates startup code to be more clear and removes magic that registers middleware.

* adds note

* removes unused filter, fixes build

* fixes WebPath and tests

* Looks up entities in one query

* remove usings

* Fix test, remove stylesheet

* Set status code before we write to response to avoid error

* Ensures that users and members are validated when logging in. Shares more code between users and members.

* merge changes

* oops

* Reducing and removing published member cache

* Fixes RepositoryCacheKeys to ensure the keys are normalized

* oops didn't mean to commit this

* Fix casing issues with caching, stop boxing value types for all cache operations, stop re-creating string keys in DefaultRepositoryCachePolicy

* oops didn't mean to comit this

* bah, far out this keeps getting recommitted. sorry

* cannot inject IPublishedMemberCache and cannot have IPublishedMember

* splits out files, fixes build

* fix tests

* removes membership provider classes

* removes membership provider classes

* updates the identity map definition

* reverts commented out lines

* reverts commented out lines

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-22 13:21:43 +02:00
Shannon DeminickandGitHub c991e83088 SiteDomainHelper cleanup (#10166)
* Fixes SiteDomainHelper = no more static weirdness and renames it.

* fix build
2021-04-22 12:25:25 +02:00
Mole 181c8cbc34 Remove examine reference from Umbraco.Web.csproj 2021-04-21 10:58:02 +02:00
Bjarke Berg 5830204bbc Add retry to flaky test 2021-04-20 19:44:56 +02:00
Bjarke Berg 4caa4e9e1c Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2021-04-20 19:37:24 +02:00
Bjarke Berg b3a9730442 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Cache/MediaCacheRefresher.cs
#	src/Umbraco.Core/Composing/ComponentCollection.cs
#	src/Umbraco.Core/Composing/Composers.cs
#	src/Umbraco.Core/Composing/TypeFinder.cs
#	src/Umbraco.Core/Composing/TypeLoader.cs
#	src/Umbraco.Core/Configuration/Grid/GridEditorsConfig.cs
#	src/Umbraco.Core/Constants-SvgSanitizer.cs
#	src/Umbraco.Core/ContentApps/ContentAppFactoryCollection.cs
#	src/Umbraco.Core/Extensions/PublishedContentExtensions.cs
#	src/Umbraco.Core/Extensions/PublishedPropertyExtension.cs
#	src/Umbraco.Core/Extensions/StringExtensions.cs
#	src/Umbraco.Core/HealthChecks/Checks/Security/ExcessiveHeadersCheck.cs
#	src/Umbraco.Core/HealthChecks/HealthCheckResults.cs
#	src/Umbraco.Core/IO/FileSystems.cs
#	src/Umbraco.Core/IO/IOHelper.cs
#	src/Umbraco.Core/IO/MediaFileSystem.cs
#	src/Umbraco.Core/IO/PhysicalFileSystem.cs
#	src/Umbraco.Core/Logging/DebugDiagnosticsLogger.cs
#	src/Umbraco.Core/Logging/DisposableTimer.cs
#	src/Umbraco.Core/Logging/ILogger.cs
#	src/Umbraco.Core/Logging/LogProfiler.cs
#	src/Umbraco.Core/Logging/OwinLogger.cs
#	src/Umbraco.Core/Manifest/ManifestWatcher.cs
#	src/Umbraco.Core/Mapping/UmbracoMapper.cs
#	src/Umbraco.Core/Media/UploadAutoFillProperties.cs
#	src/Umbraco.Core/Migrations/Install/DatabaseDataCreator.cs
#	src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/DataTypes/PreValueMigratorCollection.cs
#	src/Umbraco.Core/Models/Mapping/ContentPropertyBasicMapper.cs
#	src/Umbraco.Core/Models/Mapping/DataTypeMapDefinition.cs
#	src/Umbraco.Core/Models/Mapping/MacroMapDefinition.cs
#	src/Umbraco.Core/Models/Member.cs
#	src/Umbraco.Core/Packaging/PackageActionRunner.cs
#	src/Umbraco.Core/PropertyEditors/DataValueEditor.cs
#	src/Umbraco.Core/PropertyEditors/Validators/EyeDropperColorPickerConfigurationEditor.cs
#	src/Umbraco.Core/PropertyEditors/Validators/EyeDropperColorPickerPropertyEditor.cs
#	src/Umbraco.Core/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/RuntimeState.cs
#	src/Umbraco.Core/Scoping/ScopeProvider.cs
#	src/Umbraco.Core/Sync/DatabaseServerMessenger.cs
#	src/Umbraco.Core/Templates/HtmlUrlParser.cs
#	src/Umbraco.Core/UriExtensions.cs
#	src/Umbraco.Examine.Lucene/UmbracoContentIndex.cs
#	src/Umbraco.Examine.Lucene/UmbracoExamineIndex.cs
#	src/Umbraco.Infrastructure/Examine/IndexRebuilder.cs
#	src/Umbraco.Infrastructure/Manifest/DataEditorConverter.cs
#	src/Umbraco.Infrastructure/Manifest/ManifestParser.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
#	src/Umbraco.Infrastructure/Migrations/MigrationPlan.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DataTypeMigration.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DropDownPropertyEditorsMigration.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/MergeDateAndDateTimePropertyEditor.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/RadioAndCheckboxPropertyEditorsMigration.cs
#	src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentRepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MediaRepository.cs
#	src/Umbraco.Infrastructure/Persistence/UmbracoDatabase.cs
#	src/Umbraco.Infrastructure/Persistence/UmbracoDatabaseFactory.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ImageCropperPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultiUrlPickerValueEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/GridValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/JsonValueConverter.cs
#	src/Umbraco.Infrastructure/PublishedCache/PublishedContentTypeCache.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.Infrastructure/Search/ExamineNotificationHandler.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
#	src/Umbraco.Infrastructure/Services/Implement/LocalizedTextService.cs
#	src/Umbraco.Infrastructure/Services/Implement/LocalizedTextServiceFileSources.cs
#	src/Umbraco.Infrastructure/Services/Implement/MediaService.cs
#	src/Umbraco.Infrastructure/Services/Implement/NotificationService.cs
#	src/Umbraco.Infrastructure/Sync/ServerMessengerBase.cs
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComposer.cs
#	src/Umbraco.ModelsBuilder.Embedded/LiveModelsProvider.cs
#	src/Umbraco.PublishedCache.NuCache/ContentStore.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentEventsTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Mapping/MappingTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.ModelsBuilder.Embedded/BuilderTests.cs
#	src/Umbraco.Tests/Composing/TypeLoaderTests.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/DictionaryPublishedContent.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/LegacyBackgroundTask/BackgroundTaskRunner.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/PreviewContent.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/PublishedMediaCache.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlStore.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlStoreFilePersister.cs
#	src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests/Services/PerformanceTests.cs
#	src/Umbraco.Tests/TestHelpers/ConsoleLogger.cs
#	src/Umbraco.Tests/Testing/TestingTests/MockTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.BackOffice/Controllers/DashboardController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ExamineManagementController.cs
#	src/Umbraco.Web.BackOffice/HealthChecks/HealthCheckController.cs
#	src/Umbraco.Web.BackOffice/PropertyEditors/RteEmbedController.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
#	src/Umbraco.Web.Common/Extensions/FormCollectionExtensions.cs
#	src/Umbraco.Web.Common/Install/InstallApiController.cs
#	src/Umbraco.Web.Common/Macros/MacroRenderer.cs
#	src/Umbraco.Web.Common/ModelsBuilder/PureLiveModelFactory.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/src/views/memberTypes/copy.controller.js
#	src/Umbraco.Web.UI.Client/src/views/memberTypes/copy.html
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/config/splashes/noNodes.aspx
#	src/Umbraco.Web/AspNet/AspNetHttpContextAccessor.cs
#	src/Umbraco.Web/Cache/DistributedCacheBinder.cs
#	src/Umbraco.Web/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/Binders/ContentModelBinderHelper.cs
#	src/Umbraco.Web/Editors/ContentControllerBase.cs
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/DictionaryController.cs
#	src/Umbraco.Web/Editors/MemberTypeController.cs
#	src/Umbraco.Web/Editors/PasswordChanger.cs
#	src/Umbraco.Web/Editors/RelationTypeController.cs
#	src/Umbraco.Web/Editors/TinyMceController.cs
#	src/Umbraco.Web/HealthCheck/Checks/Security/HttpsCheck.cs
#	src/Umbraco.Web/HtmlHelperRenderExtensions.cs
#	src/Umbraco.Web/HttpUrlHelperExtensions.cs
#	src/Umbraco.Web/HybridEventMessagesAccessor.cs
#	src/Umbraco.Web/ImageCropperTemplateExtensions.cs
#	src/Umbraco.Web/JavaScript/ClientDependencyConfiguration.cs
#	src/Umbraco.Web/Mvc/RenderMvcController.cs
#	src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Web/Routing/ContentFinderByConfigured404.cs
#	src/Umbraco.Web/Routing/ContentFinderByIdPath.cs
#	src/Umbraco.Web/Routing/ContentFinderByRedirectUrl.cs
#	src/Umbraco.Web/Routing/ContentFinderByUrl.cs
#	src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs
#	src/Umbraco.Web/Routing/ContentFinderByUrlAndTemplate.cs
#	src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
#	src/Umbraco.Web/Routing/PublishedRouter.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Scheduling/KeepAlive.cs
#	src/Umbraco.Web/Scheduling/ScheduledPublishing.cs
#	src/Umbraco.Web/Scheduling/TempFileCleanup.cs
#	src/Umbraco.Web/Security/MembershipHelper.cs
#	src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs
#	src/Umbraco.Web/Trees/MemberTreeController.cs
#	src/Umbraco.Web/Trees/MemberTypeAndGroupTreeControllerBase.cs
#	src/Umbraco.Web/Trees/MemberTypeTreeController.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
#	src/Umbraco.Web/UmbracoModule.cs
#	src/Umbraco.Web/WebApi/AngularJsonMediaTypeFormatter.cs
#	src/Umbraco.Web/WebApi/Filters/FileUploadCleanupFilterAttribute.cs
#	src/Umbraco.Web/WebApi/UnhandledExceptionLogger.cs
2021-04-20 19:34:18 +02:00
MoleandGitHub 99c0341692 Merge pull request #10156 from umbraco/netcore/feature/cache_macros_per_member_and_make_render_macro_async
Netcore: Fix cache macros per member and make render macro async
2021-04-20 15:46:08 +02:00
Bjarke Berg 5afc509d5e Fix member cached macros and change macro rendering to be async 2021-04-20 14:26:25 +02:00
Andy ButlandandGitHub 25cb707e3e Merge pull request #10154 from umbraco/netcore/task/further-internals-public-for-package-use
Made two further classes public to provide access for Forms and other packages.
2021-04-20 12:32:19 +02:00
Andy Butland 7162d2f05f Made two further classes public to provide access for Forms and other packages. 2021-04-20 12:20:49 +02:00
8123fee867 Netcore: Migrate RepositoryBase and ContentTypeServiceBase events (#10141)
* Remove ScopeEntityRemove from ContentRepositoryBase and rely on "ing" notifications

* Remove old event handler from ContentEventsTests

* Remove ScopedVersionRemove from ContentRepositoryBase and rely on service notifications instead

* Remove unused ScopedVersionEventArgs from ContentRepositoryBase

* Migrate ScopeEntityRefresh to notification pattern

Unfortunately it's still published from the repository base

* Add simple content type notifications

* Publish Notifications instead of events in ContentTypeServiceBase for simple events

* Switch OnChanged to use Notifications for ContentTypeServices

* Publish notifications instead of raising ScopedRefreshedEntity on ContentTypeServiceBase

* Hook up to the new ContentType notifications

* Remove DistributedCacheBinderTests

There are no longer any events to really test on.

* Remove ContentTypeChange EventArgs

* Remove ContentService_Copied from DistributedCacheBinder

It's no longer used

* Cleanup

* Cleanup

* Removed uncommented code

* Fixed issue with unattented installs

* Re-add ContentTreeChangeNotification to DistributedCache

* Add new notification for ScopedEntityRemove

Marked as obsolete/hidden in editor, since this should only be used for nucache for now, and should really be changed in the future

* Mark Refresh notifications as obsolete/hidden

These should not be used anywhere outside Nucache, and should be changed to tree change at some point.

* Raise ScopedEntityRemoveNotification on repos and use in nucache

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-20 12:17:11 +02:00
6c660d5721 Security stamp implementation for members (#10140)
* Getting new netcore PublicAccessChecker in place

* Adds full test coverage for PublicAccessChecker

* remove PublicAccessComposer

* adjust namespaces, ensure RoleManager works, separate public access controller, reduce content controller

* Implements the required methods on IMemberManager, removes old migrated code

* Updates routing to be able to re-route, Fixes middleware ordering ensuring endpoints are last, refactors pipeline options, adds public access middleware, ensures public access follows all hops

* adds note

* adds note

* Cleans up ext methods, ensures that members identity is added on both front-end and back ends. updates how UmbracoApplicationBuilder works in that it explicitly starts endpoints at the time of calling.

* Changes name to IUmbracoEndpointBuilder

* adds note

* Fixing tests, fixing error describers so there's 2x one for back office, one for members, fixes TryConvertTo, fixes login redirect

* fixing build

* Updates user manager to correctly validate password hashing and injects the IBackOfficeUserPasswordChecker

* Merges PR

* Fixes up build and notes

* Implements security stamp and email confirmed for members, cleans up a bunch of repo/service level member groups stuff, shares user store code between members and users and fixes the user identity object so we arent' tracking both groups and roles.

* Security stamp for members is now working

* Fixes keepalive, fixes PublicAccessMiddleware to not throw, updates startup code to be more clear and removes magic that registers middleware.

* adds note

* removes unused filter, fixes build

* fixes WebPath and tests

* Looks up entities in one query

* remove usings

* Fix test, remove stylesheet

* Set status code before we write to response to avoid error

* Ensures that users and members are validated when logging in. Shares more code between users and members.

* merge changes

* oops

* Fixes RepositoryCacheKeys to ensure the keys are normalized

* oops didn't mean to commit this

* Fix casing issues with caching, stop boxing value types for all cache operations, stop re-creating string keys in DefaultRepositoryCachePolicy

* oops didn't mean to comit this

* bah, far out this keeps getting recommitted. sorry

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-20 09:13:40 +02:00
de28fbb0a4 Member password roll forward (#10138)
* Getting new netcore PublicAccessChecker in place

* Adds full test coverage for PublicAccessChecker

* remove PublicAccessComposer

* adjust namespaces, ensure RoleManager works, separate public access controller, reduce content controller

* Implements the required methods on IMemberManager, removes old migrated code

* Updates routing to be able to re-route, Fixes middleware ordering ensuring endpoints are last, refactors pipeline options, adds public access middleware, ensures public access follows all hops

* adds note

* adds note

* Cleans up ext methods, ensures that members identity is added on both front-end and back ends. updates how UmbracoApplicationBuilder works in that it explicitly starts endpoints at the time of calling.

* Changes name to IUmbracoEndpointBuilder

* adds note

* Fixing tests, fixing error describers so there's 2x one for back office, one for members, fixes TryConvertTo, fixes login redirect

* fixing build

* Updates user manager to correctly validate password hashing and injects the IBackOfficeUserPasswordChecker

* Merges PR

* Fixes up build and notes

* Fixes keepalive, fixes PublicAccessMiddleware to not throw, updates startup code to be more clear and removes magic that registers middleware.

* adds note

* removes unused filter, fixes build

* fixes WebPath and tests

* Looks up entities in one query

* remove usings

* Fix test, remove stylesheet

* Set status code before we write to response to avoid error

* Ensures that users and members are validated when logging in. Shares more code between users and members.

* Fixes RepositoryCacheKeys to ensure the keys are normalized

* oops didn't mean to commit this

* Fix casing issues with caching, stop boxing value types for all cache operations, stop re-creating string keys in DefaultRepositoryCachePolicy

* oops didn't mean to comit this

* bah, far out this keeps getting recommitted. sorry

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-20 07:45:35 +02:00
a1624d26a3 Implements Public Access in netcore (#10137)
* Getting new netcore PublicAccessChecker in place

* Adds full test coverage for PublicAccessChecker

* remove PublicAccessComposer

* adjust namespaces, ensure RoleManager works, separate public access controller, reduce content controller

* Implements the required methods on IMemberManager, removes old migrated code

* Updates routing to be able to re-route, Fixes middleware ordering ensuring endpoints are last, refactors pipeline options, adds public access middleware, ensures public access follows all hops

* adds note

* adds note

* Cleans up ext methods, ensures that members identity is added on both front-end and back ends. updates how UmbracoApplicationBuilder works in that it explicitly starts endpoints at the time of calling.

* Changes name to IUmbracoEndpointBuilder

* adds note

* Fixing tests, fixing error describers so there's 2x one for back office, one for members, fixes TryConvertTo, fixes login redirect

* fixing build

* Fixes keepalive, fixes PublicAccessMiddleware to not throw, updates startup code to be more clear and removes magic that registers middleware.

* adds note

* removes unused filter, fixes build

* fixes WebPath and tests

* Looks up entities in one query

* remove usings

* Fix test, remove stylesheet

* Set status code before we write to response to avoid error

* Ensures that users and members are validated when logging in. Shares more code between users and members.

* Fixes RepositoryCacheKeys to ensure the keys are normalized

* oops didn't mean to commit this

* Fix casing issues with caching, stop boxing value types for all cache operations, stop re-creating string keys in DefaultRepositoryCachePolicy

* bah, far out this keeps getting recommitted. sorry

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-04-20 07:11:45 +02:00
MoleandGitHub 385cc62523 Merge pull request #10142 from umbraco/netcore/feature/migrate-database-schema-creator-events
Netcore: Migrate DatabaseSchemaCreation events to notifications
2021-04-19 08:09:10 +02:00
Mole d98141244e Add EventMessages 2021-04-16 15:00:27 +02:00
Mole d31a9859b2 Make DatabaseSchema notifications stateful 2021-04-16 14:51:56 +02:00
Bjarke BergandGitHub 02b03a45f2 Merge pull request #10124 from umbraco/netcore/feature/AB11314-migrate-content-service-events
Netcore: Migrate ContentService events
2021-04-16 14:04:45 +02:00
MoleandGitHub 0c3788eba1 Merge pull request #10061 from umbraco/v8/feature/AB10632-recycle-bin-smells-caching
RecycleBinSmells caching
2021-04-16 13:14:33 +02:00
Mole 44c59db649 Migrate DatabaseCreation events to notifications 2021-04-16 11:58:29 +02:00
Andy ButlandandGitHub a8cdbc8697 Merge pull request #10136 from umbraco/netcore/feature/make-internal-classes-public
Removed project configuration to expose internals to Forms and made the two used internal dependencies public.
2021-04-15 14:36:10 +02:00
Andy Butland 19a9caf47b Removed project configuration to expose internals to Forms and made the two used internal dependencies public. 2021-04-15 12:49:47 +02:00
Andy Butland 12d5bdc552 Temporary commit to remove exposing of internals to Forms. 2021-04-15 12:06:13 +02:00
Elitsa Marinovska 7d09de6d0f Removing unused param 2021-04-15 10:33:21 +02:00
Bjarke Berg f1dbf6584b Adds separate call for css assets 2021-04-15 09:52:55 +02:00
Elitsa Marinovska 8e14543616 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB10632-recycle-bin-smells-caching 2021-04-15 09:02:53 +02:00
Elitsa Marinovska 038afa5664 Fixing tests after adding the new event related to EmptiedRecycleBin 2021-04-15 09:00:58 +02:00
Elitsa Marinovska 2534f99cdb Adding new RecycleBin event handlers 2021-04-14 16:55:37 +02:00
Bjarke BergandGitHub 03002e16d3 Merge pull request #10117 from umbraco/netcore/task/member-macros-10577
Members working on the front-end with macro updates
2021-04-13 07:14:33 +02:00
Bjarke BergandGitHub 0da145950e Merge pull request #10123 from umbraco/netcore/bugfix/only-process-cache-notification-once
Netcore: Only process each cache instruction from DatabaseServerMessenger once.
2021-04-13 07:07:21 +02:00
Shannon c2d5ab99d7 Adds explicit scopes for single transactions in member controllers 2021-04-13 11:53:42 +10:00
Bjarke BergandGitHub 9e2546191d Merge pull request #10125 from umbraco/netcore/bugfix/AB11317-mb-issue
NetCore: Types from MB-generated models are not recognized without namespace value
2021-04-12 19:09:35 +02:00
Bjarke Berg 9b5513ae4f AB11317 - Fix tests by adding the namespace 2021-04-12 18:19:04 +02:00
Elitsa Marinovska 201bac8c37 Setting the default value for the namespace of the generated models by MB 2021-04-12 16:21:08 +02:00
Mole 6f29eb7dc2 Change ContentEventsTests to support the new notification pattern. 2021-04-12 16:13:22 +02:00
de4a7eff85 Fixes some property editors ensuring ngModelController(#10013)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-04-12 15:19:32 +02:00
Mole 3ecf8eb9ea Migrate TreeChanged to notification in ContentService 2021-04-12 15:03:40 +02:00
18fa631f1c use paste-resolvers (#10121)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-04-12 14:38:52 +02:00
Mole 8206defcf2 Add ContentTreeChangeNotification 2021-04-12 14:27:00 +02:00
Mole b117f006c0 Only process each CacheInstruction once. 2021-04-12 13:27:25 +02:00
8d8fb2d15c Dont show block catalogue if only one block is available. Enable ente… (#9575)
* Dont show block catalogue if only one block is available. Enable entering clipboard directly.

* corrected button states

* jump clipboard icon when adding items to the clipboard.

* fix merge issue

* add missing eventsService

* correcting missing parts from Merge

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
2021-04-12 12:27:12 +02:00
Shannon 5d9cf8254e removes tests that were just testing the framework 2021-04-12 18:23:53 +10:00
Shannon 237e26da1e fix tests 2021-04-12 18:02:43 +10:00
Bjarke Berg 028396a0f5 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2021-04-12 09:54:51 +02:00
Bjarke Berg a91b44e299 Moved extensions for website from Umbraco.Web to Umbraco.Web.Website 2021-04-12 09:54:16 +02:00
Shannon 88aebb44ad Fixes up tests and adds tests for updating member 2021-04-12 17:50:05 +10:00
Shannon 5ed5f0cacb Fixes test 2021-04-12 16:42:25 +10:00
MoleandGitHub 3dd6fcf782 Merge pull request #10118 from umbraco/netcore/feature/move-notifications-to-core
Move notifications to core instead of infrastructure
2021-04-09 15:09:26 +02:00
Bjarke Berg ba6eea4f6f Move notifications to core instead of infrastructure 2021-04-09 13:43:39 +02:00
Bjarke BergandGitHub 578c1d1c0f Merge pull request #9959 from umbraco/netcore/bugfix/typeloader-deadlock
Fix dead lock with TypeLoader
2021-04-09 12:27:10 +02:00
Bjarke BergandGitHub c2273b0d47 Merge pull request #10092 from umbraco/netcore/feature/media-tree-changed-notification
Netcore: Migrate MediaService tree changed notification
2021-04-09 12:25:45 +02:00
Bjarke Berg 4405b219c9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/media-tree-changed-notification
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
2021-04-09 11:42:15 +02:00
MoleandGitHub 3c481074d0 Merge pull request #10080 from umbraco/netcore/feature/fileservice-events
Netcore: Migrate fileservice events
2021-04-09 10:45:21 +02:00
Mole b4f9dc7b66 Make CreateTemplateForContentType non nullable and default to false. 2021-04-09 09:59:53 +02:00
Mole 7405191e03 Store dictionary keys as constants 2021-04-09 09:43:50 +02:00
Mole 13a6e11783 Re add check for CreateTemplateForContentType in ModelsBuilderNotificationHandler 2021-04-09 09:39:49 +02:00
Mole a04320aaa1 Clean up the old stuff in FileService 2021-04-09 09:27:17 +02:00
Mole 2eaf73d0e6 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/fileservice-events 2021-04-09 09:12:53 +02:00
Mole 1ea9a0196e Store additional data for TemplateSaving/ed in state 2021-04-09 09:10:59 +02:00
Shannon 5ce7127beb Fixes remapping the key, allows for including/excluding custom properties on profile editing too. 2021-04-09 16:49:17 +10:00
Shannon a745ef54a7 fix model binding and more stuff in views 2021-04-09 16:31:03 +10:00
Shannon 8ea88a980a Fixes anti-forgery, fixes tempdata, adds front-end security/identity, gets member macro snippets and controllers all working, removes old code, adds more props to the member identity 2021-04-09 15:24:12 +10:00
Bjarke Berg 4eb7f255d8 Fixed missing registration after merge of members 2021-04-08 12:05:07 +02:00
Sebastiaan Janssen 8c20e252dc Merge branch 'v8/8.13' into v8/dev 2021-04-07 16:26:48 +02:00
Sebastiaan Janssen ecf67669ce Attributes could be multiple items, test specifically if Directory is an attribute 2021-04-07 16:25:46 +02:00
Sebastiaan Janssen 9fdbbb54fb Update cypress test to make macros in the grid work again 2021-04-07 15:44:28 +02:00
MoleandGitHub f6eb8c9dbb Merge pull request #9995 from umbraco/v8/feature/10615-mappers-with-explicit-scope
Create explicit scope for mappers in UmbracoMapper
2021-04-07 14:58:39 +02:00
Bjarke Berg 1106728693 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/fileservice-events
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
#	src/Umbraco.Tests.Integration/Cache/DistributedCacheBinderTests.cs
2021-04-07 14:34:34 +02:00
Bjarke BergandGitHub a9a64ff3d1 Merge pull request #10089 from umbraco/netcore/feature/relationservice-events
Netcore: Migrate relationservice events
2021-04-07 14:25:34 +02:00
Mole 8b6fc762b5 Reintroduce old constructor to make non-breaking 2021-04-07 13:54:42 +02:00
Sebastiaan Janssen 2d2a89f216 Revert "Add copy logic to Media Picker (#9957)"
This reverts commit f7c032af65.
2021-04-07 13:42:46 +02:00
Bjarke Berg d4dd6427ba Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/relationservice-events
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
2021-04-07 13:33:46 +02:00
Bjarke BergandGitHub a184271196 Merge pull request #10090 from umbraco/netcore/feature/domainservice-events
Netcore: Migrate domainservice events
2021-04-07 13:24:03 +02:00
Bjarke Berg ac7754c911 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/domainservice-events
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
2021-04-07 12:45:18 +02:00
Bjarke Berg 89fe65d45c Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/domainservice-events 2021-04-07 12:43:43 +02:00
Bjarke BergandGitHub c8884acbfa Merge pull request #10075 from umbraco/netcore/feature/macroservice-notifications
Netcore: Migrate macroservice events
2021-04-07 12:36:28 +02:00
Shannon 461be27bb1 Merge remote-tracking branch 'origin/netcore/dev' into netcore/task/member-macros-10577 2021-04-07 18:24:57 +10:00
Shannon DeminickandGitHub 7a5f348659 Merge pull request #9985 from emmagarland/netcore/members-signin-manager
Netcore/members signin manager [merge after roles]
2021-04-07 16:58:14 +10:00
Shannon 23aadbd335 Merge remote-tracking branch 'umbraco/netcore/dev' into netcore/members-signin-manager 2021-04-07 15:53:11 +10:00
Bjarke Berg 18be347333 Fix todo by checking explicitly for Umbraco Core assembly names instead of "Umbraco.", to avoid special case forms, deploy etc. 2021-04-06 18:46:38 +02:00
Sebastiaan Janssen d85d0d75f3 Revert "Updated LightInject to v6.4.0"
This reverts commit fc77252ec7.
2021-04-06 16:13:40 +02:00
Sebastiaan Janssen 89b881e98e Bump version to 8.13 RC 2021-04-06 10:11:46 +02:00
Sebastiaan Janssen 3358ab2604 Also make sure NuGet installs the correct version of the CodePages dependency 2021-04-06 10:08:10 +02:00
Sebastiaan Janssen c84f616a17 Remove HtmlSanitizer once more - see #9803 2021-04-06 10:08:10 +02:00
Dave de MoelandSebastiaan Janssen fc77252ec7 Updated LightInject to v6.4.0 2021-04-06 09:35:12 +02:00
Bjarke Berg 32e1b8361f Fix for members build issue 2021-04-06 08:23:07 +02:00
Bjarke Berg ab39f9635c Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2021-04-06 07:54:02 +02:00
Bjarke Berg 8bc79f9234 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/ConfigsExtensions.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Core/Constants-AppSettings.cs
#	src/Umbraco.Core/Dashboards/ContentDashboard.cs
#	src/Umbraco.Infrastructure/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web.BackOffice/Controllers/DashboardController.cs
2021-04-06 07:53:17 +02:00
Rachel BreezeandGitHub db6d572235 Accessibility: Alerts the user how many results have been returned on a tree search (#10100)
* Added support for screeen reader alerts on the embed so that assitive technology knows when a url retrieve has been succesfull.
Added labels for the controls
Preview reload only triggered if the values for height and width change

* Tree search details the number of search items returned

* Add French translations
2021-04-06 03:50:14 +02:00
Rachel BreezeandGitHub 739d9a8188 Improved accessibility of link picker (#10099)
* Added support for screeen reader alerts on the embed so that assitive technology knows when a url retrieve has been succesfull.
Added labels for the controls
Preview reload only triggered if the values for height and width change

* Added control ids for the link picker

* Add French translation
2021-04-06 03:44:14 +02:00
Mads RasmussenandNathan Woulfe f549a36593 fixes #10021 adds ng-form and val-form-manager to the documentation 2021-04-06 07:42:05 +10:00
patrickdemooij9andGitHub f8e280e0b4 9962: Use $allowedEditors instead of allowed (#10086)
* 9962: Use $allowedEditors instead of allowed

* 9962: Remove redundant statement
2021-04-04 02:16:02 +02:00
Bjarne FyrstenborgandMichael Latouche f83f465211 Fix validation of step size in integer/numeric field 2021-04-03 02:59:24 +02:00
Andy Butland aae7fc955f Made web layer internals visible to Umbraco Forms assemblies. 2021-04-02 11:48:21 +02:00
Andy ButlandandGitHub 838f0f57d2 Merge pull request #10093 from umbraco/netcore/feature/forms-internals-visible
Netcore: Made internals visible to Umbraco Forms assemblies
2021-04-01 08:01:58 +02:00
Andy Butland 1d9dbff72e Removed unnecessary V9 suffixes. 2021-03-31 19:49:54 +02:00
Andy Butland 9381c2e915 Added internals visible to configuration for Umbraco Forms. 2021-03-31 19:45:48 +02:00
Sebastiaan Janssen d428a4543f Merge branch 'v8/dev' into v8/contrib 2021-03-31 17:27:13 +02:00
Sebastiaan Janssen d7519e29d0 Merge branch 'v8/8.12' into v8/dev 2021-03-31 17:26:25 +02:00
Mole 572da4b466 Define TreeChange as the type in TreeChangeNotification instead of MediaTreeChangeNotification 2021-03-31 15:41:06 +02:00
Mole 6d751fc6e5 Move TreeChangeNotification to core 2021-03-31 15:32:41 +02:00
Mole 14739478b2 Use constructor to create TreeChange objects 2021-03-31 15:25:59 +02:00
Mole a4ce1f0ba3 Changed treechanged to use notification pattern 2021-03-31 15:23:39 +02:00
Bjarne FyrstenborgandSebastiaan Janssen 72e468428a Null check on scope and options to ensure backward compatibility
(cherry picked from commit fe8cd239d2)
2021-03-31 14:42:05 +02:00
Mole e651742887 Migrate events 2021-03-31 13:30:55 +02:00
Mole addf3326dc Add notification classes 2021-03-31 13:19:00 +02:00
Sebastiaan Janssen e8a9c4da2e Merge branch 'v8/dev' into v8/contrib 2021-03-31 13:01:25 +02:00
Sebastiaan Janssen 2f60a471b3 Merge branch 'v8/8.12' into v8/dev 2021-03-31 13:00:32 +02:00
Sebastiaan Janssen acaf1941fe Merge branch 'v8/8.11' into v8/8.12 2021-03-31 12:59:56 +02:00
Mads RasmussenandSebastiaan Janssen 15923aafc7 Fixes tabbing-mode remains active after closing modal #9790 (#10074)
(cherry picked from commit c881fa9e7d)
2021-03-31 12:55:48 +02:00
Mole a7072277ba Migrate events 2021-03-31 12:49:37 +02:00
Bjarne FyrstenborgandGitHub d08b84d28f Allow to pass in boolean to preventEnterSubmit directive (#8639)
* Pass in value to preventEnterSubmit directive

* Set enabled similar to preventDefault and preventEnterSubmit directives

* Update prevent enter submit value

* Init value from controller

* Use a different default input id prefix for umb-search-filter

* Fix typo

* Check for truthly value

* Revert "Set enabled similar to preventDefault and preventEnterSubmit directives"

This reverts commit 536ce855c4.

* None pointer events when clicking icon

* Use color variable
2021-03-31 10:01:33 +01:00
Mole b740d962d0 Merge branch 'netcore/dev' into netcore/feature/macroservice-notifications
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
2021-03-31 09:55:04 +02:00
Mole 0be2459ab6 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/fileservice-events
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComposer.cs
#	src/Umbraco.Tests.Integration/Cache/DistributedCacheBinderTests.cs
2021-03-31 09:51:08 +02:00
Mole cc24273124 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/relationservice-events 2021-03-31 09:46:47 +02:00
Mole 317363977e Migrate Deleting/ed relation 2021-03-31 09:46:05 +02:00
Mole 10c888bdfe Add IEnumerable constructor to DeleteNotification 2021-03-31 09:45:19 +02:00
MoleandGitHub 4c98b28520 Merge pull request #10069 from umbraco/netcore/notifications/datatypeservice
Events to Notifications Migration: DataType Service
2021-03-31 09:29:03 +02:00
Mole b211beb84a Add notification classes 2021-03-31 08:50:39 +02:00
Mads RasmussenandGitHub c881fa9e7d Fixes tabbing-mode remains active after closing modal #9790 (#10074) 2021-03-30 17:03:56 +02:00
BeardinaSuitandSebastiaan Janssen e7ce6a307e Handle Invalid format for Upgrade check 2021-03-30 15:08:00 +02:00
Mole dc9e60c36a Add null check for AdditionalData 2021-03-30 15:06:46 +02:00
Mole d844b62f84 TemplateSaved not TemplateSaving 2021-03-30 14:59:10 +02:00
Mole 7e3d0ecebc Migrate more events 2021-03-30 14:33:44 +02:00
Mole 52e31435cd Use notifications for saving and saved template
This was was a bit more interesting.
2021-03-30 14:01:37 +02:00
Nathan WoulfeandSebastiaan Janssen 958e25d4ba Revert updating deprecated WriterName/CreatorName refs
Changing the properties to use the extensions is a good thing (given the props are deprecated), but causes issues deep in tests. I'm reverting that change to fix the tests, and all refs to the deprecated properties should be updated in one sweep, to deal with any other test issues that might crop up.
2021-03-30 13:22:04 +02:00
Mole 5c4a6b8f6e Use notifications instead of events. 2021-03-30 13:10:43 +02:00
Mole 84d98f48c7 Register notifications for DistributedCacheBinder 2021-03-30 11:14:50 +02:00
Warren Buckley 7b34b495af Implement the events now as notifications for DataType Service 2021-03-30 09:25:34 +01:00
Mole 1b3468303c Add notification classes 2021-03-30 10:01:42 +02:00
Warren Buckley e64a7818ad Merge remote-tracking branch 'origin/netcore/dev' into netcore/notifications/datatypeservice
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Tests.Integration/Cache/DistributedCacheBinderTests.cs
2021-03-30 08:53:18 +01:00
Warren Buckley 4c50c57c1f Remove unused eventAggregator 2021-03-30 08:48:45 +01:00
Andy ButlandandNathan Woulfe 6299ea0862 Orders member type grouping of members alphabetically, matching the listing of member types. 2021-03-30 17:31:46 +10:00
Mole f345589149 Switch MacroService to use Notifications and make it internal. 2021-03-29 15:09:26 +02:00
Mole 48a4620e1b Add macro notifications 2021-03-29 14:39:02 +02:00
MoleandGitHub 98784a62d1 Merge pull request #10070 from kjac/netcore/feature/membergroupservice-without-static-events
Remove static events from MemberGroupService
2021-03-29 14:14:39 +02:00
Mole 3029a85bc2 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/membergroupservice-without-static-events
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Tests.Integration/Cache/DistributedCacheBinderTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopedRepositoryTests.cs
2021-03-29 13:46:06 +02:00
Mole ed2e79fa28 Merge branch 'netcore/dev' into netcore/feature/membergroupservice-without-static-events 2021-03-29 13:38:56 +02:00
Mole 62f62518f0 Make MemberGroupService internal 2021-03-29 13:38:46 +02:00
MoleandGitHub e72c98928a Merge pull request #9981 from kjac/netcore/feature/member-publicaccess-user-services-without-static-events
Remove static events from MemberService, UserService and PublicAccessService
2021-03-29 13:07:07 +02:00
Warren Buckley 44b90d5993 Implment a Renaming & Renamed notification for DataType Container 2021-03-29 11:08:14 +01:00
Mole b4cbf0cf5d Remove obsolete static events 2021-03-29 11:39:04 +02:00
Warren Buckley 6d73051bea Fixup failing unit test - we no longer using the EventArgs 2021-03-29 09:19:45 +01:00
Warren BuckleyandGitHub 01f3c93097 Merge branch 'netcore/dev' into netcore/notifications/datatypeservice 2021-03-29 08:57:44 +01:00
Warren Buckley 4ef6c798fc Remove leftover comments from migrating this over 2021-03-29 08:48:42 +01:00
Shannon 9fac0a1470 Fixes tests 2021-03-29 18:05:13 +11:00
Shannon 5f4818263f Fixes BackOfficeClaimsPrincipalFactory to use the correct auth type. Uses the correct UmbracoIdentityRole class, fixes up MemberSignInManagerTests, new MemberClaimsPrincipalFactory 2021-03-29 17:37:58 +11:00
Shannon eb8a180f1e Moves base signin manager logic to a base class 2021-03-29 16:24:55 +11:00
Shannon 9b8088f08b Merge remote-tracking branch 'umbraco/netcore/dev' into netcore/members-signin-manager 2021-03-29 15:43:52 +11:00
Shannon DeminickandGitHub 705b3bf775 Merge pull request #9946 from emmagarland/netcore/members-roles-save
Member group (identity role) and store
2021-03-29 15:40:03 +11:00
Ronald BarendseandGitHub dcc07fd612 Add Root<T> and Breadcrumbs extension methods for IPublishedContent (#9033)
* Fix usage of obsolete CreatorName and WriterName properties

* Add generic Root extension method

* Add Breadcrumbs extension methods
2021-03-29 09:13:53 +10:00
Callum WhyteandNathan Woulfe 121ae2e8a9 Handling multiple values per field in Examine Management 2021-03-29 08:34:55 +10:00
Kenn Jacobsen 3f0539cf83 Remove static events from MemberGroupService 2021-03-26 18:47:06 +01:00
Kenn Jacobsen c113ca8eda Fixed merge conflicts 2021-03-26 16:49:16 +01:00
MoleandGitHub 59a3903168 Merge pull request #10067 from umbraco/netcore/feature/migrate-localization-service-events
Netcore: Migrate localization service events
2021-03-26 14:55:43 +01:00
Mole 32419835e2 Move DeletingNotification and make LocalizationService internal 2021-03-26 14:28:19 +01:00
Warren Buckley 3cd2d97226 Move last events to notifications 2021-03-26 12:23:27 +00:00
Warren Buckley e78b877619 Remove reference to old events 2021-03-26 12:18:10 +00:00
Warren Buckley 022c5feaf6 Notifications for EntityContainers in DataTypeService aka Folders for DataTypes 2021-03-26 10:44:07 +00:00
Warren Buckley 03782bca86 New generic Deleting Notification to match the DeletedNotification and Saving/Saved ones 2021-03-26 10:43:07 +00:00
Shannon 005a23958c remove todo 2021-03-26 16:52:42 +11:00
Shannon 29b1aa1b33 Refactor MemberRoleStore to not be generic and use our own UmbracoIdentityRole which has support for change tracking, uses builders for models in test 2021-03-26 16:43:49 +11:00
Shannon 48a2a0a357 remove httpcontext requirement from mapper 2021-03-26 15:54:45 +11:00
Shannon db3dc01321 removes todos, reverts tree controller, fixes up review notes. 2021-03-26 14:18:41 +11:00
Shannon 33b5f402b4 reverts MemberGroupController and removes TODOs 2021-03-26 14:06:17 +11:00
Bjarke Berg fbcaa6adea https://github.com/umbraco/Umbraco-CMS/issues/10060 - Fixed issue where appsettings section for modelsbuilder was not used. 2021-03-25 16:17:46 +01:00
Mole 6a81b31d84 Tentative fix for ScopedRepositoryTests
Caches are getting cleared because we can't unbind from events :(
2021-03-25 15:54:43 +01:00
Mole c8471b096c Switch to INotificationHandler 2021-03-25 14:51:00 +01:00
Shannon 2d2feb86bb Starts converting member macros 2021-03-26 00:22:11 +11:00
Elitsa Marinovska 05e9710ca6 Using an atomic operation when calling GetCacheItem - a callback is specified when the item isn't found 2021-03-25 13:29:27 +01:00
Elitsa Marinovska 19c17836aa Adding recycle bin smells caches at repository level 2021-03-25 12:54:46 +01:00
MoleandGitHub 499e4f0c42 Merge pull request #9999 from umbraco/v8/feature/AB10891-content-dashboard-config
Granting access to the content dashboard for all user groups
2021-03-25 12:03:33 +01:00
Elitsa Marinovska d2a26bf4da Caching RecycleBinSmells 2021-03-25 11:49:38 +01:00
Elitsa Marinovska f68d4d6968 Taking AllowContentDashboardAccessToAllUsers prop from GlobalSettings to ContentDashboardSettings and saving AccessRulesFromConfig into a backing field 2021-03-25 11:11:41 +01:00
MoleandGitHub 4993b93ef7 Merge pull request #10059 from umbraco/netcore/bugfix/add_tree_alias_to_tree_notifications
Added `TreeAlias` to tree notifications
2021-03-25 11:05:17 +01:00
Mole 18083b7155 Switch LocalizationService over to event aggregator 2021-03-25 09:00:38 +01:00
Bjarke Berg 8d61b3f067 https://github.com/umbraco/Umbraco-CMS/issues/10054 - Added TreeAlias to the remaining tree notifications 2021-03-25 07:05:08 +01:00
Bjarke Berg 69548e0b33 Fixed new tests to match namespaces from v9 2021-03-24 18:37:26 +01:00
Elitsa Marinovska 56d5704167 bool.Try 2021-03-24 16:15:21 +01:00
Bjarke Berg 202beba1bc Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Content/content.ts
2021-03-24 16:05:10 +01:00
Bjarke BergandGitHub bfc3068d6a Merge pull request #10056 from umbraco/v8/feature/new-cypress-content-tests
Add new cypress tests
2021-03-24 16:03:29 +01:00
Elitsa Marinovska 91ce071271 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB10891-content-dashboard-config 2021-03-24 15:43:33 +01:00
Elitsa Marinovska 61f486ebea Cleanup 2021-03-24 15:36:29 +01:00
Elitsa Marinovska 6e54c6fefd Implementation for IContentDashboardSettings 2021-03-24 15:34:05 +01:00
Elitsa Marinovska eabfa7f414 Getting rid of the config file and implementing an appSetting instead 2021-03-24 15:28:06 +01:00
Mole 64724ac85b Add indentation 2021-03-24 15:11:26 +01:00
Mole 70a582d1f0 Add new cypress tests 2021-03-24 15:04:34 +01:00
Bjarke Berg ef9dc447cd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Settings/languages.ts
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Settings/templates.ts
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Tour/backofficeTour.ts
#	src/Umbraco.Tests.AcceptanceTest/package.json
2021-03-24 15:03:03 +01:00
Mole 7a699c3fa9 Add notification classes 2021-03-24 14:29:15 +01:00
Bjarke BergandGitHub b723b4d377 Merge pull request #10045 from umbraco/v8/feature/update-cypress-and-fix-tests
Update cypress and fix tests
2021-03-24 14:26:06 +01:00
Bjarke BergandGitHub c41b05413a Merge pull request #10044 from umbraco/netcore/feature/acceptance_tests_on_azure
Netcore: Run acceptance tests on azure pipelines
2021-03-24 12:30:57 +01:00
Bjarke Berg efb9aacfe2 Bump version to beta001 2021-03-24 12:30:08 +01:00
Bjarke Berg 55354b969b Added continueOnError: true so the acceptance tests are not blocking a merge 2021-03-24 11:43:33 +01:00
Bjarke Berg f59d36624d Do not copy umbraco folder content to output folder. Only relevant for publish folder (as far as we know) 2021-03-24 11:05:50 +01:00
Mole f0b39ce890 Align 'Add language' test to netcore 2021-03-24 10:57:02 +01:00
Mole bffe1576d1 Try a fix for language tests 2021-03-24 10:06:15 +01:00
MoleandGitHub f3d1f39302 Merge pull request #10022 from umbraco/netcore/feature/package-dotnet-template
Netcore: Add package dotnet template and improved the templates
2021-03-24 09:42:19 +01:00
Bjarke Berg 68430c196e Do not copy umbraco folder content to output folder. Only relevant for publish folder (as far as we know) 2021-03-24 09:41:29 +01:00
Bjarke Berg 36ed141065 Add Linux acceptance tests - Trial 25 2021-03-24 08:02:35 +01:00
Bjarke Berg 4e2072af63 Add Linux acceptance tests - Trial 24 2021-03-24 08:00:31 +01:00
Bjarke Berg 68a3b5bc8c Add Linux acceptance tests - Trial 23 2021-03-24 07:47:19 +01:00
Bjarke Berg 6246d8e32d Add Linux acceptance tests - Trial 22 2021-03-24 07:22:31 +01:00
Bjarke Berg 9394a08c21 Add Linux acceptance tests - Trial 21 2021-03-24 07:16:47 +01:00
Bjarke Berg 3b4a14a615 Add Linux acceptance tests - Trial 20 2021-03-24 07:13:43 +01:00
Bjarke Berg 7210022068 Add Linux acceptance tests - Trial 19 2021-03-24 07:06:04 +01:00
Bjarke Berg 5fbacaf3c5 Add Linux acceptance tests - Trial 18 2021-03-24 06:52:28 +01:00
Bjarke Berg b4b5f211f3 Add Linux acceptance tests - Trial 17 2021-03-24 06:24:08 +01:00
Bjarke Berg 9f9c1ffbb0 Add Linux acceptance tests - Trial 16 2021-03-24 06:13:40 +01:00
Bjarke Berg fae00eb6d2 Add Linux acceptance tests - Trial 15 2021-03-24 05:58:40 +01:00
Bjarke Berg 7ef572c555 Add Linux acceptance tests - Trial 14 2021-03-24 05:50:49 +01:00
Martin BentancourandGitHub 9ac4eacdbd Anchor noopener (#10009)
* Set rel="noopener" for anchors with target="_blank"

* Reverted unwanted changes to Default.cshtml
2021-03-24 02:43:20 +01:00
Bjarne FyrstenborgandGitHub 11f123e7c4 Listview config icons (#10036)
* Update icons to use <umb-icon> component

* Simplify markup and use disabled button

* Use move cursor style on sortable handle

* Add class for action column

* Update setting auto focus

* Increase font size of umb-panel-header-icon
2021-03-24 08:04:33 +10:00
Bjarke Berg 17689bd6b3 Add Linux acceptance tests - Trial 13 2021-03-23 21:53:53 +01:00
Bjarke Berg 19ae71ea3f Add Linux acceptance tests - Trial 12 2021-03-23 21:50:54 +01:00
Bjarke Berg 5a77a097af Add Linux acceptance tests - Trial 11 2021-03-23 21:46:29 +01:00
Bjarke Berg 02cb808474 Add Linux acceptance tests - Trial 10 2021-03-23 21:45:20 +01:00
Bjarke Berg bb03d24458 Add Linux acceptance tests - Trial 9 2021-03-23 21:42:10 +01:00
Bjarke Berg 9ce54fa45b Add Linux acceptance tests - Trial 8 2021-03-23 21:36:58 +01:00
Bjarke Berg d399d2c46c Add Linux acceptance tests - Trial 7 2021-03-23 21:22:43 +01:00
Bjarke Berg 74dff277c3 Add Linux acceptance tests - Trial 6 2021-03-23 21:17:35 +01:00
Bjarke Berg fd4c12a448 Add Linux acceptance tests - Trial 5 2021-03-23 21:13:10 +01:00
Bjarke Berg 3d88203d7b Add Linux acceptance tests - Trial 4 2021-03-23 21:07:44 +01:00
Bjarke Berg c569232350 Add Linux acceptance tests - Trial 3 2021-03-23 21:00:50 +01:00
Bjarke Berg d534493c70 Add Linux acceptance tests - Trial 2 2021-03-23 20:58:50 +01:00
Bjarke Berg e49f8a0edf Add Linux acceptance tests - Trial 1 2021-03-23 20:52:45 +01:00
Bjarke Berg fdc1635399 More explicit about what folders to clear 2021-03-23 19:53:28 +01:00
Bjarke Berg d3d2571477 indentation 2021-03-23 19:28:15 +01:00
Bjarke Berg 782e7dfc90 Better descriptions 2021-03-23 19:16:44 +01:00
Bjarke Berg 876f4be7e6 Dont reuse variable. 2021-03-23 19:13:04 +01:00
Bjarke Berg 5be59da0a8 Dont reuse variable. 2021-03-23 18:40:20 +01:00
Bjarke Berg 4a8d033d24 Update version in both templates 2021-03-23 18:29:07 +01:00
MoleandGitHub 1d8f9fc1e0 Merge pull request #10028 from kjac/netcore/feature/avoid-css-minification-runtime
Do not apply runtime optimization to core CSS and CSS libraries
2021-03-23 15:27:45 +01:00
Bjarke Berg c6eefeb2d7 Always post test result 2021-03-23 14:04:55 +01:00
Mole 14c2bb4aa2 Update cypress and fix tests 2021-03-23 13:03:01 +01:00
Bjarke Berg da539b27c9 Updated targets to allow clear 2021-03-23 12:48:37 +01:00
Bjarke Berg cad4e9a0fe Fix wrong test result output file 2021-03-23 12:29:34 +01:00
Bjarke Berg 04df87984f Change test reporter to junit 2021-03-23 12:00:28 +01:00
Bjarke Berg 0f3bed13d5 Potential optimization - Build as part of run (in background process) 2021-03-23 11:54:02 +01:00
Mole 347ab9ffec Only publish artifacts on failed 2021-03-23 11:39:13 +01:00
Mole 25de77a8be Up retries to 5 and set language name back to Afrikaans 2021-03-23 09:55:14 +01:00
MoleandGitHub c487937f1d Merge pull request #10042 from umbraco/netcore/bugfix/10030-Fix-no-authenticationSchema-was-specified-bugs
Netcore: Fix no authentication schema was specified bugs
2021-03-23 09:51:46 +01:00
Mole f3aa3812c4 Remove videos if no test failed 2021-03-23 09:30:30 +01:00
Bjarke Berg ab9d31e01c https://github.com/umbraco/Umbraco-CMS/issues/10030 - Fixed the two issues reported. 2021-03-23 08:58:18 +01:00
Mole d8555d501c Add retries, fix two failing tests, and uncomment tablet & mobile tests 2021-03-23 08:51:48 +01:00
Bjarke Berg fa37ebc107 Changed default value of FlagOutOfDateModels to true (Like in v8) 2021-03-23 08:39:03 +01:00
Bjarke Berg df43f91396 Update azure-pipelines.yml for Azure Pipelines 2021-03-23 06:50:57 +01:00
Bjarke Berg b84e3e3bbc use condition istead of continueonerror 2021-03-23 06:47:51 +01:00
Bjarne FyrstenborgandGitHub ebd504e8c1 Replace icon in date picker with umb-icon component (#10040)
* Replace icon in date picker with <umb-icon> component

* Adjust height of clear button
2021-03-23 03:06:44 +01:00
Nathan WoulfeandMichael Latouche 95bf10e11b Unbind listener
Listening for splitViewRequest was only unbound if the split view editor was opened. Not cleaning up the listener caused a memory leak when changing between nodes as the spit view editor was detached but not garbage-collected
2021-03-23 02:46:39 +01:00
88611f30b5 9097 add contextual password helper (#9256)
* update back-office forms

* Display tip on reset password page as well

* add directive for password tip

* integrate directove in login screen

* forgot the ng-keyup :-)

* adapt tooltip directive to potential different Members and Users password settings

* remove watcher

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-23 08:07:50 +10:00
Bjarne FyrstenborgandNathan Woulfe 3d05bd6917 Update casing of listview layout name 2021-03-23 07:56:51 +10:00
f8f2029637 Improve performance, readability and handling of FollowInternalRedirects (#9889)
* Improve performance, readability and handling of FollowInternalRedirects

* Logger didn't like string param

Passing string param to _logger.Debug<PublishedRouter, int> wasn't happy. Changed to pass existing internalRedirectAsInt variable.

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-23 07:53:21 +10:00
Bjarke Berg 124dbd528b fix path 2021-03-22 21:03:44 +01:00
Bjarke Berg f5bd29a8a3 continue on error 2021-03-22 20:09:02 +01:00
Bjarke Berg 5ef26997a0 use npm run again , but with custom params 2021-03-22 19:44:59 +01:00
Bjarke Berg ab9f7bb151 try using npx 2021-03-22 19:26:59 +01:00
Bjarke Berg 3ac15011c8 Update azure-pipelines.yml for Azure Pipelines 2021-03-22 19:12:31 +01:00
Bjarke Berg 31c786d9fd changed slash vs backslash 2021-03-22 18:51:59 +01:00
Bjarke Berg b60fffe8e5 Run cypress with custom commands 2021-03-22 18:29:26 +01:00
Mole eeb5c1db7c Remove call website 2021-03-22 16:34:00 +01:00
Mole c1d701efff Try using -SkipCertificateCheck 2021-03-22 15:49:16 +01:00
Mole 0b2a3753bd Try hack to get around ssl 2021-03-22 15:23:15 +01:00
Mole 7d9efb014c Run site in separate process again. 2021-03-22 15:03:17 +01:00
Bjarke Berg 9cd33c1dd4 Update azure-pipelines.yml for Azure Pipelines 2021-03-22 14:51:40 +01:00
Bjarke Berg 74bfe97357 are \\ wrong for connectionstring.. 2021-03-22 14:43:27 +01:00
Bjarke Berg 0e14ab6b9f Update azure-pipelines.yml for Azure Pipelines 2021-03-22 14:34:03 +01:00
Bjarke Berg 3c3e22f7ff test with hardcoded values 2021-03-22 14:28:29 +01:00
Bjarke Berg 204c476486 syntax fix 2021-03-22 14:20:30 +01:00
Bjarke Berg cc221c684b nested variables names and create database 2021-03-22 14:11:09 +01:00
Bjarke Berg e9a3ed44cf test other connectionstring 2021-03-22 13:31:15 +01:00
Bjarke Berg 6b79ef18bc casing of local db instance name 2021-03-22 13:18:11 +01:00
Bjarke Berg 95724e24f4 remove jobs for acceptance tests 2021-03-22 13:06:14 +01:00
Bjarke Berg b921d5b770 Update azure-pipelines.yml for Azure Pipelines 2021-03-22 12:42:33 +01:00
Bjarke Berg b1e354778d Update azure-pipelines.yml for Azure Pipelines 2021-03-22 12:22:08 +01:00
Bjarke Berg 131f731b4c sleep and invoke web request 2021-03-22 11:59:50 +01:00
Bjarke Berg ff51b477eb Move dotnet run 2021-03-22 11:22:23 +01:00
Bjarke Berg 9317e45dc6 Move dotnet run 2021-03-22 11:20:23 +01:00
Bjarke Berg 38772e71b9 Merge remote-tracking branch 'origin/netcore/feature/acceptance_tests_on_azure' into netcore/feature/acceptance_tests_on_azure 2021-03-22 11:19:23 +01:00
Mole 804e8853a7 Run install_client and install_cypress while building 2021-03-22 11:13:31 +01:00
Bjarke Berg b0195864ce Merge remote-tracking branch 'origin/netcore/feature/acceptance_tests_on_azure' into netcore/feature/acceptance_tests_on_azure
# Conflicts:
#	build/azure-pipelines.yml
2021-03-22 11:10:37 +01:00
Mole f86275e77d Fix dependsOn 2021-03-22 11:08:48 +01:00
Mole 7dd7d4a5b8 Fix indentation 2021-03-22 11:07:09 +01:00
Mole 0e07a898ce Add start local db and prefix jobs with Windows 2021-03-22 11:05:30 +01:00
Bjarke Berg 3936ca070f Start localdb 2021-03-22 10:51:33 +01:00
Mole dba80e1c8a Add vmImage 2021-03-22 10:39:25 +01:00
Mole db0e3b3aff Merge remote-tracking branch 'origin/netcore/feature/acceptance_tests_on_azure' into netcore/feature/acceptance_tests_on_azure 2021-03-22 10:31:33 +01:00
Mole 76049b9f05 Merge branch 'netcore/feature/acceptance_tests_on_azure' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/acceptance_tests_on_azure
# Conflicts:
#	build/azure-pipelines.yml
2021-03-22 10:31:28 +01:00
Bjarke Berg 0a76b7fb03 Right folder 2021-03-22 10:31:03 +01:00
Mole 64926795bf Split Acceptance_Tests into jobs 2021-03-22 10:29:58 +01:00
Bjarke Berg a5cf66c25b Better displayNames 2021-03-22 10:23:45 +01:00
Bjarke Berg b2a62c83bb Update port 2021-03-22 10:14:45 +01:00
Bjarke Berg 7ce2bc4a56 run cypress 2021-03-22 10:09:50 +01:00
Bjarke Berg 911e0f3837 added environment variables 2021-03-22 09:58:02 +01:00
Bjarke Berg 2abdc8178f Try to run dotnet run in process 2021-03-22 09:26:40 +01:00
Bjarke BergandGitHub f8d50694dd Added TreeAlias to TreeNodesRenderingNotification (#10024) 2021-03-22 08:59:17 +01:00
Bjarke Berg c9ba15ebd4 fix indentation 2021-03-22 08:54:27 +01:00
Bjarke Berg 80aaf8b7f6 Added new stage 2021-03-22 08:52:48 +01:00
Kenn Jacobsen a55a0c9e2d Do not minify bundled CSS at runtime 2021-03-22 08:29:31 +01:00
Bjarne FyrstenborgandNathan Woulfe fe8cd239d2 Null check on scope and options to ensure backward compatibility 2021-03-22 10:20:40 +10:00
Bjarke Berg 0e4da70e23 Added nuget info 2021-03-21 12:58:39 +01:00
Bjarke Berg 2a134cf425 Clean up 2021-03-21 12:55:33 +01:00
Bjarne FyrstenborgandGitHub 046d6351d2 Copy member type (#10020)
* Add copy dialog for member type

* Implement copy action for member type

* Create specific localization for content type, media type and member type

* Handle "foldersonly" querystring

* Add button type attribute

* Add a few missing changes of anchor to button element
2021-03-21 03:09:20 +01:00
Bjarke Berg 260d0dc1da Added a new package template to the dotnet template, nad added better info for cli and vs 2021-03-19 22:06:54 +01:00
Jesper LöfgrenandMichael Latouche 691c5d38a2 Fix swedish translation for somethingElse. 2021-03-19 19:03:53 +01:00
Bjarke Berg d55a484c56 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Core/IO/SystemDirectories.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/Scoping/ScopeProvider.cs
#	src/Umbraco.Core/Services/IIconService.cs
#	src/Umbraco.Examine.Lucene/UmbracoExamineIndex.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/LegacyBackgroundTask/BackgroundTaskRunner.cs
#	src/Umbraco.Tests/Scoping/ScopeTests.cs
#	src/Umbraco.Tests/Services/ThreadSafetyServiceTest.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/IconController.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeModel.cs
#	src/Umbraco.Web/Editors/BackOfficePreviewModel.cs
#	src/Umbraco.Web/Editors/PreviewController.cs
2021-03-19 16:18:32 +01:00
Bjarke BergandGitHub 3c9fb71894 Merge pull request #9979 from umbraco/v8/feature/10613-distributed-locks
Scope locking rework
2021-03-19 13:51:05 +01:00
Mole 507c821f66 Create method for generating log message
And remove forgotten comments.
2021-03-19 13:19:39 +01:00
MoleandGitHub f5fe3086a3 Merge pull request #10012 from umbraco/netcore/feature/seperate-nuget-for-static-assets
Netcore: Separate NuGet package for the static assets
2021-03-19 10:23:51 +01:00
Bjarke BergandGitHub 0e654338a1 Merge pull request #10001 from benjaminc/netcore/bugfix/startup-emptydb
#9843 - Allow install with DB string pre-configured
2021-03-19 09:38:25 +01:00
Bjarke BergandGitHub 82c3f92b36 Merge pull request #9980 from kjac/netcore/feature/gulp-comments-and-sourcemap-dependencies
Add gulp comments and sourcemap dependencies
2021-03-19 09:13:13 +01:00
Bjarke BergandGitHub e0878e0511 Merge pull request #9977 from umbraco/netcore/support-third-party-recurring-hosted-services
Made recurring hosted service base class PerformExecuteAsync method public.
2021-03-19 08:59:17 +01:00
Mole 95f42487d4 Wrap dumping dictionaries in a method. 2021-03-19 08:37:23 +01:00
Bjarke Berg baacedd57d Fixed bug where indexes was build before application was in run state + Moved the logic to the application started event 2021-03-19 08:09:00 +01:00
Bjarke Berg f668bf060a move static assets and the target+props file to a seperate nuget. Now the root package is only referencing other packages 2021-03-19 08:08:00 +01:00
7f1d5fe7cc 8539: Allow alias in image cropper (#9266)
Co-authored-by: Owain Williams <owaingdwilliams@gmail.com>
2021-03-18 22:04:03 +00:00
Benjamin Carleski fe803697be Re-add runtime level check, only make calls in Run mode 2021-03-18 08:34:24 -07:00
bfb78e937f Netcore: Update code docs generation (#9885)
* Updated the code docs to work with new assemblies and namespaces+added conditional build to default pipeline

* updated script that generate docs to use .NET 5

* Increased timeout of docs generation + changed to 5.x instead of 5.0.x

Fixed wrong namespace, that would be we not have docs for it.

* Fixed names in toc, so they are not that long and changed ordering

* try custom hack https://github.com/dotnet/docfx/issues/1254#issuecomment-294080535

* revert nonworking hack - Divide prep steps into two.

* Changed ordering

* Try to generate docs without the build.ps1 script

* Try to generate docs without the build.ps1 script

* Try to generate docs without the build.ps1 script

* Try to remove the examine one, to test if that is the reason it fails on azure pipeline

* Try to remove the sqlce one, to test if that is the reason it fails on azure pipeline

* Reintroduce Examine and SqlCE docs, as these was not the reason it will not work on azure pipeline.

* Test if azure wanna build the docs without explicit version

* Fixed two malformed xml docs

* hardcode version of docfx, to hopefully let it pass on azure pipeline

* hardcode version of docfx, to hopefully let it pass on azure pipeline

* Restructure azure pipeline yaml to have stages as areas instead of OS

* Restructure azure pipeline yaml to have stages as areas instead of OS

* yml restructure

* yml restructure

* yml restructure

* Not hardcoding docfx as the old versions also fail on azure

* Fixed Badly formed XML comments

* moved condition from job to stage

* split build and metadata

* indentation

* removed wrong char

* Try to add more loging on azure pipeline

* include less

* include less projects

* add one more project

* More azure pipeline test

* indentation

* All except infrastructure

* publish tasks

* Fix link on logo

* Extensions also included

* Less links

* re-introduced infrastructure to the list of projects for generate docfx for.

* Add filter

* Remove single warning for xmldocs

* more logging?

* skip some things from the metadata

* test using other image

* Test if exclude filter works

* Test with more explict filters, allowing some docs from Infrastructure

* binary search for the file that is the issue

* binary search for the file that is the issue

* binary search for the file that is the issue

* Exclude more folders

* Exclude more folders and files

* Only exclude files in root of namespace?

* more filter trials

* more filter trials

* add 2 nested folders

* all cs files?

* Remove test projects

* Toc

* Update build/azure-pipelines.yml

* move display name element

* Update build/azure-pipelines.yml

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-03-18 14:48:22 +01:00
Sebastiaan Janssen 73439d4cba Fixes #9983 - Getting kicked, if document type has a Umbraco.UserPicker property (#10002)
* Fixes #9983

Temporary fix for this issue. using the entityservice like before.

* Needed to remove the call to usersResource here as well for displaying the picked items

* Don't need usersResource for now

(cherry picked from commit 45de0a101e)
2021-03-18 13:08:33 +01:00
Sebastiaan JanssenandGitHub 45de0a101e Fixes #9983 - Getting kicked, if document type has a Umbraco.UserPicker property (#10002)
* Fixes #9983

Temporary fix for this issue. using the entityservice like before.

* Needed to remove the call to usersResource here as well for displaying the picked items

* Don't need usersResource for now
2021-03-18 13:01:46 +01:00
Bjarke BergandGitHub 48eff10696 Merge pull request #9990 from umbraco/netcore/feature/in-memory-runtime-minifier
Ability to have an in-memory runtime minifier cache and configurable cache busters
2021-03-18 11:36:28 +01:00
Mole 8f50bdbef4 Apply suggestions from review 2021-03-18 11:24:14 +01:00
Bjarke BergandSebastiaan Janssen e17bf386a4 Merge pull request #9994 from umbraco/v8/bugfix/9993
Fixes #9993 - Cannot save empty image in Grid

(cherry picked from commit 0ecc933921)
2021-03-18 10:59:36 +01:00
Bjarke BergandGitHub 6b7cc065e9 Merge pull request #9996 from umbraco/netcore/notifications/packaging-service
Events to Notifications Migration: Packaging Service
2021-03-18 10:32:40 +01:00
Bjarke Berg c6d647149c Moved files to core to enable reuse + use them 2021-03-18 09:43:00 +01:00
Bjarke BergandGitHub 0ecc933921 Merge pull request #9994 from umbraco/v8/bugfix/9993
Fixes #9993 - Cannot save empty image in Grid
2021-03-18 09:28:58 +01:00
MoleandGitHub 4b244686b0 Merge pull request #9951 from umbraco/netcore/feature/database-server-messenger-service-repo
Netcore: create service/repo and remove SQL calls from DatabaseServerMessenger
2021-03-18 08:41:06 +01:00
Bjarke Berg 7193486b77 Fix unit tests 2021-03-18 08:38:57 +01:00
Bjarke Berg 6ce3a5f2a9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/members-roles-save
# Conflicts:
#	src/Umbraco.Infrastructure/Security/MemberUserStore.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/MemberControllerUnitTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
2021-03-18 08:27:17 +01:00
Bjarke Berg ed931a9629 Fix build 2021-03-18 08:26:28 +01:00
Shannon DeminickandGitHub 8c66470d65 Merge pull request #9902 from emmagarland/netcore/members-passwordchange-temp
Update to enable members to use the same password change as users
2021-03-18 17:40:19 +11:00
Shannon eccbb32f42 Fixes build and tests 2021-03-18 16:36:23 +11:00
Shannon 3350611b16 removes section check since it's already handled by authz policies 2021-03-18 16:03:04 +11:00
Shannon 36f911b66f Ensure IsApproved is persisted with MembersUserStore, Update member done in a trans and in specific steps, calls to SetLockoutEndDateAsync more safely with time before now. 2021-03-18 15:57:53 +11:00
Jeavon LeopoldandMichael Latouche 2b9eaeee8a Fix for #9950 - HttpsCheck will now retry using the login background image if inital request returns 301/302. Excessvie Headers check will now check the root url instead of the backoffice 2021-03-18 02:54:07 +01:00
Markus JohanssonandMichael Latouche 3004e00b4f #9964 Removed unneeded check for HttpContext 2021-03-18 02:16:08 +01:00
Benjamin Carleski 3be00ceb4f #9843 - Allow install with DB string pre-configured 2021-03-17 11:50:23 -07:00
Emma Garland 88820d082b Setup for mocking 2021-03-17 18:28:56 +00:00
Emma Garland 72f83e50d8 Changed param for UserManager 2021-03-17 18:04:54 +00:00
Emma Garland e7e5e18b19 Fixed merge issues 2021-03-17 17:44:49 +00:00
Sebastiaan Janssen 548435dcc3 Bump version to 8.12.2 2021-03-17 17:40:47 +01:00
Nathan WoulfeandSebastiaan Janssen e7a1db5604 Add images in grid - fixes 9982 (#9987)
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
(cherry picked from commit e2019777fb)
2021-03-17 17:38:55 +01:00
Andy Butland 0c4b2604ff Revert "Updated "messaging" repositories (NotificationsRepository and CacheInstructionRepository) to use scopes provided as method parameters."
This reverts commit b69b4ad7b8.
2021-03-17 15:56:22 +01:00
Elitsa Marinovska 3393ac8d03 Adds additional params indicating whether user is admin 2021-03-17 14:05:47 +01:00
Elitsa Marinovska ab16a408a8 Adds a config for configuring the access rules on the content dashboard - by default it granted for all user groups 2021-03-17 14:04:48 +01:00
Warren Buckley 2901cb10f8 Remove last static event and implement canceable notification where users are able to cancel the import process 2021-03-17 12:57:24 +00:00
Mole c504e3ab7e Clean 2021-03-17 13:40:14 +01:00
Mole 9bd1b06eaf Only create the dicts and hashset when a lock is requested 2021-03-17 13:09:45 +01:00
e2019777fb Add images in grid - fixes 9982 (#9987)
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2021-03-17 12:54:38 +01:00
Kenn Jacobsen 7a5af55cac Reintroduce and obsolete static events for use in the distributed cache + added some accidentally removed scope completions 2021-03-17 12:47:16 +01:00
Warren Buckley 8563643e80 Imported & Importing events. Only the Importing event can be cancelled & stop execution in package service 2021-03-17 10:18:56 +00:00
Warren Buckley 657fc2d83b Cant cancel an Uninstall so make it a normal notification 2021-03-17 10:17:56 +00:00
Warren Buckley 9c42d4792e Remove old events 2021-03-17 10:17:05 +00:00
Mole 54a4a76efb Use a hashset to keep track of acquired locks
This simplifies disposing/checking for locks greatly.
2021-03-17 11:10:34 +01:00
Warren Buckley 1b12e368b2 Adds ImportPackageNotification/Event 2021-03-17 09:51:43 +00:00
Michael LatoucheandGitHub 156c1c9416 Revert "The Value() method for IPublishedContent was not working with the defaultValue parameter" (#9989) 2021-03-17 10:29:31 +01:00
Mole 3b83b7409e Clean 2021-03-17 10:08:08 +01:00
Sebastiaan Janssen cf4c163131 Fixes #9993 - Cannot save empty image in Grid 2021-03-17 09:58:17 +01:00
Mole aa6d046efe Remove scope from method that calls another method that has a scope 2021-03-17 09:43:36 +01:00
Andy Butland 9465a46605 Removed unnecessary private setters. 2021-03-17 09:03:49 +01:00
Shannon DeminickandGitHub 22f78ff154 Merge pull request #9968 from umbraco/netcore/feature/9623-external-login-token-store
New table and service to store auth tokens
2021-03-17 18:04:42 +11:00
Shannon DeminickandGitHub cb3ea50a37 Merge branch 'netcore/dev' into netcore/feature/in-memory-runtime-minifier 2021-03-17 18:00:26 +11:00
Shannon a3b4bb7bd9 oops didn't mean to commit that 2021-03-17 17:56:40 +11:00
Shannon 1a2d8623e6 oops didn't mean to commit that 2021-03-17 17:55:45 +11:00
Shannon eba659b9ee Gets in-memory runtime minifiy cache working, ensures no files can be accessed at the root, adds config to enable in-memory and configure a cache buster including a timestamp cache buster. 2021-03-17 17:44:52 +11:00
Bjarne FyrstenborgandNathan Woulfe 1570d49d05 Remove unnecessary aria-hidden attribute from <umb-icon> 2021-03-17 07:21:39 +10:00
Emma Garland 92c8901b58 Merge branch 'netcore/members-roles-save' into netcore/members-signin-manager
# Conflicts:
#	src/Umbraco.Web.Common/Security/MemberManager.cs
2021-03-16 17:55:24 +00:00
Emma Garland fa1499333f Merge branch 'netcore/dev' into netcore/members-roles-save
# Conflicts:
#	.gitignore
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Security/MemberIdentityUserManagerTests.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Security/MemberManager.cs
2021-03-16 17:48:40 +00:00
Emma Garland b1a955f444 Merge branch 'netcore/dev' into netcore/members-passwordchange-temp
# Conflicts:
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:46:04 +00:00
Andy Butland b69b4ad7b8 Updated "messaging" repositories (NotificationsRepository and CacheInstructionRepository) to use scopes provided as method parameters. 2021-03-16 17:30:00 +01:00
Warren Buckley b60c0377fb Uninstall package event/notificiation ported 2021-03-16 16:13:15 +00:00
Kenn Jacobsen 3018e1ba89 Removed events from integration test 2021-03-16 16:45:26 +01:00
Mole 637e85ebbb Autocomplete scopes 2021-03-16 14:23:09 +01:00
Mole 68c4ce2008 Wrap calls to map in scopes 2021-03-16 14:18:17 +01:00
Bjarke Berg 1a573fcb75 Review fixes https://github.com/umbraco/Umbraco-CMS/pull/9968 2021-03-16 10:44:55 +01:00
Kenn Jacobsen 152dc7a5b9 A little reformatting and removal of unused usings 2021-03-16 09:59:44 +01:00
Kenn Jacobsen ef178c5606 Use explicitly typed notifications instead of generic ones 2021-03-16 09:21:27 +01:00
Shannon 2d14d0bd4a oops didn't mean to commit that 2021-03-16 19:20:29 +11:00
Shannon ecbd6d1c81 Adds better support for app_plugins loading assets in a safer way and without having to pass refs 2021-03-16 19:19:03 +11:00
Bjarke BergandGitHub 836f4a9203 Merge branch 'netcore/dev' into netcore/feature/9623-external-login-token-store 2021-03-16 09:15:53 +01:00
Bjarke Berg a356584eb6 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/9623-external-login-token-store
# Conflicts:
#	src/Umbraco.Infrastructure/Configuration/JsonConfigManipulator.cs
2021-03-16 09:14:05 +01:00
Bjarke BergandGitHub 55de69b647 Merge pull request #9961 from umbraco/netcore/feature/appsettings-local
Allow for having appsettings.local.json
2021-03-16 09:12:13 +01:00
Kenn Jacobsen 0db4e30fcf Merged with netcore/dev 2021-03-16 08:53:32 +01:00
Kenn Jacobsen 93b6d31d71 Include sourcemaps for minified dependencies 2021-03-16 08:22:07 +01:00
Kenn Jacobsen 84d71a1237 Add a few comments about why we're renaming JS files during un-minified build 2021-03-16 08:21:09 +01:00
Bjarke BergandGitHub 375609bc6e Update src/Umbraco.Web.UI.NetCore/appsettings.json 2021-03-16 08:05:33 +01:00
Shannon 670bea81d1 Merge branch 'netcore/dev' into netcore/feature/in-memory-runtime-minifier
# Conflicts:
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:49:05 +11:00
Bjarke BergandGitHub c30f5084d7 Merge pull request #9937 from kjac/netcore/feature/content-and-media-services-without-static-events
Remove static events from ContentService and MediaService
2021-03-16 07:48:57 +01:00
Shannon bd08adf2c7 Merge branch 'netcore/dev' of https://github.com/umbraco/Umbraco-CMS into netcore/dev 2021-03-16 17:23:55 +11:00
Shannon cec1440b64 Merge branch 'kjac-netcore/bug/minify-plugins' into netcore/dev 2021-03-16 17:23:21 +11:00
Shannon e993410d2c Merge branch 'netcore/bug/minify-plugins' of https://github.com/kjac/Umbraco-CMS into kjac-netcore/bug/minify-plugins
# Conflicts:
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-16 17:22:25 +11:00
Shannon 193bf6c51e starts getting the in-memory runtime min working 2021-03-16 17:15:40 +11:00
Kenn Jacobsen 7593ddfaa8 Explicitly typed notifications instead of generic ones 2021-03-16 06:55:55 +01:00
Bjarke BergandGitHub 604cf69275 Merge pull request #9974 from umbraco/netcore/feature/migrate-cache-refresher-events-to-event-aggregator-pattern
Netcore: Migrate cache refresher events to IEventAggregator pattern
2021-03-16 06:44:26 +01:00
patrickdemooij9andGitHub f7c032af65 Add copy logic to Media Picker (#9957)
* Add copy logic to Media Picker

* Add action for copy all

* Fix for selectable media item
2021-03-16 09:28:51 +10:00
Kenn Jacobsen 2e8f5fef6a Fix typo 2021-03-15 18:36:13 +01:00
Andy Butland 622127c19f Removed some commented out code. 2021-03-15 17:19:18 +01:00
Andy Butland b52f437c4f Removed unused variable. 2021-03-15 17:16:03 +01:00
b3578b0cb8 Apply suggestions from code review
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-03-15 17:13:12 +01:00
Bjarke BergandGitHub ed5fffac0c Merge pull request #9922 from kjac/netcore/feature/remove-backofficeusermanager-static-events
Replace static backoffice user manager events with IEventAggregator notifications
2021-03-15 15:49:09 +01:00
Bjarke Berg d8c7193eef Fixed issue with multiple threads reading the appSettings file at the same time, by locking (Found when site has to upgrade) 2021-03-15 15:00:58 +01:00
Bjarke Berg f47298d2db Removed unused code 2021-03-15 15:00:01 +01:00
Warren Buckley fa11a812a0 Fix karma.conf JS test for folder names to make UNIX tests pass 2021-03-15 13:41:14 +00:00
Bjarke Berg b82ea437b7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/remove-backofficeusermanager-static-events 2021-03-15 14:35:46 +01:00
653bf52a1c Adds additional error checking and reporting to MainDom/SqlMainDomLock (#9954)
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-15 13:49:37 +01:00
Mole d1afb6eabc Merge remote-tracking branch 'origin/v8/dev' into v8/feature/10613-distributed-locks 2021-03-15 13:19:36 +01:00
d0f047e729 Fixes and Updates for DB Scope and Ambient Context leaks (#9953)
* Adds some scope tests (ported back from netcore) and provides a much better error message, ensure execution context is not flowed to child tasks that shouldn't leak any current ambient context

* updates comment

* Ensure SqlMainDomLock suppresses execution context too

* Since we're awaiting a task in a library method, ConfigureAwait(false)

* missing null check

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-15 12:56:38 +01:00
Emma Garland 3fd7869948 Merge branch 'netcore/members-roles-save' into netcore/member-signin-manager 2021-03-15 10:58:04 +00:00
Mole 92fd9ff685 Clean 2021-03-15 11:31:23 +01:00
Bjarke Berg 64131f3de4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2021-03-15 11:17:46 +01:00
Bjarke Berg 4ad48321b9 Remove debugger break/launch 2021-03-15 11:17:23 +01:00
Emma Garland b863e3f21d Merge branch 'netcore/dev' into netcore/members-roles-save 2021-03-15 10:12:28 +00:00
Emma Garland 4ae086bf20 Merge branch 'netcore/dev' into netcore/members-passwordchange-temp 2021-03-15 10:12:08 +00:00
Emma Garland 5c6b8fe2bc Added security logic previously added to PasswordChanger 2021-03-15 09:01:10 +00:00
Mole ef59829489 Throw error if all scopes hasn't been disposed 2021-03-15 08:54:52 +01:00
Mole cee33e863e Fix errors shown in unit tests 2021-03-15 08:38:23 +01:00
Andy Butland 5fc9b2e259 Made recurring hosted service base class PerformExecuteAsync method public to support use of this class by packages nad custom solutions. 2021-03-15 07:49:33 +01:00
0374f6c2f5 Update src/Umbraco.Web.Common/ModelsBuilder/DependencyInjection/UmbracoBuilderDependencyInjectionExtensions.cs
Co-authored-by: Shannon Deminick <sdeminick@gmail.com>
2021-03-15 06:32:40 +01:00
Shannon DeminickandGitHub ada5599a83 Merge pull request #9839 from kjac/netcore/feature/minify-js-resources
Do not apply runtime optimization to core scripts and script libraries
2021-03-15 15:08:35 +11:00
Shannon db863b3250 missing namespace after file split. 2021-03-15 13:45:09 +11:00
Shannon 4071df322a Adds missing null check on tagHelperOutput.TagName which can be null 2021-03-15 13:40:00 +11:00
Shannon f03fc25b4c Splits into files, adds ICacheRefresherNotificationFactory, removes Init method 2021-03-15 13:39:34 +11:00
ShannonandMichael Latouche b7c1ad2298 Fix dead lock with TypeLoader 2021-03-15 02:23:55 +01:00
Shannon DeminickandGitHub 71e59e2ba8 Update .gitignore 2021-03-15 11:35:09 +11:00
emmagarland 76e0f84748 Amendments to tests for mocking 2021-03-14 22:19:27 +00:00
emmagarland a260bc37a8 Fixed unit tests to use correct store, added IPResolver 2021-03-14 21:59:30 +00:00
Callum WhyteandNathan Woulfe 5ee0f310c9 Counting Umbraco.ModelsBuilder and ModelsBuilder.Umbraco namespaces as external providers 2021-03-15 07:46:58 +10:00
emmagarland de390be2b8 Added SignInManager for members and related unit tests (in progress) 2021-03-14 18:58:33 +00:00
emmagarland dccce92cb3 Updated the user and roles to throw exceptions instead of being caught, as per PR feedback 2021-03-14 15:14:53 +00:00
Bjarke Berg 86eb87a885 Clean up 2021-03-12 22:09:51 +01:00
Bjarke Berg e77d2d58c2 Clean up 2021-03-12 22:03:30 +01:00
Bjarke Berg abf11c2d62 Fixed issue with BackOfficeIdentity. Previews did not work, because we did not check for multiple identities on the priciple, after the move the pure ClaimsIdentity 2021-03-12 21:50:47 +01:00
Bjarke Berg 06a202e30e Migrated CacheRefresher events to IEventAggregator pattern. 2021-03-12 21:49:42 +01:00
Emma Garland 8535a2915c Changed wording, PR feedback 2021-03-12 15:21:56 +00:00
Emma Garland 9e867eeeef Changes as per PR comments from Scott Brady 2021-03-12 15:05:50 +00:00
Emma Garland 8ed67aa14a Merge branch 'netcore/members-passwordchange-temp' into netcore/members-roles-save 2021-03-12 14:39:24 +00:00
Emma Garland aa4947913e Merge branch 'netcore/dev' into netcore/members-passwordchange-temp
# Conflicts:
#	src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
2021-03-12 14:29:35 +00:00
Bjarke Berg 57386c8fbc change table name prefix for LogViewerQuery 2021-03-12 13:33:38 +01:00
Mole ea816e8110 Add more unit tests, showing current issue 2021-03-12 13:30:25 +01:00
Bjarke Berg e20f73ba71 post merge fix 2021-03-12 13:10:55 +01:00
Mole 5c7e4f8dde Adjust unit tests and apply fixes to scope 2021-03-12 13:10:17 +01:00
Bjarke Berg b94cc517fc Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/9623-external-login-token-store
# Conflicts:
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
2021-03-12 13:04:46 +01:00
Bjarke BergandGitHub fca6fb2a44 Merge pull request #9970 from umbraco/netcore/feature/reintroduce-friendly-bun-untestable-published-content-extensions
Netcore: Reintroduce friendly bun untestable published content extensions
2021-03-12 13:02:41 +01:00
Bjarke Berg ba1ea34b4b Merge remote-tracking branch 'origin/netcore/feature/reintroduce-friendly-bun-untestable-published-content-extensions' into netcore/feature/reintroduce-friendly-bun-untestable-published-content-extensions 2021-03-12 11:58:08 +01:00
Bjarke Berg 8332b3219b bugfix in snippet 2021-03-12 11:57:56 +01:00
9a180c1685 Update src/Umbraco.Web.Common/DependencyInjection/StaticServiceProvider.cs
Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-03-12 11:48:23 +01:00
Bjarke Berg aa34f32990 bugfix 2021-03-12 11:38:28 +01:00
Bjarke Berg b71e469854 Added missing extensions 2021-03-12 11:25:58 +01:00
Sebastiaan Janssen 9b39bfbf51 Merge branch 'v8/dev' into v8/contrib 2021-03-12 09:30:30 +01:00
Sebastiaan Janssen ef60a98fe1 Merge branch 'v8/8.12' into v8/dev 2021-03-12 09:29:44 +01:00
Bjarke BergandSebastiaan Janssen 83719f3505 Fix issue with SqlMainDomLock that cannot use implicit lock timeouts … (#9973)
(cherry picked from commit da5351dfcf)
2021-03-12 09:28:45 +01:00
Bjarke BergandGitHub da5351dfcf Fix issue with SqlMainDomLock that cannot use implicit lock timeouts … (#9973) 2021-03-12 09:23:32 +01:00
Justin ShearerandGitHub 85e6a1149e [Issue 5277-146] accessibility - Close 'X' icon next to language drop… (#9264)
* [Issue 5277-146] accessibility - Close 'X' icon next to language drop down is identified as "link" - screen reader

* add new loacalization key
2021-03-12 09:18:32 +01:00
Shannon 141af1fd4f Adds logic to remove duplicates before adding the unique indexes. 2021-03-12 13:24:35 +11:00
Mole 498a5e0c66 Initial rework of Lock dictionaries 2021-03-11 15:52:14 +01:00
Sebastiaan Janssen e0604e0a53 Merge branch 'v8/8.11' into v8/8.12 and bump version to 8.12.1
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:55:13 +01:00
Sebastiaan Janssen e5aaa20863 Merge branch 'v8/8.10' into v8/8.11 and bump version to 8.11.2
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:52:58 +01:00
Sebastiaan Janssen 3a5327a84d Merge branch 'v8/8.9' into v8/8.10 and bump version to 8.10.3
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:50:35 +01:00
Sebastiaan Janssen e75895ce48 Merge branch 'v8/8.8' into v8/8.9 and bump version to 8.9.3
# Conflicts:
#	src/SolutionInfo.cs
2021-03-11 14:47:33 +01:00
Bjarke BergandGitHub 1b7cc659aa Merge pull request #9942 from umbraco/netcore/feature/individual-nuget-pr-assembly
Netcore: Individual nuget  packages for each assembly
2021-03-11 14:19:24 +01:00
Bjarke Berg d777d7dded Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/individual-nuget-pr-assembly 2021-03-11 13:48:14 +01:00
Mole c69a89baf1 Merge branch 'v8/dev' into v8/feature/10613-distributed-locks 2021-03-11 13:43:07 +01:00
Bjarke Berg 774ea529f5 Fxi version 2021-03-11 13:36:04 +01:00
Bjarke Berg 89cc2d31d5 Fix build script after removale of old nuspec files 2021-03-11 13:29:31 +01:00
2b89839724 Netcore: Get rid of default files in config folder (#9966)
* TourController now uses the core tours from embedded resources

* Moved tinyMceConfig.*.config to IOptions

* Embedded the default grid.editors.config.js

* Fixed issue when saving grid with an empty media cell

* Logviewer now uses sql as database instead of file.

* Remove config folder from build script and nuget pacakges.

* Removing auto-generated Id added to appsettings.json

* Update src/Umbraco.Web.BackOffice/Controllers/TourController.cs

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2021-03-11 13:20:46 +01:00
Bjarke Berg 77be21d2d9 Merge remote-tracking branch 'origin/netcore/feature/individual-nuget-pr-assembly' into netcore/feature/individual-nuget-pr-assembly 2021-03-11 13:15:46 +01:00
Bjarke Berg 9ce475afa5 Do not reference System.Configuration.ConfigurationManager just because of an exception. And moved the reference to lucene to be safe 2021-03-11 13:14:28 +01:00
77fc623c9a Update src/Umbraco.Examine.Lucene/Umbraco.Examine.Lucene.csproj
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-03-11 11:35:54 +01:00
Bjarke Berg 1b5eb1ec20 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/reintroduce-friendly-bun-untestable-published-content-extensions 2021-03-11 11:35:48 +01:00
Bjarke Berg c9bd3ed653 Change namespace 2021-03-11 11:35:41 +01:00
Bjarke Berg 8d743cbe2c Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/individual-nuget-pr-assembly 2021-03-11 10:33:48 +01:00
Kenn Jacobsen 98c1fedcd9 Merged with netcore/dev 2021-03-11 10:12:22 +01:00
Shannon e4807c2430 New table and service to store auth tokens
Implements the auth token retrieval and storage for the identity implementation. This is now automatically done for providers and the back office user manager can be used to retreive and store all tokens.

Fixes locking on the config writer.

Removes the abstract NodeObjectTypeId from the base repo since it shouldn't be there.
2021-03-11 19:35:43 +11:00
Bjarke BergandGitHub 91e877cebe Merge pull request #9849 from kjac/netcore/bug/preview
Preview does display draft versions
2021-03-11 08:41:21 +01:00
Shannon DeminickandGitHub e6f73b26ce Update src/Umbraco.Web.UI.NetCore/appsettings.json 2021-03-11 14:09:23 +11:00
Bjarke Berg 78d8f0bacf Fix Deserialization of defaultConfig from package.manifest 2021-03-10 21:13:13 +01:00
Bjarke Berg 88e92a0360 Fix Deserialization of defaultConfig from package.manifest 2021-03-10 19:32:56 +01:00
Bjarke BergandGitHub 8cd41ab36a Merge pull request #9924 from umbraco/v8/feature/10613-distributed-locks
Change scope to only acquire distributed locks once in a scope chain.
2021-03-10 15:51:04 +01:00
Bjarke BergandGitHub 5a8d3d167a Merge pull request #9965 from umbraco/netcore/bugfix/AB10799-fix-authorization-policies-bound-to-translation-section
NetCore: Fix authorization policies bound to Translation section
2021-03-10 15:32:32 +01:00
Elitsa Marinovska 63d7d23cd7 Revert changes to default appsettings.json 2021-03-10 14:42:31 +01:00
Elitsa Marinovska 1e480abfc8 Remove duplicated TreeAccessDocumentTypes policy and fixed the one for TreeAccessDictionary 2021-03-10 14:40:25 +01:00
Bjarke BergandGitHub 8bc637090e Error handling issue fix
Add the option to configure some pipeline that executes before Umbraco in the StartupFilter. AB10786
2021-03-10 12:50:27 +01:00
Bjarke BergandGitHub d33bc12fd1 Merge pull request #9943 from umbraco/netcore/feature/merge-v8-05032021
Netcore: Merge v8 05032021
2021-03-10 08:07:53 +01:00
Bjarke BergandGitHub bec0e09aed Update src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeSecurityStampValidatorOptions.cs 2021-03-10 07:26:46 +01:00
Shannon 52812672fc Allow for having appsettings.Local.json
this file is not checked in and can be used to overwrite any custom settings that are in the repo without worrying about accidentally checking in developer settings as you work.
2021-03-10 15:22:45 +11:00
Shannon a94c35ccc0 Fix dead lock with TypeLoader 2021-03-10 14:56:19 +11:00
Shannon 87749b5078 Ensures claims continue to flow even after the security stamp validator executes. 2021-03-10 14:46:51 +11:00
Shannon 52182ebbf5 Fixes logging for PublishedRouter 2021-03-10 12:08:20 +11:00
Andy Butland 3767ba41e9 Reworked initialization to keep all file read/write within the lock. 2021-03-09 18:00:31 +01:00
Sebastiaan Janssen a997f0c1e5 Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2021-03-09 15:02:46 +01:00
Sebastiaan Janssen 44e68543d4 Merge branch 'v8/8.12' into v8/dev 2021-03-09 14:56:26 +01:00
Sebastiaan Janssen e43ff6cff1 Merge branch 'v8/8.11' into v8/8.12 2021-03-09 14:55:50 +01:00
Sebastiaan Janssen 5582b09614 Merge branch 'v8/8.10' into v8/8.11 2021-03-09 14:55:25 +01:00
Sebastiaan Janssen 8f59bbc3b3 Merge branch 'v8/8.9' into v8/8.10 2021-03-09 14:55:05 +01:00
Sebastiaan Janssen c474f41b86 Merge branch 'v8/8.8' into v8/8.9 2021-03-09 14:54:31 +01:00
Sebastiaan Janssen 7dc95b55d3 Merge branch 'v8/8.11' into v8/8.12
# Conflicts:
#	src/Umbraco.Web/Services/IconService.cs
2021-03-09 14:51:54 +01:00
Sebastiaan Janssen edab3507ec Merge branch 'v8/8.10' into v8/8.11 2021-03-09 14:49:08 +01:00
Sebastiaan Janssen 1d3d83466c Merge branch 'v8/8.9' into v8/8.10 2021-03-09 14:48:22 +01:00
Sebastiaan Janssen 4481e90f10 Merge branch 'v8/8.8' into v8/8.9
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2021-03-09 14:33:01 +01:00
8e01ac30d6 Cache the SVG icons serverside to boost performance (#9200)
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-09 12:58:10 +01:00
Bjarke Berg d5fb31b3a2 Reintroduce tests 2021-03-09 11:32:23 +01:00
Bjarke Berg 9153715432 Post merge fixes 2021-03-09 11:15:55 +01:00
Emma Garland 216d6349d9 Merge branch 'netcore/dev' into netcore/members-roles-save 2021-03-09 10:15:02 +00:00
Emma Garland 4873ecc0f9 Deleted unwanted extra method 2021-03-09 10:13:44 +00:00
Bjarke Berg 1aa8d3aa09 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/merge-v8-05032021
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web/Editors/Filters/UserGroupValidateAttribute.cs
#	src/Umbraco.Web/Editors/PasswordChanger.cs
#	src/Umbraco.Web/Editors/UserGroupsController.cs
2021-03-09 10:08:53 +01:00
Mole adf504c20c Fix IncrementRequestedWriteLock 2021-03-09 09:33:34 +01:00
Bjarke Berg d81874aee3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/merge-v8-05032021
# Conflicts:
#	src/Umbraco.Infrastructure/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
#	src/Umbraco.Infrastructure/Search/ExamineComponent.cs
2021-03-09 09:31:55 +01:00
Bjarke BergandGitHub 5fee73f50d Merge pull request #9926 from umbraco/netcore/bugfix/10196-ambient-scope
Fixes ExecutionContext flowing to child threads (Ambient Scope issues)
2021-03-09 09:12:43 +01:00
Shannon a40b754636 merge issue 2021-03-09 18:30:20 +11:00
b554aa9484 Apply suggestions from code review
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-03-09 08:22:16 +01:00
Mole 6898fd2784 Only lock once when decrementing 2021-03-09 08:19:40 +01:00
Kenn Jacobsen 239edaa952 Missing file commit 2021-03-09 08:01:19 +01:00
Kenn Jacobsen 5bca41a51c Merge branch 'netcore/feature/content-and-media-services-without-static-events' into netcore/temp/member-publicaccess-user-services-without-static-events 2021-03-09 07:59:05 +01:00
Kenn Jacobsen 5a12255a4a Merge branch 'netcore/dev' into netcore/feature/content-and-media-services-without-static-events 2021-03-09 07:54:30 +01:00
Kenn Jacobsen eb74f74c91 Replace static events with notifications in MemberService, PublicAccessService and UserService, and clean up unused components etc. 2021-03-09 07:52:32 +01:00
Shannon 0b6d99c23a oops, forgot commit 2021-03-09 17:50:43 +11:00
Shannon a668e9aa07 Fixup package refs and nuspecs, remove IDisposeOnRequestEnd 2021-03-09 13:12:52 +11:00
Shannon 6dd5714923 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
# Conflicts:
#	src/Umbraco.Web.Common/UmbracoContext/UmbracoContext.cs
2021-03-09 12:52:15 +11:00
Shannon DeminickandGitHub 32d75b16af Merge pull request #9916 from umbraco/netcore/bugfix/AB10710_UmbracoContext_should_not_use_IBackOfficeSecurity
Netcore: Fix coupling between IBackOfficeSecurity and IUmbracoContext
2021-03-09 12:49:53 +11:00
e8cc0fcac5 Update src/Umbraco.Web.Common/Cache/HttpContextRequestAppCache.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-03-09 12:47:13 +11:00
Shannon 78f5b2f0d7 removes double httpcontextaccessor registration and updates test notes. 2021-03-09 12:45:51 +11:00
Bjarke Berg 6d293c6ffd Fixed null ref exception 2021-03-08 21:37:31 +01:00
Bjarke Berg 49bb5ee4b7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/AB10710_UmbracoContext_should_not_use_IBackOfficeSecurity 2021-03-08 21:27:40 +01:00
Emma Garland 1a7bc6aa75 Corrected formatting and removed unwanted commented out code 2021-03-08 17:26:53 +00:00
Emma Garland 1df78c1321 Updates to unit store tests and managing null username in members user store 2021-03-08 17:12:30 +00:00
Andy Butland 6422a9a58c Further integration tests for CacheInstructionService. 2021-03-08 17:39:41 +01:00
Andy Butland a8ff1952c3 Added integration tests for CacheInstructionService. 2021-03-08 17:23:01 +01:00
745014a4c3 User manager related updates (#9935)
* Only allow not-admins to assign groups they have themselves

* Only admins is allowed to change password of other admins

* Fixed issue with deep clone of UserGroup. The Allowed sections was not cloned. This resulted in the allowed sections of the object stored in cache was updated, everytime we changed the allowed sections on an object cloned from the cache. Even if we did not save it.

* Only Admins are allowed to add sections to a user group, that they don't have access to themselves

* Align backend code with UI. User managers that is are not admin, can only assign the same groups new users, that they have themselves.

* Make existingGroupAliases and empty array when creating a new user

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2021-03-08 13:26:52 +01:00
Sebastiaan Janssen 4916c64848 Merge branch 'v8/dev' into v8/contrib 2021-03-08 12:29:14 +01:00
Sebastiaan Janssen 4a8a73f03d Merge branch 'v8/8.12' into v8/dev 2021-03-08 12:28:55 +01:00
Sebastiaan Janssen 49435708a5 Merge branch 'v8/8.11' into v8/8.12 2021-03-08 12:28:21 +01:00
Sebastiaan Janssen 8b04c32dff Merge branch 'v8/8.10' into v8/8.11 2021-03-08 12:27:42 +01:00
Lars-Erik AabechandSebastiaan Janssen fc447bb101 Should allow grid editors to use hash based settings (#9837)
* Should allow grid editors to use hash based settings

* Swap to using vm in grid config controller, as well as showing button when there's map settings

* Included keys for styles in empty state check for grid settings

* converted the code into more AngularJS performant code

* Remove rogue change to grid.editors.config

* use watchCollection instead

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
(cherry picked from commit 008827f785)
2021-03-08 12:27:06 +01:00
008827f785 Should allow grid editors to use hash based settings (#9837)
* Should allow grid editors to use hash based settings

* Swap to using vm in grid config controller, as well as showing button when there's map settings

* Included keys for styles in empty state check for grid settings

* converted the code into more AngularJS performant code

* Remove rogue change to grid.editors.config

* use watchCollection instead

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-03-08 12:23:03 +01:00
Kenn Jacobsen 78bb319c79 Re-introduce state in notifications and utilize it in content and media service 2021-03-08 11:01:14 +01:00
Bjarke Berg cf5d000d90 Raise UmbracoApplicationStarting after unattended upgrade 2021-03-08 10:19:17 +01:00
Sebastiaan Janssen 64105be274 Merge branch 'v8/dev' into v8/contrib 2021-03-08 10:09:08 +01:00
Sebastiaan Janssen b59026ae5c Merge branch 'v8/8.12' into v8/dev 2021-03-08 10:08:36 +01:00
Sebastiaan Janssen c36a2bced6 Merge branch 'v8/8.11' into v8/8.12 2021-03-08 10:08:01 +01:00
Sebastiaan Janssen 0386a311d7 Merge branch 'v8/8.10' into v8/8.11 2021-03-08 10:07:40 +01:00
Sebastiaan Janssen 5825aa5dee Merge branch 'v8/8.9' into v8/8.10 2021-03-08 10:07:08 +01:00
Sebastiaan Janssen ac41c5451e Merge branch 'v8/8.8' into v8/8.9 2021-03-08 10:06:37 +01:00
Bjarke Berg 72411aa1a1 Add nice error page for boot, like in v8 2021-03-08 10:03:36 +01:00
af65810048 no need to prevent or stop propagation on this. (#9933)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-03-08 09:44:33 +01:00
Shannon a07728f8db Starts removing usage of CallContext and some cleanup 2021-03-08 17:08:15 +11:00
Bjarke Berg a86054e487 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/merge-v8-05032021 2021-03-08 07:01:19 +01:00
Shannon 29901f9ecf minor cleanup 2021-03-08 13:42:51 +11:00
Shannon 8c88c3e00f Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
# Conflicts:
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
2021-03-08 13:33:07 +11:00
Shannon 455181dbb4 Fixing tests 2021-03-08 12:31:17 +11:00
Bjarke BergandGitHub e7176164b1 Merge pull request #9934 from umbraco/netcore/unattended-user-create
Unattended Install - Automated User Creation
2021-03-07 20:25:40 +01:00
Andy Butland dc21e9ee8a Added integration tests for CacheInstructionRepository. 2021-03-07 19:35:36 +01:00
Bjarke Berg 24d4b4c9fb Added validation and moved Unattended Settings into their own model. + Added DataAnnonation validation on all our settings 2021-03-07 19:20:16 +01:00
emmagarland a53688c503 Fixed logic for groups. 2021-03-07 15:58:11 +00:00
emmagarland 401f713ca5 Updated logic in member group controller to ensure group is saved when new 2021-03-07 15:21:49 +00:00
Andy Butland 6db390e1d5 Broke out SQL calls in DatabaseServerMessenger and BatchedDatabaseServerMessenger into a service and repository layer. 2021-03-07 12:30:40 +01:00
Emma Garland abd92baffd Merge branch 'netcore/dev' into netcore/members-roles-save 2021-03-07 10:50:29 +00:00
b770bdb93e Make properties full width in small infinite editors (#9812)
* Make properties in small infinite editors full width

* bump specificity

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-07 09:39:48 +10:00
emmagarland 5051f8160f Remove unecessary check for int 2021-03-06 23:13:15 +00:00
Ronald BarendseandNathan Woulfe 678434a561 Remove orderBy filter for languages/variants 2021-03-07 09:09:41 +10:00
emmagarland 4e9423687c Changed controller to use role manager. Updated mapping. Don't commit test database. 2021-03-06 23:09:19 +00:00
4f823093f3 9940: Make sure that ordering is correct (#9944)
* 9940: Make sure that ordering is correct

* 9940: Removed unnecessary ordering

* replace i with umb-icon directive

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-03-07 08:35:41 +10:00
emmagarland fa684222e8 Updated unit tests 2021-03-06 18:57:54 +00:00
emmagarland df25e6ea53 Fixed test 2021-03-06 13:53:09 +00:00
emmagarland b1685905e3 Added delete tests 2021-03-06 13:51:41 +00:00
emmagarland 05ccb9e8bb Extended and updated unit tests. Put store methods into try and catch where accessing a service. Added more identity results and try/catches where needed.
Updated memberuserstore. Ignore temporary test cached files.
2021-03-06 13:44:02 +00:00
Emma Garland 3d53690048 Add role store to service collection. Updated tests with new role methods. 2021-03-06 10:53:34 +00:00
Warren Buckley c57a9b9d3b Merge remote-tracking branch 'origin/netcore/dev' into netcore/unattended-user-create 2021-03-05 17:25:57 +00:00
Warren Buckley 820be3c063 Remove the extra whitespace I added 2021-03-05 17:18:32 +00:00
Warren BuckleyandGitHub 254d88e3c8 Update src/Umbraco.Web.Common/Install/CreateUnattendedUserNotificationHandler.cs 2021-03-05 17:16:05 +00:00
Warren BuckleyandGitHub e11079c568 Update src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs 2021-03-05 17:15:59 +00:00
Warren BuckleyandGitHub 86fff278c6 Update src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs 2021-03-05 17:15:53 +00:00
Warren Buckley ea05685db6 Revert changes as not needed 2021-03-05 17:13:09 +00:00
Bjarke Berg ec1d3dd43d Revert test values 2021-03-05 15:47:33 +01:00
Bjarke Berg 37ed84871a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Cache/CacheKeys.cs
#	src/Umbraco.Core/Composing/TypeFinder.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs
#	src/Umbraco.Core/Configuration/IGlobalSettings.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/ContentSectionExtensions.cs
#	src/Umbraco.Core/Constants-AppSettings.cs
#	src/Umbraco.Core/Editors/UserEditorAuthorizationHelper.cs
#	src/Umbraco.Core/Extensions/StringExtensions.cs
#	src/Umbraco.Core/Extensions/UriExtensions.cs
#	src/Umbraco.Core/IO/IOHelper.cs
#	src/Umbraco.Core/IO/PhysicalFileSystem.cs
#	src/Umbraco.Core/Media/Exif/MathEx.cs
#	src/Umbraco.Core/Media/UploadAutoFillProperties.cs
#	src/Umbraco.Core/Models/Mapping/UserMapDefinition.cs
#	src/Umbraco.Core/Models/Membership/User.cs
#	src/Umbraco.Core/Models/UserExtensions.cs
#	src/Umbraco.Core/Packaging/PackageDefinitionXmlParser.cs
#	src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs
#	src/Umbraco.Core/PropertyEditors/ValueConverters/MediaPickerValueConverter.cs
#	src/Umbraco.Core/PropertyEditors/ValueConverters/MultiNodeTreePickerValueConverter.cs
#	src/Umbraco.Core/Routing/AliasUrlProvider.cs
#	src/Umbraco.Core/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Core/Routing/UriUtility.cs
#	src/Umbraco.Core/Routing/UrlProviderExtensions.cs
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Core/RuntimeOptions.cs
#	src/Umbraco.Core/RuntimeState.cs
#	src/Umbraco.Core/Security/BackOfficeUserStore.cs
#	src/Umbraco.Core/Security/ContentPermissions.cs
#	src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
#	src/Umbraco.Core/Trees/TreeNode.cs
#	src/Umbraco.Core/Udi.cs
#	src/Umbraco.Examine.Lucene/BackOfficeExamineSearcher.cs
#	src/Umbraco.Examine/Umbraco.Examine.csproj
#	src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
#	src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
#	src/Umbraco.Infrastructure/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.Infrastructure/Search/ExamineComponent.cs
#	src/Umbraco.Infrastructure/Security/IdentityMapDefinition.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MediaService.cs
#	src/Umbraco.Infrastructure/Services/Implement/NotificationService.cs
#	src/Umbraco.Persistence.SqlCe/SqlCeSyntaxProvider.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Models/UserExtensionsTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Editors/UserEditorAuthorizationHelperTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Examine/UmbracoContentValueSetValidatorTests.cs
#	src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs
#	src/Umbraco.Tests/Configurations/UmbracoSettings/umbracoSettings.config
#	src/Umbraco.Tests/TestHelpers/SettingsForTests.cs
#	src/Umbraco.Tests/Testing/TestDatabase.cs
#	src/Umbraco.Tests/Web/Controllers/ContentControllerUnitTests.cs
#	src/Umbraco.Tests/Web/Controllers/FilterAllowedOutgoingContentAttributeTests.cs
#	src/Umbraco.Tests/Web/Controllers/MediaControllerUnitTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/CodeFileController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MacrosController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
#	src/Umbraco.Web.BackOffice/Controllers/PackageInstallController.cs
#	src/Umbraco.Web.BackOffice/Controllers/TourController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UserGroupEditorAuthorizationHelper.cs
#	src/Umbraco.Web.BackOffice/Filters/FilterAllowedOutgoingContentAttribute.cs
#	src/Umbraco.Web.BackOffice/Filters/FilterAllowedOutgoingMediaAttribute.cs
#	src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
#	src/Umbraco.Web.BackOffice/Trees/FileSystemTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
#	src/Umbraco.Web.Common/Extensions/FormCollectionExtensions.cs
#	src/Umbraco.Web.UI.Client/src/common/resources/content.resource.js
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/editors/media.controller.js
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
#	src/Umbraco.Web/Cache/MemberCacheRefresher.cs
#	src/Umbraco.Web/Composing/ModuleInjector.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/Binders/ContentModelBinderHelper.cs
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/Filters/ContentSaveValidationAttribute.cs
#	src/Umbraco.Web/Editors/Filters/MediaItemSaveValidationAttribute.cs
#	src/Umbraco.Web/Editors/Filters/UserGroupAuthorizationAttribute.cs
#	src/Umbraco.Web/Editors/TinyMceController.cs
#	src/Umbraco.Web/Editors/UserGroupsController.cs
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/ImageCropperTemplateExtensions.cs
#	src/Umbraco.Web/Logging/WebProfiler.cs
#	src/Umbraco.Web/Logging/WebProfilerProvider.cs
#	src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
#	src/Umbraco.Web/Mvc/EnsurePublishedContentRequestAttribute.cs
#	src/Umbraco.Web/Mvc/JsonNetResult.cs
#	src/Umbraco.Web/Mvc/MemberAuthorizeAttribute.cs
#	src/Umbraco.Web/Mvc/RenderRouteHandler.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
#	src/Umbraco.Web/RoutableDocumentFilter.cs
#	src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs
#	src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
#	src/Umbraco.Web/Routing/PublishedRouter.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Scheduling/KeepAlive.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeClaimsIdentityFactory.cs
#	src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs
#	src/Umbraco.Web/Trees/DictionaryTreeController.cs
#	src/Umbraco.Web/Trees/LanguageTreeController.cs
#	src/Umbraco.Web/Trees/LogViewerTreeController.cs
#	src/Umbraco.Web/Trees/PackagesTreeController.cs
#	src/Umbraco.Web/UmbracoApplication.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
#	src/Umbraco.Web/WebApi/Filters/AdminUsersAuthorizeAttribute.cs
#	src/Umbraco.Web/WebApi/Filters/CheckIfUserTicketDataIsStaleAttribute.cs
#	src/Umbraco.Web/WebApi/Filters/EnsureUserPermissionForContentAttribute.cs
#	src/Umbraco.Web/WebApi/Filters/EnsureUserPermissionForMediaAttribute.cs
#	src/Umbraco.Web/WebApi/MemberAuthorizeAttribute.cs
2021-03-05 15:36:27 +01:00
Mole d505c85551 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/individual-nuget-pr-assembly 2021-03-05 14:07:16 +01:00
Mole 2dbc206ce0 Set template default value to 9.0.0-alpha004 2021-03-05 14:06:30 +01:00
Mole f5df05d685 Add metadata to all packages and rename UmbracoCms.Lucene.nuspec to UmbracoCms.Examine.Lucene.nuspec 2021-03-05 13:56:41 +01:00
Mole a3c8638636 Create nuspec for Examine.Lucene
Need to do this to be able to add the Examine/Lucene dlls.

You can actually create and run a site with the template \o/
2021-03-05 10:03:32 +01:00
Shannon 1094ae3723 fix test 2021-03-05 15:37:34 +11:00
Shannon 283130e349 fix build 2021-03-05 15:35:20 +11:00
Shannon df333ec8cb Updates scopes in execution context to use a Stack so we know which is the top Scope/Context. Fixes disposing things on end request, fixes ensuring orphaned scopes are disposed at end request. 2021-03-05 15:27:45 +11:00
Emma Garland e124ee336a Deleted MembersRoleProvider. Switched to role store. Made everything single not plural. Fixed formatting. 2021-03-04 17:29:11 +00:00
Emma Garland 4cb9923c24 Updated errors and unit tests 2021-03-04 13:46:12 +00:00
Mole 390cf6ca66 Pack all projects as individual packages and add them as dependency
Only have to add Umbraco.Cms.Web.Website and Umbraco.Cms.Web.BackOffice, rest will be indirect dependencies.
2021-03-04 14:10:55 +01:00
Shannon 7d45a585ee adds tests 2021-03-04 23:59:41 +11:00
Kenn Jacobsen fb6ee032a4 Made all notifications sealed 2021-03-04 13:01:35 +01:00
Kenn Jacobsen 893c325191 Marked the TreeChange events as internal for now (until they can be rewritten) 2021-03-04 12:25:43 +01:00
Kenn Jacobsen 500ca7b31e Refactor RedirectTrackingHandler to remove duplicate code 2021-03-04 11:58:45 +01:00
Sebastiaan Janssen 475f7e6c3b Bump version to 8.12.0 2021-03-04 09:40:23 +01:00
Kenn Jacobsen 27c5c1b461 Added some copyright notices and updated a few TODOs 2021-03-04 07:14:54 +01:00
Shannon e4115acae6 removes duplicate root namespace 2021-03-04 17:02:14 +11:00
Shannon d72c11821f Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope
# Conflicts:
#	src/Umbraco.Core/HybridAccessorBase.cs
#	src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Security/BackofficeSecurityFactory.cs
2021-03-04 16:57:32 +11:00
Shannon DeminickandGitHub 0daad54d7f Merge pull request #9915 from umbraco/netcore/task/9726-fixing-macros
Fixing macro rendering with forms
2021-03-04 16:48:24 +11:00
Shannon 1ef60a7c7d removes unneeded ctor dependency on UmbracoContext 2021-03-04 16:44:09 +11:00
Shannon a41323f389 Fixing build and weird protected fields in UmbracoIntegrationTest 2021-03-04 16:18:57 +11:00
Shannon df9da835b3 fixing tests 2021-03-04 16:04:45 +11:00
Shannon e0a224e0b0 Fixing tests 2021-03-04 15:54:51 +11:00
Shannon d986311459 removes commented out code 2021-03-04 15:38:22 +11:00
Shannon 38ac99e46f adds notes 2021-03-04 15:19:52 +11:00
Shannon efb84409f5 kill UmbracoWebsiteSecurityFactory and UmbracoRoutedRequest, simplify all this. 2021-03-04 15:12:58 +11:00
Shannon ed5116664f kill IBackOfficeSecurityFactory and fix the broken dependency chain 2021-03-04 15:07:54 +11:00
Shannon 1163e7aa3b Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/10196-ambient-scope 2021-03-04 14:49:56 +11:00
Shannon 089d147917 Fix namespaces 2021-03-04 14:49:19 +11:00
Shannon 2d0389d53c Updates project dependencies to latest patch releases, removes Umbraco.Code from Umbraco.Web since it was causing conflicts for some reason - finally these conflict errors are gone. 2021-03-04 14:10:10 +11:00
Bjarke Berg 008fd4271c Fix unattented admin install 2021-03-03 19:48:01 +01:00
Emma Garland c9229880da Renamed and added initial member role store methods, and initial unit tests 2021-03-03 17:33:57 +00:00
Sebastiaan Janssen 7d0b5ecd14 Merge branch 'v8/dev' into v8/contrib 2021-03-03 17:57:00 +01:00
Sebastiaan Janssen e75178e8a6 Merge branch 'v8/8.12' into v8/dev 2021-03-03 17:56:32 +01:00
Warren Buckley aa9ff2e670 The event fires and hits the Handle in the notification/event handler
But it implodes when I inject/add UserManager to this
2021-03-03 16:31:17 +00:00
Kenn Jacobsen 527d726e82 Merge branch 'netcore/dev' into netcore/temp/content-service-without-static-events 2021-03-03 17:17:04 +01:00
Kenn Jacobsen d3d4da0d57 Merge branch 'netcore/temp/content-service-without-static-events' of https://github.com/kjac/Umbraco-CMS into netcore/temp/content-service-without-static-events 2021-03-03 17:12:50 +01:00
Kenn Jacobsen 8e745eb13c Create scoped notification publishing - particularly for "ed" notifications that must run after the current scope has completed 2021-03-03 17:11:42 +01:00
Kenn Jacobsen 1f9a46f6b3 Create scoped notification publishing - particularly for "ed" notifications that must run after the current scope has completed 2021-03-03 17:08:21 +01:00
Warren Buckley b0f078fa4b Trying to get the event/notification handler setup & happy :S 2021-03-03 16:04:28 +00:00
Sebastiaan Janssen c82f379dd9 Merge branch 'v8/8.11' into v8/8.12 2021-03-03 16:35:53 +01:00
Sebastiaan Janssen 8e759d2dfe Merge branch 'v8/8.10' into v8/8.11 2021-03-03 16:35:28 +01:00
Sebastiaan Janssen c10ed3693d Merge branch 'v8/8.9' into v8/8.10 2021-03-03 16:34:58 +01:00
Sebastiaan Janssen 62ac5434ff Merge branch 'v8/8.8' into v8/8.9 2021-03-03 16:34:02 +01:00
Warren Buckley 20d6c7e536 Adds a new empty event with no extra data so we can subscribe when an Unattended install has completed 2021-03-03 15:09:42 +00:00
Warren Buckley f7439a8903 New config settings to use for Unattended install user update 2021-03-03 14:41:07 +00:00
1bac97e0b0 Bugfix: Members not locked out after failed login attempts (#9921)
* https://github.com/umbraco/Umbraco-CMS/issues/9861
Added test that shows the error

* https://github.com/umbraco/Umbraco-CMS/issues/9861
Fixed test that shows the error. Caches needs to be active, otherwise it do not show the error

* https://github.com/umbraco/Umbraco-CMS/issues/9861
More fix of test that shows the error. Caches needs to be active, otherwise it do not show the error

* https://github.com/umbraco/Umbraco-CMS/issues/9861
Fix issue by raise event and thereby update caches.

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-03-03 15:00:45 +01:00
Kenn Jacobsen 134a92e4d9 Use request cache to preserve state between events for redirect tracking 2021-03-03 12:02:29 +01:00
Kenn Jacobsen 6c942f26c8 Let the file upload and image cropper editors clean up files themselves 2021-03-03 10:11:00 +01:00
Kenn Jacobsen 60241f5f51 A little renaming for consistency 2021-03-03 09:16:48 +01:00
Kenn Jacobsen a6b4115675 Moved notification handlers out of the Compose namespace 2021-03-03 09:15:52 +01:00
Kenn Jacobsen f8db15dcc7 Wire up notification handlers in a composer 2021-03-03 09:02:29 +01:00
Mole f072387096 Wrap access to dictionaries in locks and make dictionaries internal readonly 2021-03-03 08:55:14 +01:00
Bjarke Berg c3d6cc0dcd Revert test view component 2021-03-03 07:09:49 +01:00
Bjarke Berg e7b96a5214 Change static fields to instance, in singleton 2021-03-03 06:05:42 +01:00
Bjarke Berg bad576f175 Merge remote-tracking branch 'origin/netcore/task/9726-fixing-macros' into netcore/task/9726-fixing-macros 2021-03-03 05:59:20 +01:00
Shannon 48c4c235d2 fixing tests, updating nunit 2021-03-03 15:36:10 +11:00
Shannon 46c073aaf6 removes CallContextTests 2021-03-03 14:12:14 +11:00
Shannon 6ea5dcd540 Fixes up TaskHelper with notes and tests, fixes up lots of other tests and adds more, ensure the exception from Scope is verbose 2021-03-03 13:43:27 +11:00
Shannon a70a739d62 security accessors should not be hybrid, ensures call context isn't flowed to child set/forget threads, renames TaskHelper and adds a test, removes GenericDictionaryRequestAppCache in favor of HttpContextRequestAppCache that relies on HttpContext and fixes http locks since there was a deadlock problem. Removes SafeCallContext, we just use ExecutionContext.SuppressFlow instead 2021-03-03 10:40:16 +11:00
Shannon dfc202a6c8 init code cleanup 2021-03-03 09:56:34 +11:00
cf6d33f843 Update src/Umbraco.Core/Security/IBackOfficeSecurityFactory.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-03-03 09:38:02 +11:00
Kenn Jacobsen b3ab0c15e3 Don't look for removed events in distributed cache event test 2021-03-02 19:50:40 +01:00
Kenn Jacobsen 22680a741c Make integration tests run again + revert to weird logic in test 2021-03-02 19:11:39 +01:00
Bjarke Berg 1c50ece986 Use c#9 + namespace fix 2021-03-02 16:20:44 +01:00
Kenn Jacobsen 1462e6c3af Split notifications into separate classes + move namespace 2021-03-02 14:30:57 +01:00
Kenn Jacobsen 6ae822588c Fix tests and clean up some 2021-03-02 14:15:26 +01:00
Mole c01fab97b8 Count requested locks in child scopes with the existing dictionaries.
This way we don't have to have a two dictionaries AND two lists.
2021-03-02 13:55:30 +01:00
Mole 8c99a8e8a7 Combine the two lock inner methods into one
And add a couple of more unit tests
2021-03-02 13:07:04 +01:00
Mole e75edbcaf0 Add more tests. 2021-03-02 10:53:55 +01:00
Emma Garland 7ff96d3ed3 Merge branch 'netcore/dev' into netcore/members-roles-save 2021-03-02 09:18:35 +00:00
Mole 65f2c5ee70 Bit of cleaning in Scope 2021-03-02 08:48:09 +01:00
Kenn Jacobsen 1fd909e435 Simplify auditer (make sure it can survive boot with no DB) 2021-03-02 08:14:37 +01:00
Kenn Jacobsen 335a62164c Audit the last few backoffice user events 2021-03-02 08:13:59 +01:00
Mole 37f6e007ba Merge remote-tracking branch 'origin/v8/dev' into v8/feature/10613-distributed-locks 2021-03-02 08:13:42 +01:00
Shannon DeminickandGitHub 52b670973d The Value() method for IPublishedContent was not working with the defaultValue parameter (#9888)
* The Value() method for IPublishedContent was not working with the defaultValue parameter

* Update src/Umbraco.Web/PublishedContentExtensions.cs

* Update src/Umbraco.Web/PublishedPropertyExtension.cs

* Update src/Umbraco.Web/PublishedPropertyExtension.cs

* Update src/Umbraco.Web/PublishedPropertyExtension.cs
2021-03-02 01:23:26 +01:00
Kenn Jacobsen 67bd36e950 Merge branch 'netcore/dev' into netcore/temp/remove-backofficeusermanager-static-events 2021-03-01 20:15:54 +01:00
Kenn Jacobsen c3048193c1 Removed most of the static events in MediaService 2021-03-01 20:12:36 +01:00
Kenn Jacobsen ab2b35904f Remove a bunch more events from ContentService 2021-03-01 17:05:59 +01:00
Mole 400b436d98 Fir stab/POC
This still need ALOT of work, but is just an attempt to get my head around things.
2021-03-01 16:06:16 +01:00
Sebastiaan Janssen ece7008ce7 Merge branch 'v8/dev' into v8/contrib 2021-03-01 16:06:12 +01:00
Sebastiaan Janssen dafca1486a Merge branch 'v8/8.12' into v8/dev 2021-03-01 16:05:25 +01:00
Sebastiaan Janssen 03b6f1ba7f Merge branch 'v8/8.11' into v8/8.12 2021-03-01 16:04:49 +01:00
Sebastiaan Janssen 22dee4e8d7 Merge branch 'v8/8.10' into v8/8.11 2021-03-01 16:04:13 +01:00
Sebastiaan Janssen aaa8b0b4b2 Merge branch 'v8/8.9' into v8/8.10 2021-03-01 16:03:42 +01:00
Sebastiaan Janssen 7bc220b4b5 Merge branch 'v8/8.8' into v8/8.9 2021-03-01 16:03:18 +01:00
Bjarke BergandGitHub 4d5c7988cf Merge pull request #9892 from kjac/netcore/feature/remove-editormodel-static-events
Replace static editor model events events with IEventAggregator notifications
2021-03-01 14:15:54 +01:00
Bjarke BergandGitHub ef5cd07e5c Merge pull request #9900 from kjac/netcore/feature/emailsender-without-statics
Remove static methods and events from EmailSender
2021-03-01 14:15:09 +01:00
Kenn Jacobsen 87f8039497 Merge branch 'netcore/dev' into netcore/temp/content-service-without-static-events 2021-03-01 13:42:49 +01:00
Kenn Jacobsen e407d083c2 Resolved merge conflicts with netcore/dev 2021-03-01 13:26:34 +01:00
Sebastiaan Janssen e848e396af Don't auto focus on the third menu item 2021-03-01 13:20:58 +01:00
Kenn Jacobsen 0bdd1cc874 Replaced if/else with switch 2021-03-01 13:17:24 +01:00
ShannonandBjarke Berg 7bb18f1cc3 Fixes the Sql server SET LOCK_TIMEOUT call which was missing a space. 2021-03-01 13:16:32 +01:00
Kenn Jacobsen 22ec42a5ab Play it safe - revert to sending emails synchronous 2021-03-01 13:13:37 +01:00
Kenn Jacobsen 03cc342c10 WIP on content service events 2021-03-01 13:10:37 +01:00
Bjarke BergandGitHub 7625857a14 Merge pull request #9870 from umbraco/v8/bugfix/ensure-custom-claims
Keep custom claims that are flowed during security stamp validation
2021-03-01 11:57:53 +01:00
Bjarke BergandGitHub a67f7fad6f Merge pull request #9881 from kjac/netcore/feature/remove-treecontroller-static-events
Replace static events in TreeControllerBase with IEventAggregator notifications
2021-03-01 10:24:20 +01:00
Bjarke Berg 2e4b31d8f6 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/10710
No not use IBackOfficeSecurity in UmbracoContext. Not we use IHttpContextAccessor to get the info about whether the current user is null or not. It is expected to be null in background jobs.
2021-03-01 10:07:20 +01:00
Shannon c1f14de943 fix build 2021-03-01 14:20:15 +11:00
Shannon 9408a90d14 left over namespace 2021-03-01 14:17:03 +11:00
Shannon fa3f66aa07 removes comments 2021-03-01 13:01:28 +11:00
Shannon 70caa227e2 notes 2021-03-01 12:57:04 +11:00
Shannon 6148336d04 Adds new event so we know when umbraco routes a value, ensure the IUmbracoWebsiteSecurity is initialized for front-end requests, cleans up some of the routing middleware, adds lots of notes 2021-03-01 12:51:07 +11:00
emmagarland d67f4d7ec1 Added failed password test result 2021-02-28 19:09:02 +00:00
emmagarland c84564f0d6 Merge branch 'netcore/dev' into netcore/members-passwordchange-temp 2021-02-28 17:05:59 +00:00
emmagarland f5593b1b14 Fixed membercontroller unit tests 2021-02-28 17:02:05 +00:00
Patrick de MooijandMichael Latouche 187db95368 9826: Make sure to set mculture after switching sections 2021-02-27 20:26:04 +01:00
berg cb8fbb9c85 Removed the modelsbuilder project (that is deleted) from the netcore only sln file 2021-02-27 19:35:37 +01:00
berg d7d99e5c00 Fixed issue found by cypress test. script/css folders was not deleted because it search in contentroot and not wwwroot 2021-02-27 19:26:36 +01:00
berg 80a2b4c238 Fixed cypress test 2021-02-27 18:29:59 +01:00
Kenn Jacobsen 90031b83b0 Replaced static events in BackOfficeUserManager with IEventAggregator notifications and removed various unused or obsolete events (i.e. user invitation events) 2021-02-26 16:37:34 +01:00
Emma Garland dee74f4c44 Updated member after password changed on identity member 2021-02-26 15:29:44 +00:00
Emma Garland 034b080c41 Don't rename, too many file changes 2021-02-26 14:52:54 +00:00
Emma Garland bce27c1fe4 Reverted name change 2021-02-26 14:33:27 +00:00
Emma Garland 525d14ed25 Updated to set correct properties 2021-02-26 14:21:23 +00:00
Emma Garland c36aaabd0e Updated to move the logic for whether the password change can occur, into the controller, 2021-02-26 12:42:18 +00:00
Emma Garland 8f392c252a Merge branch 'netcore/dev' into netcore/members-passwordchange-temp
# Conflicts:
#	src/Umbraco.Core/Models/ChangingPasswordModel.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/MemberControllerUnitTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
2021-02-26 11:12:34 +00:00
Bjarke BergandGitHub 5b88fbe970 Merge pull request #9899 from umbraco/netcore/bugfix/packages-with-actions
Netcore: Fix packages with actions
2021-02-26 10:34:14 +01:00
Shannon abb5911b24 WIP fixing issue with macro forms 2021-02-26 16:53:53 +11:00
Shannon f6cf089357 Fix a missed namespace change 2021-02-26 15:14:42 +11:00
Shannon 3113efd122 Adds common.views to view imports 2021-02-26 14:11:00 +11:00
Shannon b21db82929 missed change for default namespace in the UI project 2021-02-26 14:08:57 +11:00
Shannon a597f5d473 removes perfolizer dll reference - it has a package reference 2021-02-26 13:42:03 +11:00
Patrick de MooijandMichael Latouche 3139eb310e 9842: Fix for defaultConfig not working without prevalues 2021-02-26 00:22:50 +01:00
Kenn Jacobsen 3769e8108c Remove static methods and events from EmailSender 2021-02-25 15:08:56 +01:00
Mole 70b04e8a8a Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/packages-with-actions 2021-02-25 13:48:16 +01:00
Mole f4787f9ae5 Add undo actions to the root node instead of appending them
also fix minor UI bug
2021-02-25 12:36:28 +01:00
Bjarke BergandGitHub 01bf937497 Merge pull request #9741 from umbraco/netcore/feature/AB10074-fix-createmember-and-createcontent
NetCore: Fix CreateMember and CreateContent methods
2021-02-25 09:47:57 +01:00
MoleandGitHub 7644f5c415 Merge pull request #9893 from umbraco/netcore/bugfix/installing-packages
Netcore: Fix installing packages
2021-02-25 09:22:22 +01:00
Bjarke Berg 0c5a1fb648 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB10074-fix-createmember-and-createcontent
# Conflicts:
#	src/Umbraco.Infrastructure/Services/Implement/MemberService.cs
2021-02-25 08:14:42 +01:00
Bjarke Berg 1399fbabe4 Reuse save methods.. 2021-02-25 08:08:02 +01:00
Anders BjernerandNathan Woulfe 3e081f1039 Minor adjustments to ngdocs in editor.service.js 2021-02-25 08:33:10 +10:00
Patrick de MooijandNathan Woulfe c0842c7216 Don't show configuration header if there is none 2021-02-25 08:25:41 +10:00
patrickdemooij9andGitHub 6b3202e37b 9841: Don't focus on nested content node at page load (#9863)
Tested and can confirm that this fixes the focus issue.
2021-02-24 22:16:40 +00:00
Aaron SadlerandNathan Woulfe b019bc0ccf Fix for Grid placeholder breaking out of container 2021-02-25 08:11:28 +10:00
Mole 0a2efc252f Re introduce cookie check, but adding return statement 2021-02-24 13:20:53 +01:00
Mole 2fcae1cc28 Fix installing packages. 2021-02-24 12:54:30 +01:00
Kenn Jacobsen 0393a54abf Postfixed notifications with "Notifications" for improved discoverability 2021-02-24 08:56:41 +01:00
Kenn Jacobsen 06c5ce5bb8 Replace static editor model events events with IEventAggregator notifications 2021-02-24 08:43:50 +01:00
Bjarke BergandGitHub 3e7f912fcd Merge pull request #9441 from umbraco/v8/bugfix/explicit-scope-examine
Ensure there's explicit scopes used for all service access in the Examine indexing logic
2021-02-24 08:17:49 +01:00
Bjarke BergandGitHub 4e1c25363d Merge pull request #9891 from umbraco/v8/bugfix/lock-timeout-fix
Fixes the Sql server SET LOCK_TIMEOUT call which was missing a space.
2021-02-24 07:32:27 +01:00
Shannon 82545e3185 Fixes the Sql server SET LOCK_TIMEOUT call which was missing a space. 2021-02-24 16:55:00 +11:00
Kenn Jacobsen b1aabade55 Formatting and comments 2021-02-23 16:20:22 +01:00
Kenn Jacobsen b05d71f76c Replaced static events in TreeControllerBase with IEventAggregator notifications 2021-02-23 16:09:36 +01:00
Bjarke Berg 23f2b091ad Updated v8 version number in js docs 2021-02-23 13:42:52 +01:00
Bjarke BergandGitHub e068c0c4fc Merge pull request #9820 from umbraco/netcore/feature/align-infrastructure-namespaces
Netcore: Align infrastructure namespaces
2021-02-23 13:29:34 +01:00
Bjarke Berg ef4e2eb511 Renamed service implementations namespace to Core 2021-02-23 12:24:51 +01:00
Bjarke Berg dc4595b16a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Security/BackOfficeClaimsPrincipalFactory.cs
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/AuthenticateEverythingMiddleware.cs
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/TestControllerActivatorBase.cs
2021-02-23 12:07:22 +01:00
Bjarke BergandGitHub d641e375c5 Merge pull request #9833 from umbraco/9622-remove-backofficeidentity
Netcore: Remove UmbracoBackOfficeIdentity
2021-02-23 11:29:23 +01:00
Bjarke Berg bc17b7463d Added test of AddOrUpdateClaim 2021-02-23 10:52:55 +01:00
Bjarke Berg bbaba0c542 Add or update the TicketExpiresClaimType claim, to ensure its not added multiple times, now that is can be there after a clone. 2021-02-23 10:07:17 +01:00
Mole 36d6ab2213 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Migrations/Expressions/Rename/Expressions/RenameColumnExpression.cs
#	src/Umbraco.Infrastructure/Migrations/IMigrationExpression.cs
2021-02-23 09:06:31 +01:00
Mole 20a70ec133 Fix merge 2021-02-23 09:05:06 +01:00
Bjarke BergandGitHub 7ecb141581 Merge pull request #9855 from kjac/netcore/feature/clean-up-umbraco-builder-extensions
Remove obsolete method in UmbracoBuilderExtensions
2021-02-23 08:54:37 +01:00
Bjarke BergandGitHub 73010dece5 Merge pull request #9852 from kjac/netcore/feature/umbraco-version-current-rename
Rename UmbracoVersion.Current to UmbracoVersion.Version
2021-02-23 08:53:19 +01:00
Bjarke BergandGitHub f0ad6ca1d5 Merge pull request #9854 from kjac/netcore/feature/cleanup-migration-expression
Removed unused method from migration expression interface
2021-02-23 08:51:48 +01:00
Mole 159747ab61 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.MappingProfiles.cs
#	src/Umbraco.Infrastructure/PropertyEditors/PropertyEditorsComponent.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeClaimsPrincipalFactory.cs
#	src/Umbraco.Infrastructure/Security/IBackOfficeUserManager.cs
#	src/Umbraco.Infrastructure/Security/IUmbracoUserManager.cs
#	src/Umbraco.Infrastructure/Security/SignOutAuditEventArgs.cs
#	src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs
#	src/Umbraco.Infrastructure/Security/UserInviteEventArgs.cs
#	src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/BackOffice/BackOfficeLookupNormalizerTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
#	src/Umbraco.Web/Security/IBackOfficeUserPasswordChecker.cs
#	src/Umbraco.Web/Security/Providers/MembersRoleProvider.cs
2021-02-23 08:51:09 +01:00
Bjarke BergandGitHub d91621282c Merge pull request #9853 from kjac/netcore/feature/io-helper-cleanup
Clean up the IO Helper interface
2021-02-23 08:50:02 +01:00
Bjarke BergandGitHub f57e9393b9 Merge pull request #9851 from kjac/netcore/feature/clean-up-obsolete-config
Remove obsolete configuration references
2021-02-23 08:47:23 +01:00
Bjarke BergandGitHub 55eb64de17 Merge pull request #9850 from kjac/netcore/feature/remove-legacy-cache-refresher
Remove legacy member cache refresher and unused base class
2021-02-23 08:45:49 +01:00
Mole f1128d7d70 Replace usage of Thread.CurrentPrincipal with IBackofficeSecurityAccessor 2021-02-23 08:38:27 +01:00
Mole 9d0493d38f Merge remote-tracking branch 'origin/netcore/dev' into 9622-remove-backofficeidentity
# Conflicts:
#	src/Umbraco.Core/Security/UmbracoBackOfficeIdentity.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeClaimsPrincipalFactory.cs
2021-02-23 08:29:03 +01:00
Shannon DeminickandGitHub 1bc8dbaaf2 Merge pull request #9472 from emmagarland/netcore/members-userstore
Initial creation of vertical slice for create member
2021-02-23 13:10:31 +11:00
Shannon 2bb8b02233 adds notes 2021-02-23 11:28:42 +11:00
Shannon 27d94f1ca6 removes testing timeout so it stays as it was 2021-02-23 11:25:27 +11:00
Shannon e3dc017d7e Keep custom claims that are flowed from autolinking
When auto linking with callbacks such as OnExternalLogin, custom claims can be added to the user which are flowed to the auth ticket/identity.
However, when the security stamp validator executes, the identity is re-created manually without any knowledge of those custom claims so
they are lost. This ensures that those custom claims flow through to the re-generated identity during the security stamp validation phase.
2021-02-23 10:41:00 +11:00
Emma Garland c35af99030 Reverted appsettings 2021-02-22 20:57:41 +00:00
Emma Garland 2109bee83b Merge branch 'netcore/dev' into netcore/members-userstore
# Conflicts:
#	src/Umbraco.Core/Models/Membership/IMembershipUser.cs
#	src/Umbraco.Core/Models/Membership/IUser.cs
#	src/Umbraco.Core/Services/IMembershipRoleService.cs
#	src/Umbraco.Infrastructure/Compose/AuditEventsComponent.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.MappingProfiles.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Services.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeIdentityUser.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
#	src/Umbraco.Infrastructure/Security/IBackOfficeUserPasswordChecker.cs
#	src/Umbraco.Infrastructure/Security/IUmbracoUserManager.cs
#	src/Umbraco.Infrastructure/Security/IdentityMapDefinition.cs
#	src/Umbraco.Infrastructure/Security/SignOutAuditEventArgs.cs
#	src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs
#	src/Umbraco.Infrastructure/Services/Implement/MemberService.cs
#	src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
#	src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/UmbracoBackOfficeServiceCollectionExtensionsTests.cs
#	src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/BackOffice/BackOfficeClaimsPrincipalFactoryTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/BackOffice/BackOfficeLookupNormalizerTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Security/NoOpLookupNormalizerTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/UsersControllerTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/ServiceCollectionExtensions.cs
#	src/Umbraco.Web.BackOffice/Filters/CheckIfUserTicketDataIsStaleAttribute.cs
#	src/Umbraco.Web.BackOffice/Mapping/MemberMapDefinition.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficePasswordHasher.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSecurityStampValidator.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSessionIdValidator.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeUserManagerAuditer.cs
#	src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeIdentityOptions.cs
#	src/Umbraco.Web.BackOffice/Security/ExternalSignInAutoLinkOptions.cs
#	src/Umbraco.Web.BackOffice/Security/IBackOfficeSignInManager.cs
#	src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
#	src/Umbraco.Web.Common/DependencyInjection/ServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/Middleware/BootFailedMiddleware.cs
#	src/Umbraco.Web.Common/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Security/MembershipHelper.cs
#	src/Umbraco.Web/Security/MembershipProviderBase.cs
#	src/Umbraco.Web/Security/Providers/MembersMembershipProvider.cs
#	src/Umbraco.Web/Security/Providers/MembersRoleProvider.cs
#	src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs
2021-02-22 20:55:12 +00:00
Sebastiaan Janssen 5ee98919bc Fix test where selector wasn't specific enough 2021-02-22 17:22:04 +01:00
Sebastiaan Janssen 2cedf435a9 Fix error where the SQL for setting the timeout was missing a crucial space. 2021-02-22 16:41:44 +01:00
Mole 8f21fb5492 Fix Merge 2021-02-22 15:46:46 +01:00
Mole 1c1394e0bf Replace usages of ClaimsIdentityExtensions.Issuer with Constants.Security.BackOfficeAuthenticationType
Also remove todo and cases of using ClaimsIdentityExtensions = Umbraco.Extensions.ClaimsIdentityExtensions;
2021-02-22 15:31:25 +01:00
Mole 405d0e704d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/ModelsBuilder/PublishedElementExtensions.cs
#	src/Umbraco.Web.Common/ModelsBuilder/DependencyInjection/UmbracoBuilderDependencyInjectionExtensions.cs
#	src/Umbraco.Web.Common/ModelsBuilder/ModelsBuilderNotificationHandler.cs
2021-02-22 15:18:04 +01:00
Bjarke Berg 9123c06aec Fixed issue with /~ folder created doing install 2021-02-22 12:51:17 +01:00
Bjarke BergandGitHub b4fd47e3a8 Merge pull request #9838 from umbraco/netcore/feature/AB10314-mb-embedded-dependencies
NetCore: Moving MB.Embedded into the other existing assemblies
2021-02-22 10:57:41 +01:00
Bjarke Berg bf936cbd65 Fix namespaces when building MB models 2021-02-22 10:32:09 +01:00
Bjarke Berg 890cd45677 Fix namespace 2021-02-22 10:09:20 +01:00
ChadandSebastiaan Janssen 388e0283bc Fixes #9615 - Upgrade to Htmlsanitizer v5 (#9856)
(cherry picked from commit a6e1c2e901)
2021-02-22 09:56:13 +01:00
ChadandGitHub a6e1c2e901 Fixes #9615 - Upgrade to Htmlsanitizer v5 (#9856) 2021-02-22 09:53:53 +01:00
Bjarke Berg c453719c2d Fix the register of the IModelsBuilderDashboardProvider 2021-02-22 09:49:24 +01:00
Bjarke Berg 6e89e9a8a9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB10314-mb-embedded-dependencies
# Conflicts:
#	src/Umbraco.Infrastructure/ModelsBuilder/ApiVersion.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/Builder.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/ModelsGenerator.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/PropertyModel.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TextHeaderWriter.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TypeModel.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/Building/TypeModelHasher.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/LiveModelsProvider.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/ModelsBuilderAssemblyAttribute.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/ModelsBuilderDashboard.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/ModelsGenerationError.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/OutOfDateModelsStatus.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/PublishedElementExtensions.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/PublishedModelUtility.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/RoslynCompiler.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/TypeExtensions.cs
#	src/Umbraco.Infrastructure/ModelsBuilder/UmbracoServices.cs
#	src/Umbraco.ModelsBuilder.Embedded/ImplementPropertyTypeAttribute.cs
#	src/Umbraco.ModelsBuilder.Embedded/Umbraco.ModelsBuilder.Embedded.csproj
#	src/Umbraco.Tests.UnitTests/Umbraco.ModelsBuilder.Embedded/BuilderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.ModelsBuilder.Embedded/UmbracoApplicationTests.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/ContentTypeModelValidator.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/ContentTypeModelValidatorBase.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/DashboardReport.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/DisableModelsBuilderNotificationHandler.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/MediaTypeModelValidator.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/MemberTypeModelValidator.cs
#	src/Umbraco.Web.BackOffice/ModelsBuilder/ModelsBuilderDashboardController.cs
#	src/Umbraco.Web.Common/ModelsBuilder/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/ModelsBuilder/ModelsBuilderNotificationHandler.cs
#	src/Umbraco.Web.Common/ModelsBuilder/PureLiveModelFactory.cs
#	src/Umbraco.Web.Common/ModelsBuilder/RefreshingRazorViewEngine.cs
#	src/Umbraco.Web.Common/ModelsBuilder/UmbracoAssemblyLoadContext.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.Website/DependencyInjection/UmbracoBuilderExtensions.cs
2021-02-22 09:00:33 +01:00
Mole 63c8365e6a Fix merge and consolidate ClaimsIdentityExtensions into one file. 2021-02-22 08:51:37 +01:00
Mole d413bf49f9 Merge remote-tracking branch 'origin/netcore/dev' into 9622-remove-backofficeidentity
# Conflicts:
#	src/Umbraco.Core/Security/AuthenticationExtensions.cs
#	src/Umbraco.Core/Security/UmbracoBackOfficeIdentity.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeClaimsPrincipalFactory.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/BackOffice/UmbracoBackOfficeIdentityTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Extensions/ClaimsPrincipalExtensionsTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Security/BackOfficeAntiforgeryTests.cs
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/AuthenticateEverythingMiddleware.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSecureDataFormat.cs
#	src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeCookieOptions.cs
#	src/Umbraco.Web.Common/Security/BackOfficeUserManager.cs
2021-02-22 08:38:12 +01:00
b8540ca128 Improve speed and reduce allocations by implementing logger overloads to avoid params [] allocation (#8917)
* Implement logger overloads to avoid params [] allocation

* Implement console logger ILogger

* Call correct signature

* Fix exceptions

* Introduce ILogger2

* fix logger reference

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-22 08:22:49 +10:00
mcl-szandGitHub 6eb260001d Ensure that upload file(s) in the MediaPicker is returned (#9367)
The onUploadComplete function returns the last files that are added to a mediafolder. While this works correct by default and in most situations, it doesn't work as expected when a diffrent sorting is used for Media-items. For example, we've added events to sort Media-items automatically by name alphabetically when they are created/uploaded to keep them better organised. 
By sorting the $scope.files array by the Id-property, it ensures that the function returns the uploaded files, instead of the last files in the folder.
2021-02-21 17:22:28 +01:00
Matthew-WiseandGitHub d85b6694fe Make models builder properties virtual to allow mocking (#9335) 2021-02-21 17:19:48 +01:00
6aaefe160b Decimal step size validation (#9334)
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2021-02-21 17:17:10 +01:00
Callum WhyteandGitHub 40f0fbe939 Make abstract FileSystemWrapper class methods virtual (#9528) 2021-02-21 17:03:37 +01:00
Callum WhyteandGitHub 1235520325 Fix consistency in translation files for the term backoffice, Umbraco and several entity types (#9526) 2021-02-21 17:01:49 +01:00
Callum WhyteandGitHub 6cc005315d Unhelpful unsupported property message in Block Editor (#9525) 2021-02-21 16:57:23 +01:00
vidyesh-phasesandGitHub 033a245a21 Added UmbracoAuthorize attribute for BackOfficeController.ExternalLinkLoginCallback (#9500) 2021-02-21 16:52:43 +01:00
Malthe PetersenandGitHub 01e572b742 Change access level for TreeChanged event in Media and ContentService (#9487) 2021-02-21 16:51:03 +01:00
Rachel BreezeandGitHub c11d07dede Performance and accessibility improvements on the embed screen (#9810) 2021-02-21 13:00:48 +01:00
Bjarne FyrstenborgandGitHub 821cba5cd3 Make sorting in media consistent with sorting in content (#9756) 2021-02-21 12:52:42 +01:00
Bjarne FyrstenborgandGitHub 01991db257 Fixes #9625 - Searching icons for "box" returns all icons (#9848) 2021-02-21 12:42:20 +01:00
Bjarne FyrstenborgandGitHub 82701fbacd Fixes #9824 - Filtering in block picker doesn't work (#9831) 2021-02-21 12:37:51 +01:00
jesperweberandGitHub 1906ef0278 Updating danish translations (#9832) 2021-02-21 12:35:50 +01:00
Shannon DeminickandSebastiaan Janssen 64117921ea Fixes: After deleting a member, a reindex is attempted, which fails (#9807)
(cherry picked from commit fa49d6ed10)
2021-02-21 12:04:42 +01:00
Shannon DeminickandGitHub fa49d6ed10 Fixes: After deleting a member, a reindex is attempted, which fails (#9807) 2021-02-21 12:03:28 +01:00
Nathan WoulfeandGitHub f167f022c1 9769 - shift index increment before tryget to allow loop to continue if current iteration exits early (#9799) 2021-02-21 12:00:22 +01:00
patrickdemooij9andGitHub 43a77dc1e4 9569: Fix image cropper buttons (#9777) 2021-02-21 11:52:49 +01:00
Jakob BagterpandGitHub f4e1b46968 Fix: Verify that grid model is JSON object and not IPublishedContent (#9774) 2021-02-21 11:47:35 +01:00
Bjarne FyrstenborgandGitHub 63b417477b Replace tree icon in section picker with umb-icon component (#9760) 2021-02-21 11:42:06 +01:00
Çağatay UNCUandGitHub 616992332a Clean Code and use async methed (#9747) 2021-02-21 11:40:51 +01:00
Bjarne FyrstenborgandGitHub d966e89fd9 Block editor cleanup (#9664) 2021-02-21 11:36:18 +01:00
Andrey KarandashovandGitHub 46ace7dc22 added swedish translations for media picker (#9730) 2021-02-21 11:15:32 +01:00
rbottemaandGitHub e554ef0445 Fix some exceptions being logged the wrong way (#9693)
In these statements, the exception was passed as a log message parameter instead of as the exception. This meant the exception and including stack trace was not logged and thus lost.
2021-02-21 11:03:28 +01:00
ChadandSebastiaan Janssen ad0b70fc04 Speed up boot times and Improve Json (De)Serialization performance and reduce memory usage by reusing JsonSerializerSettings (#9670)
(cherry picked from commit 75ee3b9622)
2021-02-21 11:01:35 +01:00
ChadandGitHub 75ee3b9622 Speed up boot times and Improve Json (De)Serialization performance and reduce memory usage by reusing JsonSerializerSettings (#9670) 2021-02-21 11:00:00 +01:00
Sebastiaan Janssen f27a3be4e6 Fix unit tests after merging PR #9646 2021-02-21 10:30:17 +01:00
Bjarne FyrstenborgandGitHub 56938a7bdc Move relation type id and macro id to sidebar box (#9657) 2021-02-21 09:57:32 +01:00
Bjarne FyrstenborgandGitHub a466b49b2b Eye Dropper Color Picker (#9646) 2021-02-21 09:43:42 +01:00
Bjarne FyrstenborgandGitHub 4b387242f2 Ensure sub-view components are not self-closed elements (#9633) 2021-02-21 09:04:46 +01:00
Bjarne FyrstenborgandGitHub 451f3da8f4 Align datatype sidebar box properties (#9632) 2021-02-21 08:58:56 +01:00
Bjarne FyrstenborgandGitHub 5e4d326ec2 Use trim method as trim isn't a property (#9605) 2021-02-21 08:40:59 +01:00
emmagarland f62b7cbf4a Merged from dev 2021-02-20 19:56:35 +00:00
Emma Garland 0a10d3176d Initial changes to password model 2021-02-20 19:16:31 +00:00
Sebastiaan Janssen ea5da426e9 Bump version to 8.12.0-rc 2021-02-20 17:20:35 +01:00
Sebastiaan Janssen 980acafbeb Merge branch 'v8/contrib' into v8/dev 2021-02-20 17:17:27 +01:00
f064c074d1 Fix for Issue #135 - Variation < null >, < null> is not supported by the property type (#9524)
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2021-02-20 14:37:11 +01:00
2c54adacf2 Add the ability to change the SQL Write Lock TimeOut (#9750)
Co-authored-by: Shannon <sdeminick@gmail.com>
2021-02-20 13:44:15 +01:00
Nathan WoulfeandGitHub b9b75b3794 Fix 'Do something else' button position in create dialog (#9846)
* fixes do something else button position in create dialog for doc types and media types

* adds type attribute to buttons
2021-02-20 02:30:20 +01:00
Emma Garland 0fe7ad826d Updated membership successful result as per PR comments 2021-02-19 17:03:48 +00:00
Kenn Jacobsen 7d1ecf5c22 Move implementation of obsolete method in UmbracoBuilderExtensions to TestHelper 2021-02-19 17:21:38 +01:00
Kenn Jacobsen 6b3041c1fb Removed unused Process() from IMigrationExpression 2021-02-19 17:14:57 +01:00
Kenn Jacobsen dd78fbd447 Clean up the IO Helper interface, obsolete/remove unused/deprecated methods 2021-02-19 16:50:05 +01:00
Kenn Jacobsen 764014fd63 Rename UmbracoVersion.Current to UmbracoVersion.Version 2021-02-19 14:26:55 +01:00
Kenn Jacobsen 71dacf474e Remove obsolete configuration references 2021-02-19 14:10:56 +01:00
Kenn Jacobsen 2f737fbbcd Remove legacy member cache refresher and unused typed cache refresher base class 2021-02-19 13:57:38 +01:00
Kenn Jacobsen 6c7316afcd Move preview authorization middleware to fix preview 2021-02-19 11:45:58 +01:00
Kenn Jacobsen 8dddf0c987 Fix build error after merge 2021-02-19 07:19:16 +01:00
Sebastiaan Janssen 81f1c2e7d6 Update to latest Examine 2021-02-18 22:08:12 +01:00
Sebastiaan JanssenandGitHub 02963e7b29 Remove HtmlSanitizer (#9803) 2021-02-18 17:50:00 +01:00
Mole 815d4fd226 Merge branch 'netcore/dev' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Core/Events/QueuingEventDispatcher.cs
#	src/Umbraco.Core/Logging/LogHttpRequestExtension.cs
#	src/Umbraco.Examine.Lucene/BackOfficeExamineSearcher.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneComposer.cs
#	src/Umbraco.Examine.Lucene/ExamineLuceneFinalComposer.cs
#	src/Umbraco.Examine.Lucene/Extensions/ExamineExtensions.cs
#	src/Umbraco.Examine.Lucene/ILuceneDirectoryFactory.cs
#	src/Umbraco.Infrastructure/Cache/DatabaseServerMessengerNotificationHandler.cs
#	src/Umbraco.Infrastructure/Cache/DefaultRepositoryCachePolicy.cs
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder.cs
#	src/Umbraco.Infrastructure/Cache/DistributedCacheBinder_Handlers.cs
#	src/Umbraco.Infrastructure/Cache/DistributedCacheExtensions.cs
#	src/Umbraco.Infrastructure/Cache/FullDataSetRepositoryCachePolicy.cs
#	src/Umbraco.Infrastructure/Cache/RepositoryCachePolicyBase.cs
#	src/Umbraco.Infrastructure/Cache/SingleItemsOnlyRepositoryCachePolicy.cs
#	src/Umbraco.Infrastructure/Compose/AuditEventsComponent.cs
#	src/Umbraco.Infrastructure/Compose/BlockEditorComponent.cs
#	src/Umbraco.Infrastructure/Compose/NestedContentPropertyComponent.cs
#	src/Umbraco.Infrastructure/Compose/NestedContentPropertyComposer.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
#	src/Umbraco.Infrastructure/Compose/PublicAccessComponent.cs
#	src/Umbraco.Infrastructure/Compose/RelateOnCopyComponent.cs
#	src/Umbraco.Infrastructure/Compose/RelateOnTrashComponent.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Collections.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.CoreServices.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.DistributedCache.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Installer.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.MappingProfiles.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Services.cs
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Uniques.cs
#	src/Umbraco.Infrastructure/Deploy/IGridCellValueConnector.cs
#	src/Umbraco.Infrastructure/EmailSender.cs
#	src/Umbraco.Infrastructure/Events/MigrationEventArgs.cs
#	src/Umbraco.Infrastructure/Examine/BaseValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
#	src/Umbraco.Infrastructure/Examine/ContentValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Examine/ExamineExtensions.cs
#	src/Umbraco.Infrastructure/Examine/IBackOfficeExamineSearcher.cs
#	src/Umbraco.Infrastructure/Examine/IContentValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Examine/IIndexDiagnostics.cs
#	src/Umbraco.Infrastructure/Examine/IPublishedContentValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Examine/IndexRebuilder.cs
#	src/Umbraco.Infrastructure/Examine/MediaIndexPopulator.cs
#	src/Umbraco.Infrastructure/Examine/MediaValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Examine/MemberIndexPopulator.cs
#	src/Umbraco.Infrastructure/Examine/MemberValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Examine/NoopBackOfficeExamineSearcher.cs
#	src/Umbraco.Infrastructure/Examine/PublishedContentIndexPopulator.cs
#	src/Umbraco.Infrastructure/Examine/UmbracoExamineExtensions.cs
#	src/Umbraco.Infrastructure/Examine/UmbracoIndexConfig.cs
#	src/Umbraco.Infrastructure/HostedServices/HealthCheckNotifier.cs
#	src/Umbraco.Infrastructure/HostedServices/LogScrubber.cs
#	src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
#	src/Umbraco.Infrastructure/HostedServices/ScheduledPublishing.cs
#	src/Umbraco.Infrastructure/HostedServices/ServerRegistration/InstructionProcessTask.cs
#	src/Umbraco.Infrastructure/HostedServices/TempFileCleanup.cs
#	src/Umbraco.Infrastructure/IPublishedContentQuery.cs
#	src/Umbraco.Infrastructure/Install/FilePermissionHelper.cs
#	src/Umbraco.Infrastructure/Install/InstallHelper.cs
#	src/Umbraco.Infrastructure/Install/InstallStepCollection.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/DatabaseConfigureStep.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/DatabaseInstallStep.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/DatabaseUpgradeStep.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/StarterKitDownloadStep.cs
#	src/Umbraco.Infrastructure/Logging/Serilog/Enrichers/HttpRequestIdEnricher.cs
#	src/Umbraco.Infrastructure/Logging/Serilog/Enrichers/HttpRequestNumberEnricher.cs
#	src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
#	src/Umbraco.Infrastructure/Logging/Serilog/SerilogLogger.cs
#	src/Umbraco.Infrastructure/Logging/Viewer/ILogViewer.cs
#	src/Umbraco.Infrastructure/Logging/Viewer/LogViewerComposer.cs
#	src/Umbraco.Infrastructure/Logging/Viewer/SerilogLogViewerSourceBase.cs
#	src/Umbraco.Infrastructure/Manifest/DashboardAccessRuleConverter.cs
#	src/Umbraco.Infrastructure/Manifest/DataEditorConverter.cs
#	src/Umbraco.Infrastructure/Manifest/ManifestParser.cs
#	src/Umbraco.Infrastructure/Manifest/ValueValidatorConverter.cs
#	src/Umbraco.Infrastructure/Media/ImageDimensionExtractor.cs
#	src/Umbraco.Infrastructure/Migrations/Expressions/Create/Index/CreateIndexBuilder.cs
#	src/Umbraco.Infrastructure/Migrations/Expressions/Delete/KeysAndIndexes/DeleteKeysAndIndexesBuilder.cs
#	src/Umbraco.Infrastructure/Migrations/IMigrationContext.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseDataCreator.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreatorFactory.cs
#	src/Umbraco.Infrastructure/Migrations/MigrationBase.cs
#	src/Umbraco.Infrastructure/Migrations/MigrationBase_Extra.cs
#	src/Umbraco.Infrastructure/Migrations/MigrationContext.cs
#	src/Umbraco.Infrastructure/Migrations/MigrationPlan.cs
#	src/Umbraco.Infrastructure/Migrations/PostMigrations/ClearCsrfCookies.cs
#	src/Umbraco.Infrastructure/Migrations/PostMigrations/PublishedSnapshotRebuilder.cs
#	src/Umbraco.Infrastructure/Migrations/PostMigrations/RebuildPublishedSnapshot.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/Upgrader.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/AddContentNuTable.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/ConvertRelatedLinksToMultiUrlPicker.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DataTypeMigration.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DataTypes/DropDownFlexiblePreValueMigrator.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DataTypes/RenamingPreValueMigrator.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DataTypes/UmbracoSliderPreValueMigrator.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DataTypes/ValueListPreValueMigrator.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/DropDownPropertyEditorsMigration.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/FallbackLanguage.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/MergeDateAndDateTimePropertyEditor.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/Models/PropertyDataDto80.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/PropertyEditorsMigrationBase.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/RadioAndCheckboxPropertyEditorsMigration.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/TablesForScheduledPublishing.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_0_0/UpdatePickerIntegerValuesToUdi.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_1_0/ConvertTinyMceAndGridMediaUrlsToLocalLink.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockEditorData.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockEditorDataConverter.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockItemData.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockListEditorDataConverter.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockListLayoutItem.cs
#	src/Umbraco.Infrastructure/Models/Mapping/EntityMapDefinition.cs
#	src/Umbraco.Infrastructure/Models/PathValidationExtensions.cs
#	src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
#	src/Umbraco.Infrastructure/Packaging/PackageInstallation.cs
#	src/Umbraco.Infrastructure/Persistence/DatabaseModelDefinitions/DefinitionFactory.cs
#	src/Umbraco.Infrastructure/Persistence/DatabaseModelDefinitions/IndexColumnDefinition.cs
#	src/Umbraco.Infrastructure/Persistence/DbConnectionExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/Dtos/PropertyDataDto.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/AuditEntryFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/ConsentFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/ContentBaseFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/ContentTypeFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/DataTypeFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/DictionaryItemFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/DictionaryTranslationFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/ExternalLoginFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/LanguageFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/MacroFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/MemberGroupFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/PropertyFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/PropertyGroupFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/PublicAccessEntryFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/RelationFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/RelationTypeFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/ServerRegistrationFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/TagFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/TemplateFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/UserFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/UserGroupFactory.cs
#	src/Umbraco.Infrastructure/Persistence/ISqlContext.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/AccessMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/AuditEntryMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/AuditItemMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/BaseMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/ConsentMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/ContentMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/ContentTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/DataTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/DictionaryMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/DictionaryTranslationMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/DomainMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/ExternalLoginMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/LanguageMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MacroMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MapperCollectionBuilder.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MediaMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MediaTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MemberGroupMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MemberMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/MemberTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/PropertyMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/RelationMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/ServerRegistrationMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/SimpleContentTypeMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/TagMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/TemplateMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/UmbracoEntityMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/UserGroupMapper.cs
#	src/Umbraco.Infrastructure/Persistence/Mappers/UserMapper.cs
#	src/Umbraco.Infrastructure/Persistence/NPocoDatabaseExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/NPocoSqlExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/Querying/ExpressionVisitorBase.cs
#	src/Umbraco.Infrastructure/Persistence/Querying/ModelToSqlExpressionVisitor.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IContentRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IContentTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IContentTypeRepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IDataTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IDocumentRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IEntityRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IMediaRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IMediaTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IMemberRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IMemberTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/IPublicAccessRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/AuditEntryRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/AuditRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ConsentRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentRepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentTypeCommonRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DataTypeContainerRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DataTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DictionaryRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentBlueprintRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentTypeContainerRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DomainRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/EntityContainerRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/EntityRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/EntityRepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/KeyValueRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/LanguageRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/LanguageRepositoryExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MediaRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MediaTypeContainerRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MediaTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberGroupRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/NotificationsRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/PartialViewMacroRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/PermissionRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/PublicAccessRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RedirectUrlRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationTypeRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RepositoryBase.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ServerRegistrationRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/SimilarNodeName.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/SimpleGetRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TagRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TemplateRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/UserGroupRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Infrastructure/Persistence/SqlContext.cs
#	src/Umbraco.Infrastructure/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
#	src/Umbraco.Infrastructure/Persistence/SqlSyntax/SqlSyntaxProviderBase.cs
#	src/Umbraco.Infrastructure/Persistence/SqlSyntaxExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/UmbracoDatabaseExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/UmbracoDatabaseFactory.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockListConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockListPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/CheckBoxListPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ColorPickerConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ColorPickerPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ComplexEditorValidator.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ComplexPropertyEditorContentEventHandler.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ConfigurationEditorOfTConfiguration.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ContentPickerConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/DateTimeConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/DateTimePropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/DropDownFlexibleConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/DropDownFlexiblePropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/EmailAddressConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/EmailAddressPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/GridConfiguration.cs
#	src/Umbraco.Infrastructure/PropertyEditors/GridConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/GridPropertyIndexValueFactory.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ImageCropperConfiguration.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ImageCropperConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ImageCropperPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ImageCropperPropertyValueEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/LabelConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/LabelPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ListViewConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ListViewPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MarkdownConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MarkdownPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MediaPickerConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultiNodePickerConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultiUrlPickerConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultiUrlPickerValueEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultipleTextStringConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultipleTextStringPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MultipleValueEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/PropertyEditorsComponent.cs
#	src/Umbraco.Infrastructure/PropertyEditors/PropertyEditorsComposer.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RadioButtonsPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RichTextConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/SliderConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/SliderPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TagConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TagsPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TextAreaConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TextAreaPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TextboxConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TextboxPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TrueFalseConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/TrueFalsePropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/UploadFileTypeValidator.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/BlockEditorConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/BlockListPropertyValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ColorPickerValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/FlexibleDropdownPropertyValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/GridValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValue.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/JsonValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/MarkdownEditorValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/MultiUrlPickerValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/NestedContentManyValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/NestedContentSingleValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/NestedContentValueConverterBase.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/RteMacroRenderingValueConverter.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueListConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueListUniqueValueValidator.cs
#	src/Umbraco.Infrastructure/PublishedContentQuery.cs
#	src/Umbraco.Infrastructure/Routing/ContentFinderByConfigured404.cs
#	src/Umbraco.Infrastructure/Routing/NotFoundHandlerHelper.cs
#	src/Umbraco.Infrastructure/Routing/RedirectTrackingComponent.cs
#	src/Umbraco.Infrastructure/Runtime/CoreRuntime.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/RuntimeState.cs
#	src/Umbraco.Infrastructure/Scoping/IScope.cs
#	src/Umbraco.Infrastructure/Scoping/IScopeProvider.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.Infrastructure/Scoping/ScopeProvider.cs
#	src/Umbraco.Infrastructure/Scoping/ScopeReference.cs
#	src/Umbraco.Infrastructure/Search/BackgroundIndexRebuilder.cs
#	src/Umbraco.Infrastructure/Search/ExamineComponent.cs
#	src/Umbraco.Infrastructure/Search/ExamineComposer.cs
#	src/Umbraco.Infrastructure/Search/ExamineFinalComponent.cs
#	src/Umbraco.Infrastructure/Search/ExamineUserComponent.cs
#	src/Umbraco.Infrastructure/Search/UmbracoTreeSearcher.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeClaimsPrincipalFactory.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeIdentityUser.cs
#	src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
#	src/Umbraco.Infrastructure/Security/IUmbracoUserManager.cs
#	src/Umbraco.Infrastructure/Security/SignOutAuditEventArgs.cs
#	src/Umbraco.Infrastructure/Security/UmbracoIdentityUser.cs
#	src/Umbraco.Infrastructure/Security/UmbracoUserManager.cs
#	src/Umbraco.Infrastructure/Security/UserInviteEventArgs.cs
#	src/Umbraco.Infrastructure/Serialization/ConfigurationEditorJsonSerializer.cs
#	src/Umbraco.Infrastructure/Services/IdKeyMap.cs
#	src/Umbraco.Infrastructure/Services/Implement/AuditService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ConsentService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentTypeBaseServiceProvider.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentTypeService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentTypeServiceBase.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentTypeServiceBaseOfTItemTService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentTypeServiceBaseOfTRepositoryTItemTService.cs
#	src/Umbraco.Infrastructure/Services/Implement/DataTypeService.cs
#	src/Umbraco.Infrastructure/Services/Implement/DomainService.cs
#	src/Umbraco.Infrastructure/Services/Implement/EntityService.cs
#	src/Umbraco.Infrastructure/Services/Implement/EntityXmlSerializer.cs
#	src/Umbraco.Infrastructure/Services/Implement/ExternalLoginService.cs
#	src/Umbraco.Infrastructure/Services/Implement/FileService.cs
#	src/Umbraco.Infrastructure/Services/Implement/KeyValueService.cs
#	src/Umbraco.Infrastructure/Services/Implement/LocalizationService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MacroService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MediaService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MediaTypeService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MemberGroupService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MemberService.cs
#	src/Umbraco.Infrastructure/Services/Implement/MemberTypeService.cs
#	src/Umbraco.Infrastructure/Services/Implement/NotificationService.cs
#	src/Umbraco.Infrastructure/Services/Implement/PackagingService.cs
#	src/Umbraco.Infrastructure/Services/Implement/PropertyValidationService.cs
#	src/Umbraco.Infrastructure/Services/Implement/PublicAccessService.cs
#	src/Umbraco.Infrastructure/Services/Implement/RedirectUrlService.cs
#	src/Umbraco.Infrastructure/Services/Implement/RelationService.cs
#	src/Umbraco.Infrastructure/Services/Implement/RepositoryService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ScopeRepositoryService.cs
#	src/Umbraco.Infrastructure/Services/Implement/ServerRegistrationService.cs
#	src/Umbraco.Infrastructure/Services/Implement/TagService.cs
#	src/Umbraco.Infrastructure/Services/Implement/UserService.cs
#	src/Umbraco.Infrastructure/Suspendable.cs
#	src/Umbraco.Infrastructure/Sync/BatchedDatabaseServerMessenger.cs
#	src/Umbraco.Infrastructure/Sync/DatabaseServerMessenger.cs
#	src/Umbraco.Infrastructure/Sync/RefreshInstruction.cs
#	src/Umbraco.Infrastructure/Sync/RefreshInstructionEnvelope.cs
#	src/Umbraco.Infrastructure/Sync/ServerMessengerBase.cs
#	src/Umbraco.Infrastructure/TagQuery.cs
#	src/Umbraco.Infrastructure/Trees/TreeRootNode.cs
#	src/Umbraco.Infrastructure/WebAssets/BackOfficeJavaScriptInitializer.cs
#	src/Umbraco.Infrastructure/WebAssets/BackOfficeWebAssets.cs
#	src/Umbraco.Infrastructure/WebAssets/RuntimeMinifierExtensions.cs
#	src/Umbraco.Infrastructure/WebAssets/ServerVariablesParser.cs
#	src/Umbraco.Infrastructure/WebAssets/ServerVariablesParsing.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/Builder.cs
#	src/Umbraco.ModelsBuilder.Embedded/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.ModelsBuilder.Embedded/ModelsBuilderNotificationHandler.cs
#	src/Umbraco.ModelsBuilder.Embedded/PublishedElementExtensions.cs
#	src/Umbraco.Persistence.SqlCe/SqlCeBulkSqlInsertProvider.cs
#	src/Umbraco.Persistence.SqlCe/SqlCeEmbeddedDatabaseCreator.cs
#	src/Umbraco.Persistence.SqlCe/SqlCeSyntaxProvider.cs
#	src/Umbraco.PublishedCache.NuCache/ContentStore.cs
#	src/Umbraco.PublishedCache.NuCache/DataSource/ContentNestedData.cs
#	src/Umbraco.PublishedCache.NuCache/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.PublishedCache.NuCache/MemberCache.cs
#	src/Umbraco.PublishedCache.NuCache/Persistence/NuCacheContentRepository.cs
#	src/Umbraco.PublishedCache.NuCache/Persistence/NuCacheContentService.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotServiceEventHandler.cs
#	src/Umbraco.PublishedCache.NuCache/SnapDictionary.cs
#	src/Umbraco.TestData/LoadTestController.cs
#	src/Umbraco.TestData/UmbracoTestDataController.cs
#	src/Umbraco.Tests.Benchmarks/ModelToSqlExpressionHelperBenchmarks.cs
#	src/Umbraco.Tests.Benchmarks/SqlTemplatesBenchmark.cs
#	src/Umbraco.Tests.Common/Builders/DataTypeBuilder.cs
#	src/Umbraco.Tests.Common/TestHelperBase.cs
#	src/Umbraco.Tests.Common/TestHelpers/MockedValueEditors.cs
#	src/Umbraco.Tests.Common/TestHelpers/SolidPublishedSnapshot.cs
#	src/Umbraco.Tests.Integration/Cache/DistributedCacheBinderTests.cs
#	src/Umbraco.Tests.Integration/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
#	src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
#	src/Umbraco.Tests.Integration/Testing/BaseTestDatabase.cs
#	src/Umbraco.Tests.Integration/Testing/TestUmbracoDatabaseFactoryProvider.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTestWithContent.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/ContentTypeModelMappingTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/Packaging/PackageDataInstallationTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Migrations/AdvancedMigrationTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/DatabaseBuilderTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/NPocoTests/NPocoBulkInsertTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/NPocoTests/NPocoFetchTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/AuditRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ContentTypeRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/DataTypeDefinitionRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/DictionaryRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/DocumentRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/DomainRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/EntityRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/KeyValueRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/LanguageRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/MacroRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/MediaRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/MediaTypeRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/MemberRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/MemberTypeRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/NotificationsRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/PartialViewRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/PublicAccessRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/RedirectUrlRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/RelationRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/RelationTypeRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ServerRegistrationRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/StylesheetRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/TagRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/UserGroupRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/SchemaValidationTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/SqlServerTableByTableTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/SyntaxProvider/SqlServerSyntaxProviderTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/UnitOfWorkTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopeFileSystemsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopeTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopedRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/AuditServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/CachedDataTypeServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentEventsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceEventTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTagsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentTypeServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentTypeServiceVariantsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/DataTypeServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/EntityServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ExternalLoginServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/LocalizationServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MacroServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaTypeServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/RedirectUrlServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ThreadSafetyServiceTest.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/UserServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/Filters/ContentModelValidatorTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/UmbracoBackOfficeServiceCollectionExtensionsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Web.Website/Routing/FrontEndRouteTests.cs
#	src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
#	src/Umbraco.Tests.UnitTests/TestHelpers/BaseUsingSqlSyntax.cs
#	src/Umbraco.Tests.UnitTests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/BackOffice/BackOfficeClaimsPrincipalFactoryTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Cache/DefaultCachePolicyTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Cache/FullDataSetCachePolicyTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Cache/SingleItemsOnlyCachePolicyTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Composing/TypeLoaderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Configuration/Models/Extensions/HealthCheckSettingsExtensionsTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Configuration/Models/Validation/HealthChecksSettingsValidatorTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Configuration/NCronTabParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/CoreThings/UdiTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Manifest/ManifestParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Models/VariationTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/BlockEditorComponentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/BlockListPropertyValueConverterTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ColorListValidatorTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ConvertersTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/DataValueReferenceFactoryCollectionTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/EnsureUniqueValuesValidatorTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/MultiValuePropertyEditorTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/PropertyEditorValueConverterTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/ConvertersTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/NestedContentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/PropertyCacheLevelTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/ReflectionUtilitiesTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Scoping/ScopeEventDispatcherTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Examine/UmbracoContentValueSetValidatorTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/HealthCheckNotifierTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/KeepAliveTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/LogScrubberTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/ScheduledPublishingTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/ServerRegistration/InstructionProcessTaskTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/ServerRegistration/TouchServerTaskTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Logging/LogviewerTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Media/ImageSharpImageUrlGeneratorTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Migrations/AlterMigrationTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Migrations/MigrationPlanTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Migrations/MigrationTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Migrations/PostMigrationTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Models/PathValidationTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/ContentMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/ContentTypeMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/DataTypeMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/DictionaryMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/DictionaryTranslationMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/LanguageMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/MediaMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/RelationMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/NPocoTests/NPocoSqlExtensionsTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/NPocoTests/NPocoSqlTemplateTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/NPocoTests/NPocoSqlTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/ContentTypeRepositorySqlClausesTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/DataTypeDefinitionRepositorySqlClausesTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/ExpressionTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/MediaRepositorySqlClausesTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/MediaTypeRepositorySqlClausesTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Persistence/Querying/QueryBuilderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Serialization/JsonNetSerializerTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Services/AmbiguousEventTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Services/PropertyValidationServiceTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.ModelsBuilder.Embedded/BuilderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.PublishedCache.NuCache/SnapDictionaryTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/UsersControllerTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/AngularIntegration/JsInitializationTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/AngularIntegration/ServerVariablesParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ImageCropperTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Macros/MacroParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
#	src/Umbraco.Tests/Cache/PublishedCache/PublishedMediaCacheTests.cs
#	src/Umbraco.Tests/Issues/U9560.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/DictionaryPublishedContent.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/LegacyBackgroundTask/BackgroundTaskRunner.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/PublishedContentCache.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/PublishedMediaCache.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/PublishedMemberCache.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/PublishedSnapshot.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/SafeXmlReaderWriter.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlPublishedContent.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlPublishedProperty.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlPublishedSnapshotService.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlStore.cs
#	src/Umbraco.Tests/Models/MediaXmlTest.cs
#	src/Umbraco.Tests/Persistence/Mappers/MapperTestBase.cs
#	src/Umbraco.Tests/Persistence/NPocoTests/PetaPocoCachesTest.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentDataTableTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentMoreTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentSnapshotTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedMediaTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedRouterTests.cs
#	src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
#	src/Umbraco.Tests/Routing/BaseUrlProviderTest.cs
#	src/Umbraco.Tests/Routing/ContentFinderByAliasTests.cs
#	src/Umbraco.Tests/Routing/ContentFinderByAliasWithDomainsTests.cs
#	src/Umbraco.Tests/Routing/ContentFinderByIdTests.cs
#	src/Umbraco.Tests/Routing/ContentFinderByUrlAndTemplateTests.cs
#	src/Umbraco.Tests/Routing/ContentFinderByUrlTests.cs
#	src/Umbraco.Tests/Routing/ContentFinderByUrlWithDomainsTests.cs
#	src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
#	src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UrlProviderWithoutHideTopLevelNodeFromPathTests.cs
#	src/Umbraco.Tests/Routing/UrlRoutesTests.cs
#	src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
#	src/Umbraco.Tests/Scoping/ScopedXmlTests.cs
#	src/Umbraco.Tests/Services/TestWithSomeContentBase.cs
#	src/Umbraco.Tests/TestHelpers/BaseUsingSqlCeSyntax.cs
#	src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/AuthenticateEverythingMiddleware.cs
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/TestControllerActivatorBase.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedContent.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedMedia.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedMember.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedPropertyTypes.cs
#	src/Umbraco.Tests/TestHelpers/Stubs/TestLastChanceFinder.cs
#	src/Umbraco.Tests/TestHelpers/Stubs/TestUserPasswordConfig.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects-Mocks.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Tests/TestHelpers/TestWithDatabaseBase.cs
#	src/Umbraco.Tests/Testing/Objects/TestDataSource.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Tests/UmbracoExamine/EventsTest.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexInitializer.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexTest.cs
#	src/Umbraco.Tests/UmbracoExamine/SearchTests.cs
#	src/Umbraco.Tests/Web/PublishedContentQueryTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ExamineManagementController.cs
#	src/Umbraco.Web.BackOffice/Controllers/LogController.cs
#	src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
#	src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs
#	src/Umbraco.Web.BackOffice/Controllers/PublishedSnapshotCacheStatusController.cs
#	src/Umbraco.Web.BackOffice/Controllers/SectionController.cs
#	src/Umbraco.Web.BackOffice/Controllers/TemplateQueryController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/ServiceCollectionExtensions.cs
#	src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.BackOffice/Extensions/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web.BackOffice/Filters/CheckIfUserTicketDataIsStaleAttribute.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficePasswordHasher.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSecurityStampValidator.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSessionIdValidator.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs
#	src/Umbraco.Web.BackOffice/Security/BackOfficeUserManagerAuditer.cs
#	src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeIdentityOptions.cs
#	src/Umbraco.Web.BackOffice/Security/ExternalSignInAutoLinkOptions.cs
#	src/Umbraco.Web.BackOffice/Security/IBackOfficeSignInManager.cs
#	src/Umbraco.Web.BackOffice/Security/PasswordChanger.cs
#	src/Umbraco.Web.BackOffice/Trees/ApplicationTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/DataTypeTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/MediaTypeTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/MemberTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/MemberTypeTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/TemplatesTreeController.cs
#	src/Umbraco.Web.Common/Controllers/PluginController.cs
#	src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
#	src/Umbraco.Web.Common/Extensions/ImageCropperTemplateCoreExtensions.cs
#	src/Umbraco.Web.Common/Extensions/ImageCropperTemplateExtensions.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/Install/InstallApiController.cs
#	src/Umbraco.Web.Common/Install/InstallController.cs
#	src/Umbraco.Web.Common/Middleware/UmbracoRequestLoggingMiddleware.cs
#	src/Umbraco.Web.Common/Middleware/UmbracoRequestMiddleware.cs
#	src/Umbraco.Web.Common/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web.Common/UmbracoHelper.cs
#	src/Umbraco.Web.UI.NetCore/Views/Partials/grid/editors/media.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/PartialViewMacros/Templates/Gallery.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/PartialViewMacros/Templates/ListChildPagesFromChangeableSource.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/PartialViewMacros/Templates/ListImagesFromMediaFolder.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/AuthorizeUpgrade.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Preview.cshtml
#	src/Umbraco.Web.Website/Controllers/SurfaceController.cs
#	src/Umbraco.Web.Website/Controllers/UmbLoginController.cs
#	src/Umbraco.Web.Website/Controllers/UmbLoginStatusController.cs
#	src/Umbraco.Web.Website/Controllers/UmbProfileController.cs
#	src/Umbraco.Web.Website/Controllers/UmbRegisterController.cs
#	src/Umbraco.Web.Website/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Website/Extensions/PublishedContentExtensions.cs
#	src/Umbraco.Web/Composing/Current.cs
#	src/Umbraco.Web/HttpContextUmbracoContextAccessor.cs
#	src/Umbraco.Web/Macros/MemberUserKeyProvider.cs
#	src/Umbraco.Web/Mvc/PluginController.cs
#	src/Umbraco.Web/Mvc/RenderRouteHandler.cs
#	src/Umbraco.Web/Mvc/RouteDefinition.cs
#	src/Umbraco.Web/Mvc/SurfaceController.cs
#	src/Umbraco.Web/Runtime/AspNetUmbracoBootPermissionChecker.cs
#	src/Umbraco.Web/Security/ActiveDirectoryBackOfficeUserPasswordChecker.cs
#	src/Umbraco.Web/Security/AuthenticationOptionsExtensions.cs
#	src/Umbraco.Web/Security/BackofficeSecurity.cs
#	src/Umbraco.Web/Security/Providers/MembersRoleProvider.cs
#	src/Umbraco.Web/Security/UmbracoMembershipProviderBase.cs
#	src/Umbraco.Web/UmbracoApplication.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
#	src/Umbraco.Web/UmbracoContext.cs
#	src/Umbraco.Web/UmbracoContextFactory.cs
#	src/Umbraco.Web/UmbracoDbProviderFactoryCreator.cs
#	src/Umbraco.Web/UmbracoHttpHandler.cs
#	src/Umbraco.Web/UmbracoWebService.cs
#	src/Umbraco.Web/WebApi/UmbracoApiController.cs
#	src/Umbraco.Web/WebApi/UmbracoApiControllerBase.cs
#	src/Umbraco.Web/WebApi/UmbracoAuthorizeAttribute.cs
#	src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs
2021-02-18 14:52:18 +01:00
Kenn Jacobsen da0b869229 Merged with netcore/dev 2021-02-18 14:21:57 +01:00
Kenn Jacobsen f5f6824629 Allow serving App_Plugins files to Smidge for minification 2021-02-18 14:07:24 +01:00
MoleandGitHub bf41c2eeaa Netcore: Align namespaces (#9801)
* Rename Umbraco.Core namespace to Umbraco.Cms.Core

* Move extension methods in core project to Umbraco.Extensions

* Move extension methods in core project to Umbraco.Extensions

* Rename Umbraco.Examine namespace to Umbraco.Cms.Examine

* Move examine extensions to Umbraco.Extensions namespace

* Reflect changed namespaces in Builder and fix unit tests

* Adjust namespace in Umbraco.ModelsBuilder.Embedded

* Adjust namespace in Umbraco.Persistence.SqlCe

* Adjust namespace in Umbraco.PublishedCache.NuCache

* Align namespaces in Umbraco.Web.BackOffice

* Align namespaces in Umbraco.Web.Common

* Ensure that SqlCeSupport is still enabled after changing the namespace

* Align namespaces in Umbraco.Web.Website

* Align namespaces in Umbraco.Web.UI.NetCore

* Align namespaces in Umbraco.Tests.Common

* Align namespaces in Umbraco.Tests.UnitTests

* Align namespaces in Umbraco.Tests.Integration

* Fix errors caused by changed namespaces

* Fix integration tests

* Undo the Umbraco.Examine.Lucene namespace change

This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.

* Fix merge

* Fix Merge
2021-02-18 11:06:02 +01:00
Kenn Jacobsen cfa9adc87e Split backoffice core and extensions JS into two different bundles and disable minification for all core JS bundles 2021-02-18 10:07:09 +01:00
f1717a17f5 Fixes error trying to load Cosmos.CRTCompat.dll (System.BadImageForma… (#9834)
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-02-18 09:27:14 +01:00
Elitsa Marinovska a2cfd277ce Cleanup 2021-02-18 08:33:49 +01:00
Elitsa Marinovska 4bccb995ec Introducing IModelsBuilderDashboardProvider 2021-02-18 08:27:35 +01:00
Elitsa Marinovska 74a67bf8bc Migrating classes to Web.Common proj 2021-02-18 08:26:08 +01:00
Kenn Jacobsen 2ccd4a61f4 Minify client JS as part of the build conditionally (not for dev) and reference only minified JS libraries 2021-02-18 08:23:14 +01:00
Elitsa Marinovska 570d19f298 Migrating classes to Web.BackOffice proj 2021-02-18 08:21:48 +01:00
Elitsa Marinovska e74836cb48 Moving classes to Infrastructure proj 2021-02-18 08:14:27 +01:00
Mole ce5eaac5a4 Merge branch 'netcore/feature/align-namespaces' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Web/Mvc/EnsurePublishedContentRequestAttribute.cs
#	src/Umbraco.Web/Mvc/UmbracoVirtualNodeRouteHandler.cs
2021-02-17 15:44:36 +01:00
Mole 57f7a8432c Fix Merge 2021-02-17 15:41:54 +01:00
Mole 738150f5ad Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-namespaces
# Conflicts:
#	src/Umbraco.Core/IO/ViewHelper.cs
#	src/Umbraco.Core/Models/ContentModel.cs
#	src/Umbraco.Core/Models/ContentModelOfTContent.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Templates/ViewHelperTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Views/UmbracoViewPageTests.cs
#	src/Umbraco.Web.Common/ApplicationModels/BackOfficeApplicationModelProvider.cs
#	src/Umbraco.Web.Common/ApplicationModels/BackOfficeIdentityCultureConvention.cs
#	src/Umbraco.Web.Common/ApplicationModels/UmbracoApiBehaviorApplicationModelProvider.cs
#	src/Umbraco.Web.Common/ApplicationModels/UmbracoJsonModelBinderConvention.cs
#	src/Umbraco.Web.Common/Controllers/RenderController.cs
#	src/Umbraco.Web.Common/Macros/PartialViewMacroPage.cs
#	src/Umbraco.Web.Common/Views/UmbracoViewPage.cs
#	src/Umbraco.Web.UI.NetCore/Views/Partials/blocklist/default.cshtml
#	src/Umbraco.Web.UI.NetCore/Views/Partials/grid/bootstrap3-fluid.cshtml
#	src/Umbraco.Web.UI.NetCore/Views/Partials/grid/bootstrap3.cshtml
#	src/Umbraco.Web.UI.NetCore/Views/Partials/grid/editors/embed.cshtml
#	src/Umbraco.Web.UI.NetCore/Views/Partials/grid/editors/macro.cshtml
#	src/Umbraco.Web/Mvc/EnsurePublishedContentRequestAttribute.cs
#	src/Umbraco.Web/Mvc/UmbracoVirtualNodeRouteHandler.cs
2021-02-17 15:35:44 +01:00
Mole 8ba3f7ccb4 Remove UmbracoBackOfficeIdentity 2021-02-17 14:21:59 +01:00
Mole b9d61f3ad8 Gut UmbracoBackOfficeIdentity 2021-02-17 14:17:38 +01:00
Bjarke BergandGitHub 88acb07873 Merge pull request #9821 from umbraco/netcore/task/9716-custom-routes
Custom controller routes within an Umbraco context (i.e. virtual nodes)
2021-02-17 12:29:20 +01:00
Bjarke Berg 2ba3eb436c Fixed up small findings in refiew..
- Uses ILogger<T> instead of ILoggerFactory
- Uses the GetControllerName extension
- Fixes views
2021-02-17 12:00:57 +01:00
Mole 33a99df73f Remove usage of FromClaimsIdentity 2021-02-17 11:50:19 +01:00
Mole 80716a18d2 Fix mistaken use of GetId() 2021-02-17 10:16:00 +01:00
Mole a87075a941 Switch simple properties to extension methods 2021-02-17 10:11:04 +01:00
Mole d14aa007ea Add extension methods to replace UmbracoBackOfficeIdentity 2021-02-17 09:50:27 +01:00
Bjarke BergandGitHub 9c9734546c Merge pull request #9830 from umbraco/v8/bugfix/logging-for-9514
Fixes logging issue with Published Router and adds logging for Collision Detection
2021-02-17 08:26:33 +01:00
Shannon 16836951b4 Fixes logging for PublishedRouter 2021-02-17 12:45:59 +11:00
Mole fac0be1701 Remove clone
It's no longer needed
2021-02-16 15:43:15 +01:00
MoleandGitHub 0e16528db5 Merge pull request #9827 from umbraco/netcore/bugfix/fixed-build-script-to-use-Directory-build-props
Netcore: Fixed buildscripts to work with latest Umbraco.Build and Directory.Build.props
2021-02-16 14:55:26 +01:00
RobertandGitHub 9ffa1c9e0c Merge pull request #9818 from umbraco/v8/bugfix/added-more-extensions-to-disallowed-upload-files
Added more extensions to disallowed upload files
2021-02-16 14:46:35 +01:00
Bjarke Berg b0150dc8a3 Fixed tests 2021-02-16 14:20:20 +01:00
Warren BuckleyandGitHub 68ff157cf0 Ignores build.tmp folder at root as we don't want to analyze the tmp build output 2021-02-16 12:42:29 +00:00
Bjarke BergandGitHub 4aff5d38f8 Merge pull request #9778 from umbraco/v8/bugfix/broken-user-permissions-caches
Fixes issue with broken caches used for user permissions
2021-02-16 13:41:29 +01:00
Bjarke Berg e1b5212810 Fixed potential NullReferenceException when using obsolete ctor. 2021-02-16 12:56:07 +01:00
Bjarke Berg 02ac81d53f Fixed buildscripts to work with latest Umbraco.Build (0.2.17) and Directory.Build.props. Also updates the port (Now located in launchSettings.json) number if SetUmbracoVersion is called. 2021-02-16 12:28:37 +01:00
Bjarke Berg 176b10cf5d Added overloads to inject AppCaches + Fixed tests 2021-02-16 10:56:16 +01:00
MoleandGitHub e065ba593f Merge pull request #9822 from umbraco/netcore/bugfix/copy-static-files-to-publish-directory
Netcore: Copy static files to publish directory in dotnet template
2021-02-16 10:27:30 +01:00
Mole aa7294d2b6 Merge branch 'netcore/feature/align-namespaces' into netcore/feature/align-infrastructure-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
#	src/Umbraco.Infrastructure/Examine/PublishedContentIndexPopulator.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexInitializer.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexTest.cs
#	src/Umbraco.Tests/UmbracoExamine/SearchTests.cs
2021-02-16 08:29:32 +01:00
Mole 60ecb9ffea Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-namespaces 2021-02-16 08:12:41 +01:00
Shannon 7e40a66fed Fixing tests 2021-02-16 18:04:32 +11:00
Shannon 9ef8de36e5 Ensures that we don't add duplicate UmbracoVirtualPageFilterAttribute and that we use the ActionExecutingContext as the context during the FindContent operation 2021-02-16 18:02:05 +11:00
Bjarke Berg 6fcfcb0003 https://github.com/umbraco/Umbraco-CMS/issues/9811 Copy static files to publish directory in dotnet template 2021-02-16 07:19:47 +01:00
Shannon 2477951493 Adds better logging for URL collision detection. 2021-02-16 17:07:12 +11:00
Shannon f40a6be9b6 Remove EnsurePublishedContentRequestAttribute 2021-02-16 12:19:25 +11:00
Bjarne FyrstenborgandNathan Woulfe 97ad14c895 Update to noUiSlider v14.6.3 2021-02-16 08:50:35 +10:00
Jim LöfgrenandNathan Woulfe fc8dc76d80 Changed grid view labels and values to display: inline instead of display: inline-block to fix weird line break. 2021-02-16 08:07:11 +10:00
Bjarke Berg 5188bb09ce Reintroduced temp SolutionInfo 2021-02-15 17:50:33 +01:00
Mole efe952f01c Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Examine/PublishedContentIndexPopulator.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexInitializer.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexTest.cs
#	src/Umbraco.Tests/UmbracoExamine/SearchTests.cs
2021-02-15 15:55:16 +01:00
Mole 7213080b4e Merge branch 'netcore/feature/align-namespaces' into netcore/feature/align-infrastructure-namespaces 2021-02-15 15:48:09 +01:00
Bjarke Berg 285473d0e8 Fixed failing test 2021-02-15 15:47:59 +01:00
Mole 7e8c7fdc2b Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Search/ExamineComposer.cs
2021-02-15 15:45:03 +01:00
Mole efe4162027 Align Umbraco.Examine.Lucene to Umbraco.Cms.Infrastructure.Examine
The namespace has to be the same as in Infrastructure/Examine otherwise linux build fails.
2021-02-15 14:45:02 +01:00
Mole 9eea570edc Fix Builder and buildertests 2021-02-15 14:32:26 +01:00
Mole 964dd235b5 Align namespaces of missed extension methods. 2021-02-15 13:59:58 +01:00
Bjarke Berg 2fa5c8e3be Fixed registration of IIndexPopulators, to allow injection as IEnumerable<IIndexPopulator> 2021-02-15 13:54:01 +01:00
Bjarke Berg 9ba04c394b Added Directory.Build.props to replace SolutionInfo 2021-02-15 13:53:06 +01:00
Mole 7e791f3fe7 Align namespaces in Packaging to Umbraco.Cms.Core
And fix tests
2021-02-15 13:44:18 +01:00
Bjarke Berg 7ebfd0e63c Added Xamlx extension to the DisallowedUploadFiles 2021-02-15 13:19:16 +01:00
Mole eb091f8dcd Align namespaces in root of infrastructure 2021-02-15 13:14:18 +01:00
Mole 7f58b3479b Align namespaces in WebAssets to Umbraco.Cms.Infrastructure 2021-02-15 13:07:12 +01:00
Mole f0362d4790 Align namespaces in Trees to Umbraco.Cms.Core 2021-02-15 12:57:58 +01:00
Mole 9f012200dc Align namespaces in Sync to Umbraco.Cms.Infrastructure 2021-02-15 12:54:13 +01:00
Mole 33c8396ad2 Align namespaces in Services to Umbraco.Cms.Infrastructure 2021-02-15 12:51:42 +01:00
Mole 0cc3645146 Align namespaces in Serialization to Umbraco.Cms.Infrastructure
This seems like some very Newtonsoft specific things, so I put it infrastructure
2021-02-15 12:42:26 +01:00
Mole 30b086d5d0 Align namespaces in Security to Umbraco.Cms.Core 2021-02-15 12:01:12 +01:00
Mole 9733072f24 Align namespaces in Search to Umbraco.Cms.Infrastructure 2021-02-15 11:45:27 +01:00
Mole 48e1ba2127 Align namespaces in Scoping to Umbraco.Cms.Core 2021-02-15 11:41:12 +01:00
e6462eded6 V8/feature/10273 variant sorting (#9797)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-02-15 11:15:45 +01:00
Mole 66de3f4fef Align namespaces in Runtime to Umbraco.Cms.Infrastructure 2021-02-15 11:04:19 +01:00
Mole 3106c2ea7c Align namespaces in routing to Umbraco.Cms.Core 2021-02-15 10:59:52 +01:00
Mole 161f01bc1e Change namespace of PublishedContentTypeCache to Umbraco.Cms.Core.PublishedCache 2021-02-15 10:48:14 +01:00
Mole b17c3158c0 Align namespaces in PropertyEditors to Umbraco.Cms.Core.* 2021-02-15 10:42:35 +01:00
Mole 2ccb97b951 Merge branch 'netcore/feature/align-namespaces' into netcore/feature/align-infrastructure-namespaces 2021-02-15 08:50:30 +01:00
Shannon 4f2682678e Gets virtual page routing working, now just need to document. 2021-02-15 18:50:16 +11:00
Mole 5ef01d0e5c Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-namespaces
# Conflicts:
#	src/Umbraco.Infrastructure/Routing/RedirectTrackingComponent.cs
#	src/Umbraco.Web.BackOffice/Controllers/RedirectUrlManagementController.cs
2021-02-15 08:46:46 +01:00
MoleandGitHub 1eac582649 Merge pull request #9814 from umbraco/netcore/bugfix/9813-DisableRedirectUrlTracking_value_cached
Netcore bugfix: DisableRedirectUrlTrackingValue was cached
2021-02-15 08:39:20 +01:00
Bjarke Berg 801c565bd5 https://github.com/umbraco/Umbraco-CMS/issues/9813 - Fixed issue with configuration value cached, even that the dashboard was updating its value. 2021-02-15 08:08:52 +01:00
Emma Garland a931f3c263 Renamed members manager method 2021-02-14 13:01:27 +00:00
Emma Garland 167811b23b Moving adding members services to correct project for use on the front-end, not just the back-office. 2021-02-14 12:57:48 +00:00
Emma Garland a4ee8055f9 Moved builder to corect location 2021-02-12 17:06:29 +00:00
Emma Garland d508bd21ff Fixed PR review comments 2021-02-12 17:03:53 +00:00
Emma Garland 2d00ece365 Renamed MembersUserManager 2021-02-12 14:38:20 +00:00
Mole 5bd8e32279 Align namespaces in Persistence
Made everything except for repository interface be in the Umbraco.Cms.Infrastructure.Persistence namespace
2021-02-12 13:36:50 +01:00
Mole 2d561c34e6 Align namespaces in Models to Umbraco.Cms.Core 2021-02-12 12:53:00 +01:00
Mole 7ab0c61284 Align namespaces in Migrations to Umbraco.Cms.Infrastructure 2021-02-12 12:40:08 +01:00
Mole 548bf27a0c Align namespaces in Media to Umbraco.Cms.Infrastructure 2021-02-12 12:33:52 +01:00
Mole 9979fe9bb1 Align namespaces in Manifest to Umbraco.Cms.Core
If we can ditch Newtonsoft, these could all be in the core project as far as I can see
2021-02-12 11:50:11 +01:00
Mole 07d04dafb8 Align namespaces in Logging to Umbraco.Cms.Core
I'm a bit uncertain about this, they do have a reference to Serilog, but the vast majority of logging already resides in Core, so I opted to move it to Umbraco.Cms.Core
2021-02-12 11:38:50 +01:00
Mole f13a961daa Align namespaces in Install 2021-02-12 11:11:44 +01:00
Mole c3e25c39a1 Align namespaces in HealthChecks and HostedServices 2021-02-12 11:03:28 +01:00
Mole 511a04a62c Align namespaces in Examine folder. 2021-02-12 10:57:50 +01:00
Mole 88f7abb72e Move Deploy and Events to Umbraco.Cms.Core.*
Also move QueuingEventDispatcher to the core project since it has 0 external references, and could be cut and pasted with 0 errors.
2021-02-12 10:54:42 +01:00
Mole b74abaf3af Align namespaces in DependencyInjection to Umbraco.Cms.Infrastructure.DependencyInjection
Even though Core also has this, then pretty much every project has their own DI namespace, and this one does reference third party dependencies as far as I can see
2021-02-12 10:41:07 +01:00
Mole abd5c5fe94 Move namespaces in Configuration folder to Ubmraco.Cms.Core.Compose 2021-02-12 10:35:40 +01:00
Mole 70ec17508f Move namespaces in Compose folder to Ubmraco.Cms.Core.Compose 2021-02-12 10:29:37 +01:00
Mole 9e4f05c0e9 Adjust namespaces in the Cache folder
I made these Umbraco.Cms.Core even though they have to reside in infrastructure.
2021-02-12 10:13:56 +01:00
Mole 47eb0837d4 Fix merge 2021-02-12 08:41:56 +01:00
Mole 9dcd4cb74a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/align-namespaces
# Conflicts:
#	src/Umbraco.Web/Mvc/SurfaceController.cs
2021-02-12 08:40:36 +01:00
Shannon 996c2b4277 Changes namespace of UmbracoViewPage 2021-02-12 17:23:14 +11:00
Shannon af42af7425 Simplify UmbracoRouteValues since this is an http request feature which dictates what an Umbraco route is 2021-02-12 16:54:19 +11:00
Shannon aeae2fcfd2 Removes old classes that merge viewdata and modelstate that are no longer necessary 2021-02-12 16:10:50 +11:00
Mole dda023c174 Undo the Umbraco.Examine.Lucene namespace change
This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows.
2021-02-11 15:29:18 +01:00
Mole 5129326005 Fix integration tests 2021-02-11 15:24:23 +01:00
Mole ebdc6a8155 Fix errors caused by changed namespaces 2021-02-11 13:27:19 +01:00
Mole d621174f31 Align namespaces in Umbraco.Tests.Integration 2021-02-11 08:30:27 +01:00
230bf1052c V8/feature/super doctype create menu (#9174)
* WIP - added options from superdoctypecreate package

resolve merge conflict in create html file

* fiddling with the wording but it will never be perfect

* looks like ng-if should be ng-show

* Update data-elements for uniqueness (I'm not sure what these are used for!)

* pass 'iscomposition' on the querystring when choosing the 'composition' option from the menu

Why? - in the future we could hide the 'Compositions...' button when choosing to create a composition

* Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu

resolve merge conflict in Remove PostCreateCollection implementation now the Create Collection is removed in this PR from the DocType Create menu

* Add translations

* Put back PostSave method. It's useful.

Co-authored-by: Kenn Jacobsen <post@kennjacobsen.dk>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-11 09:25:38 +10:00
Mole eb2cf9b4da Align namespaces in Umbraco.Tests.UnitTests 2021-02-10 14:58:22 +01:00
Mole 476d60cc50 Align namespaces in Umbraco.Tests.Common 2021-02-10 14:45:44 +01:00
Mole 72117c1d52 Align namespaces in Umbraco.Web.UI.NetCore 2021-02-10 14:34:09 +01:00
Mole eb03671b52 Align namespaces in Umbraco.Web.Website 2021-02-10 14:30:14 +01:00
Mole 9dcc901395 Ensure that SqlCeSupport is still enabled after changing the namespace 2021-02-10 13:55:16 +01:00
Mole 55aa2edb72 Align namespaces in Umbraco.Web.Common 2021-02-10 11:42:04 +01:00
Emma Garland 89ef1aab37 Renamed Noop 2021-02-10 10:23:25 +00:00
Mole 428e80f515 Align namespaces in Umbraco.Web.BackOffice 2021-02-10 11:11:18 +01:00
Mole 737b471647 Adjust namespace in Umbraco.PublishedCache.NuCache 2021-02-10 10:46:52 +01:00
Mole 53622407b5 Adjust namespace in Umbraco.Persistence.SqlCe 2021-02-10 10:37:57 +01:00
Mole ade00997bc Adjust namespace in Umbraco.ModelsBuilder.Embedded 2021-02-10 10:34:27 +01:00
Jakob BagterpandMichael Latouche e9429cfe44 Separate remove button and label for settings and styles in Grid Layout
It's inconvenient that the click area for the remove button laps over the label of settings and styles in the Grid Layout property editor. Simply as the editor may remove the style/setting by accident – and especially since there isn't an undo option.

Known issue: Linebreak of long text labels doesn't appear pretty, but this is cosmetic and can be fixed.
2021-02-10 03:34:30 +01:00
Emma Garland 093548b933 Moved EmailConfirmed and SecurityStamp properties to shared IMembershipUser (for both IMember and IUser to use) 2021-02-09 16:14:32 +00:00
Emma Garland da2a0713cc Removed unwanted method to use property instead 2021-02-09 15:08:02 +00:00
Mole 24a56882cd Reflect changed namespaces in Builder and fix unit tests 2021-02-09 15:39:00 +01:00
Mole 16597469e6 Move examine extensions to Umbraco.Extensions namespace 2021-02-09 15:25:32 +01:00
Mole 7398a88d16 Rename Umbraco.Examine namespace to Umbraco.Cms.Examine 2021-02-09 15:22:57 +01:00
Mole 34f8766a3c Move extension methods in core project to Umbraco.Extensions 2021-02-09 15:14:56 +01:00
Emma Garland 5d51427858 PR Review: Renamed to Noop for consistency 2021-02-09 13:45:08 +00:00
Sebastiaan Janssen deb38d3f79 Clarification of the CoC 2021-02-09 14:42:55 +01:00
Emma Garland 19fcbf80f4 Merge branch 'netcore/dev' into netcore/members-userstore 2021-02-09 13:22:40 +00:00
Mole dd488a15f4 Move extension methods in core project to Umbraco.Extensions 2021-02-09 13:21:17 +01:00
Sebastiaan Janssen 6694690a11 Duh forgot to save latest version 2021-02-09 13:20:32 +01:00
Sebastiaan Janssen 4a10c99717 Adds CoC enforcement document 2021-02-09 13:17:28 +01:00
Mole 216fb87c79 Rename Umbraco.Core namespace to Umbraco.Cms.Core 2021-02-09 10:22:42 +01:00
Bjarke BergandGitHub 51986063dd Merge pull request #9780 from umbraco/v8/bugfix/fix-mini-profiler-content-apis
Fix mini profiler so that it actually profiles the Content APIs in the back office
2021-02-09 07:15:37 +01:00
Shannon 6b4f99394d Fix mini profiler so that it actually profiles the Content APIs in the back office 2021-02-09 15:30:39 +11:00
Shannon 3b3d55ca26 Fixes issue with broken caches used for user permissions
Calculating start nodes is expensive and this is supposed to be cached but the cache was not working.
2021-02-09 13:43:28 +11:00
Nathan WoulfeandGitHub f8de0fca8f 5596 allow editing alt text in grid (#9681)
* languages

* add service method for media crop details, might be useful elsewhere

* update UI to add buttons for changing image / editing existing

* update mediapicker controller to use named editor service method

* Update media.controller.js

undefined should be null, consistent use of arrow func

* move buttons to the top right - close to the grid toolbar, so more obvious
2021-02-09 02:43:59 +01:00
Bjarke BergandGitHub b0b1de9972 Merge pull request #9773 from umbraco/netcore/bugfix/Fix-BlockListEditor-validation
Netcore: Fix block list bugs
2021-02-08 15:42:39 +01:00
Daniël KnippersandGitHub fcd802ba47 V8/bugfix/9074 current urls segments (#9075) 2021-02-08 15:16:25 +01:00
Mole e57b99a3b7 Fix blocklist validation 2021-02-08 14:52:17 +01:00
MoleandGitHub fa447b3a67 Merge pull request #9770 from umbraco/netcore/bugfix/application_url
Netcore: Fix missing application url
2021-02-08 12:06:36 +01:00
Bjarke Berg b4f5fa1e19 Cleanup 2021-02-08 11:21:55 +01:00
Bjarke Berg fea86bbf7a Moved the application url to HostingEnvironment and set it in the request middleware 2021-02-08 11:00:15 +01:00
Bjarne FyrstenborgandNathan Woulfe 3a9cc910a0 Add more constants for tree icons 2021-02-08 17:00:00 +10:00
Bjarne FyrstenborgandNathan Woulfe 044573d9f1 Use umb-icon component in tree item 2021-02-08 16:47:21 +10:00
5fc37dfeb4 Prevent overflow of searchresults with long urls (#9739)
* Prevent overflow of searchresults with long urls

Small css change to prevent overflow of searchresults with long url's

* fixes wrapping in node-picker search, stop icon shrinking

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 16:32:54 +10:00
Bjarne FyrstenborgandNathan Woulfe eb9c4e4d82 Document onChange in umbPagination 2021-02-08 10:13:03 +10:00
a76924f196 Stop using .length !== 0 when its not jQuery (#9715)
* stop using .length !== 0 as its causing errors.

* revert to only change native find()

Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2021-02-08 10:10:46 +10:00
Niels LyngsøandNathan Woulfe 2d4984d434 check for ´err´ 2021-02-08 10:01:11 +10:00
06e5d07650 Fix eventService memory leaks (#9752)
* fix leak by unbinding event from $rootscope

* destroy more events

* $scope unavailable

* no need to destroy in services as they are singletons

Co-authored-by: nzdev <nzdev@github.com>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-02-08 09:56:56 +10:00
Bjarne FyrstenborgandGitHub 55124fff81 Update icons in umb-tree-search-results component (#9757)
* Avoid use of ng-if

* Green class is not necessary

* Ensure button element use full width

* Left align text inside button element
2021-02-07 02:50:20 +01:00
Bjarke Berg cf81f9b706 Fallback for getting the current published content in UmbracoHelper 2021-02-05 19:48:44 +01:00
Bjarke Berg ed18fba786 Fixed issue with injected UmbracoHelper hiding the one on the UmbracoViewPage 2021-02-05 19:36:31 +01:00
Bjarke Berg c3fbfa1280 Fixed issues with embed serialization + view
added missing view for grid media
Fix missing negation
2021-02-05 19:23:58 +01:00
Bjarke Berg 7c4982a04d Fixed issues with embed serialization + view
added missing view for grid media
+ Fixed null issues in js
2021-02-05 18:41:52 +01:00
Bjarke Berg 7949f12377 casing issues + missing semicolon in view 2021-02-05 17:17:59 +01:00
Bjarke Berg 39e9daf11a lowercasing names 2021-02-05 16:32:35 +01:00
Bjarke Berg fb7f4cf55b temp rename file 2021-02-05 16:31:33 +01:00
Bjarke Berg 36e1c012d4 lowercasing files 2021-02-05 16:31:14 +01:00
Bjarke Berg fe9410713e Temp move files before lowercasing them 2021-02-05 16:28:55 +01:00
Bjarke Berg c876cb3583 Added Views to template and fixed casing issue for linux 2021-02-05 14:41:33 +01:00
Bjarke Berg 359f188274 Casing issues fixed for linux/docker 2021-02-05 14:01:46 +01:00
Bjarke Berg c98efe047f Cleanup of duplicate entries in csproj and disabled compiled views as default from template (To work with purelive) 2021-02-05 12:27:30 +01:00
Bjarke Berg 246e29f1a6 Updated template to ignore generated files and added _ViewImports.cshtml 2021-02-05 11:46:50 +01:00
Bjarke Berg 3aadb7af46 Fixed wrong nuget reference in nuspec 2021-02-05 10:40:20 +01:00
Bjarke BergandGitHub f2b2e95c15 Merge pull request #9762 from umbraco/netcore/task/Surface-Routing-9717
SurfaceController routing for netcore
2021-02-05 10:12:10 +01:00
MoleandGitHub f8c7b9e639 Merge pull request #9748 from umbraco/netcore/feature/healthchecks
NetCore: Updated healthchecks
2021-02-05 09:55:07 +01:00
Shannon 891ba8c9e9 fixing build 2021-02-05 13:26:28 +11:00
Shannon 967c150180 Merge branch 'netcore/netcore' into netcore/task/Surface-Routing-9717 2021-02-05 13:22:21 +11:00
Shannon 295e4eb118 Merge branch 'netcore/task/Surface-Routing-9717' of https://github.com/umbraco/Umbraco-CMS into netcore/task/Surface-Routing-9717 2021-02-05 13:14:40 +11:00
Shannon b883ebfd7d Fixing tests, created constants 2021-02-05 13:14:24 +11:00
7aff288ff1 Apply suggestions from code review
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-02-05 12:32:09 +11:00
Shannon eed8e4dca8 Fixing tests 2021-02-05 12:19:09 +11:00
Emma Garland 8a9c3d0c2e Fix tests (although all properties aren't checked) 2021-02-04 17:01:21 +00:00
Bjarke BergandGitHub 97e52122b4 Update src/Umbraco.Core/HealthChecks/Checks/Security/HstsCheck.cs 2021-02-04 13:58:33 +01:00
Shannon 6273c95a90 Gets UmbracoPageResult working with ViewData and TempData 2021-02-04 14:51:55 +11:00
Shannon eda98aa41f Changes how controllers are discovered, re-uses aspnetcore to do this, rely directly on the resolved ControllerActionDescriptor since this is how routing works anyways and also saves future lookups (perf), gets the UmbracoPageResult 'working' - at least to proxy a controller execution but now we need to do the model state merging, etc... 2021-02-04 13:09:28 +11:00
Emma Garland 512361f504 Added controller role (member group) tests. Fix for custom member properties not saving. Updated custom member type saving. 2021-02-03 17:33:48 +00:00
Bjarke Berg 8bc9d05a3f Better description of success when value is null 2021-02-03 11:37:32 +01:00
Bjarke Berg 53eff154a6 Cleanup and added missing view 2021-02-03 09:12:39 +01:00
Bjarke Berg 3bf36ef705 Fixed links. They are not allowed to contain "/" 2021-02-03 08:05:16 +01:00
Bjarke Berg 027caa05db File moves 2021-02-03 08:00:03 +01:00
Bjarke Berg 0f226b590a updated files before move 2021-02-03 07:58:42 +01:00
Bjarke Berg 8624a246ba Updated healthchecks to show a link to documentation instead of trying to fix something that can often not be fixed automatically. 2021-02-03 07:42:56 +01:00
Shannon 57f3de7652 Removes a ton of old code 2021-02-03 15:59:50 +11:00
Shannon 0c26a82489 Changes the umbraco route values to use http features intead of in route values which is much nicer, fixes the redirect to page result, tests a surface controller POST and it works, ensures the routing takes place before the form check, removes a bunch of old code 2021-02-03 15:47:27 +11:00
Sebastiaan JanssenandGitHub 37402c5ba4 Add the ability to change the SQL Write Lock TimeOut (#9744)
* Add the ability to change the SQL Write Lock TimeOut

* Needed to add a default setting to to the settings for tests
2021-02-02 15:17:59 +00:00
Shannon 2dc169457b removes module injector and other migrated code 2021-02-02 18:49:16 +11:00
Shannon 86fd473018 UmbracoRequestBegin and UmbracoRequestEnd part of the core proj and changed to just have a IUmbracoContext reference. Removes IRequestAccessor events, Fixes the DatabaseServerMessengerNotificationHandler weirdness, Removes UmbracoModule and friends and old routing events and statuses 2021-02-02 18:42:39 +11:00
Shannon 9e43ff8662 linting 2021-02-02 17:32:17 +11:00
Shannon c024db9d3c gets surface controllers and front-end api controllers auto-routed, adds tests 2021-02-02 14:48:01 +11:00
Shannon 2f97265bc0 Moves controller integration tests into correct namespace 2021-02-02 14:46:46 +11:00
Nathan WoulfeandMichael Latouche 63cf3a489d fix history box label, destructure localization response 2021-02-02 02:27:05 +01:00
mcl-szandGitHub 4f3191fabe Fix for applying searchResultFormatter on found searchresults (#9738)
* Fix for applying searchResultFormatter on found searchresults

We found out that when the searchbox in the linkpicker is used, the URL of a page is not being shown anymore since Umbraco 8.7 and later. This is because of the searchResultFormatter wasn't applied correct.

* Changed ES6 arrow syntax as with the other functions.

Changed ES6 arrow syntax as with the other functions.

* Changed single qoutes to double qoutes for type
2021-02-02 09:33:31 +10:00
Emma Garland 5053c97e02 Await expressions 2021-02-01 18:13:23 +00:00
Emma Garland ecf3650f53 Remove comment 2021-02-01 18:11:13 +00:00
Emma Garland 2cdbc6b54d Merge branch 'netcore/members-userstore' into netcore/feature/members-roles 2021-02-01 18:05:15 +00:00
Emma Garland 0c787973ca Merge branch 'netcore/netcore' into netcore/members-userstore 2021-02-01 17:48:47 +00:00
Emma Garland 69da581260 Merge branch 'netcore/members-userstore' into netcore/feature/members-roles 2021-02-01 17:47:41 +00:00
Emma Garland 152ad9684c Username passed into roles. Added initial roles store functionality. Updated user roles functionality to persist the member group. 2021-02-01 17:43:11 +00:00
Elitsa Marinovska 5cd28c8711 Fixing CreateMemember and CreateContent to raise events and logging only when we persist the objs not when we only create them 2021-02-01 16:07:42 +01:00
MoleandGitHub b0e0c38720 Merge pull request #9740 from umbraco/netcore/bugfix/fixes-found-while-building-realistic-site_2
Netcore: Various bugfixes found while building realistic website
2021-02-01 14:25:47 +01:00
Mole 708b7a5430 Handle route data 2021-02-01 13:35:19 +01:00
MoleandBjarke Berg d52c084e3b Minor style changes 2021-02-01 13:04:58 +01:00
Bjarke Berg 4fdfec9d71 Added tests that ensure the potential ambigous endpoints are handled correct 2021-02-01 13:04:56 +01:00
Bjarke Berg 14284b64c2 Bugfixes..
- ModelsBuilder: Inject PublishedValueFallback into static Mixins
- ModelsBuilder: Throw exception if compiler can't compile the code
- CheckIfUserTicketDataIsStaleAttribute: Scope issue
- Ambiguous Actions: Couldn't determine the action when empty arrays was passed. Fixed by using more v8 like solution. (Still stupid the client not just have different endpoints)
- Fixed issue with reading the body from post requests. Often we where not allowed to seek in the stream.
- UmbracoHelper: Made available on UmbracoViewPage
- Client entity.resource.js: Don't ask server when getByIds has 0 ids.
- Client content.resource.js: Renamed endpoint GetEmptyBlueprint to avoid ambiguous action name
2021-02-01 13:04:45 +01:00
Bjarke BergandGitHub 04058fb9c6 Merge pull request #9734 from umbraco/netcore/task/MB-cleanup-9973
Cleanup some of the MB changes for netcore
2021-02-01 08:21:35 +01:00
Shannon d5f595def2 Enables the Action htmlhelperextension for surface controllers 2021-02-01 17:57:15 +11:00
Shannon a0cbff2868 linting 2021-02-01 17:53:40 +11:00
Shannon a974ba71fd linting 2021-02-01 17:50:20 +11:00
Shannon 2a41cec263 Ensures the default PublishedModelFactory is always registered. Ensures AddModelsBuilder is done when adding the website (not required for the back office). 2021-02-01 16:53:24 +11:00
Shannon 624739e697 Streamlines HtmlAgilityPack dependency 2021-02-01 15:39:28 +11:00
Shannon dd90193365 makes MB event an INotification 2021-02-01 15:37:41 +11:00
Bjarne FyrstenborgandNathan Woulfe 6e1c29232a Hide rollback button for content that hasn't been created yet 2021-02-01 09:48:07 +10:00
Mike ChambersandGitHub 3404f47cfe Update umb-tree-item.less (#9718)
* Update umb-tree-item.less

Icon sizing inconsistencies in tree

* Update umb-tree-item.less

* Revert "Update umb-tree-item.less"

This reverts commit 4729c39837.

* Revert "Update umb-tree-item.less"

This reverts commit a3d1136c9d.

* Flex-shrink on umb-tree-icon not umb-tree-item-icon
2021-02-01 09:26:09 +10:00
Emma Garland 8caf2a0e62 Initial check in of roles work in the store. Not currently functional 2021-01-29 16:43:50 +00:00
Emma Garland 6df67cd93e Corrected password logic 2021-01-29 15:03:06 +00:00
Emma Garland 7dce742b96 UTC date 2021-01-29 14:54:43 +00:00
Emma Garland af07790528 Remove comment 2021-01-29 14:18:34 +00:00
Emma Garland c8d1d16257 Datetime.now, since identity member doesn't have lastupdated date 2021-01-29 13:10:02 +00:00
Emma Garland f30d6f4cad Back to hashing the password instead of using the token approach 2021-01-29 13:01:59 +00:00
Emma Garland 2893dcb8b8 Ensure last password updated date is set when password is changed during member update. Moved password logic to use identity instead of just hashing the password. 2021-01-29 11:41:58 +00:00
Sebastiaan Janssen 820b04faec Merge branch 'v8/dev' into v8/contrib 2021-01-28 16:10:52 +01:00
Sebastiaan Janssen febb15445a Merge branch 'v8/8.11' into v8/dev 2021-01-28 16:09:09 +01:00
Emma Garland 6ff38582d6 Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-28 11:37:47 +00:00
Emma Garland ce43c979b5 Added MemberController unit tests. Removed TODO. 2021-01-28 11:35:02 +00:00
Sebastiaan Janssen e62cef6151 Revert "Fixes wrong dependency in nuspec file"
This reverts commit 8642b61449.
2021-01-28 12:05:19 +01:00
Sebastiaan Janssen 2999a48a59 Bump version to 8.11.1 2021-01-28 11:48:32 +01:00
Sebastiaan Janssen abb469a404 Revert "Updated NPoco from 3.9.4 -> 4.0.2 (#9061)"
This reverts commit d9c6584d90.
2021-01-28 11:47:10 +01:00
Bjarke BergandGitHub 9b01f24b1c Merge pull request #9721 from umbraco/netcore/feature/AB10090-migrate-published-x-extensions
NetCore: Published X Extensions classes migration
2021-01-28 10:18:25 +01:00
MoleandGitHub 1f6b942af7 Merge pull request #9694 from umbraco/netcore/feature/net5
Netcore: Updated to .NET 5
2021-01-28 09:46:07 +01:00
Bjarne FyrstenborgandGitHub 7297bd5838 Adjust minimum width of main content (#9656)
* Adjust minimum width of main content

* Change min-width a bit further.
2021-01-28 09:33:25 +10:00
SteveVaneeckhoutandNathan Woulfe a40769de41 Add ellipsis to the Sort action in Content and Media 2021-01-28 07:44:47 +10:00
Poornima NayarandGitHub 1c65662c5f Replaced <i> with umb-icon directive in languages overview (#9557)
* replaced <i> with umb-icon directive in languages overview

* removed aria-hidden
2021-01-28 07:41:58 +10:00
Lars G. SehestedandGitHub 935a8792e6 Fix typos in Danish translation (#9702)
Fixes couple of typos in the Danish translations
2021-01-26 21:16:45 +01:00
3cbae5e2fe Update da.xml (#9660)
* Update da.xml

Found som missing translations

* Update src/Umbraco.Web.UI/Umbraco/config/lang/da.xml

Co-authored-by: Anders Bjerner <abjerner@skybrud.dk>

* Update src/Umbraco.Web.UI/Umbraco/config/lang/da.xml

* Update da.xml

Co-authored-by: Anders Bjerner <abjerner@skybrud.dk>
2021-01-26 21:03:14 +01:00
Emma Garland 90899c68f8 Removed todos 2021-01-26 11:58:02 +00:00
Emma Garland 9b9a3d9197 Remove todo since bug is not happening 2021-01-26 11:55:12 +00:00
Emma Garland c7725953f3 Remove TODOs since have been covered by other tickets 2021-01-26 11:52:32 +00:00
Elitsa Marinovska a6ecf1b401 Merge remote-tracking branch 'origin/netcore/feature/net5' into netcore/feature/AB10090-migrate-published-x-extensions 2021-01-26 11:24:09 +01:00
Elitsa Marinovska 6536cf7ae4 Resolving dependencies & fixes published content tests 2021-01-26 11:19:09 +01:00
Elitsa Marinovska 01c03c19c3 Migrates PublishedContentExtensions.cs, PublishedElementExtensions.cs and PublishedPropertyExtension.cs 2021-01-26 11:17:55 +01:00
Bjarke Berg 0d0a10d861 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/members-userstore 2021-01-26 08:26:15 +01:00
Bjarke Berg d224071dda Merge remote-tracking branch 'origin/netcore/netcore' into netcore/members-userstore 2021-01-26 08:25:31 +01:00
Bjarke BergandGitHub 9f2a230e4c Merge pull request #9717 from umbraco/netcore/feature/migrate-more-tests
Netcore: Migrate more tests
2021-01-26 08:24:52 +01:00
Bjarke Berg 5a4a3c760d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5 2021-01-26 08:09:33 +01:00
Bjarke Berg 8bf75a5047 Retry flaky test 2021-01-26 08:09:12 +01:00
6f357a771d Netcore: Replace IUmbracoRequestLifetime with EventAggregator nofitications (#9711)
* AB#9928 - Replace IUmbracoRequestLifetime with event aggregator

* AB#9928 - Fix issue with profiling, by calling it explicitly in the request middleware

* Longer timeout to avoid flaky test

* Longer timeout to avoid flaky test

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-01-26 07:58:11 +01:00
Bjarke Berg e0f98d84f6 Migrated RangeTests.cs 2021-01-25 19:34:17 +01:00
Bjarke Berg 1080d36b8e Migrated SqlCeSyntaxProviderTests and removed tests that tested the test framework... 2021-01-25 19:22:58 +01:00
Elitsa Marinovska 21f1b49f16 Fixes missed change from Persistance to Persistence 2021-01-25 12:42:13 +01:00
Emma Garland 7df0040127 Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-25 10:07:53 +00:00
Sebastiaan Janssen fe2c80fc2b Fix character encoding issues 2021-01-25 09:57:13 +01:00
Sebastiaan Janssen 061655182c Updated code of conduct 2021-01-25 09:27:16 +01:00
Bjarke BergandGitHub c79b31ed2e Changed remaining background jobs to be either hosted services or real fire and forget + Cleanup + moved classes to the legacy test project, that is only needed there. (#9700) 2021-01-25 09:26:38 +01:00
Bjarke Berg 4a3941620d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5 2021-01-25 08:54:37 +01:00
Bjarke Berg 647d6ac5ab Post merge fix (conflicts) 2021-01-25 07:37:05 +01:00
Shannon DeminickandGitHub b885bcf193 Merge pull request #9682 from umbraco/netcore/feature/add_support_for_sync_notification_handlers_in_event_aggregator
Netcore: Add support for sync notification handlers in event aggregator
2021-01-25 15:22:41 +11:00
Bjarke Berg 74efd7fbda Fixed issues with GetTreeNode 2021-01-22 09:21:42 +01:00
Bjarke Berg ea10d45393 more retrys for extremely flaky test 2021-01-22 08:34:52 +01:00
Bjarke Berg c5de3f86de Fix build 2021-01-22 07:46:30 +01:00
Bjarke Berg c0961337d2 Fix build 2021-01-22 07:15:30 +01:00
ChadandGitHub 0bd4dced0b Improve performance and reduce memory use and reduce array allocations by reusing char[] (#9166)
* Reduce array allocations by reusing char[]

* don't hide .Equals()

* Reduce memory use by reducing array allocations

* Revert "Reduce memory use by reducing array allocations"

This reverts commit faf6b60234.

* reuse char[] for string.split() to avoid params [] allocation
2021-01-22 12:02:25 +10:00
Shannon DeminickandGitHub 335c6b17b9 Merge pull request #9669 from nzdev/v8/bugfix/nullableint-umbracohelper
Minor optimisation by passing int instead of int? to Umbraco.Content()
2021-01-21 22:07:42 +11:00
Bjarke Berg 08ee15534c Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore 2021-01-21 09:51:36 +01:00
Bjarke Berg 132c4f7910 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5 2021-01-21 09:37:44 +01:00
Bjarke BergandGitHub 9f2863892d Merge pull request #9672 from umbraco/netcore/task/models-builder-9789
Get MB with PureLive working for netcore
2021-01-21 09:24:03 +01:00
Shannon 0b2c0da3aa Fixes issue of razor engine not being notified of new models when the site starts without content. 2021-01-21 17:58:44 +11:00
Shannon 6e15668dad Fixes issue of double binding event aggregates 2021-01-21 17:37:18 +11:00
Bjarke Berg bd32151585 Remove old TODOs 2021-01-21 07:11:31 +01:00
Bjarke Berg 839eb62953 Introduce a Sync publish option 2021-01-21 07:09:52 +01:00
Bjarke Berg 063bb5aa51 Updated dotnet new template to use net5 and prepare for option for net6 in the future 2021-01-21 06:45:21 +01:00
e0f00a8754 Added missing alt attributes to the images on the login screen and in avatars (#9597)
* Added missing alt text for login and avatar

* Added localisation for the avatar copy

* update alt avatar tag issue + translation

Co-authored-by: Michael <michael@crossingpaths.be>
2021-01-21 02:21:31 +01:00
Bjarke Berg 2291162fb3 Fix too many wildcard characters in .net version 2021-01-20 21:32:14 +01:00
Bjarke Berg 362767601c update azure pipeline to use .net 5 2021-01-20 21:26:12 +01:00
Bjarke Berg e38972abf0 Updated to net5.0 and updated most nuget packages. Also fixed the nuspec files. + Fix typo Persistance => Persistence. 2021-01-20 21:01:45 +01:00
Emma Garland b8ef38d287 Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-20 17:57:16 +00:00
Emma Garland 6dd5ae910a Fixed tests, merged latest 2021-01-20 17:42:31 +00:00
berg ad7981246e Fix test 2021-01-20 16:45:19 +01:00
Bjarke Berg d573928cc1 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentEventsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/RedirectUrlServiceTests.cs
#	src/Umbraco.Tests/Services/EntityServiceTests.cs
2021-01-20 15:53:19 +01:00
Emma Garland 4cd9fcc36d Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-20 14:27:54 +00:00
Sebastiaan Janssen f10616013f Merge branch 'v8/dev' into v8/contrib 2021-01-20 15:08:23 +01:00
Sebastiaan Janssen 3028159ac0 Merge branch 'v8/8.11' into v8/dev 2021-01-20 15:08:07 +01:00
Sebastiaan Janssen f48b88e84f Merge branch 'v8/8.10' into v8/8.11 2021-01-20 15:07:14 +01:00
Sebastiaan Janssen ef96b47899 Merge branch 'v8/8.9' into v8/8.10 2021-01-20 15:05:42 +01:00
Sebastiaan Janssen 092683ef7b Merge branch 'v8/8.8' into v8/8.9 2021-01-20 15:04:08 +01:00
Mads RasmussenandSebastiaan Janssen 8e64fe54b1 updates the css to support items with long titles 2021-01-20 15:01:06 +01:00
Sebastiaan Janssen ed3e0b0f6f Merge branch 'v8/dev' into v8/contrib 2021-01-20 14:49:59 +01:00
Sebastiaan Janssen c0e91679c3 Merge branch 'v8/8.11' into v8/dev 2021-01-20 14:49:01 +01:00
Sebastiaan Janssen ee02e34f64 Merge branch 'v8/8.10' into v8/8.11 2021-01-20 14:48:08 +01:00
Sebastiaan Janssen bfde020d4f Merge branch 'v8/8.9' into v8/8.10 2021-01-20 14:47:26 +01:00
Sebastiaan Janssen 2c037f604d Merge branch 'v8/8.8' into v8/8.9 2021-01-20 14:46:20 +01:00
Niels LyngsøandGitHub da0c82aabd Call rebindCallback on errors as well (#9690) 2021-01-20 14:26:40 +01:00
Niels LyngsøandGitHub 6d712b0d16 Call rebindCallback on errors as well (#9688) 2021-01-20 14:11:12 +01:00
berg d033257aab Retry flaky tests 2021-01-20 12:50:17 +01:00
berg 847ddd4eec Fix for previews 2021-01-20 11:45:03 +01:00
Sebastiaan Janssen 1c22ce9de0 Merge branch 'v8/dev' into v8/contrib 2021-01-20 11:31:28 +01:00
Sebastiaan Janssen 2a46bd9d59 Merge branch 'v8/8.11' into v8/dev 2021-01-20 11:30:35 +01:00
Sebastiaan Janssen 120dbd358e Bump version to 8.11.0 2021-01-20 11:30:07 +01:00
Sebastiaan Janssen 724d4d1e20 Merge branch 'v8/8.10' into v8/8.11
# Conflicts:
#	src/SolutionInfo.cs
2021-01-20 11:29:47 +01:00
Sebastiaan Janssen ae30a8db91 Bump version to 8.10.2 2021-01-20 11:29:04 +01:00
Sebastiaan Janssen 251c5d08ef Merge branch 'v8/8.9' into v8/8.10
# Conflicts:
#	src/SolutionInfo.cs
2021-01-20 11:28:31 +01:00
Sebastiaan Janssen e913c2720c Bump version to 8.9.2 2021-01-20 11:27:40 +01:00
Sebastiaan Janssen 7d229bc5a9 Merge branch 'v8/8.8' into v8/8.9
# Conflicts:
#	src/SolutionInfo.cs
2021-01-20 11:27:10 +01:00
Niels LyngsøandSebastiaan Janssen b6558cf734 empty value should also enable in order to stay backwards compatible.
(cherry picked from commit 2321fbfcab)
2021-01-20 11:06:03 +01:00
Niels LyngsøandSebastiaan Janssen 2321fbfcab empty value should also enable in order to stay backwards compatible. 2021-01-20 11:00:55 +01:00
b75a237162 Fixes: 9360: Nested validation freezes browser (#9677)
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2021-01-20 10:04:54 +01:00
Shannon 54fa16fd89 Fixes up controller code 2021-01-20 19:37:34 +11:00
Shannon 8d86d54bda fixes csproj to not include MB anything (among other things) 2021-01-20 19:33:33 +11:00
Shannon 0e7f13f92d Simplifies IMainDom interface, removes system-wide mutex in favor of maindom 2021-01-20 19:14:26 +11:00
Bjarke BergandGitHub 465826e101 Merge pull request #9583 from rustybox/netcore/feature/test-db-count-experirment
Netcore: test duration on CI pipeline with more databases
2021-01-20 08:59:09 +01:00
Shannon 17078b59c5 Moves the event handling logic to individual components, no more public "Install" methods. 2021-01-20 18:48:18 +11:00
Shannon 166b86a007 Revert "updates test libs - lets see if the build works now"
This reverts commit 41ae2f3b7d.
2021-01-20 18:12:45 +11:00
Bjarke Berg 72f470222a Merge remote-tracking branch 'rustybox/netcore/feature/test-db-count-experirment' into netcore/feature/test-db-count-experirment
# Conflicts:
#	src/Umbraco.Tests.Integration/Testing/LocalDbTestDatabase.cs
#	src/Umbraco.Tests.Integration/Testing/SqlDeveloperTestDatabase.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
2021-01-20 07:53:27 +01:00
Paul JohnsonandBjarke Berg f1aa22e9e3 test duration on CI pipeline with more databases 2021-01-20 07:41:59 +01:00
Shannon 3d24376136 missing file 2021-01-20 15:38:21 +11:00
Shannon 5b86182fae fixing tests 2021-01-20 15:12:31 +11:00
Shannon 6bed0e6c29 missing imports 2021-01-20 14:58:19 +11:00
Shannon 41ae2f3b7d updates test libs - lets see if the build works now 2021-01-20 14:55:34 +11:00
andreymkarandashovandNathan Woulfe 877640e600 up swedish lang config 2021-01-20 09:17:39 +10:00
14961e670d Improvements to validation and accessibility of relationship create view (#9154)
* Improved validation on save for relationships and also added support for accesibilty

* Moved the localisation into the radiobutton and added support for localisation using lavel-key in the UmbRadioButtonController

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-01-20 09:12:46 +10:00
Bjarne FyrstenborgandNathan Woulfe c501ef0b68 Inject missing localization service 2021-01-20 09:06:29 +10:00
9601dead7b V8: Angular Divorce: isFunction (#7861)
* Bye bye angular.isFunction & use Utilities.isFunction

* Utilities.js is not available on first load - replace isFunction detection with underscore equivalent

* found a stray isFunction

Co-authored-by: Kenn Jacobsen <post@kennjacobsen.dk>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-01-20 08:40:21 +10:00
0822f0cbe5 V8: Angular Divorce: equals (#7860)
* Bye bye angular.equals & use Utilities.equals which is still using angular.equals under the hood for now

* Update umbvariantcontenteditors.directive.js

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-01-20 08:27:28 +10:00
Sebastiaan Janssen dcc832476f Merge branch 'v8/dev' into v8/contrib 2021-01-19 17:41:06 +01:00
Sebastiaan Janssen 159e1dfc6f Merge branch 'v8/8.11' into v8/dev 2021-01-19 17:40:21 +01:00
Sebastiaan Janssen a04af69181 Merge branch 'v8/8.10' into v8/8.11 2021-01-19 17:31:07 +01:00
NikandSebastiaan Janssen 6a8c2a0a55 [AMEND] Updated the redirect URL Repository to search for entries wit… (#9653)
Co-authored-by: Nik Rimington <nrimington@spindogs.com>
(cherry picked from commit aa5470a801)
2021-01-19 17:30:00 +01:00
aa5470a801 [AMEND] Updated the redirect URL Repository to search for entries wit… (#9653)
Co-authored-by: Nik Rimington <nrimington@spindogs.com>
2021-01-19 17:29:13 +01:00
Bjarne FyrstenborgandSebastiaan Janssen b1eebdd598 Add back icon name in class attribute to work again with font icons
(cherry picked from commit c1ebfc58cf)
2021-01-19 17:18:49 +01:00
Bjarne FyrstenborgandSebastiaan Janssen c1ebfc58cf Add back icon name in class attribute to work again with font icons 2021-01-19 17:18:14 +01:00
Emma Garland 9ba78497a0 Merge branch 'netcore/netcore' into netcore/members-userstore
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs
2021-01-19 15:29:40 +00:00
Bjarke Berg 69724d8d2b Added support for sync notification handlers in the event aggregator 2021-01-19 09:57:55 +01:00
Shannon acdaba5d47 more cleanup 2021-01-19 19:16:42 +11:00
Shannon b53bdf859a removes unneeded files, adds notes 2021-01-19 19:12:43 +11:00
Shannon 4be5ae6d99 splits files 2021-01-19 18:54:02 +11:00
Shannon 58b2b613e5 Removes the need for MetadataReference since we no longer require that 2021-01-19 18:44:19 +11:00
Shannon 1614e9a53c Removes MB.Enabled since it doesn't make since, Removes MB.EnableFactory since that cannot ever be not enabled, fixes up settings usage, primarily we just check for models mode 2021-01-19 18:29:14 +11:00
Shannon 0ce34bea18 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/models-builder-9789
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/ModelsBuilderNotificationHandler.cs
2021-01-19 17:43:18 +11:00
Shannon 927b84a9f0 Cleans up POC code 2021-01-19 16:51:55 +11:00
Shannon f320d41b1d Commits progress so far, then will cleanup a bunch 2021-01-19 15:46:25 +11:00
Bjarke BergandGitHub 817b63266d Merge pull request #9679 from umbraco/netcore/feature/merge-v8-18-01-2021
Netcore: Merge from v8/dev
2021-01-18 18:16:12 +01:00
Bjarke Berg 774e3d193b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/merge-v8-18-01-2021 2021-01-18 16:22:25 +01:00
Bjarke Berg a54e10bc13 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/merge-v8-18-01-2021
# Conflicts:
#	.gitignore
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/BackOfficeElement.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/IBackOfficeSection.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
#	src/Umbraco.Core/IO/SystemFiles.cs
#	src/Umbraco.Core/Models/ContentBase.cs
#	src/Umbraco.Core/Models/Identity/BackOfficeIdentityUser.cs
#	src/Umbraco.Core/Persistence/UmbracoDatabaseExtensions.cs
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Core/RuntimeOptions.cs
#	src/Umbraco.Core/RuntimeState.cs
#	src/Umbraco.Core/Telemetry/TelemetryMarkerComponent.cs
#	src/Umbraco.Core/Telemetry/TelemetryMarkerComposer.cs
#	src/Umbraco.Examine/Umbraco.Examine.csproj
#	src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
#	src/Umbraco.Infrastructure/Install/InstallStepCollection.cs
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseBuilder.cs
#	src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories/ContentTypeRepositoryTest.cs
#	src/Umbraco.Tests/Runtimes/CoreRuntimeTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/Testing/TestDatabase.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.UI.Client/src/installer/steps/database.controller.js
#	src/Umbraco.Web.UI.NetCore/Views/Partials/Grid/Editors/TextString.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
#	src/Umbraco.Web/Composing/CompositionExtensions/Installer.cs
#	src/Umbraco.Web/Editors/PreviewController.cs
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/JavaScript/PreviewInitialize.js
#	src/Umbraco.Web/Telemetry/TelemetryComponent.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2021-01-18 16:06:23 +01:00
Bjarke BergandGitHub cf3018c8a5 Merge pull request #9599 from AndyButland/feature/clean-up-umbraco-integration-tests
NetCore: Code clean-up (Umbraco.Tests.Integration)
2021-01-18 14:35:09 +01:00
Bjarke BergandGitHub c715195b41 Merge pull request #9584 from AndyButland/feature/clean-up-umbraco-tests-common
NetCore: Code clean-up (Umbraco.Tests.Common)
2021-01-18 14:34:51 +01:00
Bjarke Berg 05ef2d80ae Merge branch 'feature/clean-up-umbraco-tests-common' into netcore/feature/merge-v8-18-01-2021 2021-01-18 10:47:18 +01:00
Bjarke Berg 7f27aa1dfe Fix merge issue 2021-01-18 08:45:14 +01:00
Bjarke Berg 6310ca31e3 Merge remote-tracking branch 'origin/netcore/netcore' into feature/clean-up-umbraco-integration-tests
# Conflicts:
#	src/Umbraco.Tests.Integration/DependencyInjection/UmbracoBuilderExtensions.cs
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoBuilderExtensions.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/IO/FileSystemsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/UmbracoMapperTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Scoping/ScopedRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
2021-01-18 07:34:59 +01:00
Bjarke Berg 16ef520e8c Merge remote-tracking branch 'origin/netcore/netcore' into feature/clean-up-umbraco-tests-common
# Conflicts:
#	src/Umbraco.Tests.Common/Testing/UmbracoTestAttribute.cs
2021-01-18 06:44:01 +01:00
Shannon DeminickandGitHub 9f78427caf Merge pull request #9531 from umbraco/v8/feature/unattended-upgrade
Add support for unattended upgrades (and custom boot failed error page)
2021-01-18 15:36:15 +11:00
Shannon c5642fa513 change logging to profile loggin 2021-01-18 15:33:14 +11:00
nzdev 5c5d0dad91 Pass int to Umbraco.Content instead of int? given we know _contentId has value. 2021-01-17 14:12:47 +13:00
Emma Garland 1431a0a076 Merge branch 'netcore/netcore' into netcore/members-userstore
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/ContentControllerBase.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
2021-01-15 16:51:23 +00:00
Rasmus John Pedersen 9851c308f5 Add custom error page for BootFailedException 2021-01-15 09:25:16 +01:00
Rasmus John Pedersen 5efc1817d6 Add unattended upgrade support 2021-01-15 09:17:37 +01:00
Shannon 5f9447fc2a Got a POC working with dynamic recompilation 2021-01-15 18:17:13 +11:00
Bjarke BergandGitHub 9d0665e66c Merge pull request #9601 from umbraco/netcore/feature/remove-httpresponseexception
NetCore: Getting rid of HttpResponseException
2021-01-15 07:26:19 +01:00
Bjarke Berg 04bb4e99b6 Fixed possible null reference exceptions 2021-01-14 19:41:32 +01:00
Shannon 7f1e711481 committing changes, notes, etc... so far 2021-01-14 23:14:35 +11:00
Sebastiaan Janssen 72c6ffea52 Merge branch 'v8/8.11' into v8/dev 2021-01-13 17:03:23 +01:00
Sebastiaan Janssen 23a50df3a5 Merge branch 'v8/8.10' into v8/8.11 2021-01-13 17:02:54 +01:00
Sebastiaan Janssen 46faf32c9e Merge branch 'v8/8.9' into v8/8.10 2021-01-13 17:02:29 +01:00
Warren BuckleyandSebastiaan Janssen 86504d69d3 Merge pull request #9644 from umbraco/v8/bug/9432-checkboxes-on-doctype-compositions
V8/bug/9432: Backoffice UI - checkboxes on doctype compositions uncheck after selecting an item

(cherry picked from commit 0d7a683c60)
2021-01-13 16:54:26 +01:00
Sebastiaan Janssen e8b8723f51 Merge branch 'v8/dev' into v8/contrib 2021-01-13 16:51:29 +01:00
Sebastiaan Janssen e696aea1fc Merge branch 'v8/8.11' into v8/dev 2021-01-13 16:50:54 +01:00
Sebastiaan Janssen 062829dc76 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2021-01-13 16:50:45 +01:00
Sebastiaan Janssen 1842f766ae Merge branch 'v8/8.10' into v8/8.11 2021-01-13 16:50:02 +01:00
Sebastiaan Janssen 7cbc09ba89 Merge branch 'v8/8.9' into v8/8.10
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/components/umb-nested-content.less
2021-01-13 16:49:33 +01:00
Sebastiaan Janssen 29979a55a0 Merge branch 'v8/8.8' into v8/8.9 2021-01-13 16:40:10 +01:00
Elitsa Marinovska 680f8c4d96 Other special cases 2021-01-13 16:25:21 +01:00
Elitsa Marinovska ded3a06170 Special case where the user is not authorized 2021-01-13 16:17:39 +01:00
Elitsa Marinovska 7c5e045868 Commenting out 2 GetModelFromMultipartRequest() and ReadAsMultipart() as for the moment they are not used and we need to rethink how to handle them 2021-01-13 16:16:11 +01:00
Elitsa Marinovska 3a51965358 Placing the code for checking if a ModelState is invalid directly 2021-01-13 16:14:20 +01:00
Elitsa Marinovska ccfb915584 Getting rid of HttpResponseExceptionFilter 2021-01-13 16:08:00 +01:00
0fdd599596 Nested content UI fixes (#9384)
* Fixing spacing of nested content header + icon

* Removing border from single Nested Content properties

* fix overlapping icon on nested content with multiple items

Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
Co-authored-by: Mads Rasmussen <madsr@hey.com>
2021-01-13 15:11:50 +01:00
Bjarne FyrstenborgandOwain Williams 16cd19ed9a Fix styling of search icon in search filter 2021-01-13 13:58:54 +00:00
Bjarke BergandGitHub 99188da03a Merge pull request #9647 from umbraco/netcore/task/adding-tests-for-routing
Adding tests for routing
2021-01-13 13:34:32 +01:00
Bjarne FyrstenborgandNathan Woulfe 1ccd3e6ec1 Fix issue with button didn't do anything 2021-01-13 22:10:11 +10:00
1d6d4aec56 ngDocs for contentresource (#9570)
* ngDocs for contentresource

* Update content.resource.js

typo: paramater => parameter

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-01-13 21:58:19 +10:00
Bjarke Berg f5be1016fc Param refactor 2021-01-13 12:39:34 +01:00
Bjarke Berg f496dadf23 Fix tests 2021-01-13 12:35:05 +01:00
Elitsa Marinovska b572cf6809 Surrounding ModelState with the newly introduced SimpleValidationModel type 2021-01-13 11:39:44 +01:00
Elitsa Marinovska 2e62a6c5f2 Reverting the change of BadRequest() back to ValidationErrorResult 2021-01-13 11:29:56 +01:00
Bjarke BergandGitHub 86564682b0 Merge pull request #9642 from umbraco/netcore/feature/AB9725-Remove-IUmbracoApplicationLifetime_ApplicationInit
AB#9725 - Removed IUmbracoApplicationLifetimeManager
2021-01-13 11:12:59 +01:00
Elitsa Marinovska 2204a57a8d Signature changes of GetMenuForNode() & PerformGetMenuForNode() 2021-01-13 11:02:29 +01:00
Elitsa Marinovska 2c81d09d0e Replacing HttpResponseException in Attributes 2021-01-13 10:59:27 +01:00
Elitsa Marinovska d6e90c7e7e Fixing ExamineManagementController with another way of replacing the usage of HttpResponseException 2021-01-13 10:57:49 +01:00
Warren BuckleyandGitHub 0d7a683c60 Merge pull request #9644 from umbraco/v8/bug/9432-checkboxes-on-doctype-compositions
V8/bug/9432: Backoffice UI - checkboxes on doctype compositions uncheck after selecting an item
2021-01-13 09:08:52 +00:00
Elitsa Marinovska 9a9f9164e2 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
#	src/Umbraco.Web.BackOffice/Controllers/SectionController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
2021-01-13 08:53:41 +01:00
Bjarke Berg 8c8871a799 Cleanup 2021-01-13 08:30:35 +01:00
Shannon 2201a5a590 PureLiveModelFactory linting cleanup 2021-01-13 15:18:59 +11:00
Shannon 6fbe515adb Merge branch 'netcore/task/adding-tests-for-routing' into netcore/task/models-builder-9789 2021-01-13 14:49:43 +11:00
Shannon 62f3a80dc6 adds locks to culture providers when manipulating supported cultures 2021-01-13 14:46:59 +11:00
Shannon f59c69b355 Merge branch 'netcore/task/adding-tests-for-routing' into netcore/task/models-builder-9789 2021-01-13 14:02:38 +11:00
Shannon 5afa49f170 adds notes 2021-01-13 13:59:34 +11:00
Shannon 52642a3914 remove aspx tests 2021-01-13 13:54:20 +11:00
Shannon 029ef31e01 Removing MB composers to ext methods 2021-01-13 12:48:41 +11:00
Shannon 0c012d007c Adds AbsolutePathDecoded to IPublishedRequest too 2021-01-13 11:15:23 +11:00
Shannon d1df6c4719 less allocations with AbsolutePathDecoded. removes more aspx checks, adds UmbracoRouteValueTransformerTests, adds interface for IRoutableDocumentFilter 2021-01-13 11:08:48 +11:00
Bjarne FyrstenborgandNathan Woulfe 2398c40720 Replace jQuery trim() using vanilla JS 2021-01-13 09:22:01 +10:00
David BrendelandNathan Woulfe 143d2e7e30 Check if urls is null
Check if node.urls is null and set scope.currentUrls to null and return
2021-01-13 09:17:04 +10:00
Elitsa Marinovska f691dcef91 Changing return type 2021-01-12 16:32:24 +01:00
Elitsa Marinovska 0b9f02630f Continue replacing HttpResponseException 2021-01-12 16:24:50 +01:00
Mads Rasmussen f203a69278 move loading spinner to the selected item 2021-01-12 16:17:54 +01:00
fe016dd103 Netcore: Fixes issues with user invites (#9616)
* AB9629
Fixes issues with user invites
- Issue with the generated link in the invite email
- Allow anonymous access to CurrentUserController.PostSetInvitedUserPassword, as it is used by users not logged in
- Allow anonymous access to AuthenticationController.GetPasswordConfig, as this is used to set a password for newly invited users, before they login

* Fix issues with invite flow

* Fix minor typos

* Fixed issue with validation response and remove/change avatar

* Fix issue with disable users, after all enums are handled like strings

* Fix tests

* Fix other validation issue

* Fix yet another validation issue

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-01-12 16:15:19 +01:00
Elitsa Marinovska 5feb273c3a Some more refactoring 2021-01-12 16:01:09 +01:00
Emma Garland e5d7f53a1e Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-12 14:28:47 +00:00
Mads Rasmussen 7a73e24ecd fixes Backoffice UI - checkboxes on doctype compositions uncheck after selecting an item #9432 2021-01-12 14:13:09 +01:00
Elitsa Marinovska b0f4f9f440 Refactoring the use of ValidationErrorResult with the build-in types for status response results 2021-01-12 14:00:14 +01:00
Bjarke Berg cbe2214afc AB#9725 - Removed IUmbracoApplicationLifetimeManager.cs and IUmbracoApplicationLifetime.ApplicationInit
Migrated some of the components to UmbracoBuilder and fixed issues with the way asp.net core need to append the profiler html
2021-01-12 13:58:48 +01:00
Sebastiaan Janssen f93e9e2fe0 Merge branch 'v8/dev' into v8/contrib 2021-01-12 13:54:53 +01:00
Sebastiaan Janssen b838940dbc Merge branch 'v8/8.11' into v8/dev 2021-01-12 13:54:13 +01:00
Sebastiaan Janssen cec4a8db8c Merge branch 'v8/8.10' into v8/8.11 2021-01-12 13:52:13 +01:00
Sebastiaan Janssen 542483fb18 Merge branch 'v8/8.9' into v8/8.10 2021-01-12 13:51:36 +01:00
Mads RasmussenandSebastiaan Janssen 3d9f765e01 changes search term model from primitive
(cherry picked from commit 8a65a0f92b)
2021-01-12 13:49:39 +01:00
Mads RasmussenandSebastiaan Janssen 8a65a0f92b changes search term model from primitive 2021-01-12 13:45:39 +01:00
Sebastiaan Janssen 2b4be86fa6 Merge branch 'v8/dev' into v8/contrib 2021-01-12 13:07:44 +01:00
Sebastiaan Janssen f0d6238e01 Merge branch 'v8/8.11' into v8/dev 2021-01-12 13:06:45 +01:00
Sebastiaan Janssen fb5aeb2d8e Merge branch 'v8/8.10' into v8/8.11 2021-01-12 13:02:51 +01:00
Sebastiaan Janssen a01bb67a4d Merge branch 'v8/8.9' into v8/8.10 2021-01-12 13:00:18 +01:00
Sebastiaan Janssen 870609f633 Merge branch 'v8/8.8' into v8/8.9 2021-01-12 12:57:29 +01:00
Bjarke BergandGitHub 824349ae0d Merge pull request #9640 from umbraco/v8/bugfix/memory-leak-9348
Fixes a memory leak caused by deep cloning
2021-01-12 11:46:29 +01:00
Bjarke BergandGitHub cbf30e5397 Update src/Umbraco.Core/Models/PropertyTypeCollection.cs 2021-01-12 10:03:23 +01:00
Bjarke BergandGitHub b15046ccf6 Merge pull request #9638 from umbraco/netcore/task/request-path-cleanup
removes ext checks since we don't have any server side requests with ext anymore
2021-01-12 07:17:52 +01:00
Shannon 456cb00a2d Add test for UmbracoRouteValuesFactoryTests 2021-01-12 17:06:37 +11:00
Shannon a83cbc00ef Adding tests for HijackedRouteEvaluator 2021-01-12 16:28:00 +11:00
Shannon f388c7406d fixing virtual event issue 2021-01-12 15:38:18 +11:00
Shannon 4a3525ece3 Fixes a memory leak caused by deep cloning
There was a memory leak with PublicAccessEntry during even unassignment which was not clearing the correct handler.
This goes a step further and adds a new ClearCollectionChangedEvents method for all observable collections used in umbraco
which allows fully clearing ALL event handlers instead of having to track specific ones. This will ensure there are no
unintended memory leaks in case end-users have assigned event handlers to the collection changed event which would
not be unassigned during deep cloning.
2021-01-12 13:41:50 +11:00
Shannon 84206d7625 removes ext checks since we don't have any server side requests with ext anymore 2021-01-12 10:37:21 +11:00
a62a96dd92 Allow use of infinite editors in list views (#9026)
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2021-01-12 09:12:24 +10:00
Emma Garland 5b4f9a5100 Separated properties by a line 2021-01-11 17:03:34 +00:00
Emma Garland 1a866a3b1e Explicit types, braces style and expression bodies in the MemberService, and renamed rolestyped method. Namespace amendments. 2021-01-11 17:01:44 +00:00
Emma Garland da8f8091fa Namespace update. 2021-01-11 15:12:50 +00:00
Emma Garland d285f626a0 Pull request peer review changes - renamed password method, removed unneeded non-strongly typed Member GetAllRoles() method, removed duplicate Normalizer test and rename normalizer, removed currently unneeded events on MembersUserManager. Fixed namespaces and ensured tests in correct location. 2021-01-11 14:24:49 +00:00
Bjarke BergandGitHub 24a395f1ea Merge pull request #9626 from umbraco/netcore/task/9733-routabledocumentfilter
Migrates RoutableDocumentFilter and more
2021-01-11 13:36:27 +01:00
Sebastiaan Janssen 8642b61449 Fixes wrong dependency in nuspec file
Updates NPoco to the latest v4 version
2021-01-11 13:19:18 +01:00
Sebastiaan Janssen 5a6374086c Merge branch 'v8/dev' into v8/contrib 2021-01-11 12:23:09 +01:00
Sebastiaan Janssen 94b1c63cb3 Merge branch 'v8/8.11' into v8/dev 2021-01-11 12:22:31 +01:00
Sebastiaan Janssen dbfa5e591e Merge branch 'v8/8.10' into v8/8.11 2021-01-11 12:21:37 +01:00
Sebastiaan Janssen 85d84967e5 Add LabelOnTop to the test 2021-01-11 12:21:06 +01:00
Sebastiaan Janssen 0602bc39f4 Merge branch 'v8/8.9' into v8/8.10 2021-01-11 12:20:18 +01:00
Sebastiaan Janssen 7324ad2875 Merge branch 'v8/8.8' into v8/8.9 2021-01-11 12:17:25 +01:00
Emma Garland 14b1046c17 Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-11 10:46:50 +00:00
Sebastiaan Janssen 8dbcb8df16 Revert "Removed icon font classes from umb-icon implementations (#9255)"
This reverts commit 7a71bc5410.
2021-01-11 11:40:02 +01:00
Sebastiaan Janssen c10c61b1b6 Revert "Fix legacy icons no longer displaying after changes in #9255"
This reverts commit 1b95282c17.
2021-01-11 11:39:48 +01:00
Sebastiaan Janssen 08bba71ef0 Merge branch 'v8/8.10' into v8/8.11 2021-01-11 11:37:03 +01:00
Sebastiaan Janssen 51a6995b7f Merge branch 'v8/8.9' into v8/8.10 2021-01-11 11:36:21 +01:00
Sebastiaan Janssen ffcc958f58 Merge branch 'v8/8.8' into v8/8.9 2021-01-11 11:35:38 +01:00
Bjarke Berg 3722a9bff5 Cleanup + fixed tests 2021-01-11 11:14:43 +01:00
Warren BuckleyandGitHub 463bc46675 Merge pull request #9629 from umbraco/v8/bugfix/4637-variation-deleting-content
V8: Fix bug where allowing culture variation would delete content from element types #7471
2021-01-11 09:58:45 +00:00
Sebastiaan Janssen 1b95282c17 Fix legacy icons no longer displaying after changes in #9255
(cherry picked from commit f8692590d0)
2021-01-11 10:28:40 +01:00
Sebastiaan Janssen f8692590d0 Fix legacy icons no longer displaying after changes in #9255 2021-01-11 10:25:43 +01:00
Bjarke BergandGitHub e66ccc536d Netcore: Migrate more tests (#9621)
* AB8828 - Migrated ShadowFileSystemTests.cs
Note that the underlying behavior of Directory.EnumerateFiles is changed when search pattern is "". "" is not handled like "*" in netcore.

* AB8828 - Migrated ScopeEventDispatcherTests.cs

* AB8828 - Migrated DistributedCacheBinderTests.cs

* AB8828 - Migrated SchemaValidationTest.cs

* AB8828 - Migrated LocksTests.cs

* AB8828 - Migrated SqlCeTableByTableTest.cs (and renamed to SqlServerTableByTableTest.cs)

* AB8828 - Created DatabaseBuilderTests

* AB8828 - Fix issues with file systems for linux
2021-01-11 09:04:05 +01:00
Bjarke BergandGitHub 5672aedcee Merge pull request #9619 from umbraco/netcore/task/9727-published-request
Migrating more routing
2021-01-11 08:13:16 +01:00
Bjarke Berg 533d56227b Change link to tiny link, that we can change without an update of umbraco 2021-01-11 07:47:24 +01:00
Shannon 4a8b0f06d1 Merge branch 'netcore/task/9727-published-request' into netcore/task/9733-routabledocumentfilter 2021-01-11 16:44:01 +11:00
Shannon 2044b82bb4 turns off the endpoint matching logic - makes it configurable since it shouldn't be needed 2021-01-11 16:43:01 +11:00
Shannon 4ce3271205 adds doc link on not found result 2021-01-11 14:16:07 +11:00
Shannon f8548543cd Fixes another async/sync issue 2021-01-11 14:10:55 +11:00
Shannon 5016166829 changed to getawaiter 2021-01-11 14:08:20 +11:00
Shannon 9e2c0bd85b Merge branch 'netcore/task/9727-published-request' of https://github.com/umbraco/Umbraco-CMS into netcore/task/9727-published-request 2021-01-11 13:55:58 +11:00
Shannon c2c42ada3b Fixes review notes 2021-01-11 13:55:44 +11:00
8b80b61e0b Update src/Umbraco.Tests/Routing/ContentFinderByUrlAndTemplateTests.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-01-11 13:55:27 +11:00
Shannon bd4006c577 Fixes the custom RequestCultureProvider to dynamically add cultures to the supported cultures list, changes the request/builder to not reference a ICultureInfo and instead just a string to avoid allocations and confusion since the handlers will end up as a string anyways. Removes the unnecessary cultureinfo concurrentdictionary because CultureInfo.GetCultureInfo does the same thing. 2021-01-11 13:39:09 +11:00
Sebastiaan Janssen 0ee80bf88c Bump version to 8.11.0-rc 2021-01-08 15:47:54 +01:00
Mole e243162ade Add unit test for the bug 2021-01-08 15:44:55 +01:00
Sebastiaan Janssen ca5c56dccd Merge branch 'v8/8.10' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI/config/umbracoSettings.config
2021-01-08 15:43:45 +01:00
Sebastiaan Janssen e246dea29e Merge branch 'v8/8.9' into v8/8.10 2021-01-08 15:42:04 +01:00
Sebastiaan Janssen 93d281289a Merge branch 'v8/8.8' into v8/8.9 2021-01-08 15:41:26 +01:00
Sebastiaan Janssen a9fdaaceb0 As per https://github.com/umbraco/Umbraco-CMS/pull/9613 - allowing the style tag in v4 of HtmlSanitizer is insecure, we can't upgrade to v5 yet so this is the temporary fix for the problem 2021-01-08 15:35:46 +01:00
Martin Humlund ClausenandGitHub d9c6584d90 Updated NPoco from 3.9.4 -> 4.0.2 (#9061) 2021-01-08 15:32:09 +01:00
Sebastiaan Janssen 967485f4e1 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2021-01-08 15:18:03 +01:00
Mole 20868f3cfe Check composition property with oldContentTypeVariation 2021-01-08 14:58:01 +01:00
Emma Garland d1a90ad0ff Merge branch 'netcore/netcore' into netcore/members-userstore 2021-01-08 10:30:50 +00:00
Shannon 8f28569444 more notes 2021-01-08 18:03:10 +11:00
Shannon 5176986ecb reduces more strings 2021-01-08 17:59:18 +11:00
Shannon 2feebe7a2c Ensures the routable doc filter is used, adds notes about a small mem leak. 2021-01-08 17:54:21 +11:00
Shannon 00968a332b fix options dependency 2021-01-08 17:28:08 +11:00
Shannon 0ce90cf359 Moves UrlExtensions methods to new service and reduce the huge amount of allocated strings during routing 2021-01-08 17:21:35 +11:00
Shannon e1e3200313 Merge branch 'netcore/task/9727-published-request' into netcore/task/9733-routabledocumentfilter 2021-01-08 15:31:20 +11:00
Shannon b801199e7c missing commit 2021-01-08 15:30:35 +11:00
Shannon f8033c5281 Moves RoutableDocumentFilter along with tests 2021-01-08 15:27:07 +11:00
Shannon ee1663c978 missing commit 2021-01-08 15:21:08 +11:00
Shannon 74f51fe7ed removes ported code 2021-01-08 11:35:27 +11:00
Shannon c15b416e88 Ensures the culture is set for requests for both front-end and back office 2021-01-08 11:29:07 +11:00
Shannon b4922d2685 re-enables the weird IgnorePublishedContentCollisions, simplifies IPublishedRouter interface (more flexible with request options), 2021-01-08 10:42:57 +11:00
Shannon b017ed0b1b Gets the UpdateRequestToNotFound thing working 2021-01-08 02:36:55 +11:00
Shannon bc6768101e Splits up UmbracoRouteValueTransformer and trying to figure out this hijacked route conundrum with no template :( 2021-01-08 02:10:13 +11:00
Shannon 53bc92608a rename property 2021-01-08 00:33:47 +11:00
Shannon 504837054e puts back in events but uses event aggregator, changes IPublishedRouter to async 2021-01-08 00:25:09 +11:00
Shannon dec0ab87da Gets IsInternalRedirect working and documented, adds unit tests for the builder 2021-01-07 23:14:26 +11:00
Shannon 5b5fe626bb cleanup, notes 2021-01-07 22:05:23 +11:00
Shannon 8373e98eff Fix tests 2021-01-07 20:37:36 +11:00
Shannon DeminickandGitHub 74e7ddb45f Merge pull request #9482 from umbraco/v8/feature/unattended-install
Add support for unattended installs
2021-01-07 19:19:52 +11:00
Shannon fce13e23e9 Fixes test, adds null checks 2021-01-07 17:51:03 +11:00
Shannon 333479666c removes ResponseStatusDescription and others that aren't used, ports the not found handler, ports redirects, headers, etc... 2021-01-06 20:03:49 +11:00
Bjarke Berg 88615cfa52 Fix tests by change return type to ActionResult<T> 2021-01-06 08:49:02 +01:00
Shannon f5bd53b223 removes the weird IsInitialPublishedContent 2021-01-06 17:31:46 +11:00
Shannon 295ab504cd Splits PublishedRequest into a builder and a immutable object 2021-01-06 17:04:35 +11:00
Shannon 9e3d1836f0 fix build 2021-01-06 14:29:41 +11:00
Bjarke Berg a023d5c55f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.Common/Install/InstallApiController.cs
2021-01-05 14:20:32 +01:00
Bjarke BergandGitHub a9e01b8de7 Merge pull request #9609 from umbraco/netcore/task/9720-view-locations
Simplifies how view locations are determined
2021-01-05 12:12:47 +01:00
Bjarke Berg eb6e5f9af2 Removed tests that is not useful anymore 2021-01-05 10:57:00 +01:00
Shannon 083b5d2611 Fixes issue with SqlMainDomLock during install, obsolete InstallEmptyDatabase, ensures installation can occur with/without the umbraco version 2021-01-05 16:27:42 +11:00
Emma Garland ba317b24dc Merge branch 'netcore/netcore' into netcore/members-userstore
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Tests.UnitTests/AutoFixture/AutoMoqDataAttribute.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentControllerBase.cs
#	src/Umbraco.Web.BackOffice/Extensions/UmbracoBuilderExtensions.cs
2021-01-04 17:04:05 +00:00
Bjarke BergandGitHub cdc3dbd7fe Merge pull request #9598 from umbraco/netcore/task/dist-cache-cleanup
More cleanup & reorganizing
2021-01-04 15:01:55 +01:00
Sebastiaan Janssen b0afd3b862 Bump version to 8.10.1 2021-01-04 13:31:41 +01:00
Bjarke Berg 7dbb2dbf9a Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2021-01-04 12:10:56 +01:00
Nathan WoulfeandSebastiaan Janssen ecf061229f Update edit.html 2021-01-04 10:56:52 +01:00
Shannon a126977a4e Simplifies how view locations are determined
AB#9720
2021-01-04 15:43:30 +11:00
Shannon a6f281789b Add explicit package sources 2021-01-04 13:29:13 +11:00
Shannon 34427b0104 Moves AddDistributed cache back to being called implicitly, ensures notification handlers are not added twice 2021-01-04 13:22:29 +11:00
Shannon d46545faa0 For now, we explicitly require AddDistributedCache in Startup so it's not called twice. 2021-01-04 13:01:49 +11:00
Shannon cbc08fb008 notes/cleanup 2021-01-04 12:56:44 +11:00
Shannon d1d664c449 removes unneeded cast 2021-01-04 12:51:13 +11:00
Shannon cf9dd9bfec Adds notes, another hacky fix for hacky test/code 2021-01-04 12:48:59 +11:00
Shannon 999c20a755 Fixes UmbracoIntegrationTest Mapping flag and missing using in Startup 2021-01-04 12:22:03 +11:00
Shannon 2848f4083b notes - why isn't this building? 2021-01-04 12:01:52 +11:00
Shannon 4ce5dc8eff fixing tests 2021-01-04 11:32:36 +11:00
Elitsa Marinovska d341266cca Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/remove-httpresponseexception 2020-12-29 14:40:03 +01:00
Elitsa Marinovska c482b6df3d Another step towards getting rid of HttpResponseException 2020-12-29 12:55:48 +01:00
Poornima NayarandJoe Glombek e220baf00c Added ngDocs for contenttyperesource 2020-12-28 11:34:48 +00:00
Andy Butland eec88b99f4 Reverted removal of regions in ContentEventsTests where they are adding some useful structure. 2020-12-27 09:50:56 +01:00
Andy Butland 410c1751f2 Minor additional code tidy. 2020-12-24 08:55:21 +01:00
Andy Butland cd5f5778ee Applied linting rules to tests within the Umbraco.Tests.Integration project. 2020-12-24 08:39:18 +01:00
Shannon 1a0d961e42 removes WebsiteComposer, BackOfficeComposer 2020-12-24 18:11:16 +11:00
Shannon cc84c866bc moves file 2020-12-24 16:44:50 +11:00
Shannon 91486bbede Removes IServerRegistrar, new IServerRoleAccessor, removes more composers, moves more to ext, 2020-12-24 16:35:59 +11:00
Shannon 307ef4c1e0 Removes IBatchedDatabaseServerMessenger, renames methods of IServerMessenger 2020-12-24 14:44:42 +11:00
Shannon e785ac28a3 Moves more services and registrations "up", removes AspNetCoreComposer logic and moves to AddWebComponents 2020-12-24 14:29:26 +11:00
Ronald BarendseandGitHub 0abd229928 Fix, update and extend Range model (#9032)
* Update Range documentation comments and use expression-bodied methods

* Implement IEquatable<Range<T>> and override Equals and GetHashCode

* Add Range formatting methods

* Use invariant culture in ToString

* Add RangeTests

* update ToString()
2020-12-24 02:06:29 +01:00
Shannon 1328ca3cee Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/dist-cache-cleanup 2020-12-24 11:46:51 +11:00
Shannon 1f6297ad6b Moves some services 'up' to Core, moves core DI registrations 'up' to UmbracoBuilder, moves Composing ext to DependencyInjection namespaces as UmbracoBuilder ext 2020-12-24 11:46:17 +11:00
Shannon DeminickandGitHub 2dc72ea323 Merge pull request #9589 from umbraco/netcore/task/9779-publishedsnapshot-slight-cleanup
Some IPublishedSnapshotService (etc) cleanup based on TODOs
2020-12-24 10:52:54 +11:00
Shannon f55ace434b Merge branch 'netcore/task/9779-publishedsnapshot-slight-cleanup' into netcore/task/dist-cache-cleanup 2020-12-24 09:57:47 +11:00
Shannon 2798f31c67 fixes test 2020-12-24 09:56:31 +11:00
Shannon b20ce5a92e A bunch of cleanup for DI namespaces, ext methods and dist cache classes 2020-12-24 09:50:05 +11:00
Shannon a70951b382 Fixes (hopefully last) tests 2020-12-23 14:28:03 +11:00
Shannon 544753112e fixing more tests by enabling nucache explicitly where required 2020-12-23 14:02:05 +11:00
Shannon 534b74dda5 Changes CustomTestSetup to just be a normal method, not sure why it was an action, fixes ContentEventsTests which requires NuCache 2020-12-23 13:57:41 +11:00
Shannon d5a19530f3 Fixing tests, more DependencyInjection namespace 2020-12-23 13:06:22 +11:00
Shannon e8379d6c77 oops, trying to fix build 2020-12-23 12:27:47 +11:00
Shannon 696dd0b8dc removes partial keyword 2020-12-23 12:11:38 +11:00
Shannon e62edc7bef missing file 2020-12-23 12:02:23 +11:00
Shannon 7115e0a11e shuffles code with DependencyInjection namespace, forgot to commit changes to Startup 2020-12-23 12:02:01 +11:00
Shannon ac7fac8f56 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/9779-publishedsnapshot-slight-cleanup 2020-12-23 11:12:55 +11:00
Shannon DeminickandGitHub f47154bbc7 Merge pull request #9586 from rustybox/netcore/feature/remove-notifcation-handler-lifetime-hack
Netcore: Remove NotificationHandler lifetime hack
2020-12-23 11:12:20 +11:00
Shannon ce5cdad376 separates classes to files 2020-12-23 11:02:50 +11:00
Shannon 674b61a7f9 small cleanup of DisposableObjectSlim 2020-12-23 11:00:37 +11:00
Shannon 0c645a99bd Makes PublishedSnapshotStatus status code more human readable, fixes ModelBinding ns 2020-12-23 10:45:52 +11:00
Shannon DeminickandGitHub aa3c69d759 Merge pull request #9591 from AndyButland/feature/clean-up-umbraco-tests-unittests
NetCore: Code clean-up (Umbraco.Tests.UnitTests)
2020-12-23 10:08:38 +11:00
Elitsa Marinovska 358a8ec2af Initial stage of getting rid of HttpResponseException and replacing it with the usage of ValidationErrorResult 2020-12-22 16:36:07 +01:00
Andy Butland 6bf38e624c Merge branch 'netcore/netcore' into feature/clean-up-umbraco-tests-unittests
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/BlockListPropertyValueConverterTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ModelBinders/ContentModelBinderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/ModelBinders/RenderModelBinderTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Views/UmbracoViewPageTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/RenderIndexActionSelectorAttributeTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
2020-12-22 11:50:48 +01:00
Paul Johnson 50c15a42ed Misc, async TearDown 2020-12-22 10:43:07 +00:00
Paul Johnson f7de595e07 Merge branch 'netcore/netcore' into netcore/feature/remove-notifcation-handler-lifetime-hack 2020-12-22 10:40:14 +00:00
Paul Johnson 852aa9177e Add Dispose(bool) based on discussions on PR. 2020-12-22 10:33:57 +00:00
Andy Butland 3be9610c72 Cleaned-up code in Umbraco.Web.UnitTests to match linting rules. 2020-12-22 09:50:48 +01:00
Shannon c88ba7afa5 notes, removes todo 2020-12-22 13:49:26 +11:00
Shannon c074a4d7d4 IsFrontEndUmbracoRequest as ext method instead, makes IUmbracoContext IDisposable since it has a Dispose method 2020-12-22 13:32:12 +11:00
Shannon 57020b4778 adds notes, removes IPublishedCacheComposer 2020-12-22 12:33:00 +11:00
Shannon f5e9441e9f renames umb builder ext class to be more explicit, no more AddAllBackOfficeComponents, just AddBackOffice, removes NuCacheComposer 2020-12-22 12:16:37 +11:00
Shannon 322f0deff3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/9779-publishedsnapshot-slight-cleanup 2020-12-22 11:25:05 +11:00
Shannon 74d253a88f Removes IPublishedSnapshotService.EnsureEnvironment 2020-12-22 11:22:29 +11:00
Shannon b1045e081b Makes ModelBindingExceptionAttribute 2020-12-22 10:52:25 +11:00
Shannon 3e948475a6 Remove unneeded NPocoRepositoryBase 2020-12-22 10:30:16 +11:00
Shannon DeminickandGitHub bb8434eed6 Merge pull request #9530 from umbraco/netcore/task/front-end-routing
Starts getting front-end routing/rendering working
2020-12-22 10:27:13 +11:00
Shannon DeminickandGitHub 2cc66cf20b Merge pull request #9585 from rustybox/netcore/task/front-end-routing
Netcore: Dispose host on test teardown.
2020-12-22 09:41:51 +11:00
Paul Johnson 822aa2897b Remove NotificationHandler lifetime hack 2020-12-21 15:36:31 +00:00
Paul Johnson 198586a82b Dispose host on test teardown. 2020-12-21 09:02:05 +00:00
Shannon c761fa0506 New IPublishedSnapshotStatus, reduces IPublishedSnapshotService 2020-12-21 17:41:12 +11:00
Shannon e8f5aa8ebc removes PublishedSnapshotServiceBase, shrinks interface 2020-12-21 17:04:29 +11:00
Shannon 03f22e9362 Fixing tests after merge 2020-12-21 16:44:50 +11:00
Shannon 86adf01f88 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
# Conflicts:
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
#	src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2020-12-21 16:04:42 +11:00
Shannon 75796e3eae Fixing tests, removing old files, adds notes 2020-12-21 15:58:47 +11:00
Paul Johnson fc696564d7 test duration on CI pipeline with more databases 2020-12-19 11:49:54 +00:00
Andy Butland 14f81c692c Adhered code to linting rules in Umbraco.Tests.Common. 2020-12-19 08:17:35 +01:00
Bjarke BergandGitHub 97cdfc302c Merge pull request #9485 from umbraco/v8/feature/update-cypress
Update cypress
2020-12-18 15:42:06 +01:00
Bjarke BergandGitHub 7600ae9e05 Merge pull request #9556 from rustybox/netcore/feature/core-component-cleanup-low-hanging-fruit
Netcore: composer / component cleanup low hanging fruit
2020-12-18 15:40:50 +01:00
Paul Johnson e4e26159ae Prevent multiple first time schema create 2020-12-18 14:10:11 +00:00
Bjarke Berg 3f0f5c1449 Fixed tests and update testhelper 2020-12-18 12:23:44 +01:00
Paul Johnson 6114fffb4a Remove HostBuilder UseUmbraco extension, it's not required. 2020-12-18 09:53:01 +00:00
Paul Johnson fa061d36ba What's up with ThreadSafetyServiceTest?
Really interesting that it has this at top

if (Environment.GetEnvironmentVariable("UMBRACO_TMP") != null)
                Assert.Ignore("Do not run on VSTS.");

But this test passes on other peoples builds :(
2020-12-17 17:06:51 +00:00
Paul Johnson 3395f4cc35 Fixes for ContentTypeServiceVariantsTests PublishedSnapshotService hack
These pass if running the full suite, but fail when ran alone otherwise
2020-12-17 15:13:50 +00:00
Bjarke BergandGitHub 2c54b5c28c Merge pull request #9571 from umbraco/netcore/feature/update-umbraco-version-in-template-from-azure-pipeline
Netcore: Update umbraco version in template from azure pipeline
2020-12-17 15:12:03 +01:00
Bjarke Berg cd169fbcce Update version number in umbraco template from azure pipeline in continuous builds 2020-12-17 14:26:17 +01:00
Paul Johnson a883df9d88 Use HostBuilder.UseUmbraco in same order for tests and running web app 2020-12-17 12:44:09 +00:00
Bjarke Berg e4857abc57 Added missing package to nuspec 2020-12-17 12:58:15 +01:00
Paul Johnson 79aa2e1cc2 LocalDb TestDatabase cleanup
LocalDbTestDatabase now renames the final database like it used to (guid vs sensible name)
Made serilog log to integration tests TEMP as far as I can tell it wasn't writing at all before
2020-12-17 11:19:47 +00:00
Paul Johnson 6dd5e04a2b Fix broken integration test, must set ServiceProvider before using 2020-12-17 11:19:47 +00:00
Paul Johnson 431403e372 Fixup CoreRuntime so it starts after Startup.Configure
Makes integration tests play nice with Components as RuntimeLevel will be correct
2020-12-17 11:19:47 +00:00
Paul Johnson 91e2f58822 Drop ManifestWatcherComposer, Convert CoreInitialComposer to extension on UmbracoBuilder 2020-12-17 11:19:47 +00:00
Paul Johnson ef310920cb Remove ManifestWatcherComponent 2020-12-17 11:17:46 +00:00
Paul Johnson a69739a7a2 Remove CoreInitialComponent 2020-12-17 11:17:46 +00:00
Shannon cc1404747b Changes PublishedSnapshotService to lazily load it's caches on demand when they are required instead of relying on an external initializer to load them. 2020-12-17 16:27:28 +11:00
BatJanandMichael Latouche c6b444e055 Replace old search markup with shiny umb-search-filter directive 2020-12-17 02:03:30 +01:00
Bjarne FyrstenborgandNathan Woulfe b4ef93e1b4 Use ace xml mode for package actions 2020-12-17 09:27:41 +10:00
Poornima NayarandNathan Woulfe 37aa00dc4a Created ngDocs for modelsBuilderManagementResource 2020-12-17 09:03:57 +10:00
Poornima NayarandNathan Woulfe 7e15c6fd78 Updated ngDocs for elementTypeResource 2020-12-17 09:02:23 +10:00
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
Bjarke BergandGitHub 5119e8da9c Merge pull request #9515 from umbraco/netcore/feature/remove-overrideauthorization-attribute
NetCore: Get rid of OverrideAuthorizationAttribute
2020-12-16 14:49:13 +01:00
Rasmus John Pedersen d7801a86ff Allow installing when connection string is configured
Disable unattended installs by default and enable install empty
database.

Fix create user step by adding back the HasSomeNonDefaultUser check, if
the check is missing the installer will skip creating the configured user
since the second time NewInstallStep.RequiresExecution is called, Umbraco
has been installed and it would return false and the user would never be
created.
2020-12-16 11:03:23 +01:00
Sebastiaan Janssen cb049144ee Register the TelemetryIdentifierStep 2020-12-16 09:57:43 +01:00
Warren BuckleyandGitHub 36cb34285c Telemetry revisited - Move from App_Data file to UmbracoSettings.config (#9554) 2020-12-16 08:50:59 +01:00
Shannon 868c9d02df Fixes routing when installer needs to run 2020-12-16 16:39:06 +11:00
Shannon 47e98bfdc6 Fixes up issue with UsePlugins and where it's executed 2020-12-16 16:31:23 +11:00
Shannon ce508d08ec Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/front-end-routing
# Conflicts:
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
2020-12-16 16:18:10 +11:00
Shannon ea257adb5d fix sql arg type 2020-12-16 13:13:09 +11:00
Shannon 9269271649 Changes new relation repository Sql statements to use sql templates 2020-12-16 13:04:11 +11:00
Shannon DeminickandGitHub 6f1120b610 Merge pull request #9508 from nzdev/v8/feature/faster-relationship-delete-sql
Speed up deleting relationship by parent. (Speeds up publishing/ saving)
2020-12-16 12:28:27 +11:00
Shannon bbe2941d25 New ext methods to check if Umbraco db is installed, fixes issue with SqlMainDomLock when doing unattended installs, changes how we determine if Umbraco db is installed 2020-12-16 12:06:48 +11:00
Maikel VeenandMichael Latouche b2d2938760 Add overloaded method for RecurringTaskBase 2020-12-16 00:46:41 +01:00
Poornima NayarandNathan Woulfe 102ae0c402 Updated the UI docs for the authresouce 2020-12-16 09:46:03 +10:00
Bjarne FyrstenborgandNathan Woulfe 9bcfbf282b Temporary fix to ensure content wrapper is positioned 0px from left in section without tree 2020-12-16 09:38:54 +10:00
Rasmus John PedersenandOwain Williams 6a4045c87d Fix typo 2020-12-15 15:20:20 +00:00
Sebastiaan Janssen 03c6227bfe Merge branch 'v8/8.9' into v8/8.10 2020-12-15 14:26:44 +01:00
Matt DarbyandSebastiaan Janssen 015882daa2 Remove type as it defaults to button
(cherry picked from commit bc2faefb18)
2020-12-15 14:25:50 +01:00
Matt DarbyandSebastiaan Janssen 7b32aeb127 Change defaultButton type to "button"
(cherry picked from commit 7ddb52a34f)
2020-12-15 14:25:41 +01:00
Sebastiaan Janssen 92fd623de0 Merge branch 'v8/8.8' into v8/8.9 2020-12-15 14:25:17 +01:00
Matt DarbyandOwain Williams bc2faefb18 Remove type as it defaults to button 2020-12-15 10:39:01 +00:00
Matt DarbyandOwain Williams 7ddb52a34f Change defaultButton type to "button" 2020-12-15 10:39:01 +00:00
Warren BuckleyandGitHub 58a62d45d7 Merge pull request #9548 from umbraco/v8/bugfix/9545-spelling-mistake
Added missing Y
2020-12-15 09:00:48 +00:00
Niels Lyngsø cba3f3c6a9 added missing Y 2020-12-15 09:27:30 +01:00
Bjarke Berg 1e09d0b063 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Preview.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2020-12-14 22:16:21 +01:00
Bjarke Berg 07231bbfe0 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-12-14 19:22:03 +01:00
Bjarke Berg 3a11c21ebc revert connection string 2020-12-14 19:21:35 +01:00
Sebastiaan Janssen 5ff101d31c Merge branch 'v8/8.9' into v8/8.10
# Conflicts:
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
2020-12-14 15:12:28 +01:00
Sebastiaan Janssen 58c6e655b3 Merge branch 'v8/8.8' into v8/8.9 2020-12-14 15:07:38 +01:00
Warren Buckley b2dac7947f Bump version to 8.10.0
.\build SetUmbracoVersion 8.10.0
2020-12-14 13:29:53 +00:00
Bjarke BergandGitHub 3e89013e20 Merge pull request #9464 from rustybox/netcore/feature/integration-tests-linux
Netcore: Enable running integrations tests on Linux
2020-12-14 13:46:48 +01:00
Warren BuckleyandGitHub 3c610e7992 Merge pull request #9545 from umbraco/v7/bugfix/9484
Change dialog
2020-12-14 11:43:54 +00:00
Niels Lyngsø 734d33fe1c change dialog 2020-12-14 11:14:12 +01:00
Warren BuckleyandGitHub 289017a307 Merge pull request #9544 from umbraco/v7/bugfix/9493
fixes 9493
2020-12-14 09:23:12 +00:00
Niels Lyngsø 60dbfb66f7 changed wording 2020-12-14 10:21:23 +01:00
Shannon 4bb1535786 allows the back office to route 2020-12-14 17:43:00 +11:00
Shannon 827bf80d1d Removes EnterPreview, RefreshPreview, ExitPreview 2020-12-14 17:04:02 +11:00
Shannon fc16669a91 Moves cache initialization the the request middleware 2020-12-14 16:55:45 +11:00
Shannon 348ae22d91 Fixing tests 2020-12-14 12:37:30 +11:00
Paul Johnson cb84a98b9c Fix indent for MacOS
Don't split build and test on Windows.
2020-12-13 12:27:34 +00:00
fhatriforkandGitHub 00a5df7ac5 Update TextString.cshtml (#9535)
ReplaceLineBreaksForHtml is deprecated and the alternative ReplaceLineBreaks includes HtmlEncode.

This update will remove an error in Visual Studio
2020-12-13 01:05:54 +01:00
Ronald BarendseandGitHub 602980a9d6 Fix SQL parameters in GetNewChildSortOrder (#8961)
* Fix SQL parameters in GetNewChildSortOrder

* Update SQL template code formatting

* Update sortOrder calculation
2020-12-13 00:28:52 +01:00
Paul Johnson 4dbe5d0c38 Consolidate LocalDbTestDatabase and SqlDeveloperTestDatabase
Resolve issue with multiple empties
2020-12-12 11:33:57 +00:00
Paul Johnson 312ab96277 Resolve issues with AdvancedMigrationTests 2020-12-11 19:04:39 +00:00
Dave WoestenborghsandGitHub 4d74f57a81 V8 - remove console.log statements (#9533)
* #9516 removed console logging statements in macroparemeter picker

* #9516 Removed another console log statement

* Removed console log statement from view
2020-12-11 18:08:41 +00:00
Paul Johnson ae98983172 Fix PathTests 2020-12-11 16:53:31 +00:00
Paul Johnson 1b9d1428e6 Update ci pipeline build definition 2020-12-11 15:38:35 +00:00
Emma Garland c5c01146b5 Remove commented out 2020-12-11 14:35:25 +00:00
Emma Garland 67efe92858 Fixed tests, took out default data 2020-12-11 14:32:13 +00:00
Paul Johnson 897fe804b0 Multiple test databases, similar setup to LocalDbTestDatabase.DatabasePool 2020-12-11 14:12:34 +00:00
Paul Johnson 51f20119a2 Enable running integrations tests on Linux 2020-12-11 14:12:34 +00:00
Shannon 776df77dfe Notes and cleanup 2020-12-11 15:29:27 +11:00
Shannon b5e3bc9e0d Fix the UmbracoViewPage and view model binding, combine the tests cases, remove IPublishedContentType2, front end is rendering 2020-12-11 14:55:19 +11:00
Nathan WoulfeandGitHub 54fa2f42e9 remove unnecessary classnames/markup (#9098) 2020-12-11 02:24:51 +01:00
Bjarke Berg 3f9b284540 Fix issue with missing properties 2020-12-10 08:56:41 +01:00
Bjarke Berg 7776e203a6 Fix issue with auth on media upload 2020-12-10 08:55:47 +01:00
Shannon 63ab8ec52c Lots of notes, removes data tokens, 2020-12-10 18:09:32 +11:00
Warren BuckleyandGitHub e38e5d6577 V8: Angular Divorce: isUndefined (#7856)
* Bye bye angular.isUndefinied & hello Utilities.isUndefined

* Add utilities.js to lazyload initialise scripts

* Remove utilities.js as copied over client folder
2020-12-10 10:21:34 +10:00
7a71bc5410 Removed icon font classes from umb-icon implementations (#9255)
* Changed the name of the example class in the mark up as it looks like the icon and the class name may need to be the same in order for umb-icon to work

* Removed the font icon classes in the umb-icon directive calls

* updates to remove class="icon", tidy up alignment in schedule overlay

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-10 09:28:37 +10:00
cdd6513c16 Added char counter for dictionary items (#9194)
* Added char counter

* use single localize directive

Co-authored-by: David Brendel <info@davidbrendel.de>
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-10 09:13:35 +10:00
MrJackWilsonandNathan Woulfe 9514021ab7 Return true for each path that isn't protected. 2020-12-10 08:39:51 +10:00
patrickdemooij9andGitHub a664f082ee 9153: Only show the cultures of the node in preview (#9183)
* 9153: Only show the cultures of the node in preview

* 9153: Domain service is not needed
2020-12-10 08:08:47 +10:00
Büşra ParnellandNathan Woulfe 370b3b31ba Little tweak
Translated the word 'cheers' friendlier to Turkish :)
2020-12-10 07:43:58 +10:00
Emma Garland 2c006ea99f PR comments updated. Reorganised logic. Removed unused functionality. Started to reorganise update and save roles functionality. 2020-12-09 18:36:39 +00:00
Shannon 4b85f8eb20 Big refactor or PublishedSnapshotService to split up so that there's a service and repository responsible for the data querying and persistence 2020-12-09 22:43:49 +11:00
Emma Garland 6fb8724886 Renamed tests 2020-12-09 10:44:30 +00:00
Emma Garland 3f0e2f9054 typo in tests 2020-12-09 09:53:34 +00:00
Emma Garland ec09c9b09f removed unwanted members folder 2020-12-09 09:52:58 +00:00
MoleandGitHub d408e15c71 Merge pull request #9512 from umbraco/netcore/feature/plugin_static_files
Netcore: Read static files from app_plugins folder
2020-12-09 10:30:15 +01:00
MoleandGitHub 68ea01fda1 Merge pull request #9499 from umbraco/netcore/feature/more-files-from-infrastructure-to-core
Netcore: More files from infrastructure to core
2020-12-09 10:05:18 +01:00
patrickdemooij9andGitHub 0a3a0f4f76 9078: Allow changing the login logo through umbracoSettings (#9083)
* 9078: Allow changing the login logo through umbracoSettings

* 9078: Add default login logo in code
2020-12-09 09:23:48 +01:00
Bjarke Berg 0f36db188e Ensure folder app_plugins exists 2020-12-09 09:03:49 +01:00
Nikolaj 7ef6501bb1 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ConvertersTests.cs
2020-12-09 08:45:28 +01:00
Emma Garland aa1fd298cd Re-included password for comparison 2020-12-08 17:27:22 +00:00
Emma Garland 205edf57b7 Added store functionality based on backoffice user (to be revisited as a lot of it may be shareable) and also added a new members service method for membergroups. 2020-12-08 17:18:22 +00:00
Elitsa Marinovska c858ededf4 Removing OverridableAuthorizationAttribute as it is no longer needed 2020-12-08 16:05:04 +01:00
Elitsa Marinovska b6cc9f076a Removing conn string from appsettings 2020-12-08 15:39:33 +01:00
Elitsa Marinovska 940084e342 Removing OverrideAuthorization attribute and related 2020-12-08 15:37:53 +01:00
Elitsa Marinovska 54d1e9d5e0 Removing AllowsCultureVariation from ContentController, so we can get rid of OverrideAuthorization attribute 2020-12-08 15:36:37 +01:00
Bjarke Berg 6bd8285a80 Added Configuration files and license to default BrowsableFileExtensions 2020-12-08 14:30:51 +01:00
Bjarke Berg f580e38383 Added fonts to default BrowsableFileExtensions 2020-12-08 13:18:23 +01:00
Bjarke Berg 1727a5d6f1 Added specific PhysicalFileProvider for the app_plugins folder, that also checks whether extensions are allowed. 2020-12-08 12:33:07 +01:00
Emma Garland cea1ed9771 Merge branch 'netcore/netcore' into netcore/members-userstore 2020-12-08 11:26:48 +00:00
Emma Garland 2f7766a972 Updated correct class, commented 2020-12-08 11:25:01 +00:00
Elitsa Marinovska 474f267e69 Removing references of deleted files 2020-12-08 12:16:55 +01:00
Emma Garland 9531550e86 Merge branch 'netcore/netcore' into netcore/members-userstore 2020-12-08 11:04:17 +00:00
Rasmus John Pedersen db634f7c28 Add unattended install support 2020-12-08 10:38:32 +01:00
Bjarke BergandGitHub 40a6fa2b89 NetCore: Migrate more tests (#9494)
* Migrate tests

* Cleanup

* Migrate tests

* post merge fix

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-08 09:19:51 +01:00
Bjarke BergandGitHub b8696364ef Merge pull request #9511 from umbraco/netcore/task/app_data
Cleans up usage of SystemDirectories, removes App_Data usages
2020-12-08 08:15:26 +01:00
Shannon e3be4009c0 Getting front end routing poc going 2020-12-08 16:33:50 +11:00
emmagarland f24dad1f30 More renaming, however if the password isn't validated then there will be an exception thrown in identity. 2020-12-08 02:07:27 +00:00
emmagarland 3f0e7ab315 Merged and updated according to shared latest work, renamed to Members instead of UmbracoMembers. Tests currently red, fixing next. Empty appsettings again. 2020-12-08 01:57:14 +00:00
Rowan BottemaandMichael Latouche f725991490 Don't log query result to avoid confusion
The query result will always be -1, as the result is the amount of rows affected, but that is not applicable in these create queries. This may cause confusion as devs may wonder why for example 'CreatedIndex' is -1. This also seemed to be the only place where we actually use the result of `database.Execute`.
2020-12-08 01:30:03 +01:00
Shannon 30bfa3f003 more cleanup of system dirs 2020-12-08 11:08:14 +11:00
Shannon ea55d2662e no app_data paths, changing to constants, some linting updates 2020-12-08 10:42:26 +11:00
Shannon 7e4a6421d6 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-12-08 10:21:07 +11:00
Shannon f16b8e705a reduce dependencies in PublishedSnapshotService, more linting 2020-12-08 10:20:03 +11:00
nzdev ec364097f1 Revert use of sqltemplates. Use previous query for sqlce 2020-12-08 10:26:52 +13:00
emmagarland bcccbd3c73 Removed roles as not currently used for member 2020-12-07 17:40:21 +00:00
emmagarland b59935c799 Merge branch 'netcore/netcore' into netcore/members-userstore 2020-12-07 17:26:15 +00:00
Bjarke Berg e79ed7a56b Post merge - Build fix 2020-12-07 16:11:14 +01:00
Bjarke Berg e7d9d38c52 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/more-files-from-infrastructure-to-core
# Conflicts:
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
#	src/Umbraco.Tests.Common/Builders/DataEditorBuilder.cs
#	src/Umbraco.Tests.Common/Builders/DataValueEditorBuilder.cs
2020-12-07 12:55:47 +01:00
Bjarke BergandGitHub 58219dafc3 Merge pull request #9507 from AndyButland/feature/clean-up-3
NetCore: further code clean-up (small)
2020-12-07 12:40:25 +01:00
Bjarke Berg 5dbddfffc5 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	.gitignore
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Models/PropertyType.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
#	src/Umbraco.Tests.Integration/Umbraco.Core/Mapping/ContentTypeModelMappingTests.cs
#	src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
2020-12-07 12:31:26 +01:00
nzdev 39b1de4a98 avoid capture class 2020-12-07 23:29:13 +13:00
nzdev 38f748c563 correct ordering of statements, use sqltemplates 2020-12-07 23:27:57 +13:00
nzdev 7bd331d97b Add from 2020-12-07 23:14:42 +13:00
nzdev 7d6e9a3d54 Speed up deleting relationship by parent. 2020-12-07 23:09:16 +13:00
Andy Butland da8bfd4615 Adhered two further tests to code linting rules (omitted from previous commit/PR) 2020-12-07 10:04:52 +01:00
Shannon 1a35cf5164 Merge branch 'netcore/task/cleanup-force-renew-auth' into netcore/netcore 2020-12-07 19:40:09 +11:00
Shannon 6f7a0f358a c# 9 2020-12-07 19:14:42 +11:00
Shannon DeminickandGitHub 262cd19f8d Merge pull request #9506 from umbraco/netcore/task/cleanup-force-renew-auth
Netcore/task/cleanup force renew auth
2020-12-07 18:59:18 +11:00
Shannon dcb00b729d remove more old code 2020-12-07 18:58:07 +11:00
Shannon 0d3aa828c1 remove more old code 2020-12-07 18:55:01 +11:00
Shannon 36342438da Deleting old code 2020-12-07 18:47:25 +11:00
Shannon 92cc23c5b3 Merge branch 'netcore/task/usermanager-object-cleanup' into netcore/task/cleanup-force-renew-auth 2020-12-07 18:17:07 +11:00
Shannon 375e056cef Removing old code 2020-12-07 18:16:42 +11:00
Bjarke BergandGitHub dfb2b5515d Merge pull request #9505 from AndyButland/feature/clean-up-2
NetCore: updated some more code to match linting rules.
2020-12-07 07:56:59 +01:00
Shannon 835d1d0ad3 linting cleanup 2020-12-07 17:56:40 +11:00
Bjarke BergandGitHub 8261d9c320 Merge pull request #9503 from AndyButland/feature/clean-up
NetCore: updated some code to match linting rules
2020-12-07 07:54:22 +01:00
Shannon DeminickandGitHub 96da33cfd6 Merge pull request #9496 from umbraco/netcore/task/usermanager-object-cleanup
Netcore/task/usermanager object cleanup
2020-12-07 17:38:25 +11:00
emmagarland 79dccc87b1 Enable change tracking via mapper.
Added more unit tests for member controller.
2020-12-06 17:23:38 +00:00
Andy Butland 9f8138b2d0 Adhered to linting rules configuration models, validators and tests. 2020-12-06 10:51:31 +01:00
Andy Butland 61cbb84dd3 Adhered to linting rules for authorization policy handlers, requirements and tests. 2020-12-06 09:13:29 +01:00
Nathan WoulfeandMichael Latouche a31485932a toggle ng-hide class instead of using .hide() 2020-12-06 02:38:03 +01:00
Benjamin CarleskiandMichael Latouche e4e5e2d103 Get default culture comparable to the variant culture 2020-12-06 02:20:35 +01:00
emmagarland 40f2a881ab Added is dirty properties and updated to reflect linter update 2020-12-05 23:44:50 +00:00
emmagarland 0560bef48c Merge branch 'netcore/netcore' into netcore/members-userstore 2020-12-05 18:14:09 +00:00
Bjarke BergandGitHub e3761c7499 Merge pull request #9502 from umbraco/netcore/bugfix/nuspec-smidge-nuglify
NetCore: Fix wrong version of Smidge in nuspec + Updated to official 3.2.0
2020-12-05 12:37:34 +01:00
Andy Butland ff03cd6a03 Adhered to linting rules in common unit test model builders. 2020-12-05 11:12:55 +01:00
Andy Butland 201940290c Adhered to linting rules in hosted services implementations and tests. 2020-12-05 10:06:59 +01:00
Bjarke Berg d74cc9d35a Fix wrong version of Smidge in nuspec + Updated to official 3.2.0 2020-12-05 08:55:37 +01:00
Rachel BreezeandGitHub 0085554e84 When a user switches their own language the menu doesn't update to reflect the language change (#9203)
* Now prompts the user to reload their browser if they change their own language and also displays the response prompt in their language
2020-12-05 03:24:18 +01:00
vidyesh-local-VSandMichael Latouche 90d1e8546a Corrected branch name with latest 2020-12-05 02:18:25 +01:00
Bjarne FyrstenborgandGitHub 0b6752e115 Add rel="noopener" to anchor elements with target="_blank" (#9369)
* Add rel="noopener" to anchor elements with target="_blank"

* Add rel="noopener" to language files as well

* Fix link, link tp https and link to umbraco.com

* Add noreferrer value
2020-12-05 02:13:41 +01:00
be0ac5e3f3 Update Language keys for 'Public Access' to become 'Restrict Public Access' … (#9197)
* Update Language keys for 'Public Access' to become 'Restrict Access' on the action menu

* Updated to be Restrict Public Access - to edge our bets

* merge latest, update casing

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:46:37 +10:00
Rowan BottemaandNathan Woulfe a10477a72d Make sure external links are not attempted to be opened inside preview iframe 2020-12-05 09:32:27 +10:00
2d785af821 Use color picker component in block list editor configuration (#9056)
* Use color picker component in block list editor configuration

* Remove set color property

* Allow empty color

* Assign color value to properties

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:28:58 +10:00
f8cff2722d Package section: Edit view (#9054)
* Convert div to buttons, fix styling and fix missing brackets

* removes umb-icon ng-class attrs

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:12:38 +10:00
81e3798595 NestedContent DoctyperPicker view: Various a11y fixes (#9049)
* Add buttons and convert icons to use the umb-icon directive

* removes class attribute from umb-icon, fixes self-closing th elements (th is non-void)

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-05 09:00:35 +10:00
Bjarke Berg fb18317c0f Moved lots of property editors into core 2020-12-04 19:01:52 +01:00
Bjarke Berg eb03145fa6 Moved media files and introduced IImageDimensionExtractor and to avoid System.drawing in core 2020-12-04 15:04:29 +01:00
Bjarke Berg 21e3cf0887 Moved files and introduced IMarkdownToHtmlConverter to avoid packages to handle markdown in core
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-04 13:03:40 +01:00
Bjarke BergandGitHub 05dc597fc2 Merge pull request #9490 from AndyButland/feature/auth-policies-tests
NetCore: Adds unit tests for authorization policy handlers
2020-12-04 12:16:04 +01:00
Shannon 9441f5c5ea fix remaining test 2020-12-04 15:05:47 +11:00
Shannon 10fc351470 merge cleanup 2020-12-04 13:09:08 +11:00
Shannon d206273753 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/usermanager-object-cleanup
# Conflicts:
#	src/Umbraco.Infrastructure/Composing/CompositionExtensions/CoreMappingProfiles.cs
#	src/Umbraco.Web.BackOffice/Extensions/WebMappingProfiles.cs
2020-12-04 12:59:19 +11:00
Shannon 406528f553 flows claims 2020-12-04 12:54:31 +11:00
Shannon 216b8559da cleanup 2020-12-04 12:52:25 +11:00
Shannon 5172b0e58a Updates user manager, user store and identity user to use the aspnetcore base classes instead of copies of our own, uses string ids for user and roles to simplify everything and to allow for sharing between members 2020-12-04 12:44:27 +11:00
Kenn JacobsenandNathan Woulfe a655fba948 Add "remove all entries" property action to MNTP 2020-12-04 07:59:16 +10:00
Martin AmsinckandNathan Woulfe 43c00690b9 #9476 danish translations for addUpTo + danish translation for entriesShort + entriesExceed 2020-12-04 07:51:34 +10:00
Bjarne FyrstenborgandNathan Woulfe ef0aff0fea Update version umbColorPicker was introduced 2020-12-04 07:49:49 +10:00
Jack LawryandNathan Woulfe e772728c9d Fix typo in Upgrade message
Change recommmend to recommend
2020-12-04 07:48:49 +10:00
Bjarke BergandGitHub 53d424244e Merge pull request #9486 from Matthew-Wise/feature/8264-typefilters-OutgoingEditorModelEventAttribute
Converted  OutgoingEditorModelEventAttribute to a type filter
2020-12-03 19:08:46 +01:00
Emma Garland 57684a8672 Removed unwanted comments 2020-12-03 17:54:02 +00:00
Bjarke BergandGitHub f7067dbe08 Merge pull request #9478 from JimBobSquarePants/netcore/feature/9397
Add EventAggregator
2020-12-03 18:22:25 +01:00
Matthew Wise 946a4abc75 changed IResultFilter to IActionFilter 2020-12-03 16:49:09 +00:00
Emma Garland 785570761a Removed identity work for now 2020-12-03 15:59:54 +00:00
Shannon 4dea624e23 remove code 2020-12-04 02:28:11 +11:00
Shannon 86d231f5de removes remaining back office things from underlying UmbracoUserManager moves files 2020-12-04 02:21:21 +11:00
Emma Garland cf2252f967 Reordered for better comparison 2020-12-03 14:59:57 +00:00
Shannon aeec18d808 removes the interface 2020-12-04 01:50:30 +11:00
Shannon 0825db6861 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/usermanager-object-cleanup
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Security/BackOfficeCookieManagerTests.cs
#	src/Umbraco.Web.BackOffice/Security/ConfigureBackOfficeCookieOptions.cs
2020-12-04 01:44:01 +11:00
Shannon 35af86c3d3 Splits user manager into a base class that can be reused changes base class of IdentityUser to UmbracoIdentityUser 2020-12-04 01:38:36 +11:00
Shannon 8e9dfad381 Simplifying IdentityUser 2020-12-04 00:54:28 +11:00
James Jackson-South 826e5a9bad Update to match new rules. And fix dup usings 2020-12-03 13:32:04 +00:00
Shannon c51ed88d56 Adds notes for external login service/repo, changes IdentityUserLogin user id to string for now so it can be shared with members/users 2020-12-04 00:20:48 +11:00
Shannon 90b7ee3f37 oops broke build 2020-12-03 23:55:10 +11:00
Shannon de03dae46f Moving namespaces, cleaning up some stuff on the underlying base identity classes 2020-12-03 23:49:32 +11:00
James Jackson-South 606d8bcf51 Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/feature/9397 2020-12-03 12:39:08 +00:00
Andy Butland 3acea01501 Restored functionality and fixed tests for BackOfficeHandler. 2020-12-03 12:22:31 +01:00
Bjarke Berg 2f537c6ec8 Fix mocking 2020-12-03 11:57:03 +01:00
Bjarke Berg 8e3a01cdfc Merge remote-tracking branch 'origin/netcore/netcore' into feature/auth-policies-tests 2020-12-03 11:30:35 +01:00
Bjarke Berg d711bce5ef build fix 2020-12-03 11:29:17 +01:00
Andy Butland 324b983c57 Added tests for ContentPermissionsPublishBranchHandler. 2020-12-03 11:10:16 +01:00
Shannon 2f9e92eee7 Make BackOfficeClaimsPrincipalFactory not be generic, doesn't need to be, cleans up code as per rules 2020-12-03 20:30:35 +11:00
Andy Butland 76dafcc413 Added tests for MediaPermissionsQueryStringHandler.
Introduced base class to share code between content and media query string related permissions handlers.
2020-12-03 10:01:46 +01:00
Shannon 8b57e3080e Fixing fields vs props (oops) and some other stylecop violations 2020-12-03 19:36:38 +11:00
Andy Butland 6857a92460 Added tests for ContentPermissionsQueryStringHandler. 2020-12-03 09:31:20 +01:00
Shannon DeminickandGitHub 0f872f5e4a Merge pull request #9338 from JimBobSquarePants/netcore/linting
Add Stylecop and .EditorConfig Linting.
2020-12-03 19:20:00 +11:00
Shannon DeminickandGitHub 7a719954dd Merge pull request #9470 from umbraco/netcore/feature/2FAuth
Back office user updates to support OAuth and 8.9 features
2020-12-03 18:54:53 +11:00
Shannon 9e6baf7b7f reverts js changes to continue to support multiple destinations but with the fix of returning the task instance from within MoveViewsAndRegenerateJS 2020-12-03 18:52:28 +11:00
Andy Butland 45b9f31e44 Added tests for ContentPermissionsResourceHandler and MediaPermissionsResourceHandler. 2020-12-03 08:30:37 +01:00
emmagarland f1fbeb8ad3 Set hasIdentity if there is an ID, and logical adjustments to set passwords corectly 2020-12-03 01:27:54 +00:00
9e6b2f7449 Grid editors: Accessibility improvements (#9051)
* Change div and img with ng-click events to be buttons and add a label for the caption input field

* Change back to old way of inserting icon

* Fix semantics and adjust styling

* Fix a11y and semantics

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-03 09:42:39 +10:00
8d681f14c0 Search overlay: Improve accessibility (#9035)
* Ensure the "clear" button is tabable and add accessibility attributes and texts for the overlay

* Add sr-only texts and useful aria attributes

* Convert i to umb-icon and fix wrong values in aria attributes

* Add translation mappings

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-03 08:01:14 +10:00
b5ae399cf8 Contextmenu: Add focus lock (#9027)
* Move the wrapping div of the context-menu directive inside the directive instead

* Add focus lock, attributes and temporary hardcoded text description of the overlay

* Remove umb-auto-focus directive

* Add dictionary key for the visuallyhidden description

* Add tranlsation key for en-us

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-12-03 07:42:07 +10:00
Andy Butland 009ba1b81b Added tests for DenyLocalLoginHandler. 2020-12-02 21:32:22 +01:00
Andy Butland e178cd08b7 Added tests for TreeHandler. 2020-12-02 19:51:27 +01:00
Andy Butland 2baf95e014 Added tests for SectionHandler. 2020-12-02 19:04:43 +01:00
Andy Butland dc1cf85ab9 Added tests for UserGroupHandler. 2020-12-02 18:51:17 +01:00
Andy Butland c707d2b346 Added tests for BackOfficeHandler. 2020-12-02 17:21:32 +01:00
James Jackson-SouthandGitHub 4a544829a9 Merge branch 'netcore/netcore' into netcore/linting 2020-12-02 16:19:37 +00:00
Andy Butland 6c52048c55 Added tests for AdminUsersHandler. 2020-12-02 16:57:36 +01:00
Matthew Wise fdb6c21075 Converted OutgoingEditorModelEventAttribute to a type filter 2020-12-02 14:21:05 +00:00
Mole c2d38640ea Remove duplicate square bracket 2020-12-02 14:31:23 +01:00
Bjarke BergandGitHub cbe8f816ca Merge pull request #9483 from umbraco/netcore/feature/yaml_nightly_builds
NetCore: Prepare pipeline for nightly builds
2020-12-02 13:19:42 +01:00
Mole b6b17e4c9a Update cypress to 6.0.1 2020-12-02 13:11:17 +01:00
Bjarke Berg 97000590c3 Added "Update Version" step
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 12:21:25 +01:00
Bjarke BergandGitHub 142c0d8bb8 Merge pull request #9459 from umbraco/netcore/feature/azure-yaml-pipeline
NetCore: Set up CI with Azure Pipelines
2020-12-02 10:54:48 +01:00
Mole cdd3905046 Add timeout to Create data type test 2020-12-02 10:10:48 +01:00
Bjarke Berg 3250231e02 Increased timeout for integration tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 10:10:42 +01:00
Bjarke Berg 62771d7c08 added mac os x for unit tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 10:09:30 +01:00
Bjarke Berg af03b98071 https://github.com/umbraco/Umbraco-CMS/pull/9459 Indentation
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 09:03:45 +01:00
Bjarke Berg 23ac4eb8fb https://github.com/umbraco/Umbraco-CMS/pull/9459 seperate unit tests and build artifacts into two jobs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 08:56:24 +01:00
Bjarke Berg 9f5437a72e https://github.com/umbraco/Umbraco-CMS/pull/9459 seperate unit tests and build artifacts into two jobs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 08:53:49 +01:00
Bjarke Berg 43278183e7 https://github.com/umbraco/Umbraco-CMS/pull/9459 run stages in parallel
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 08:38:50 +01:00
Bjarke Berg a00c195f26 Fix more issues with MapPath
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 08:27:37 +01:00
Bjarke Berg d23986101b Fix more issues with MapPath
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 08:21:17 +01:00
Bjarke Berg 05af0bd955 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/azure-yaml-pipeline 2020-12-02 07:57:28 +01:00
Bjarke Berg 59aa4219de Merge remote-tracking branch 'origin/netcore/feature/azure-yaml-pipeline' into netcore/feature/azure-yaml-pipeline 2020-12-02 07:56:01 +01:00
Bjarke Berg 3d82873028 Fix issue with MapPath
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-02 07:55:51 +01:00
Shannon d0e17d16bc ext method for authn back office scheme with null check, fixing tests 2020-12-02 15:49:28 +11:00
Shannon e297bc8c8d oops still have c# 9 stuff 2020-12-02 14:43:33 +11:00
Shannon 0846fc5690 Cleans up IBackofficeSecurity, ensures authn for the AuthenticationController/BackOfficeController 2020-12-02 14:28:16 +11:00
Shannon 372674abde re-adds test scheme for test authn/authz 2020-12-02 13:32:14 +11:00
Shannon 4f7c87d1d2 Fix build issues after merge 2020-12-02 13:19:08 +11:00
Shannon 0f0c50b56e Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/2FAuth
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/TestAuthHandler.cs
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Filters/DenyLocalLoginAuthorizationAttribute.cs
#	src/Umbraco.Web.BackOffice/Filters/OverrideAuthorizationFilterProvider.cs
#	src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeAttribute.cs
#	src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeFilter.cs
2020-12-02 13:14:47 +11:00
Shannon 37cf0d3d16 clean up TODOs 2020-12-02 13:04:02 +11:00
Shannon 999be04285 cleaning up TODOs 2020-12-02 12:22:08 +11:00
emmagarland 55ddc8cc49 Reordered to ensure password isn't always empty, and renamed for clarity s per UmbracoIdentity 2020-12-01 21:31:37 +00:00
emmagarland 8a552a10d9 Added comments to understand where to implement 2020-12-01 20:51:13 +00:00
emmagarland cf56731e42 Reverted back so avoid unwanted diffs 2020-12-01 20:44:21 +00:00
James Jackson-South 6d1cd89f4e Fix tests build 2020-12-01 20:41:18 +00:00
emmagarland fba4126a62 Switched back to correct services 2020-12-01 20:41:12 +00:00
emmagarland 75bee025ce Fixed tests 2020-12-01 19:47:56 +00:00
Bjarke Berg 98cf259f0c post merge - fix more issues in legacy csproj
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-12-01 20:20:47 +01:00
Emma Garland f0f17b3cf8 Stop duplicate saving 2020-12-01 19:06:36 +00:00
Emma Garland 9c73429da7 Merge branch 'netcore/netcore' into netcore/members-userstore
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
#	src/Umbraco.Web.BackOffice/Extensions/UmbracoBuilderExtensions.cs
2020-12-01 18:19:36 +00:00
Emma Garland 9c41d335ea Merge branch 'netcore/netcore' into netcore/members-userstore
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberController.cs
#	src/Umbraco.Web.BackOffice/Extensions/UmbracoBuilderExtensions.cs
2020-12-01 17:37:23 +00:00
James Jackson-South c9b7655f1d Fix missing namespace replacements. 2020-12-01 14:59:08 +00:00
Elitsa Marinovska 8ea2787f08 using again 3.1.x format of .net core sdk verison 2020-12-01 15:30:06 +01:00
Elitsa Marinovska 8d7ec23f69 Reverting back the netcore sdk version 2020-12-01 15:15:34 +01:00
Elitsa Marinovska 55cd83bbac Update azure-pipelines.yml for Azure Pipelines
Copied over the yaml file as something is acting up
2020-12-01 15:03:29 +01:00
Elitsa Marinovska 236f54d1c6 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/azure-yaml-pipeline 2020-12-01 14:47:08 +01:00
Bjarke Berg 2e67275687 Post merge - Fix powershell build.ps1 2020-12-01 14:25:10 +01:00
James Jackson-South 62959811ac Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-12-01 12:47:08 +00:00
James Jackson-SouthandGitHub 0369375d8e Merge branch 'netcore/netcore' into netcore/feature/9397 2020-12-01 12:44:10 +00:00
James Jackson-South 748cbb1f7b Normalize builder namespace 2020-12-01 12:42:14 +00:00
James Jackson-South ea79051104 Register as singleton, test DI into handlers. 2020-12-01 12:09:50 +00:00
Bjarke Berg a1df7c159a Post merge - Fix build 2020-12-01 11:39:24 +01:00
Bjarke Berg 85c01d9905 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Configuration/Legacy/GlobalSettings.cs
#	src/Umbraco.Core/Configuration/IGlobalSettings.cs
#	src/Umbraco.Core/Models/ContentBaseExtensions.cs
#	src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
#	src/Umbraco.Core/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/Services/IRuntimeState.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValueConverter.cs
#	src/Umbraco.Infrastructure/RuntimeState.cs
#	src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web.BackOffice/PropertyEditors/RteEmbedController.cs
#	src/Umbraco.Web.BackOffice/Trees/DictionaryTreeController.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
#	src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
#	src/Umbraco.Web/Controllers/UmbLoginController.cs
#	src/Umbraco.Web/Install/Controllers/InstallController.cs
#	src/Umbraco.Web/PublishedElementExtensions.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/UmbracoHelper.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
#	src/Umbraco.Web/UrlHelperExtensions.cs
#	src/Umbraco.Web/UrlHelperRenderExtensions.cs
#	src/Umbraco.Web/WebApi/UmbracoApiControllerBase.cs
2020-12-01 11:34:13 +01:00
Elitsa Marinovska 0a6b96e8f5 Publishing artifacts 2020-12-01 11:06:17 +01:00
Bjarke Berg 739194d71f Post merge - Fix for acceptance tests 2020-12-01 11:02:11 +01:00
Elitsa Marinovska 23173b966b Test with .net core sdk version 5.0.x didn't work so reverting back to 3.1.x 2020-12-01 09:31:16 +01:00
Elitsa Marinovska fe2d407fcb Update the sdk version format 2020-12-01 09:16:09 +01:00
Bjarke Berg 27b44c6594 Post merge - Fix for tests 2020-12-01 09:14:46 +01:00
Elitsa Marinovska 5c70ed1e74 Updated .Net Core sdk version 2020-12-01 08:39:05 +01:00
Bjarke BergandGitHub 3e0d52b330 Merge pull request #9428 from umbraco/netcore/task/6666-auth-policies
Migrate authorization filters to authorization policies
2020-12-01 08:17:04 +01:00
Shannon fe5dcd83bb removes the 2FA store implementation since that will need to be manually enabled 2020-12-01 18:14:37 +11:00
Shannon 4671d9d23b moves the back office user auditing logic 2020-12-01 17:51:52 +11:00
Shannon 20b4f55664 Fixes up a bunch of TODOs moves user manager to the back office project so we have acess to necessary services, splits apart files, removes old code, starts implementing the 2fa stuff 2020-12-01 17:24:23 +11:00
Shannon a995cdc360 Fixes TryConvertTo with StringValues 2020-12-01 16:08:16 +11:00
Shannon e431c82edc fix returning null issue 2020-12-01 15:20:34 +11:00
Shannon 927335149d try fixing watch task 2020-12-01 15:02:28 +11:00
James Jackson-South a3cc3769c0 Mocking should be an act of desperation! 2020-12-01 01:13:08 +00:00
James Jackson-South e41122eb8c Add EventAggregator 2020-11-30 23:39:56 +00:00
James Jackson-South 601270640c Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-30 21:19:32 +00:00
James Jackson-South 2261ca8e45 Update to be editable via the UI 2020-11-30 21:19:02 +00:00
Warren Buckley 7ff0f9ee20 Bump version to 8.10.0-rc
.\build SetUmbracoVersion 8.10.0-rc
2020-11-30 13:27:33 +00:00
Warren BuckleyandGitHub 6b744b39cc Merge pull request #9370 from umbraco/v8/feature/anon-telemetry
Anonymous telemetry
2020-11-30 13:23:12 +00:00
Shannon 47b4a4d234 FIxes authz on some controllers, fixes js var paths for login providers, simplifies gulp so we aren't building 2x. 2020-12-01 00:19:08 +11:00
Bjarke Berg 6d120322e5 Do not dispose the static httpClient, but the HttpRequestMessage 2020-11-30 13:35:55 +01:00
Warren Buckley ee89610559 Remove unused RuntimeState 2020-11-30 12:23:28 +00:00
Warren Buckley 04430976c1 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/anon-telemetry
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2020-11-30 12:20:52 +00:00
Warren BuckleyandGitHub 39d66bae47 Merge pull request #8849 from umbraco/v8/feature/property-label-on-top
Feature: Property label on top
2020-11-30 11:55:55 +00:00
Shannon efff96f711 Creates IBackOfficeSignInManager interface 2020-11-30 22:46:05 +11:00
Warren BuckleyandGitHub 23a31f56e7 Merge pull request #9469 from umbraco/v8/bugfix/9466-dont-use-form-horizontal-on-membergroups
Review Remove this form-horizontal class from member groups info
2020-11-30 11:26:50 +00:00
Shannon 6176046053 Deals with the Xsrf notes and handling in sign in manager 2020-11-30 22:23:10 +11:00
Bjarke Berg 13374a8654 post merge
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-30 11:57:00 +01:00
Warren Buckley fa931416a4 Forgot to move the baseaddress set inside the usings 2020-11-30 10:34:10 +00:00
Warren Buckley 4de3c05e83 Wrap use of httpClient in a usings due to it being IDisposable 2020-11-30 10:33:07 +00:00
Bjarke BergandGitHub 1aea3f9085 Merge pull request #9414 from umbraco/netcore/feature/linux-paths
Linux paths
2020-11-30 11:30:53 +01:00
Bjarke Berg c88c842d47 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	src/Umbraco.Core/CompositionExtensions.cs
#	src/Umbraco.Core/Constants-AppSettings.cs
#	src/Umbraco.Core/GuidUdi.cs
#	src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
#	src/Umbraco.Core/PublishedContentExtensions.cs
#	src/Umbraco.Core/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Core/Routing/UrlProvider.cs
#	src/Umbraco.Core/Routing/UrlProviderExtensions.cs
#	src/Umbraco.Core/Runtime/MainDom.cs
#	src/Umbraco.Core/Services/IRuntimeState.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
#	src/Umbraco.Core/Sync/DatabaseServerRegistrar.cs
#	src/Umbraco.Core/Sync/IServerRegistrar.cs
#	src/Umbraco.Infrastructure/Media/EmbedProviders/Instagram.cs
#	src/Umbraco.Infrastructure/Models/ContentBaseExtensions.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ValueConverters/ImageCropperValue.cs
#	src/Umbraco.Tests/Misc/ApplicationUrlHelperTests.cs
#	src/Umbraco.Tests/Routing/UrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Rte.cshtml
#	src/Umbraco.Web/CompositionExtensions.cs
#	src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web/ImageCropperTemplateExtensions.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Runtime/WebInitialComponent.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
#	src/Umbraco.Web/UmbracoContext.cs
#	src/Umbraco.Web/UmbracoHelper.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
2020-11-30 11:24:24 +01:00
Warren Buckley 3e6830e173 Exit out of function but set to repeat if we are unable to read the file (perhaps a file lock) 2020-11-30 10:18:11 +00:00
Warren Buckley fc2ff2525d No need for the if null check as it will always be null in the ctor 2020-11-30 10:15:06 +00:00
Warren Buckley 5328268645 Uncomment #ifdef 2020-11-30 10:08:48 +00:00
Warren Buckley b29ed4c9c3 Set a low 1 second timeout, no need to be a BIG timeout on this request 2020-11-30 10:04:21 +00:00
Warren Buckley 1394387d43 Move the backgroundtask runner into Initialize method to follow same practise as SchedulerComponent 2020-11-30 09:18:13 +00:00
Warren Buckley f747e2a2dc Missing namespace from Bjarkes suggestion to move to DataMember 2020-11-30 09:17:39 +00:00
5dcb488d2c Update src/Umbraco.Web/Telemetry/ReportSiteTask.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-11-30 09:12:27 +00:00
Warren Buckley c5afcf1c9c Move marker file into App_Data a folder that can never be served 2020-11-30 09:08:24 +00:00
Warren Buckley 36cd06b952 Add Debug logging and dont set type for ex as we are not using it 2020-11-30 09:05:38 +00:00
Warren Buckley 8a6db7f71f Uncomment out the DEBUG lines 2020-11-30 09:05:03 +00:00
Niels Lyngsø 855bef8c59 remove this class, should not have been added here. 2020-11-30 09:56:01 +01:00
Shannon 36b3a2b62a fixes media authz resource policies 2020-11-30 19:38:55 +11:00
Shannon 76cbd76f32 Fixes content resource authz 2020-11-30 19:09:14 +11:00
Bjarke Berg 85df7be7e8 Added TestEnvironment
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-30 08:51:12 +01:00
Shannon 36830e4850 remove c# 9 2020-11-30 17:35:58 +11:00
emmagarland 17df4eb607 Members mapping definition updated, and commented out duplicate password work 2020-11-30 01:07:02 +00:00
emmagarland 5b4b948543 Added more layers to have a vertical slice through Umbraco for CreateMember via backoffice.
Still lots to implement and test, not complete and needs early review.
2020-11-30 00:45:38 +00:00
SteveandGitHub 60a8d7725e V8/bugfix/fix dictionaries (#9328)
* Remove double keys and unexpected text

* Add Dutch translations

* Update Dutch translations for 8.9

* Second pass

* Add CDATA to sectionMandatoryDesc

* Third pass

* Add rel="noopener" to links

Authored-by: SteveVaneeckhout <SteveVaneeckhout@users.noreply.github.com>
2020-11-29 22:54:00 +01:00
James Jackson-South 70aa61ce4c Add tests rule exception to prevent unused assert warnings 2020-11-29 16:38:38 +00:00
emmagarland e7a21bcc18 Check for no errors 2020-11-29 13:59:08 +00:00
emmagarland 8572d7bbd9 Updated member type, and added start of unit tests for new store. Removed all unused properties for now to implement later. 2020-11-29 13:56:58 +00:00
Rasmus OlofssonandMichael Latouche bdf20dbcca Add Swedish translation for the member section. 2020-11-28 02:02:33 +01:00
Bjarke Berg 6ce8e55210 Removed check for ValidateStylesheet while file systems don't support both web and content root
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 22:11:51 +01:00
Bjarke Berg 9af77e5f51 Add temp logging, to debug azure pipeline
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 21:53:31 +01:00
Bjarke Berg 8fdf65c78a Add temp logging, to debug azure pipeline
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 20:49:19 +01:00
Bjarke Berg 41bdfd940c Add temp logging, to debug azure pipeline
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 20:34:48 +01:00
Bjarke Berg f9c51930f7 Add temp logging, to debug azure pipeline
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 19:39:43 +01:00
Warren Buckley eeae4afe0b Merge remote-tracking branch 'origin/v8/dev' into v8/feature/property-label-on-top
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2020-11-27 15:34:53 +00:00
James Jackson-South 3965e71138 Fix private instance field naming rules in Rider 2020-11-27 13:52:47 +00:00
Sebastiaan Janssen 862a7fdce6 Merge branch 'v8/contrib' into v8/dev 2020-11-27 14:04:55 +01:00
Matt BrailsfordandGitHub a6f5e48f43 Introduce content app helper (#9425) 2020-11-27 14:02:19 +01:00
Bjarke Berg 2fb7f3ef84 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/linux-paths
# Conflicts:
#	src/Umbraco.Web.BackOffice/Security/AutoLinkSignInResult.cs
2020-11-27 13:49:42 +01:00
Bjarke Berg 5efa93d803 Revert "Revert "FIxes more of the auth procedure""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:36:09 +01:00
James Jackson-South 99a5afc708 Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-27 12:36:02 +00:00
Bjarke Berg 26dc9219c4 Revert "Revert "Cleans up BackofficeSecurity, fixes up AuthenticationController for endpoints that aren't authorized (and simplifies)""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:35:43 +01:00
Bjarke Berg a098b956a6 Revert "Revert "Ensures that all back office controllers are authenticated under the back office scheme""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:35:22 +01:00
Bjarke Berg 541ff0fdb0 Revert "Revert "Moves auto linking logic to the BackOfficeSignInManager""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:34:58 +01:00
Bjarke Berg d6357e8fde Revert "Revert "Gets oauth working (with google) now need to test others and debug why the styles aren't working""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:34:32 +01:00
Bjarke Berg 88c1259d84 Revert "Revert "Moves some files, adds notes, starts poc for back office login providers""
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:33:01 +01:00
Bjarke Berg 3b0d33a84c Revert "Moves some files, adds notes, starts poc for back office login providers"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:17:58 +01:00
Bjarke Berg 1833bfa1a9 Revert "Gets oauth working (with google) now need to test others and debug why the styles aren't working"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:17:34 +01:00
Bjarke Berg efce67fe8a Revert "Moves auto linking logic to the BackOfficeSignInManager"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:17:13 +01:00
Bjarke Berg 7d61020214 Revert "Ensures that all back office controllers are authenticated under the back office scheme"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:16:50 +01:00
Bjarke Berg 96ef2fd9b7 Revert "Cleans up BackofficeSecurity, fixes up AuthenticationController for endpoints that aren't authorized (and simplifies)"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:16:22 +01:00
Bjarke Berg 348f69734b Revert "FIxes more of the auth procedure"
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 13:15:54 +01:00
b4c65fe12a Update src/Umbraco.Core/Migrations/Upgrade/V_8_10_0/AddPropertyTypeLabelOnTopColumn.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 11:19:37 +00:00
Warren BuckleyandGitHub 7d3878842a Merge pull request #7560 from umbraco/v8/feature/ensure-umb-editor-is-within-viewport
keep umb-editor inside viewport width
2020-11-27 11:11:42 +00:00
Warren BuckleyandGitHub e41855b175 Merge pull request #7227 from umbraco/v8/feature/0000-remove-out-icon
V8/feature/0000 remove out icon
2020-11-27 10:28:52 +00:00
Niels Lyngsø 48d5682cab Merge remote-tracking branch 'origin/v8/dev' into v8/feature/0000-remove-out-icon
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/components/content/umb-content-node-info.html
#	src/Umbraco.Web.UI.Client/src/views/components/media/umb-media-node-info.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/urllist/urllist.html
2020-11-27 11:15:37 +01:00
Warren BuckleyandGitHub 46743506ad Merge pull request #7155 from umbraco/v8/feature/0000-NodeJS-minimum-version
set a minimum version requirement for node
2020-11-27 10:08:04 +00:00
Warren BuckleyandGitHub 2d1081c51e Merge pull request #7444 from umbraco/v8/feature/round-corners-in-media-picker
added round corners in umb-media-grid for media-picker
2020-11-27 10:06:56 +00:00
Niels Lyngsø 5bbf0d04d2 require node v.10 2020-11-27 11:04:07 +01:00
Niels Lyngsø d5b0080c51 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/0000-NodeJS-minimum-version
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
2020-11-27 11:02:50 +01:00
Warren Buckley 643407d994 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/anon-telemetry 2020-11-27 09:48:36 +00:00
Bjarke Berg efa6d82865 Don't use C# preview features yet
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:45:24 +01:00
Bjarke Berg ab924e0c7d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/linux-paths 2020-11-27 09:42:57 +01:00
Bjarke Berg e13ea4e9fb rollback appsettings.json
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:42:19 +01:00
Bjarke Berg fc9e0fa244 Removed old XmlConfigManipulator
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:05:12 +01:00
Bjarke Berg b9173ef6bb Removed wrong ctor from PhysicalFileSystem
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 09:00:50 +01:00
Bjarke Berg 87591b5007 Set timeout on upgradecheck. Don't what to hang if that server is unresponsive
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-27 08:47:32 +01:00
Shannon ec6ac41e56 FIxes more of the auth procedure 2020-11-27 15:58:00 +11:00
Shannon 47ab15f457 Cleans up BackofficeSecurity, fixes up AuthenticationController for endpoints that aren't authorized (and simplifies) 2020-11-27 15:42:41 +11:00
Shannon 313a2e6f7c Ensures that all back office controllers are authenticated under the back office scheme 2020-11-27 13:32:41 +11:00
Shannon 7d143ec240 Moves auto linking logic to the BackOfficeSignInManager 2020-11-27 12:51:37 +11:00
James Jackson-South ed6706a145 Global rules with split rulesets. 2020-11-27 01:08:18 +00:00
James Jackson-South 2fae17f72b Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-27 00:00:12 +00:00
Bjarke Berg fe2aa02392 Fixed tests + Migrated FileSystemsTests.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-26 15:29:18 +01:00
Bjarke Berg 064dbd2f67 Fixed tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-26 15:15:53 +01:00
Shannon c08db7763e Gets oauth working (with google) now need to test others and debug why the styles aren't working 2020-11-27 00:44:36 +11:00
Elitsa Marinovska 416a51f6b2 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/azure-yaml-pipeline 2020-11-26 14:42:47 +01:00
Elitsa Marinovska 10cb685b05 Adding steps for running the Integration Tests 2020-11-26 13:24:05 +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
Elitsa Marinovska e5b3f84371 Fix naming 2020-11-26 13:03:09 +01:00
Elitsa Marinovska 8168667267 adding displayName 2020-11-26 12:59:52 +01:00
Elitsa Marinovska 80379499c3 syntax issue 2020-11-26 12:50:41 +01:00
Elitsa Marinovska 03504399f2 Adding stages 2020-11-26 12:48:38 +01:00
Elitsa Marinovska 2d3bc4bef6 Fixing step for building the nuget packages 2020-11-26 12:00:26 +01:00
Bjarke Berg 81bbfe93ce Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6666-auth-policies 2020-11-26 11:59:36 +01:00
Elitsa Marinovska 5ba4f8f01e another syntax fix 2020-11-26 11:42:06 +01:00
Elitsa Marinovska 35523c4fc0 yaml syntax error 2020-11-26 11:40:10 +01:00
Elitsa Marinovska f0c7fc5fca Adding steps for node, npm and gulp 2020-11-26 11:32:48 +01:00
Elitsa Marinovska a3694e9f6e Adding Prepare build step 2020-11-26 10:58:05 +01:00
Shannon e01abf2802 Moves some files, adds notes, starts poc for back office login providers 2020-11-26 19:24:55 +11:00
Elitsa Marinovska c52d8c911f lists the files in the current working directory 2020-11-26 09:24:12 +01:00
Elitsa Marinovska de81606d06 Fix call to CompileUmbraco() 2020-11-26 08:47:29 +01:00
Elitsa Marinovska 49c6c41463 Steps for preparing packages & verifying nuget 2020-11-26 08:41:55 +01:00
Elitsa Marinovska b198e7891d Adding steps for restoring nuget pckgs 2020-11-26 08:26:09 +01:00
Shannon e53ab2e3c1 removes old controller 2020-11-26 17:28:12 +11:00
Shannon aeab78f6a1 reduce code repeat, introduce MustSatisfyRequirementAuthorizationHandler 2020-11-26 17:25:43 +11:00
Shannon 75e6eb0bd9 Fixes async filters and cleans up some code 2020-11-26 17:02:07 +11:00
Shannon 8e15e265fd Adds TODOs, puts back UmbracoRequireHttpsAttribute but in a nicer way, ensures test classes initialize the authz policies with the test scheme 2020-11-26 16:52:03 +11:00
Bjarke BergandGitHub 87b6c4852f Merge pull request #9448 from AndyButland/feature/membership-helper-facade-2
NetCore: Migrated member related partial views
2020-11-26 06:38:11 +01:00
nzdevandMichael Latouche 8d96c6e842 Add check for converted so .startsWith does not throw 2020-11-25 19:33:55 +01:00
Bjarke Berg 2534a32b9f Handle all PartialViewMacros Templates as content + Aligned directory seperators
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 13:47:51 +01:00
Bjarke Berg 642c455024 Reuse UmbracoWebsiteSecurityAccessor.WebsiteSecurity and align with other templates, by saving in variable even if it is just used once.
+

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 13:45:31 +01:00
Bjarke BergandGitHub 9b567cb6af Merge pull request #9455 from rustybox/netcore/netcore
Netcore: Hotfix for PublishedSnapshotService initialization
2020-11-25 13:21:01 +01:00
Paul Johnson 667c00ccd4 Hotfix for PublishedSnapshotService initialization 2020-11-25 10:53:38 +00:00
Bjarke BergandGitHub e17cc8ad70 Merge pull request #9452 from umbraco/netcore/bugfix/linux-fix-test
Netcore: Fix unit tests, so they pass on linux too
2020-11-25 11:45:35 +01:00
Bjarke BergandGitHub 052b8fc9b4 Merge pull request #9451 from rustybox/netcore/netcore
Netcore: Misc resolve naming issues
2020-11-25 10:34:42 +01:00
Bjarke Berg b0186e5a8e Added azure-pipelines.yml to the sln file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:47:05 +01:00
Bjarke Berg 435b1389bf Merge remote-tracking branch 'origin/netcore/bugfix/linux-fix-test' into netcore/feature/azure-yaml-pipeline 2020-11-25 07:42:52 +01:00
Bjarke Berg a117d6be92 Fix test for linux: use temp folder inside content root
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:40:56 +01:00
Bjarke Berg 1e2ad85718 Fix test for linux: config folder is lowercase
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:31:39 +01:00
Bjarke Berg ef9845c7c2 Merge remote-tracking branch 'origin/netcore/bugfix/linux-fix-test' into netcore/feature/azure-yaml-pipeline 2020-11-25 07:23:01 +01:00
Bjarke Berg 0b7f7e4f37 Use temp path for test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:22:32 +01:00
Bjarke Berg 8aba727248 Use temp path for test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-25 07:14:43 +01:00
Paul Johnson 7f8ed7b2e3 Resolve naming issues from #9415
Note that I removed the comment around funky namespace without changing namespace, dead comment from 2016.
2020-11-25 05:11:31 +00:00
Shannon e0665973e3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6666-auth-policies
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/Filters/UmbracoBackOfficeAuthorizeFilter.cs
#	src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
2020-11-25 11:55:16 +11:00
Shannon DeminickandGitHub 425c89744c Merge pull request #9415 from rustybox/netcore/feature/msdi-remove-composition
Netcore: Replace Composition with UmbracoBuilder
2020-11-25 11:34:33 +11:00
Bjarke Berg 41f3dae9c8 Fix paths in LogviewerTests 2020-11-24 19:49:46 +01:00
Elitsa Marinovska 8d4169dde2 Indentation issues 2020-11-24 16:24:25 +01:00
Elitsa Marinovska 2b89ce07d3 Setting up Windows agent 2020-11-24 16:21:03 +01:00
Elitsa Marinovska 27379ba89a Linux path syntax rules 2020-11-24 15:50:29 +01:00
Elitsa Marinovska 21312a09ea More general wildcard for project path 2020-11-24 15:41:36 +01:00
Elitsa Marinovska 7ead4a47ff Specifying project path pattern 2020-11-24 15:20:32 +01:00
Elitsa Marinovska 8fa15b2561 Fixing indentation 2020-11-24 15:12:12 +01:00
Elitsa Marinovska cb2631ce02 Removing hard-coded trigger 2020-11-24 15:07:42 +01:00
Elitsa Marinovska f743cd7e4a Defining linux job 2020-11-24 14:51:07 +01:00
Elitsa Marinovska ebf2a8cee9 Adding clearly defined tasks for restore and build 2020-11-24 14:06:54 +01:00
James Jackson-South 4a1040d1af Naming rules now work 2020-11-24 12:20:43 +00:00
Paul Johnson 7e9a13a4ab Register instances instead of factory method with discard. 2020-11-24 12:20:05 +00:00
Paul Johnson 633c391f85 Merge branch 'netcore/netcore' into netcore/feature/msdi-remove-composition 2020-11-24 12:05:32 +00:00
Paul Johnson 61a4f3f6c6 Always boot for RelationRepository tests
If we don't boot tests can fail based on the point at which IPublishedSnapshotService is first resolved.

At runtime it is resolved by the NuCacheComponent as soon as CoreRuntime is resolved during UseUmbracoCore.

By doing this the integration tests match the real application lifecycle.
2020-11-24 12:03:10 +00:00
Elitsa Marinovska f62ec9fd07 Adding yaml file for setting up CI with Azure Pipelines 2020-11-24 12:56:01 +01:00
84237d4a57 Remove Security from UmbracoContext (#9392)
* Remove Security from UmbracoContext

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Removing files reference from csproj

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-11-24 12:52:48 +01:00
Andy Butland b331d683ec Migrated member related partial views along with necessary methods from MembershipHelper into IUmbracoWebsiteSecurity. 2020-11-24 11:33:46 +01:00
Paul Johnson 5268f9d7f0 Resolve review comments 2020-11-24 09:37:52 +00:00
Nathan WoulfeandMichael Latouche 3f776c32f4 Update icon.prevalues.controller.js 2020-11-24 09:05:42 +01:00
Bjarke BergandGitHub 4a7f6d3cc1 Migrated partial views (#9420)
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-24 09:05:16 +01:00
8262f25e20 Listview: Fix icon-picker a11y (#9050)
* Add proper button and fix icon

* split value to avoid binding icon color in icon attribute

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-11-24 17:19:23 +10:00
a9a4b0894a Use umb-icon in umb-node-preview (#9072)
* Use umb-icon in umb-node-preview

* Inherit icon size from umb-icon

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
2020-11-24 16:53:08 +10:00
BatJanandNathan Woulfe fd09d4f319 Convert divs with ng-click to button and wrap texts in paragraphs 2020-11-24 16:02:08 +10:00
Kenn JacobsenandNathan Woulfe 1076e58cc7 Hide properyt actions for culture invariant properties 2020-11-24 15:55:46 +10:00
Rachel BreezeandGitHub 388123ff66 Follows the same pattern as create a relationship page title and clears the page title when creating a dictionary item (#9279) 2020-11-24 02:15:58 +01:00
Shannon 1f048f0599 some cleanup of handlers that check multiple query strings 2020-11-24 12:02:31 +11:00
Shannon f313a4f583 some cleanup of handlers that check multiple query strings 2020-11-24 11:56:53 +11:00
Shannon 7eee09758e Ensure there's explicit scopes used for all service access in the Examine indexing logic 2020-11-24 09:49:58 +11:00
emmagarland c95e560c54 Initial creation of templates for the member identity user, store and manager. Very much in flux, needs tests and implementations.
Based on BackOfficeIdentityUser and UmbracoIdentity.
2020-11-23 16:05:12 +00:00
Warren BuckleyandGitHub 604e6f9abb Merge pull request #9322 from umbraco/v8/feature/AB9079-use-tree-for-ElementType-pickers
V8/feature/ab9079 use tree for element type pickers
2020-11-23 15:32:13 +00:00
Shannon 5619b63ee4 delete file 2020-11-24 00:54:03 +11:00
Shannon 40d75f88f3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6666-auth-policies
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.Common/Filters/UmbracoMemberAuthorizeFilter.cs
2020-11-24 00:46:38 +11:00
Shannon bde025f661 streamlines the naming of the content/media permissions handlers 2020-11-24 00:42:52 +11:00
Shannon 4dbfe5867b migrates the custom content persmission helper and media permissions helper checks to authz policies and cleans up that code/class/namespaces 2020-11-24 00:37:26 +11:00
Warren BuckleyandGitHub 9367c24738 Merge pull request #9275 from umbraco/v8/feature/8689-make-settings-and-layout-props-available-for-labels
Make index, settings and layout props available for labels
2020-11-23 12:42:55 +00:00
James Jackson-South 2d2748a7d3 Add underscore warnings 2020-11-23 12:37:05 +00:00
Paul Johnson 7abf9466c0 Merge branch 'netcore/netcore' into netcore/feature/msdi-remove-composition 2020-11-23 12:29:00 +00:00
Paul Johnson 8ca3f602e2 Further cleanup of AddUmbracoCore
IUmbracoBootPermissionChecker is irrelevant in .net core as there's no concept of full trust
Allow container to create DbProviderFactoryCreator with a factory method.
2020-11-23 12:22:34 +00:00
Bjarke BergandGitHub ebe643e30b Merge pull request #9412 from AndyButland/feature/membership-helper-facade
NetCore: Creates abstraction for membership helper and migrates controllers now dependent on it.
2020-11-23 13:15:26 +01:00
Niels Lyngsø e13b12a788 make index start at 1... 2020-11-23 13:13:04 +01:00
Shannon c34540cb06 Migrates EnsureUserPermissionForContentAttribute to authz policies 2020-11-23 22:43:41 +11:00
James Jackson-South 706c5a89fd Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-23 11:14:50 +00:00
James Jackson-South 71f7952e3d Update rules based upon feedback 2020-11-23 11:14:07 +00:00
Sebastiaan Janssen 930b1c1a75 Run analysis for bug fixes & features 2020-11-23 11:47:25 +01:00
Sebastiaan Janssen 2b6b9b8c06 Keep getting complaints that there's no on in codeql-config.yml 2020-11-23 11:35:52 +01:00
Niels LyngsøandGitHub 14747df4e7 run JS unit test in development script (#9014) 2020-11-23 11:31:31 +01: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
Kenn JacobsenandSebastiaan Janssen b7d37f2279 Replace obsolete usages with injected services in UmbracoHelper 2020-11-23 10:47:15 +01:00
SteveandGitHub 39c4dcdaaa Track ng-repeat with id instead of label (#9340) 2020-11-23 10:40:18 +01:00
nzdevandSebastiaan Janssen 32788a0a42 reduce array allocations 2020-11-23 10:36:46 +01:00
Niels Lyngsø c578be52ae appended $index to label vars 2020-11-23 10:30:02 +01:00
Sebastiaan Janssen b5546d074a Merge branch 'v8/contrib' into v8/dev 2020-11-23 10:19:14 +01:00
Bjarke BergandGitHub 94f73ef5d9 Merge pull request #9421 from umbraco/netcore/feature/property-editors-migration-from-infrastructure
Netcore: Migration of Property Editor classes from Umbraco.Infrastructure to Core
2020-11-23 10:06:43 +01:00
Bjarke Berg a9eb5c3428 Fix issue found in test. Return IActionResult instead of HttpResponseMessage 2020-11-23 08:11:01 +01:00
Bjarke Berg d2a57496e5 Fix issue found in test. Return IActionResult instead of HttpResponseMessage 2020-11-23 08:08:52 +01:00
Bjarke BergandGitHub 9a1b456949 Merge pull request #9408 from umbraco/v8/bugfix/task-scheduler-maindom-logging
Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations
2020-11-23 07:43:24 +01:00
BatJanandNathan Woulfe c8d837bb97 Change div with ng-click to button and add fallback for dictionary item 2020-11-23 16:42:17 +10:00
Laura WeatherheadandNathan Woulfe ceaf1699d8 Update umb-button directive parameter usage to reflect accurate implementation 2020-11-23 16:37:37 +10:00
Bjarne FyrstenborgandGitHub 7fc3ec82bd Help drawer adjustments (#9090)
* Format document

* Ensure help drawer can be closed using esc key

* Add rel="noopener" for security reasons

* Remove additional whitespace
2020-11-23 16:36:12 +10:00
John KilmisterandGitHub 8b9585398e Issue 8353 - Fix of issue that caused small screens labels alignment (#9047)
* Issue 8353 - Fix of issue that caused on small screens labels to be right aligned dispite being on own line

* Issue 8353 Support smaller screens
2020-11-23 16:07:47 +10:00
Jan SkovgaardandGitHub 8549d1ac7a ContextDialog: Accessibility improvements (#9045)
* Add role and aria attributes as well as a screen reader only description

* Add translations to language files
2020-11-23 09:59:43 +10:00
patrickdemooij9andGitHub 98610b50d3 8838: Node Actions menu should be disabled on listview (#9021)
* 8838: Node Actions menu should be disabled on listview

* 8838: Set disable actions menu on event
2020-11-23 09:35:38 +10:00
Andy Butland 09cfe5f055 Fixed typo in class name. 2020-11-22 09:51:57 +01:00
Paul Johnson 73bd42a916 Fix parameter name for IUmbracoBuilder 2020-11-21 15:43:01 +00:00
Paul Johnson 0241649f7f Cleanup AddUmbraco & AddUmbracoCore 2020-11-21 15:22:24 +00:00
Paul Johnson 5e2de50382 Fix legacy tests 2020-11-20 12:32:56 +00:00
Paul Johnson 39657dea6d UmbracoBuilder now requires TypeLoader via ctor 2020-11-20 12:18:25 +00:00
Paul Johnson 5b1ccb0659 Remove the crazy Func param on AddUmbracoCore 2020-11-20 11:13:53 +00:00
Paul Johnson 4520b2ab21 Fix for failing test RelationRepositoryTests.Get_Paged_Child_Entities_By_Parent_Id 2020-11-20 09:44:49 +00:00
Shannon 65a11a4e26 Adds notes 2020-11-20 15:40:20 +11:00
Shannon eeb6c79b14 After testing, removes notes 2020-11-20 15:37:18 +11:00
Shannon 7757447244 Migrates UmbracoBackOfficeAuthorizeAttribute to authz policies and adds notes/questions 2020-11-20 15:32:36 +11:00
Shannon 84c2f75a27 Adds notes, only run back office authz policies on the back office scheme 2020-11-20 14:59:08 +11:00
Shannon e7b4c5a811 Converts FeatureAuthorize to authz policy 2020-11-20 12:40:29 +11:00
Shannon f32399292e Migrates UserGroupAuthorizationAttribute to authz policies 2020-11-20 12:23:09 +11:00
BatJanandNathan Woulfe f3ec66be4c Various fixes in the view 2020-11-20 11:15:14 +10:00
Shannon 9c5ce631a9 removes UmbracoWebApiRequireHttpsAttribute since we dont' need it 2020-11-20 12:12:54 +11:00
Kenn JacobsenandNathan Woulfe c9bf1a0bc2 Add confirmation dialog to media picker "remove all entries" action 2020-11-20 10:52:47 +10:00
James Jackson-South b16c2e47a1 Align umbraco.sln 2020-11-20 00:10:49 +00:00
James Jackson-South 0e1f6fc69b Remove rulset noise and allow further customization 2020-11-20 00:02:05 +00:00
Paul Johnson daf972fc62 Closer to removing all BuildServiceProvider calls 2020-11-19 22:02:19 +00:00
Paul Johnson 8b97ce69b1 Removed CoreRuntimeBootstrapper
Establish runtime level at run time not during service registration.
2020-11-19 20:21:45 +00:00
Paul Johnson 3672a9f2f2 Add composers via extension on UmbracoBuilder
reduce scope of CoreRuntimeBootstrapper
2020-11-19 16:20:39 +00:00
Benjamin Carleski 7dd00faa10 Update Ensure calls to use full path 2020-11-19 06:37:31 -08:00
Elitsa Marinovska 7809d1501e Migrations from PropertyEditors folder without dependencies to DataValueEditor or ConfigurationEditor<TConfiguration> 2020-11-19 15:21:10 +01:00
Elitsa Marinovska 74262e18b5 Migrations from PropertyEditors/ValueConverters without dependencies to DataValueEditor or ConfigurationEditor<TConfiguration> 2020-11-19 15:12:50 +01:00
Elitsa Marinovska 790271382e Placing ConfigurationEditor to its correct (old) place 2020-11-19 15:09:25 +01:00
Shannon 6a995127b1 Migrates AdminUsersAuthorizeAttribute and DenyLocalLoginAuthorizationAttribute to authz policies 2020-11-19 23:53:04 +11: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
Shannon 29c2bca012 remove delete relation in relation controller, this is not used and shouldn't really be there if only having access to content. 2020-11-19 22:18:56 +11:00
Shannon 63fceebca0 Removes UmbracoApplicationAuthorizeAttribute and migrates usages to authz policies 2020-11-19 22:17:42 +11: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
Paul Johnson 48b61ec4c4 Simplify UmbracoBuilder setup 2020-11-19 09:12:39 +00:00
Sebastiaan Janssen 4e5b2e4b82 Fixes #6089
JsDiff.diffWords in Rollback freezes browser
2020-11-19 09:47:06 +01:00
Shannon daaade185e Removes UmbracoTreeAuthorizeAttribute and migrates usages to authz policies 2020-11-19 19:23:41 +11:00
James Jackson-South de70b58183 Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-18 23:59:53 +00:00
Paul Johnson aec25d5007 Replace Composition with UmbracoBuilder 2020-11-18 17:41:57 +00:00
Benjamin Carleski 4d4cb0d221 Fix unit test failures 2020-11-18 08:51:58 -08:00
Andy Butland 024b37e0e6 Added further method header comment. 2020-11-18 17:41:10 +01:00
Andy Butland c971a2d23d Introduced website security accessor to ensure members aren't shared between sessions. 2020-11-18 17:37:31 +01:00
Steve TempleandGitHub 945d9b9a8e Merge pull request #9411 from simonech/netcore/feature/linux-solution-file
Added netcore-only solution file
2020-11-18 16:14:46 +00:00
Joe GlombekandGitHub d60f14708b Update new list of Core Collaborators in contributing docs (#9413)
* Update new list of Core Collaborators in contributing docs

* Fix spacing
2020-11-18 16:12:01 +00:00
Benjamin Carleski 2309bb9d5b Finish removing IOHelper.MapPath references 2020-11-18 08:10:16 -08:00
Andy Butland d8ef341854 Refactored to async where appropriate.
Added call to new abstraction in member authorize attribute.
2020-11-18 16:52:40 +01:00
Simone Chiaretta 3303df4918 Added netcore-only solution file 2020-11-18 16:46:59 +01:00
Benjamin Carleski 7583c1fb06 Start cleanup of IOHelper.MapPath calls 2020-11-18 07:25:11 -08:00
02d8b3c339 Accessibility (keyboard navigation): The 'Content' drop down menu opens automatically when tabbing (#9325)
* Use umb-dropdown directive for Content dropdown

To allow keyboard toggling and automatic collapsing on click elsewhere

* Hide menu on blur

Co-authored-by: Joe Glombek <joe@rockdove.uk>
2020-11-18 15:14:48 +00:00
Andy Butland 0fbe01cd22 Created new abstraction IUmbracoWebsiteSecurity and migrated controller's using it (replacing MembershipHelper) to Umbraco.Web.Website. 2020-11-18 16:12:42 +01:00
Benjamin Carleski d51677d5ed Split IOHelper into platform specific versions 2020-11-18 04:49:03 -08:00
Kenn JacobsenandSebastiaan Janssen 353aaa46c7 Make Nested Content icons centered and same size as Block Editor 2020-11-18 11:57:26 +01:00
Paul Johnson 85c706087c Add collection builder support to UmbracoBuilder 2020-11-18 10:41:20 +00:00
Shannon DeminickandGitHub 64609475d3 Merge pull request #9248 from umbraco/netcore/task/6973-migrating-authenticationcontroller
Migrate remaining bits AuthenticationController and BackOfficeController OAuth methods
2020-11-18 16:03:21 +11:00
Shannon 99247d7fbe Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller
# Conflicts:
#	src/Umbraco.Infrastructure/PropertyEditors/PropertyEditorsComposer.cs
2020-11-18 16:02:51 +11:00
Shannon DeminickandGitHub 7e36bf55b5 Merge pull request #9257 from umbraco/netcore/task/6973-migrating-authenticationcontroller-merge
Merges netcore/dev (from merge_umbraco_id_into_netcore_dev) into the 6973-migrating-authenticationcontroller branch
2020-11-18 15:58:35 +11:00
Tomas Foss RenaaandNathan Woulfe c88e2be2ac remove bottom offset 2020-11-18 13:09:38 +10:00
Shannon c2d9f5aa4e Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations 2020-11-18 12:33:13 +11:00
Matt DarbyandGitHub 8a1e281158 Remove double editorService.close() (#9301) 2020-11-18 01:20:04 +01:00
dd5f400cf3 Netcore: Migration of Model classes from Umbraco.Infrastructure to Core (#9404)
* Migrating more model, mapping and tree classes

* Migrating files from Mapping dir without Newtonsoft dependency

* Migrating files from PublishedContent and Editors dirs without Newtonsoft dependency + some more of the same kind

* Migrating DataType class without the usage of Newtonsoft.Json and making the corresponding changes to all classes affected

* Combining 3 ContentExtensions files into 1

* Refactoring from migrating ContentExtensions

* Migrating more classes

* Migrating ContentRepositoryExtensions - combining it with existing file in Umbraco.Core

* removing Newtonsoft json dependency & migrating file. Adding partial migration of ConfigurationEditor, so PropertyTagsExtensions can be migrated

* Migrating ContentTagsExtensions, and refactoring from changes in PropertyTagsExtensions

* Changes that should be reverted once ConfigurationEditor class is fully migrated

* VS couldn't find Composing, so build was failing. Removing the using solves the problem

* Handling a single case for deserializing a subset of an input

* Small changes and added tests to JsonNetSerializer

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Migrated ConfigurationEditor

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-11-17 20:27:10 +01:00
Paul JohnsonandGitHub d498c1a2cd Netcore: Turn container validation back on (#9401)
* Remove RuntimeLevelAttribute & disable filtering

* Remove RuntimeLevelAttribute usage on Composers

* Fix broken tests

* Resolve UserManager registration issues.

* Turn container validation back on.

* Resolve lifetime issue post install backoffice.

* Remove final TODO: MSDI
2020-11-17 08:56:04 +01:00
Kenn JacobsenandNathan Woulfe 8de2f4920a Do not show cryptic confirm dialog when editing group 2020-11-17 09:29:31 +10:00
Bjarne FyrstenborgandNathan Woulfe bb7e53434d Allow to close overlay via esc shortcut 2020-11-17 09:00:50 +10:00
Rachel BreezeandGitHub ee08542add Added missing documentation for content menu (#9201) 2020-11-17 08:50:07 +10:00
Laura WeatherheadandNathan Woulfe cc74be5a27 Fix mis-spelt "occurred" 2020-11-17 08:49:01 +10:00
BatJanandNathan Woulfe e783af3d19 Change comments to use allowed and disallowed 2020-11-17 08:47:36 +10:00
Callum WhyteandNathan Woulfe b8859f6cac Styling all code elements in backoffice UI docs 2020-11-17 08:03:43 +10:00
Adam WernerandNathan Woulfe ede9a18894 Documentation link updated - umbdrawer 2020-11-17 07:51:57 +10:00
Mücahit GENÇandGitHub 68997cd219 Turkish language has been arranged according to v8 (#9400)
* Update tr.xml

* Update tr.xml

* Updated "tr.xml"

* Update tr.xml
2020-11-17 07:49:52 +10:00
Bjarke BergandGitHub 76aada2aef Merge pull request #9380 from rustybox/feature/netcore/msdi-refactor-use-DefaultControllerActivator
Netcore: Use DefaultControllerActivator
2020-11-16 13:16:31 +01:00
Bjarke Berg 13964d398b Merge remote-tracking branch 'origin/netcore/netcore' into feature/netcore/msdi-refactor-use-DefaultControllerActivator
# Conflicts:
#	src/Umbraco.Web.Website/Extensions/UmbracoWebstiteServiceCollectionExtensions.cs
#	src/Umbraco.Web.Website/Runtime/WebsiteComposer.cs
2020-11-16 10:35:51 +01:00
Rachel BreezeandGitHub a9f09308cf This PR sets the page title when editing and maintaining languages (#9312)
* Added support for setting the page title when maintaining languages

* Edit language is now part of the vm.labels grouping
2020-11-16 02:32:38 +01:00
Jan SkovgaardandGitHub 1bf49b6ba3 umb-control-group directive: Fix styling issue (#9069)
* Fix issue where label is offset 10px

* Undo change made by code editor
2020-11-16 09:54:58 +10:00
Matt DarbyandNathan Woulfe fc7f7295bf Change icon to check if selected 2020-11-16 09:24:46 +10:00
Anders BjernerandNathan Woulfe 8c7fa8159c Updated editor.service.js for consistency 2020-11-16 09:21:20 +10:00
a1f9bc9b17 NetCore: Install page db checks (#9388)
* Making more explicit checks for the db type

* Fixed confusion with both ints and strings

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-11-13 08:50:35 +01:00
James Jackson-South 244d6000c1 Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-12 14:39:50 +00:00
James Jackson-South 02122683a3 Add files to solution 2020-11-12 14:39:30 +00:00
Bjarke Berg e46a248832 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts:
#	src/Umbraco.Infrastructure/HostedServices/ScheduledPublishing.cs
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs
#	src/Umbraco.Infrastructure/Scheduling/SchedulerComposer.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
#	src/Umbraco.Web.BackOffice/Runtime/BackOfficeComposer.cs
#	src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
#	src/Umbraco.Web.Common/UmbracoContext/UmbracoContext.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Runtime/WebInitialComponent.cs
2020-11-12 13:10:19 +01:00
Bjarke Berg d756248c7c Merge remote-tracking branch 'origin/netcore/dev' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts:
#	src/Umbraco.Examine.Lucene/UmbracoContentIndex.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaServiceTests.cs
#	src/Umbraco.Tests/Services/MemberServiceTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Preview.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/config/umbracoSettings.config
2020-11-12 12:57:03 +01:00
Warren BuckleyandGitHub c413079159 Merge pull request #9383 from umbraco/v8/fix/codeql-scanning
Get CodeQL to only scan the relevant directories
2020-11-12 11:26:42 +00:00
Sebastiaan Janssen 333aaec1e3 Might fix running out of memory? 2020-11-12 11:52:45 +01:00
Sebastiaan Janssen 9c6b7a6578 Run analysis on pushes AND PRs to the contrib and dev branches 2020-11-12 11:42:37 +01:00
Sebastiaan Janssen f295b539a1 Adding a config file maybe? 2020-11-12 11:14:34 +01:00
Bjarke BergandGitHub 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
Sebastiaan Janssen 285e51dd37 Should it be here then? 2020-11-12 10:55:50 +01:00
Sebastiaan Janssen 49c9330e28 Get CodeQL to only scan the relevant directories 2020-11-12 10:49:21 +01:00
Bjarke Berg eaf6543f99 post merge 2020-11-12 09:50:55 +01:00
Bjarke Berg b2bcdb898e Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Preview/Index.cshtml
#	src/Umbraco.Web.UI/config/umbracoSettings.config
#	src/Umbraco.Web/Services/IconService.cs
2020-11-12 09:13:53 +01:00
Paul Johnson 7561bb5244 No need to register controllers into container, DefaultControllerActivator works fine. 2020-11-11 19:15:30 +00:00
James Jackson-South b8ca26b940 Update .editorconfig 2020-11-11 17:07:18 +00:00
James Jackson-South 4678e00fa4 Merge remote-tracking branch 'upstream/netcore/netcore' into netcore/linting 2020-11-11 16:24:27 +00:00
Paul JohnsonandGitHub 8775770d76 Remove BuildServiceProvider call from UmbracoWebServiceCollectionExtensions (#9372) 2020-11-10 20:04:29 +01:00
Andy ButlandandGitHub 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
Warren Buckley 59a03115ea Posting to service needed lowercase properties 2020-11-10 09:58:15 +00:00
Paul JohnsonandGitHub 3f5f85880e NetCore: MSDI refactor split CoreRuntime & Remove Current (#9356)
* Split Bootstrap code from CoreRuntime

* Make ContentService method signatures match interface
prevents need to hide the concrete class in tests

* Remove Current

Only bit that bugs me is TreeNode for IconFilePath
I get the feeling it's dead code, but can just use a setter in cs or work out path in js if required.

* Fix tests, remember to terminate IRuntime
2020-11-10 09:50:47 +01:00
Warren Buckley 191d86e27c Do not log that marker file exists already during the serval install boot cycles 2020-11-10 08:25:32 +00:00
Callum WhyteandJoe Glombek 1654bea562 Casting tree controllers to TreeControllerBase to support manually registered trees without attributes 2020-11-09 19:45:16 +00:00
Sebastiaan Janssen 05ef43d732 Disable CodeQL for now while we figure out why it doesn't work 2020-11-09 11:30:33 +01:00
ClausandGitHub 7701a0f745 Merge pull request #9361 from umbraco/v8/bug/logviewer-access
Limit access to logviewer endpoints to people with access to the settings section
2020-11-09 11:26:20 +01:00
Sebastiaan Janssen bd4c2cde61 D'oh.. don't push commented out code as used for testing.. 2020-11-09 10:30:45 +01:00
Sebastiaan Janssen efd9f71897 Limit access to logviewer endpoints to people with access to the settings section 2020-11-09 10:16:01 +01:00
Bjarke BergandGitHub 190ff2ae6d Merge pull request #8747 from AndyButland/feature/avoid-sync-io-exception-on-image-render
Resolves issue with rendering back-office media selections when synchronous IO is not allowed.
2020-11-09 06:35:11 +01:00
Callum WhyteandLaura Weatherhead 620c11c38c Returning request response from downloadFile promise 2020-11-08 16:45:18 +00:00
Andy Butland 0351a3eed4 Merge branch 'netcore/netcore' into feature/avoid-sync-io-exception-on-image-render
# Conflicts:
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeServiceCollectionExtensions.cs
2020-11-06 15:16:51 +01:00
Warren Buckley 69b3feb0ea Correct dev URL note the trailing slash 2020-11-05 12:17:46 +00:00
Bjarke BergandGitHub 27fd71225e Merge pull request #9287 from umbraco/netcore/feature/AB9042-migrate-from-infrastructure
Netcore: Migration of classes from Umbraco.Infrastructure
2020-11-05 13:02:49 +01:00
Warren Buckley 9185297484 Post to dev env 2020-11-05 11:55:30 +00:00
Warren Buckley a28f3475eb Only add something to the log when upgrading that the file is missing - during install it would loop over this component serveral times 2020-11-05 11:55:18 +00:00
Warren Buckley b1051a882d git ignore telemetry file when doing local dev 2020-11-05 11:52:50 +00:00
Bjarke Berg ffd28b1fb8 More enums as string in UI
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-04 19:50:01 +01:00
Warren Buckley 17249d226f Add new composer/component to add marker file only when clean install or an upgrade runtime state 2020-11-04 14:24:48 +00:00
Warren Buckley c93a5a5cd1 Remove as an upgrade migration step as new installs will never get the marker file 2020-11-04 14:07:56 +00:00
Bjarke Berg 09e5e68e77 Fix enum to string issue for HealthCheck StatusResultType
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-04 14:47:00 +01:00
Bjarke Berg 52550efc03 Fix language to a language that exists in .net core
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-04 13:56:44 +01:00
Bjarke Berg 595b64c6f0 Handle UI issues now enums always are strings
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-04 13:17:20 +01:00
Sebastiaan Janssen f88144ae48 Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Examine/ContentIndexPopulator.cs
2020-11-04 11:34:27 +01:00
Sebastiaan Janssen e42b8b20f4 Merge branch 'v8/8.9' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-11-04 11:30:27 +01:00
Sebastiaan Janssen ca098e8a01 Merge branch 'v8/8.8' into v8/8.9 2020-11-04 11:27:28 +01:00
Sebastiaan Janssen 466f59c8d4 Bump version to 8.9.1 2020-11-04 11:22:47 +01:00
Sebastiaan Janssen d7f10ff154 Merge branch 'v8/8.8' into v8/8.9 2020-11-04 11:21:03 +01:00
MoleandGitHub d0ca07bce2 Merge pull request #9336 from umbraco/netcore/feature/migrate_custom_view_engines
Netcore: Migrate our custom view engines
2020-11-04 10:08:51 +01:00
Sebastiaan Janssen aac35698a1 Merge branch 'v8/8.8' into v8/8.9 2020-11-04 10:07:04 +01:00
Bjarke BergandGitHub 9b9b5d70be Merge branch 'netcore/netcore' into netcore/feature/migrate_custom_view_engines 2020-11-04 08:40:28 +01:00
dae6e2b8ee Migrated RenderNoContentController + related (#9309)
* Migrated RenderNoContentController + related

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Fix after MSDI

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Update src/Umbraco.Web.UI/Umbraco.Web.UI.csproj

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>

* Removing connection string

* Fixed tests after moving endpoint registration

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2020-11-03 18:55:55 +01:00
James Jackson-South 4aa85073d0 Update copyright notice based on root license 2020-11-03 17:47:16 +00:00
James Jackson-South 5321b761a5 Add stylecop linting and example fix. 2020-11-03 17:31:05 +00:00
Elitsa Marinovska 6d23075d9a Migrating the rest of the files from ContentEditing\ 2020-11-03 16:36:59 +01:00
Elitsa Marinovska 5104430879 Changing the way we register json converters globally 2020-11-03 16:36:09 +01:00
Warren BuckleyandGitHub dbee98bf02 Merge pull request #9258 from umbraco/v8/feature/AB8699-Support-blocks-in-clipboard-service
Support blocks in backoffice clipboard
2020-11-03 13:48:07 +00:00
Bjarke Berg 1a4a72ee21 Cleanup
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 14:35:27 +01:00
Bjarke Berg aefb596b4b More viewengine migration. Including wrapping in profiler etcs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 14:25:45 +01:00
Niels Lyngsø 67367fe111 display an error message if settings does not align. 2020-11-03 13:38:54 +01:00
Bjarke Berg 3faf0cb9ce Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate_custom_view_engines 2020-11-03 13:25:55 +01:00
Bjarke BergandGitHub 3cf45c9e88 Merge pull request #9329 from AndyButland/feature/amend-health-check-notifier-first-run-time-to-crontab
.NetCore: change health check notifier first run time to cron expression
2020-11-03 12:06:34 +01:00
Bjarke Berg 94b9f7453c Fix boot issue, because hosted services uses IServerMessenger that uses ISqlContext before the db is ready
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 11:20:51 +01:00
Bjarke Berg 9776816282 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate_custom_view_engines
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 10:51:00 +01:00
Bjarke BergandSebastiaan Janssen 223b19cbd8 Fix for https://github.com/umbraco/Umbraco-CMS/pull/9146 - We need to take language and segment into account 2020-11-03 10:20:46 +01:00
Bjarke Berg 8e44d89856 Introducing interface for our needs of a CronTabParser. And inject it where needed
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 09:36:56 +01:00
Bjarke Berg 1c2f048402 Migrated ProfilingViewEngine.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-11-03 08:14:38 +01:00
Bjarke BergandGitHub 63acacab7e Merge pull request #9332 from AndyButland/feature/further-hosted-services-2
NetCore: Migrated scheduled publishing task to a hosted service.
2020-11-03 07:33:58 +01:00
Bjarke Berg 2da6c8517a Merge remote-tracking branch 'origin/netcore/netcore' into feature/amend-health-check-notifier-first-run-time-to-crontab
# Conflicts:
#	src/Umbraco.Core/ServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
2020-11-03 07:09:15 +01:00
Bjarke BergandGitHub f81fcc8437 Merge pull request #9330 from rustybox/netcore/netcore
NetCore: Fixes registration issue (continued)
2020-11-03 07:06:14 +01:00
Andy Butland 2f2da679a4 Migrated scheduled publishing task to a hosted service. 2020-11-02 18:08:25 +01:00
Niels LyngsøandGitHub aa06051418 Update da.xml 2020-11-02 15:16:25 +01:00
Warren BuckleyandGitHub 9c820c7939 Update src/Umbraco.Web.UI.Client/src/common/services/blockeditormodelobject.service.js 2020-11-02 13:37:27 +00:00
Bjarke BergandGitHub 051dcccae7 Merge pull request #9324 from AndyButland/feature/further-hosted-services
Netcore: Migrates further background tasks to hosted services
2020-11-02 14:36:37 +01:00
Warren BuckleyandGitHub 3a41861aa0 Update src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js 2020-11-02 13:34:34 +00:00
Warren BuckleyandGitHub 99441789d8 Update src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js 2020-11-02 13:30:02 +00:00
Warren BuckleyandGitHub 016f883ee3 Update src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js 2020-11-02 13:29:27 +00:00
Warren BuckleyandGitHub d39ca35e8b Merge pull request #9243 from umbraco/v8/feature/umbBlockCard-use-umb-outline
use umb-outline for umb-block-card
2020-11-02 12:17:33 +00:00
Warren BuckleyandGitHub 5c6702bd17 Merge pull request #9241 from umbraco/v8/bugfix/umbBlockCard-should-work-without-blockConfiguration
Make blockConfigModel optional
2020-11-02 12:06:18 +00:00
Andy Butland 21c29d6446 Fixes failing unit test due to null reference.
Amended signatures of method under test to support testing without the previously observed behaviour of an erroring test passing but crashing the test runner process.
2020-11-02 11:59:39 +01:00
Paul Johnson ebdad9f91e Add additional "mutliple unique" registrations and rename extension for clarity. 2020-11-02 10:54:29 +00:00
Andy Butland 978b8eeda7 Added additional comments on IOHelper.CleanFolder(). 2020-11-02 11:19:21 +01:00
Andy Butland 719a443af8 Moved CleanFolderResultStatus enum to it's own file. 2020-11-02 11:06:02 +01:00
Andy Butland 794d293c36 Merge branch 'netcore/netcore' into feature/further-hosted-services 2020-11-02 11:01:26 +01:00
Bjarke BergandGitHub 308617930b Merge pull request #9323 from AndyButland/feature/fix-issue-with-multiple-di-registations-for-same-interface
NetCore: Fixes registration issue
2020-11-02 10:47:59 +01:00
Niels Lyngsø e145a4cf1f implement widely on BlockList Prevalue Editor 2020-11-02 09:05:37 +01:00
Bjarke BergandGitHub 2dc96c99a4 Merge pull request #9318 from umbraco/netcore/bugfix/fix-issue-with-scope-test
Netcore : Fixed issue in ScopedRepositoryTests
2020-11-02 08:49:20 +01:00
Andy Butland 0bffe9aa55 Updated health check configuration validation tests to match change to cron expression. 2020-11-01 08:41:17 +01:00
Andy Butland ed8c29f902 Fixes issue with introduced MSDI abstractions where a single implemention is used for two interfaces, ensuring only one singleton instance is created. 2020-10-31 22:49:16 +01:00
Andy Butland a0ce44c9fc Changed configuration of first run time for health check notifier from a time string to a cron expression. 2020-10-31 22:49:12 +01:00
Andy Butland a60fe36c33 Fixed amended temp file clean-up routine to restore behaviour of continuing on single file error. 2020-10-31 14:46:56 +01:00
Andy Butland 433fdbb047 Change LoggingSettings.MaxLogAge from integer (minutes) to a TimeSpan. 2020-10-31 14:25:40 +01:00
Andy Butland 88380a17ae Migrated log scrubber backgroun task to a hosted service. 2020-10-31 14:13:24 +01:00
Andy Butland 092fcac28a Fixed mock leading to failing test run. 2020-10-31 11:04:02 +01:00
Andy Butland 4920fba7cb Migrated temp file cleanup background task to a hosted service. 2020-10-31 08:58:47 +01:00
Andy Butland 684185f777 Fixes issue with introduced MSDI abstractions where a single implemention is used for two interfaces, ensuring only one singleton instance is created. 2020-10-31 07:54:28 +01:00
Andy Butland 98b1798bbe Fixes issue with introduced MSDI abstractions where a single implemention is used for two interfaces, ensuring only one singleton instance is created. 2020-10-30 19:56:26 +01:00
Andy Butland 9cb59239d1 Migrated KeepAlive recurring task to hosted service. 2020-10-30 17:19:01 +01:00
Bjarke Berg 6a30cd3158 Changed the test from using IsoCode to IsMandatory, as this is not important to the test, but changing IsoCode leads PublishedSnapshotService to rebuild its caches
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-30 14:08:05 +01:00
bdb8f34da3 Netcore: Health check notifier hosted service (#9295)
* Implemented health check notifier as a hosted service.
Added validation to health check settings.

* Registered health check notifier as a hosted service.
Modified health check nested settings to use concrete classes to align with other configuration models.

* Resolved issues with email sending using development server.

* PR review comments and fixed failing unit test.

* Changed period and delay millisecond and hourly values to TimeSpans.
Changed configuration of first run time for health check notifications to use H:mm format.

* Set up SecureSocketOptions as a locally defined enum.

* Tightened up time format validation to verify input is an actual time (with hours and minutes only) and not a timespan.

* Aligned naming and namespace of health check configuration related classes with other configuration classes.

* Created constants for hex colors used in formatting health check results as HTML.

* Revert "Tightened up time format validation to verify input is an actual time (with hours and minutes only) and not a timespan."

This reverts commit f9bb8a7a82.

* Renamed method to be clear validation is of a TimeSpan and not a time.

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-10-30 13:56:13 +01:00
Matt BrailsfordandGitHub f9b708b4cf Make RTE toolbar sticky (#9316) 2020-10-30 12:08:52 +00:00
Paul JohnsonandGitHub 4ae329589a NetCore: MSDI refactor remove IFactory & IRegister (#9308)
* Replace IFactory with IServiceProvider

* Replace IRegister with IServiceCollection

* Fix Rte.cshtml so the view can service locate.

* Replace Composing Lifetime with MSDI ServiceLifetime

* Remove ServiceProvider AddMultipleUnique extension

* Remove Umbraco.Web.Composing.Current.Reset and any calls

* Remove LightInject from net framework projects

* Brought back a helper for setting MediaFileSystem underlying IFileSystem
2020-10-30 12:16:17 +01:00
BatJanandNathan Woulfe 79d94be148 Replace search with the umb-search-filter directive 2020-10-30 11:21:41 +10:00
Rachel BreezeandGitHub f41a132323 Now sets the culture of the page umbraco page based on the localisation selected on the profile (#9108) 2020-10-30 10:54:26 +10:00
Ronald BarendseandNathan Woulfe 1330da533c Remove legacy Instagram oEmbed provider 2020-10-30 10:51:36 +10:00
Søren KottalandNathan Woulfe 28bc93f100 scales the preview iframe to fit the viewport 2020-10-30 10:39:03 +10:00
Bjarke Berg 82a0c50a98 Temp fix for test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-29 21:05:50 +01:00
Bjarke Berg 0a05611826 Migrated ScopedRepositoryTests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-29 14:08:01 +01:00
Elitsa Marinovska 77544812e6 Migrating some more classes that are using EntityBasic 2020-10-29 12:45:35 +01:00
Tim GeyssensandGitHub 0be2bb93ab Update NestedContentPropertyEditor.cs to fix 2 bugs (#9236)
* Update NestedContentPropertyEditor.cs

Make sure when trying to JsonConvert.DeserializeObject it is json...

* Update NestedContentPropertyEditor.cs

added null check
2020-10-29 11:34:51 +10:00
Bjarke Berg cfaa353dff Fixed isses with NewEmpty* integration tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-28 14:54:16 +01:00
Niels Lyngsø 1f5c61fe67 New text as UI has changed 2020-10-28 14:20:18 +01:00
Niels Lyngsø 0a2393d48a use Tree for picking initial content Element Type 2020-10-28 14:20:05 +01:00
Niels Lyngsø b6df9b9b14 use not-allowed for filters 2020-10-28 14:19:42 +01:00
Niels Lyngsø 5375dbbe3a ability to add more actions 2020-10-28 14:19:16 +01:00
Niels Lyngsø 8d76028f7b Dim not-allowed tree items 2020-10-28 14:18:58 +01:00
Bjarke Berg 8c5daec967 Clean in tests + Moved logviewer tests from integration to unit tests, and minimized the test file, to speed up the tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-28 09:41:23 +01:00
e9e8a0354d [Issue 5277-145] accessibility - Language drop downs do not advise as drop… (#9265)
* [Issue 5277-145] resolved - Language drop downs do not advise as drop downs - screen readers

* reseolve code change request by @nathanwoulfe and set aria-jaspopup to true instead of binding to the property.

Co-authored-by: Justin Shearer <justin@proworks.com>
2020-10-28 12:19:55 +10:00
Daniel ShuyandNathan Woulfe 375817d63a Enable auto-focus for confirm button in umb-confirm 2020-10-28 12:16:46 +10:00
Elitsa Marinovska c304bf07cb Registering UdiJsonConverter globally so that we can migrate EntityBasic to Umbraco.Core 2020-10-27 15:44:11 +01:00
Elitsa Marinovska a6e0afe57d Migrating classes not inhering or having dependencies to EntityBasic 2020-10-27 15:42:59 +01:00
Bjarke Berg 765140b7cd Moved unit tests to right project + Cleanup + Write info in test console
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-27 14:10:19 +01:00
Bjarke Berg a09e218501 Merge remote-tracking branch 'origin/netcore/bugfix/azure-devops-tests' into netcore/netcore 2020-10-27 12:01:44 +01:00
Bjarke Berg d4376e00c6 removed test file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-27 12:01:17 +01:00
Bjarke Berg 5d5c4c6904 Remove build warnings
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-27 12:00:30 +01:00
Bjarke Berg 1b4f3a9a5f Remove test file again
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-27 11:58:54 +01:00
Bjarke Berg 4d260b036b Merge branch 'netcore/bugfix/azure-devops-tests' into netcore/netcore 2020-10-27 11:57:38 +01:00
Bjarke Berg 6c2ece0619 Remove build warnings
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-27 11:57:15 +01:00
Paul JohnsonandGitHub ec66990e72 NetCore: MSDI refactor phase 2 (#9280)
* Moved adapters from Infra -> Core

* Allow Composition to accept a service collection instead of an IRegister

* Composition no longer takes IRegister as constructor arg

all tests passing

* Composition no longer implements IRegister

* Lose _uniques in Composition

* lose Composition OnCreatingFactory actions

* Clean up UmbracoCoreServiceCollectionExtensions & Composition

Less IFactory

* LightInject gone where TFW == netstandard2.0 || TFW == netcoreapp3.1

* Resolve dead code issues

* Rename IFactory methods to match IServiceProvider so they can be trivially swapped later.

* Rename IFactory methods to match IServiceProvider so they can be trivially swapped later (continued)

Thought the counts were low, it's mostly extension method usage
2020-10-27 11:53:01 +01:00
NikandGitHub 9a0746da84 Issue #8568 Add an override for GetMostRecentRedirectUrl to allow for culture being passed in (#9191) 2020-10-27 10:48:16 +00:00
Bjarke Berg a6ef907427 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/azure-devops-tests 2020-10-26 16:26:59 +01:00
Bjarke Berg 10849175f9 post merge fix
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-26 16:18:48 +01:00
Bjarke Berg 715071a33f Merge remote-tracking branch 'origin/netcore/task/6973-migrating-authenticationcontroller' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Extensions/BackOfficeApplicationBuilderExtensions.cs
#	src/Umbraco.Web/Logging/WebProfilerComponent.cs
#	src/Umbraco.Web/Logging/WebProfilerComposer.cs
2020-10-26 14:37:56 +01:00
Bjarke Berg b47f946ffe Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Infrastructure/HealthCheck/NotificationMethods/EmailNotificationMethod.cs
#	src/Umbraco.Web/Editors/AuthenticationController.cs
2020-10-26 14:34:06 +01:00
507facbdaa NetCore: Further unit test migration (#9269)
* Migrated ContentExtensionsTests.

* Migrated PropertyCollectionTests.

* Migrated AbstractFileSystemTests and PhysicalFileSystem tests.

* Migrated SiteDomainHelper tests.

* Migrated DistributedCacheTests.

* Migrated AppCacheTests and derived test classes.
Amended HttpRequestApp underlying dictionary type to match that available in .NET Core HttpContext Items collection.

* Fixed namespace

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-10-26 14:26:49 +01:00
MoleandGitHub 9cd752c2f8 Netcore: Align Namespaces in Tests and Web.BackOffice (#9274)
* Align namespaces in integration tests

* Align namespaces in unit tests

* Align namespaces in Backoffice.Filters

* Align namespaces in Backoffice.ActionResults

* Align namespaces in Backoffice.Mapping

* Align namespaces in Backoffice.PorpertyEditors and SignalR

* Align namespaces in Backoffice.Trees

* Align unit tests after migration
2020-10-26 13:34:08 +01:00
Niels Lyngsø 78c415cf83 collect vars for label interpolator 2020-10-26 13:22:08 +01:00
a99f625f6a Netcore: Alternate approach for MSDI refactor (#9247)
* Doesn't make much sense to have Concrete on IRegister, only on IFactory

* Handle FilesTreeController requires IFileSystem of type PhysicalFileSystem

* Handle registration of default MediaFileSystem without using RegisterUniqueFor

* Remove RegisterFor / RegisterUniqueFor from IRegister

* Switch over from LightInject to wrappers around MSDI

* Made mapper dependencies more explicit

* Remove registration for AngularJsonMediaTypeFormatter

It's dependencies aren't registered so container validation fails

* Resolve lifetime issue for EnsureValidSessionId by service locating

else resolve scoped in singleton

* Make registration more explicit for backoffice UserManager

* Make install step registrations more explicit

* Disable service provider validation so site can launch

Maybe this is a problem maybe not, we build about 8000 service providers so maybe everything is fine later...

* Further cleanup of IFactory interface

* Further cleanup of IRegister interface

* Revert "Make registration more explicit for backoffice UserManager"

This reverts commit 7215fe8361.

* Resolve issue where NewInstallStep would fail to reset password for "SuperUser"

Before MSDI, somehow BackOfficeIdentityOptions would be configured with token provider map from IdentityBuilder.AddDefaultTokenProviders.
After switchover those config actions are lost.

Subclass IdentityBuilder to ensure BackOfficeIdentityOptions doesn't miss config setup upstream.

* Initialize current.

* Add todo to turn container validation back on.

* Migrated ScopeFileSystemsTests to integration tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Resolve issue where MediaFileSystem was skipping ShadowFileSystem

* Attempt to fix ScopeFileSystemsTests on azure devops

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Be interesting to know what the actual full path is in pipeline.

* Clarify intent of CreateMediaTest

Doesn't help resolve weird UnauthorizedAccessException but it cuts so much cognitive overhead for the future.

* Use ILoggerfactory rather than mock for the manually constructed file PhysicalFileSystem

* Maybe resolve failing test on azure pipeline.

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-10-26 11:47:14 +01:00
patrickdemooij9andGitHub 5387651d9d 9176: Fix editing labels and added functionality to edit colors (#9177) 2020-10-26 10:22:32 +00:00
Laura WeatherheadandNathan Woulfe 2212ec723f Updated optional params on umb-button-ellipsis 2020-10-26 11:14:29 +10:00
Laura WeatherheadandNathan Woulfe 51895c73d0 Update usage guidance
- Reflect optional nature of callback
- Show actual property name to reference
2020-10-26 10:18:57 +10:00
Sebastiaan Janssen b63944b9ef Revert "Adds icons from App_Plugins/**/Icons/*.svg (#8884)"
This reverts commit d7bf980f12.
2020-10-25 09:59:44 +01:00
BatJanandSebastiaan Janssen 83fa1c2297 Convert a to button 2020-10-23 17:02:51 +02:00
Warren Buckley 8ac0122e20 Add migration to marker file & background reporter component to POST to telemetry service 2020-10-23 15:52:40 +01:00
Kenn JacobsenandSebastiaan Janssen d4e624e9fa Do not remove files from media editors when hitting enter 2020-10-23 16:24:15 +02:00
Poornima NayarandSebastiaan Janssen 11dcef9b48 Fix - user delete shows notifications twice 2020-10-23 16:17:27 +02:00
Bjarke BergandGitHub 7f9c1bb998 Merge pull request #9259 from umbraco/netcore/feature/migrate-persistance-tests
Netcore: Migrate Persistance Tests
2020-10-23 16:12:46 +02:00
Niels Lyngsø cb902c4e08 Fail if settings elementType isnt supported + concept for inner-blocks + debounce for storage update 2020-10-23 15:08:27 +02:00
Bjarke BergandGitHub 109ccb19b3 Merge pull request #9252 from umbraco/netcore/feature/AB8969-email-message-abstraction
NetCore: Email message abstraction
2020-10-23 14:20:10 +02:00
Bjarke Berg b2b297ac8a Cleanup tests + Fixed issue in IOHelper related to contentroot vs webroot
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-23 13:58:30 +02:00
Bjarke Berg 5fe849c8e2 https://github.com/umbraco/Umbraco-CMS/pull/9252 - Changed EmailMessage to be completely immutable
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-23 12:37:23 +02:00
Bjarke Berg f791bd4426 Fixed unit test, by injecting IHttpContextAccessor instead of using HttpContext directly. Not the test class is mockable again
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-23 10:36:47 +02:00
Mole 523a155d88 Fix integration test csproj 2020-10-23 10:11:35 +02:00
Mole f6316c72dc Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-persistance-tests 2020-10-23 08:39:20 +02:00
Bjarke BergandGitHub 6e7f0502a3 Merge pull request #9221 from anthonydotnet/unique-nodename-refactor
Unique node name unit test fix & refactor
2020-10-23 07:16:25 +02:00
Shannon e7d22e24db ensures middleware is registered and the external cookie auth is registered. 2020-10-23 14:57:35 +11:00
Shannon 061529c40d Merge branch 'netcore/dev' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts:
#	src/Umbraco.Core/Constants-Security.cs
#	src/Umbraco.Core/Models/Identity/IIdentityUserLogin.cs
#	src/Umbraco.Core/Persistence/Repositories/IExternalLoginRepository.cs
#	src/Umbraco.Core/Services/IExternalLoginService.cs
#	src/Umbraco.Infrastructure/BackOffice/BackOfficeUserManager.cs
#	src/Umbraco.Infrastructure/BackOffice/BackOfficeUserStore.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/ExternalLoginFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
#	src/Umbraco.Infrastructure/Services/Implement/ExternalLoginService.cs
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Tour/backofficeTour.ts
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/DenyLocalLoginAuthorizationAttribute.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Extensions/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web.Common/Security/ExternalSignInAutoLinkOptions.cs
#	src/Umbraco.Web.UI.Client/src/common/interceptors/_module.js
#	src/Umbraco.Web.UI.Client/src/common/interceptors/requiredheaders.interceptor.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/user/user.controller.js
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/Filters/IsCurrentUserModelFilterAttribute.cs
#	src/Umbraco.Web/OwinExtensions.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/AuthenticationManagerExtensions.cs
#	src/Umbraco.Web/Security/AuthenticationOptionsExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeClaimsPrincipalFactory.cs
#	src/Umbraco.Web/Services/IconService.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
#	src/Umbraco.Web/ViewDataExtensions.cs
2020-10-23 14:33:32 +11:00
Shannon 64d8b56eca It builds! 2020-10-23 14:18:53 +11:00
Shannon 1400a02798 Merge branch 'netcore/dev' into netcore/task/6973-migrating-authenticationcontroller
# Conflicts:
#	src/Umbraco.Core/Constants-Security.cs
#	src/Umbraco.Infrastructure/BackOffice/BackOfficeClaimsPrincipalFactory.cs
#	src/Umbraco.Infrastructure/BackOffice/BackOfficeUserManager.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Tour/backofficeTour.ts
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.BackOffice/Controllers/DenyLocalLoginAuthorizationAttribute.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Extensions/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web.BackOffice/Services/IconService.cs
#	src/Umbraco.Web.Common/Security/ExternalSignInAutoLinkOptions.cs
#	src/Umbraco.Web.UI.Client/src/common/interceptors/_module.js
#	src/Umbraco.Web.UI.Client/src/common/interceptors/requiredheaders.interceptor.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/user/user.controller.js
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/Filters/IsCurrentUserModelFilterAttribute.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/AuthenticationOptionsExtensions.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2020-10-23 10:10:02 +11:00
Bjarke Berg 1dd7384747 Merge remote-tracking branch 'origin/netcore/netcore' into unique-nodename-refactor 2020-10-22 20:04:14 +02:00
Bjarke BergandGitHub 532bbb7050 Merge pull request #9251 from umbraco/netcore/feature/compose_controllers
Netcore: Cleanup + Compose of controllers
2020-10-22 19:58:27 +02:00
Mole 8e321b4364 Migrate Querying tests 2020-10-22 15:31:56 +02:00
Mole b28548849f Migrate the bare minimum of BaseUsingSqlCeSyntax to be able to migrate NPoco unit tests 2020-10-22 15:17:16 +02:00
Elitsa Marinovska d7eca3d0d5 Abstracting MailMessage 2020-10-22 15:08:07 +02:00
Niels Lyngsø 99e2990d07 Emit event if localStorage changes from another tab 2020-10-22 15:07:45 +02:00
Niels Lyngsø 310c8ec924 finish feature + clean up 2020-10-22 15:02:25 +02:00
Mole 016d3f2b5b Move NPoco unit tests back out of Integration tests 2020-10-22 14:50:01 +02:00
Sebastiaan Janssen b989457716 Merge branch 'v8/8.8' into v8/dev 2020-10-22 14:36:37 +02:00
Sebastiaan Janssen a6fe82015e Merge branch 'v8/8.7' into v8/dev 2020-10-22 14:36:22 +02:00
Sebastiaan Janssen b1b540e687 Merge branch 'v8/8.6' into v8/dev 2020-10-22 14:36:10 +02:00
Sebastiaan Janssen 297671b631 Merge branch 'v8/8.8' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Packaging/PackageDataInstallation.cs
2020-10-22 14:21:25 +02:00
Sebastiaan Janssen afa754067b Merge branch 'v8/8.7' into v8/dev 2020-10-22 14:18:53 +02:00
Sebastiaan Janssen befa23190b Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/DocumentRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MediaRepository.cs
2020-10-22 14:18:21 +02:00
Mole ba262648d9 Migrate NPocoTests 2020-10-22 14:12:07 +02:00
Bjarke Berg ca8e54ffc6 https://github.com/umbraco/Umbraco-CMS/pull/9248>
- Removed BackOfficeArea
- Injected IEmailSender
- Uses nameof instead of magic strings
- Uses GetControllerName instead of magic strings

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-22 13:37:47 +02:00
Mole 4f80ebd788 Migrate UnitOfWorkTests 2020-10-22 13:27:24 +02:00
Mole 14c55177f3 Migrate StylesheetRepositoryTest 2020-10-22 13:08:27 +02:00
Bjarke Berg 6905e5e734 Cleanup of different stuff that can be deleted from Umbraco.Web
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-22 12:25:52 +02:00
Shannon 785c3a34e9 fix csproj 2020-10-22 21:18:46 +11:00
Shannon 2b1dfc5888 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/task/6973-migrating-authenticationcontroller
# Conflicts:
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Tests/Web/Mvc/UmbracoViewPageTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Mvc/UmbracoController.cs
2020-10-22 21:16:44 +11:00
Mole efc1817984 Migrate PartialViewRepositoryTests and ScriptRepositoryTest 2020-10-22 11:18:26 +02:00
Niels Lyngsø 3025fbd8b6 further progress, need to switch branch. 2020-10-22 11:16:37 +02:00
Mole bc0135a5c7 Migrate the remaining unit tests in UserRepositoryTest and delete the old file 2020-10-22 10:18:05 +02:00
Mole 0dc95edea4 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-persistance-tests 2020-10-22 09:49:40 +02:00
Mole cdf009de0f Migrate TagRepositoryTest 2020-10-22 09:48:34 +02:00
Niels LyngsøandSebastiaan Janssen dc6c72c136 updates CSS selector to match latest 2020-10-22 09:45:49 +02:00
Niels Lyngsø 24f07af0e1 ability to create from Block Data 2020-10-22 08:35:12 +02:00
Shannon 069529e9e2 Merge branch 'temp_8879' of https://github.com/dawoe/Umbraco-CMS into v8/contrib 2020-10-22 17:28:45 +11:00
MoleandGitHub e9ae1a93c3 Merge pull request #9245 from umbraco/netcore/bugfix/unit_tests_runnable_on_linux
Netcore: Ensure unit tests are runnable on linux
2020-10-22 08:23:15 +02:00
Shannon DeminickandGitHub 88f9be8aa4 Merge pull request #9137 from umbraco/v8/bugfix/non-published-content-is-indexed
Non-published content indexed in ExternalIndex
2020-10-22 17:18:23 +11:00
Shannon 35bf59dee4 Merge branch 'dawoe-temp_8879' into v8/contrib 2020-10-22 17:16:05 +11:00
Dave Woestenborghs 323cdd1441 Optimized so valuesets are build once instead of per index 2020-10-22 08:12:03 +02:00
Shannon 0bf9ad0967 Merge branch 'temp_8879' of https://github.com/dawoe/Umbraco-CMS into dawoe-temp_8879 2020-10-22 14:17:18 +11:00
Patrick de MooijandNathan Woulfe 39367b83bb 9238: Fixed invalid multi url picker label 2020-10-22 09:35:56 +10:00
Anthony 759eee042f Refactored according to PR feedback. 2020-10-21 20:57:21 +01:00
berg 070307ea88 Ensure unit tests run on linux
Signed-off-by: berg <mail@bergmania.dk>
2020-10-21 21:04:10 +02:00
Warren BuckleyandSebastiaan Janssen 28954afcad When exporting package.xml it will now use the UDI/Key so we can reimport with the same key 2020-10-21 21:03:31 +02:00
Niels Lyngsø 6f3333fb4c Merge remote-tracking branch 'origin/v8/bugfix/umbBlockCard-should-work-without-blockConfiguration' into v8/feature/AB8699-Support-blocks-in-clipboard-service 2020-10-21 17:35:10 +02:00
Niels Lyngsø 9c13dc4320 prototype 2020-10-21 17:35:02 +02:00
Niels Lyngsø 79ad43b648 use umb-outline 2020-10-21 16:51:52 +02:00
Niels Lyngsø 7053e8f966 corrected ng-if 2020-10-21 16:33:00 +02:00
Niels Lyngsø 0f81e48634 Make blockConfigModel optional 2020-10-21 16:18:36 +02:00
Warren BuckleyandGitHub d6b1cda176 Merge pull request #9046 from umbraco/v8/feature/confirm-website-preview-mode
UX: Auto exit PreviewMode, If Preview Mode is active user should Confirm to stay.
2020-10-21 14:09:05 +01:00
Warren BuckleyandGitHub d3407ac155 Apply suggestions from code review 2020-10-21 13:03:53 +01:00
Warren BuckleyandGitHub b49cb02935 Update src/Umbraco.Core/Constants-Web.cs 2020-10-21 13:02:31 +01:00
Bjarke Berg 5ecc2676e3 Migrated ThreadSafetyServiceTest.cs 2020-10-21 13:54:22 +02:00
Bjarke Berg 7e77feab1e Migrated ContentTypeServiceVariantsTests.cs 2020-10-21 13:47:52 +02:00
Mole 94c818e956 Migrate MemberTypeRepositoryTest 2020-10-21 13:45:29 +02:00
Mole fcdd43692a Migrate MemberRepositoryTest 2020-10-21 13:28:13 +02:00
Niels Lyngsø 383ae5c1eb fallback localizations + removed console.logs 2020-10-21 13:13:12 +02:00
7a570110d0 Netcore/feature/healthcheck replaceconfiglogic (#8934)
* Started moving to JSON instead of config.
Mild refactoring but overall keeping it the same, except for injecting IConfiguration and JSON parsing instead of XML
Tests currently unaffected, need to increase coverage

* Moved to constants for appsettings keys
Moved from IConfiguration to global settings - later to be replaced with IOptions
Updated translation messages
Installed IOptions ready for new PR
Updated to new interface, IConfigurationService

* Post-merge fix

* Namespace move from Umbraco.Web to Umbraco.Core where appropriate

* Renamed abstractsettings (from abstractconfig)
Moving out of configservice into the POCO config check

* Made the IIsCustomErrors healthcheck as obsolete, as no web.config setting). Investigate reintroducing this check in the .NET Core way (UseDevelopment).
Reducing use of abstractsettings as not needed - we don't need a config service to read the config settings anymore as they're all explicit POCOs.
Consolidated health-checks in project.

* Removed test views that weren't meant to be added

* Returned to use of abstractsettings with different use

* Moved more health checks into correct folder/namespace, and enum into their own file

* Correct namespace

* Git history/compare lost due to file move, temporarily moving back to original folder. Will do another PR to move after this

* Use existing GetStatus in abstract check for Debug mode

* Updating to return to previous logic and putting files back into line

* Macro errors returned to previous logic

* Reuse abstractsettings class

* Swapped order to assist with reviewing PR

* Updated to include itempath

* Not implemented comment to avoid confusion
Implemented NotificationEmailCheck

* Changed to IOptionsMonitor as per PR comments. Removed configurationservice as we need to rethink the fixing strategy. Updated logger.
Needs to show fix message instead of fixing. Temporary fix for IIS version

* Switched to IOptionsMonitor for all

* No longer attempts to actually fix header in config. Still need to show suggestions.

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-10-21 11:29:25 +02:00
Mole af9b0f5bfc Migrate PublicAccessRepositoryTest 2020-10-21 11:17:02 +02:00
Bjarke BergandGitHub 2bb3afb69d Merge pull request #9227 from umbraco/netcore/feature/migrate-unit-tests
Netcore: Migrate rendering related unit tests
2020-10-21 10:51:12 +02:00
Mole be1530a80a Migrate MediaTypeRepositoryTest 2020-10-21 10:49:29 +02:00
Mole 231fe8455a Migrate MediaRepositoryTest 2020-10-21 10:30:06 +02:00
Bjarke Berg efb8964f12 Merge remote-tracking branch 'origin/v8/dev' into netcore/merge_umbraco_id_into_netcore_dev 2020-10-21 10:26:20 +02:00
Bjarke BergandGitHub dc48fdb1e7 Merge pull request #8860 from umbraco/v8/feature/acceptance-test-scripts
Add javascript acceptance  tests
2020-10-21 10:25:40 +02:00
Bjarke Berg e840c578f1 Merge remote-tracking branch 'origin/v8/dev' into netcore/merge_umbraco_id_into_netcore_dev 2020-10-21 10:23:13 +02:00
Bjarke BergandGitHub 7514e582f6 Merge pull request #8859 from umbraco/v8/feature/acceptance-test-content-with-contentpicker
V8: stabilize cypress tests and add content with contentpicker test
2020-10-21 10:22:37 +02:00
Bjarke Berg 85718e9b86 Merge remote-tracking branch 'origin/v8/dev' into netcore/merge_umbraco_id_into_netcore_dev
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_8_8_0/ExternalLoginTableUserData.cs
#	src/Umbraco.Core/Migrations/Upgrade/V_8_9_0/ExternalLoginTableUserData.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/V_8_8_0/ExternalLoginTableUserData.cs
#	src/Umbraco.Web/Services/IconService.cs
2020-10-21 09:07:30 +02:00
Mole edbe6f050d Fix merge 2020-10-21 09:00:14 +02:00
Mole 78a6b81ccc Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-persistance-tests 2020-10-21 08:54:57 +02:00
Mole 90f3a70e8e Remove MapperTestBase and move functionality to TestHelper instead 2020-10-21 08:50:15 +02:00
Shannon d1b35deb43 Migrates remaining backofficecontroller but still a bunch of work to do , streamlines Backoffice to BackOffice (but is that what we want?) 2020-10-21 16:51:00 +11:00
Bjarke Berg 35c22f9074 Introduced SetViewDataAsync on UmbracoViewPage
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-20 21:30:45 +02:00
6e592d6467 NetCore: Reorganised integration tests into project grouped folders and namespaces (#9208)
* Reorganised integration tests into folders and classes grouping by project.

* Updated namespaces and file locations from PR comments.

* Fix merge conflict

* Cleared content type service events looking to resolve failing integration test on build server.

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-10-20 18:43:03 +02:00
Mole 4d4c0661d6 Migrate DomainRepositoryTest 2020-10-20 16:08:07 +02:00
Mole fb6ad57271 Move BulkDataReaderTests to unit test project and fix csproj files 2020-10-20 15:32:34 +02:00
Mole c3b3e44959 Fix merge 2020-10-20 15:10:39 +02:00
Mole c5a34ad7b9 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-persistance-tests 2020-10-20 15:08:32 +02:00
Mole 0e5d035f65 Move the remaining mapper tests 2020-10-20 14:58:59 +02:00
Andy ButlandandGitHub 5e70c503cd NetCore: migrated further unit tests (#9211)
* Moved model unit tests into correct folder and namespace.

* Migrated ContentTests.

* Migrated VariationTests.

* Migrated ImageSharpImageUrlGeneratorTests.

* Fixes to integration tests.

* Unit and integration test updates from PR comments.

* Delete accidentally added log file.
2020-10-20 14:49:52 +02:00
Mole 1f0a935505 Move MapperTestBase and ContentMapperTest into unit tests 2020-10-20 14:44:30 +02:00
Mole d315d2120e Migrate UmbracoViewPageTests 2020-10-20 13:41:21 +02:00
Warren BuckleyandGitHub 6475684d9e Merge pull request #9215 from umbraco/v8/bugfix/9129-keep-model-value-reference-after-empty
9129 keep model value reference after empty
2020-10-20 12:26:40 +01:00
Bjarke BergandGitHub 05ac14d7f2 Merge pull request #8637 from umbraco/netcore/feature/move-tests
Move unit tests
2020-10-20 12:04:11 +02:00
Mole 568ce57e67 Remove folders that does not exist 2020-10-20 09:34:57 +02:00
Mole e5a20aea6f Remove duplicate PackageReference 2020-10-20 09:10:16 +02:00
Mole a88243b9ba Try and fix the merge 2020-10-20 09:06:42 +02:00
Mole e87caac0dd Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/move-tests
# Conflicts:
#	src/Umbraco.Tests.Common/TestHelpers/MockedValueEditors.cs
#	src/Umbraco.Tests.Common/TestHelpers/StringNewlineExtensions.cs
#	src/Umbraco.Tests.UnitTests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/CoreThings/ObjectExtensionsTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Manifest/ManifestContentAppTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Manifest/ManifestParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Macros/MacroParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Manifest/ManifestContentAppTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Manifest/ManifestParserTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/Macros/MacroParserTests.cs
#	src/Umbraco.Tests/Macros/MacroParserTests.cs
#	src/Umbraco.Tests/Manifest/ManifestContentAppTests.cs
#	src/Umbraco.Tests/Manifest/ManifestParserTests.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
2020-10-20 08:40:41 +02:00
Shannon dce7076aab Fixes #9217 invite user form doesn't allow saving the password
The problem was that the directive was changed to a component and as such all things are named with vm which was not transitioned across for this form. There was also an issue with the avatar which is fixed too.
2020-10-20 11:47:41 +11:00
Kenn JacobsenandNathan Woulfe 642cf40e8d Make toggle group labels clickable and aligned correctly 2020-10-20 07:30:44 +10:00
Anthony c1e59525a3 Refactored unique node name generation with new BDD tests 2020-10-19 20:06:49 +01:00
Anthony 3871cdf10c Ignored test artifacts 2020-10-19 20:01:55 +01:00
Mole 5f114e7228 Align ContentModelBinderTests to new behaviour 2020-10-19 14:34:08 +02:00
Mole c3e92a91b5 Mingrate RenderModelBinderTests 2020-10-19 14:03:51 +02:00
Claus a3c40e0356 adding missing deliveryMethod to smtp comment in web.config. 2020-10-19 13:27:58 +02:00
Shannon 3f883c7409 adds null checks in JS 2020-10-19 21:57:21 +11:00
Shannon e68c37dc54 Migrates AuthenticationController for the 2FA requirements 2020-10-19 18:48:51 +11:00
Bjarke Berg e1093b3e64 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/azure-devops-tests 2020-10-19 09:37:00 +02:00
MoleandGitHub c02e1c261d Merge pull request #9175 from umbraco/netcore/bugfix/smidge-nuglify
Update and fix Umbraco's SmidgeRuntimeMinifier implementation and update to latest Smidge
2020-10-19 09:35:39 +02:00
Bjarke BergandGitHub 908ab98040 Merge pull request #9159 from umbraco/netcore/feature/enable-sessions
Netcore: Enable session
2020-10-19 09:14:50 +02:00
Bjarke BergandGitHub f6e462a4ea Merge pull request #9168 from umbraco/netcore/feature/clean-umbraco-web
Netcore: Clean old Umbraco.Web project
2020-10-19 09:14:39 +02:00
Niels Lyngsø 18309bccb6 When redefining model.value it must be bound to the model to keep a runtime reference. 2020-10-19 08:19:09 +02:00
Bjarke Berg 3d7942bb7c Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/clean-umbraco-web
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-19 08:08:56 +02:00
Bjarke BergandGitHub 071016de47 Merge pull request #9169 from umbraco/netcore/feature/Migrate_RenderMvcController
Migrated RenderMvcController and RenderIndexActionSelectorAttribute
2020-10-19 08:07:03 +02:00
Bjarke Berg 41a485c682 Merge branch 'netcore/feature/Migrate_RenderMvcController' into netcore/bugfix/azure-devops-tests 2020-10-19 07:27:52 +02:00
Bjarke Berg f17c4631d2 Changed Exception to InvalidOperationException
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-19 06:38:57 +02:00
Bjarke Berg d06e98d137 Merge branch 'netcore/feature/Migrate_RenderMvcController' into netcore/bugfix/azure-devops-tests 2020-10-18 20:56:48 +02:00
Bjarke Berg 31be4b7306 Cleanup + added missing file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-18 19:53:59 +02:00
Bjarke Berg 642b981503 Merge remote-tracking branch 'origin/netcore/bugfix/azure-devops-tests' into netcore/bugfix/azure-devops-tests 2020-10-18 17:02:01 +02:00
Bjarke Berg 95197f6ae7 Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-18 17:01:52 +02:00
Bjarke Berg c72cd2914b Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-16 10:45:22 +02:00
Bjarke Berg 7b5012e00a Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-16 09:54:03 +02:00
Bjarke Berg ee1b4eff2c Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-16 09:52:39 +02:00
Bjarke Berg fc89de9541 Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-16 09:49:20 +02:00
Claus 1f8fd87733 bumping version to 8.9.0 2020-10-16 08:51:08 +02:00
Bjarke Berg 38897c297f Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-16 08:38:25 +02:00
Bjarke Berg d74ec6e130 Changed default test setting to Boot=false
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-16 07:08:50 +02:00
Shannon 779214f9d3 preserve function names and update smidge 2020-10-16 15:23:02 +11:00
Shannon ca9fab6b48 Latest version of smidge, new custom NuglifyJs processor with custom settings, fixes some JS that Nuglify throws on because it's not formatted correctly, ensures nuglify is used for the minifier 2020-10-16 12:35:53 +11:00
BatJanandNathan Woulfe cb60eeb27a Remove refernece to .woff and remove the files as well 2020-10-16 10:11:00 +10:00
Kenn JacobsenandNathan Woulfe e33bb4cf65 Do not save media items when hitting enter 2020-10-16 09:34:19 +10:00
Poornima NayarandNathan Woulfe 65082aec29 Added umb-icon directive examine management dashboard 2020-10-16 09:32:02 +10:00
Poornima NayarandNathan Woulfe d8cd802b6b changed delete button style to danger 2020-10-16 09:31:17 +10:00
BatJanandNathan Woulfe 5162fb0b5c Convert old <i> to use umb-icon directive 2020-10-16 09:17:06 +10:00
Poornima NayarandNathan Woulfe 1ae79cdadc removed aria-hidden 2020-10-16 09:06:52 +10:00
Poornima NayarandNathan Woulfe 89844a4844 Replaced <i> with umb-icon in umb-node-preview 2020-10-16 09:06:52 +10:00
Bjarke Berg b27732adc8 Migrated RenderMvcController and RenderIndexActionSelectorAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-15 11:42:16 +02:00
Mole 4a91ee74c3 Remove old FormDataCollectionExtensions 2020-10-15 11:20:41 +02:00
Mole 7bc3cdafcb Remove ConfiguredPasswordValidator 2020-10-15 10:34:49 +02:00
Mole c9985f0043 Remove DisableBrowserCacheAttribute 2020-10-15 08:58:01 +02:00
Mole 2a048681da Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/clean-umbraco-web 2020-10-15 08:04:46 +02:00
Shannon 457fb1c45d Merge branch 'netcore/netcore' into netcore/bugfix/smidge-nuglify
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/appsettings.json
2020-10-15 14:45:15 +11:00
Mole 9763d9f7e9 Removed more classes that has been migrated 2020-10-14 15:20:52 +02:00
Callum WhyteandGitHub c06abd939a Added documentation for umbControlGroup directive (#9160)
* Added documentation for umbControlGroup directive

* Adding period to each umbControlGroup param description
2020-10-14 15:05:54 +02:00
Mole f13f754bf0 Removed old JsonNetResult, MinifyJavaScriptResultAttribute, UmbracoViewPage 2020-10-14 14:19:18 +02:00
Mole e2b1fb335e Remove old UmbracoAuthorizedJsonController 2020-10-14 13:46:08 +02:00
Bjarke BergandGitHub 29276acffd Merge pull request #9149 from AndyButland/feature/migrate-service-integration-tests
NetCore: Further integration tests migrations (2)
2020-10-14 13:40:54 +02:00
Mole 296217c917 Remove old BackOfficeServerVariables and LightInjectContainer 2020-10-14 13:40:10 +02:00
Søren KottalandGitHub 2a38f67869 Prevents templates being created when adding DocTypes through the block list config (#9017) 2020-10-14 12:20:05 +01:00
Owain JonesandGitHub 0c619b02d3 Added a Welsh backoffice language file (#9114) 2020-10-14 11:21:51 +01:00
Mole 6664076976 Use default timeout in default session registration 2020-10-14 11:40:20 +02:00
Mole d9b5aedca4 Register session service and middleware 2020-10-14 11:35:38 +02:00
Bjarke Berg e567f25487 Migrated ContentEventsTests.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-14 11:10:02 +02:00
Dave Woestenborghs 29e2b21789 Refactored to a single loop to avoid multiple enumerations on the results list 2020-10-14 08:37:49 +02:00
Bjarke Berg 76f87a1243 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-14 08:30:45 +02:00
Dave Woestenborghs 165f99c920 Order by path instead of level 2020-10-14 08:25:42 +02:00
Bjarke Berg 75944117c8 Merge remote-tracking branch 'origin/netcore/netcore' into feature/migrate-service-integration-tests 2020-10-14 08:02:50 +02:00
Bjarke Berg 231771a10e Migrated ContentServicePerformanceTest
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-14 08:02:43 +02:00
Bjarke Berg 60246c3c3f Added todos to tell when why the tests pass even when there is an issue in save.
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-14 07:55:35 +02:00
Bjarke BergandGitHub 38fc540db4 Merge pull request #9150 from umbraco/netcore/feature/migrate-authorizedApiController-attributes
Netcore: Migrate authorized api controller attributes
2020-10-14 06:56:23 +02:00
ChadCandNathan Woulfe f12f539d84 Prevent InvalidCastException being thrown when ContentPicker has picked a UDI. Trying to convert to an int will fail for Udis with an InvalidCastException. 2020-10-14 09:13:00 +10:00
Sebastiaan Janssen 8980dfca36 Merge branch 'v8/8.9' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-10-13 16:55:59 +02:00
Sebastiaan Janssen e1e7a1777e Merge branch 'v8/8.8' into v8/8.9 2020-10-13 16:49:17 +02:00
Sebastiaan Janssen 7a8c9b1167 Merge branch 'v8/8.8' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-10-13 16:48:39 +02:00
Sebastiaan Janssen ac6e0a544e Merge branch 'v8/8.7' into v8/dev 2020-10-13 16:46:59 +02:00
Sebastiaan Janssen 841c4b5012 Merge branch 'v8/8.6' into v8/dev 2020-10-13 16:45:27 +02:00
Arkadiusz BielandSebastiaan Janssen f288a63342 make composers and components public 2020-10-13 16:40:52 +02:00
Ronald BarendseandSebastiaan Janssen 469e35190d Retarget migration to Umbraco 8.9.0
(cherry picked from commit eb2f338406)
2020-10-13 16:35:51 +02:00
Ronald BarendseandSebastiaan Janssen eb2f338406 Retarget migration to Umbraco 8.9.0 2020-10-13 16:34:50 +02:00
Sebastiaan Janssen f9b49fc5f3 Revert "umb-confirmation directive: move trashcan into directive and address accessibility issues (#8198)"
This reverts commit 1cd79d81af.

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html
2020-10-13 15:37:14 +02:00
Bjarke Berg 4f314de8d1 Fixed merge issue, and updated test to assert on expected number
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-13 15:05:03 +02:00
Bjarne FyrstenborgandGitHub 9a5e0940f8 Show badge in user state filter and icon in user group filter (#9113)
* Show badge in user state filter similar to loglevel filter

* Add icons for user group filter
2020-10-13 13:43:05 +01:00
Mole 80d3b64a5f Change summary of UmbracoUserTimeoutFilterAttribute to more accurately describe what it does now 2020-10-13 14:34:19 +02:00
Mole d38befa9c0 Minor cleaning 2020-10-13 14:26:29 +02:00
Mole 87a8bfec8a Remove TODO in umbracoAuthorizedApiController
This requires a change in JsonExceptionFilterAttribute  not an actual filter
2020-10-13 13:51:17 +02:00
Mole 9e5fda6c42 Remove old UnhandedExceptionLoggerConfigurationAttribute and UnhandledExceptionLogger 2020-10-13 13:05:08 +02:00
Mike Chambersandemma burstow 8b653a4cfb Update Rte.cshtml
Remove references to the deprecated TemplateUtilities.
2020-10-13 11:28:25 +01:00
Bjarne FyrstenborgandGitHub ede64b5594 Change button style for listview settings (#9112) 2020-10-13 09:18:23 +01:00
BatJanandemma burstow 1c77ec1562 Change if check to be more specific ensuring it works in all picker instances 2020-10-13 09:01:57 +01:00
Mole 5d1383cf2c Use MiddlewareFilter for UnhandledExceptionLoggerFilter 2020-10-13 09:39:31 +02:00
Mole 96f6f9cede Fix logging for now
The service provider is built before logging is registered as a service, meaning that the loggerFactory was empty, rebuilding fixes the issue for now, but it's not very pretty, would be better if we could move logger registration out of CreateCompositionRoot
2020-10-13 08:46:52 +02:00
Andy Butland 2b0a43cec8 Merge branch 'netcore/netcore' into feature/migrate-service-integration-tests
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/MediaBuilder.cs
2020-10-13 08:23:19 +02:00
Mole 45d85852e3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-authorizedApiController-attributes 2020-10-13 08:05:53 +02:00
Shannon b449ea2468 renames method removes extra semicolon 2020-10-13 15:47:02 +11:00
Shannon DeminickandGitHub abb3f0419b Merge pull request #9117 from umbraco/netcore/feature/migrate/relation-tests
Netcore: migrate relation tests + Introduced new bulksave and fixed issue in save
2020-10-13 15:42:56 +11:00
Bjarke Berg 243e24d573 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-12 19:49:50 +02:00
Kenn JacobsenandGitHub 6c5b6567de Formlulate the block list delete confirmation as a question (#9139) 2020-10-12 16:34:49 +01:00
Kenn JacobsenandGitHub e0eadf2cf5 Creating a "System" content type breaks Umbraco (#9005) 2020-10-12 16:10:22 +01:00
Dave Woestenborghs fc9f80c30d Fix broken unit tests 2020-10-12 16:55:16 +02:00
Jan SkovgaardandGitHub e5fcfea764 Userpicker: Change search to use the <umb-seach-filter> directive (#9042)
* Switch to the umb-search-filter directive

* Add css class

* Fix styling after directive changes have been merged
2020-10-12 15:43:18 +01:00
Bjarke Berg d457d0cf21 Merge remote-tracking branch 'AndyButland/feature/migrate-service-integration-tests' into feature/migrate-service-integration-tests 2020-10-12 16:23:46 +02:00
Bjarke Berg fab4decc3d Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-12 16:23:08 +02:00
Bjarke Berg 77f43dedd9 Merge branch 'netcore/feature/migrate/relation-tests' into feature/migrate-service-integration-tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-12 16:23:00 +02:00
Dave Woestenborghs 4db30c24c8 Added some more comments 2020-10-12 16:17:38 +02:00
Dave Woestenborghs a9f83711a7 Merge branch 'pr9137' into temp_8879 2020-10-12 16:14:11 +02:00
Dave Woestenborghs 3da74b74e5 Optimized query for getting published pages only 2020-10-12 16:13:51 +02:00
Dave Woestenborghs af5d2851b0 Enable ordering by level when getting page descendants of content 2020-10-12 15:59:35 +02:00
Dave Woestenborghs 549e7ce6de Merge branch 'v8/contrib' into temp_8879 2020-10-12 15:41:45 +02:00
Mole e44dae2fcb Add first swing at UnhandledExceptionLoggerMiddleware 2020-10-12 15:27:07 +02:00
Bjarke Berg 4b9437d97e Merge branch 'netcore/feature/migrate/relation-tests' into feature/migrate-service-integration-tests 2020-10-12 15:26:18 +02:00
Bjarke Berg d0eb01b348 Added fix for RelateOnTrashComponent.MediaService_Trashed so relations are looked up before creating duplicates
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-12 15:25:55 +02:00
Bjarke Berg 08c1b17d03 Merge branch 'netcore/feature/migrate/relation-tests' into feature/migrate-service-integration-tests 2020-10-12 15:22:27 +02:00
Bjarke Berg 8fc74ec0f0 Added fix for RelateOnTrashComponent.MediaService_Trashed so relations are looked up before creating duplicates
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-12 15:22:11 +02:00
Mike MaseyandGitHub 7b0dc65672 Add umb-icon to umb-tree-item and umb-tree-search-box (#9064)
* feat: add svg icons to umb-tree-item and umb-tree-search-box

* refactor: remove unnessesary aria-hidden from umb-tree-icon

* refactor: remove aria hidden from umb-tree-search-box icon
2020-10-12 14:10:27 +01:00
Bjarke Berg 34f6682d88 Merge branch 'netcore/feature/migrate/relation-tests' into feature/migrate-service-integration-tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationRepository.cs
#	src/Umbraco.Tests.Common/Builders/MediaBuilder.cs
#	src/Umbraco.Tests.Integration/Services/RelationServiceTests.cs
2020-10-12 14:48:52 +02:00
Mole 50f4d7abde Migrate UmbracoUserTimeoutFilterAttribute 2020-10-12 13:32:25 +02:00
Jan SkovgaardandGitHub 4dfc75cfff Macropicker: Change search to use umb-search-filter directive (#9041)
* Change search to use umb-search-filter

* Fix minor issues in main directive and styling issues with width
2020-10-12 12:23:26 +01:00
Jan SkovgaardandGitHub f4213463aa Switch search to use <umb-search-filter> (#9040) 2020-10-12 10:50:46 +01:00
Jan SkovgaardandGitHub 88f29a6776 Refactor search box to use umb-search-filter (#9038) 2020-10-12 10:21:09 +01:00
Bjarke Berg 372060a463 Merge remote-tracking branch 'origin/netcore/netcore' into feature/migrate-service-integration-tests
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/ContentTypeBuilder.cs
2020-10-12 11:03:42 +02:00
MoleandGitHub fc23271319 Merge pull request #9126 from umbraco/netcore/feature/migrate_contenttyperepositorytest
Netcore: Migrated Respository Tests
2020-10-12 10:39:00 +02:00
Jan SkovgaardandGitHub 50f7952514 umb-search-filter: Convert i to use umb-icon (#9037)
* Conver i to new umb-icon directive

* Extend directive to accept css class modifiers

* Add "scoped" styling for the directive to avoid issues with CSS modifiers when used in other contexts
2020-10-12 09:22:17 +01:00
Andy Butland 5f9cf16da6 (Temporary) fixes for failing tests? 2020-10-12 08:21:29 +02:00
Shannon 257392dd28 Non-published content indexed in ExternalIndex
Fixes issue that the non-published content index populator is executing for the ExternalIndex
2020-10-12 16:49:45 +11:00
Andy Butland ef962b6934 Migrated ContentServiceTests. 2020-10-11 22:31:54 +02:00
Bjarke Berg 928f42be2e Updated tests after merge
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-11 21:08:21 +02:00
Andy Butland 31e87c0f31 Migrated ContentServiceTagsTests. 2020-10-11 12:33:27 +02:00
Andy Butland 599c7d6e6b Migrated MediaTypeServiceTests. 2020-10-11 11:53:01 +02:00
Andy Butland 4565da0010 Migrated MemberServiceTests. 2020-10-11 09:46:48 +02:00
Andy Butland d3ebeedf72 Migrated MemberTypeServiceTests. 2020-10-11 09:23:17 +02:00
Andy Butland ea10860101 Migrated ContentTypeServiceTests and RelationServiceTests. 2020-10-11 09:13:31 +02:00
Andy Butland 874e585bfb Migrated EntityXmlSerializerTests. Also aligned namespaces and update LocalizationServiceTests to use test model builders. 2020-10-10 18:25:18 +02:00
Bjarke Berg 19bf65e08b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate/relation-tests 2020-10-09 18:16:05 +02:00
Niels Lyngsø 20f2917a0c Exit PreviewMode when all Preview Session are closed + translation 2020-10-09 16:05:53 +02:00
Bjarke Berg 2a4439e93a Migrated DocumentRepositoryTest 2020-10-09 13:08:23 +02:00
Bjarke Berg f5437309c4 Migrated DataTypeDefinitionRepositoryTest 2020-10-09 11:50:47 +02:00
Bjarke Berg 15897f1736 Migrated ContentTypeRepositoryTest 2020-10-09 11:37:25 +02:00
Mole 79db8c2e99 Shorten password in members test 2020-10-09 10:53:23 +02:00
Niels Lyngsø 6009acdfbf updated wording 2020-10-09 10:46:36 +02:00
Mole 4485e76a28 Add forgotten indent 2020-10-09 10:44:52 +02:00
Mole 9039f3030b Fix content with contentpicker after renaming doctype 2020-10-09 10:39:20 +02:00
Mole 2fcab52e7e Indent nested builders
Makes it easier to see what calls belongs where
2020-10-09 10:07:04 +02:00
Mole 3e77457b81 Increase typing timeout in member tests and some minor cleaning 2020-10-09 09:49:09 +02:00
Bjarke Berg 424c3b821e Clean up 2020-10-09 09:35:30 +02:00
Bjarke Berg e69f3d02de Clean up 2020-10-09 09:34:44 +02:00
Bjarke Berg 05d8b0aaf8 Changed to use a ReadOnlyRelation model 2020-10-09 09:32:32 +02:00
MoleandGitHub 2418b616a6 Merge pull request #9102 from AndyButland/feature/7898-services-integration-tests-migration-3
NetCore: make use of builder classes for model creation in migrated tests
2020-10-08 17:03:23 +02:00
Niels Lyngsø dc072293f9 New dialogs for asking about Preview mode 2020-10-08 16:36:25 +02:00
Mole c8018ed00a Add a timeout when getting the progress percentage 2020-10-08 15:19:54 +02:00
Bjarke Berg 731a189fbe Removed uncommented code 2020-10-08 14:54:42 +02:00
Bjarke Berg b7a0b0b457 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate/relation-tests 2020-10-08 14:53:18 +02:00
Bjarke Berg c7cdfaa775 Update nuget packages
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-08 14:49:24 +02:00
Bjarke Berg 55db973e82 Introduced IRelationRepository.SaveBulk to use internally when performance is important.
Fixed issue in RelationRepository.Save not populating Ids on LocalDB/SqlServer
2020-10-08 14:38:02 +02:00
Mole 3c986f403e Remove Entities and Objects from common testshelpers since they don't exist anymore
And fix a single typo
2020-10-08 14:36:30 +02:00
Mole e0386ab0e6 Fix ContentServiceEventTests by clearing scoped events 2020-10-08 13:40:16 +02:00
ff65788d38 Corrected comment.
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-10-08 12:04:59 +02:00
9838dbaf51 Corrected comment.
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-10-08 12:04:40 +02:00
9fc3546e67 Updated variable name.
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-10-08 12:04:21 +02:00
Mole 3c29982c09 Don't expect a certain order from badges in rollback
The badge order is not deterministic which means we can't expect them to be in a certain order.
2020-10-08 10:35:05 +02:00
Mole a511575784 Assert that error notification does not come up on create template
Had the test pass sometimes before the fix because the success notification appear, but the error notification appear at well, so the test shouldn't actually have passed
2020-10-08 10:06:56 +02:00
Niels Lyngsø f380c221a5 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/confirm-website-preview-mode 2020-10-08 09:46:40 +02:00
Mole 030928f3a6 Unfocus and wait for save to be visible in templates 2020-10-08 09:35:16 +02:00
Warren Buckley f569200272 Fix & update tests 2020-10-07 21:20:53 +01:00
Warren Buckley fe929b95fd When generating XML for UDA & or package.xml ensure LabelOnTop prop is added 2020-10-07 20:21:12 +01:00
Warren Buckley cf7b7a7ed1 More mappings - this seems to have fixed it. Got to update tests & verify export/import doctype to UDA & package.xml export/import 2020-10-07 20:20:13 +01:00
Bjarke Berg 3171cdda70 Migrated RelationServiceTests.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 21:01:28 +02:00
Bjarke Berg e7edbfeaa3 Migrated RelationRepositoryTest.cs + Minimized how many relations we create to test the code.
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 20:23:06 +02:00
Andy Butland d81dda1909 Fixed further failing tests. 2020-10-07 18:00:25 +02:00
Andy Butland 2925d5e1db Fixed failing tests. 2020-10-07 16:24:36 +02:00
Andy Butland 31b2f1ec4f Combined test user/group test objects created for repository and service tests. 2020-10-07 15:47:26 +02:00
Mole 035b5beba7 Click the content area in create template test instead of making edit
Tests no longer fail with a weird The process cannot access the file, or well at least not in the 10 recurrent tries i just did.
2020-10-07 15:19:56 +02:00
Bjarke Berg 9feb79eb90 Update nuget packages
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 15:12:55 +02:00
Andy Butland 78c4a17503 Resolved issues after rebase from main branch.
Fixed failing tests where test model builders showing slightly different behaviour to those used from legacy tests.
2020-10-07 14:54:14 +02:00
Mole 3137c01ea1 Assert success notification after publishign content in rollback test 2020-10-07 13:04:23 +02:00
Andy Butland a331e6db30 Removed Mocked entity static helpers from new test projects, so they are only used for legacy tests.
Created equivalent methods as static builder methods, that use the builders to construct the model objects.
2020-10-07 11:28:09 +02:00
MoleandGitHub 17c68176e0 Merge pull request #9100 from umbraco/netcore/task/6964-legacy-password-format
Adds support for the super old password format so we can handle upgrades
2020-10-07 11:25:51 +02:00
Mole df607dbef8 Make rollback test pass again 2020-10-07 11:20:40 +02:00
Mole 7a42a84f7d Merge remote-tracking branch 'origin/v8/dev' into v8/feature/acceptance-test-content-with-contentpicker
# Conflicts:
#	src/Umbraco.Tests.AcceptanceTest/package.json
2020-10-07 11:08:04 +02:00
Bjarke Berg d31fbdf7bb Fix csproj
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 09:34:14 +02:00
Bjarke Berg fa6b79eba7 post merge fixes Clean up after merge
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 09:32:15 +02:00
Bjarke Berg b7e5d28584 Merge remote-tracking branch 'origin/v8/dev' into netcore/merge_umbraco_id_into_netcore_dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Persistence/Factories/ExternalLoginFactory.cs
#	src/Umbraco.Core/Persistence/Repositories/IExternalLoginRepository.cs
#	src/Umbraco.Core/Services/IExternalLoginService.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
#	src/Umbraco.Infrastructure/Services/Implement/ExternalLoginService.cs
#	src/Umbraco.Tests/Services/ExternalLoginServiceTests.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web/OwinExtensions.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/AuthenticationManagerExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeClaimsIdentityFactory.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Security/BackOfficeUserStore.cs
#	src/Umbraco.Web/Security/ExternalSignInAutoLinkOptions.cs
#	src/Umbraco.Web/Security/MembershipProviderBase.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2020-10-07 09:06:40 +02:00
Bjarke Berg c4cedceda1 Merge 2020-10-07 08:49:37 +02:00
Shannon ed582eea58 removes test that is testing code that will be deleted 2020-10-07 17:07:20 +11:00
Shannon eaa295095d Gets password roll forward working 2020-10-07 16:56:48 +11:00
Bjarke BergandGitHub a3b32db41c Merge pull request #8892 from umbraco/netcore/feature/migrate-logging
Netcore: Migrate to use MS ILogger<T>
2020-10-07 06:44:55 +02:00
Shannon e5c272b5d2 Adds support for the super old password format so we can handle upgrades 2020-10-07 15:20:43 +11:00
Bjarke Berg 3551d6e65e Clean up and fixed todos
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-06 21:23:15 +02:00
Bjarke Berg 413b410bfb use mocks in unit test instead of real console logger
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-06 20:10:54 +02:00
Bjarke Berg 18828951a6 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-06 20:04:13 +02:00
Bjarke Berg baf2aaecab Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Tests.Integration/Packaging/CreatedPackagesRepositoryTests.cs
#	src/Umbraco.Tests.Integration/Services/CachedDataTypeServiceTests.cs
#	src/Umbraco.Tests.Integration/Services/DataTypeServiceTests.cs
#	src/Umbraco.Tests.Integration/Services/MacroServiceTests.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Services/LocalizedTextServiceTests.cs
2020-10-06 18:49:03 +02:00
Bjarke Berg 170aaa47a9 Changed the way we setup logging in integration tests, to respect the test option attribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-06 18:43:07 +02:00
Bjarke BergandGitHub f1936869ea Merge pull request #9086 from umbraco/netcore/feature/8518-migrate-tests
NetCore: Migrate tests
2020-10-06 18:42:25 +02:00
Mole 9f05ae7792 Don't save macro twice 2020-10-06 15:22:47 +02:00
Mole 55a9623c84 Fix csproj after merge 2020-10-06 15:21:27 +02:00
Mole 23aee8bd4e Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/8518-migrate-tests
# Conflicts:
#	src/Umbraco.Tests.Integration/Services/MacroServiceTests.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
2020-10-06 15:16:28 +02:00
Bjarke BergandGitHub a97ebc1f86 Merge pull request #9085 from AndyButland/feature/7898-services-integration-tests-migration-2
NetCore: Migrate further integration tests
2020-10-06 15:06:47 +02:00
Søren KottalandGitHub 3b551bdc5d Adds icons from App_Plugins/**/Icons/*.svg (#8884) 2020-10-06 15:06:03 +02:00
Mole e6fcfb09bd Fix commented out test 2020-10-06 14:49:11 +02:00
Mole b28d45cde5 Use same pattern for getting Services in all tests 2020-10-06 14:41:10 +02:00
Mole b233caf9b7 Use EntityService instead of var service in EntityServiceTests
It's more descriptive
2020-10-06 14:35:51 +02:00
Mole 2d785adfe6 Don't get IDataTypeService twice 2020-10-06 14:22:16 +02:00
Bjarke Berg 33acc05efd Added errors
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-06 14:21:41 +02:00
Mole c7aad452ee Clean 2020-10-06 14:16:29 +02:00
Mike MaseyandGitHub 27751a4ae7 V8/feature/update icon picker to use umb icon (#9063) 2020-10-06 14:09:35 +02:00
Mole 32b43feac4 Remove unused imports 2020-10-06 13:45:21 +02:00
Andy Butland 8e48f2cc31 Further updates from PR comments and additional use of test model builders. 2020-10-06 13:24:32 +02:00
Mole 65bd5ea3ef Move AngularIntegrationTests
They all say they belong to Web but their implementations are in Core/Infrastructure/Backoffice, so I assume they belong in the new test suite
2020-10-06 13:11:44 +02:00
Mole da5f9e7520 Migrate MacroParserTests
While the namespace is Umbraco.Web.Macros the implementation is in Umbraco.Infrastructure assembly, so I assume it has been migrated.
2020-10-06 13:02:29 +02:00
Andy Butland 0e5c013c36 Updated from PR review. 2020-10-06 12:43:24 +02:00
Bjarke Berg 849e7179f7 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-06 12:41:13 +02:00
Andy Butland 11dc3459bc Further update to user service and controller tests to use test builders. 2020-10-06 12:02:29 +02:00
Bjarke Berg a56e3615d1 Merge remote-tracking branch 'origin/netcore/feature/migrate-logging' into netcore/feature/migrate-logging 2020-10-06 11:41:52 +02:00
Andy Butland 7461a10c78 Migrated macro service tests to new integration tests project. 2020-10-06 09:54:10 +02:00
Andy Butland 1f83c61043 Aligned service integration tests with naming convention for private variables and use of test model builders. 2020-10-06 09:23:15 +02:00
Sebastiaan Janssen 29a6b7a5c0 Merge branch 'v8/8.8' into v8/8.9 2020-10-06 09:13:54 +02:00
Andy Butland 30e49ac548 Fix after rebase. 2020-10-06 08:28:02 +02:00
Mole 7a8a7104c7 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Manifest/ManifestParserTests.cs
#	src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
2020-10-06 08:13:29 +02:00
Brynjólfur GunnarssonandNathan Woulfe a5639a70c9 fixed publish variants dialog translation 2020-10-06 07:45:08 +10:00
Bjarne FyrstenborgandNathan Woulfe aff046b1a1 Fix void element of umb-checkbox component 2020-10-06 07:43:01 +10:00
Andy Butland 6736860f4b Removed duplicate depenency registration. 2020-10-05 21:46:53 +02:00
Andy Butland 30b0f142eb Migrated various service tests into the new integration or unit tests projects as appropriate. 2020-10-05 21:46:53 +02:00
Sebastiaan Janssen e9627f2ee9 Merge branch 'v8/dev' into v8/contrib 2020-10-05 21:12:51 +02:00
Sebastiaan Janssen ed24a695e4 Merge branch 'v8/8.9' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-10-05 20:58:47 +02:00
Sebastiaan Janssen 32878576f9 Merge branch 'v8/8.8' into v8/dev 2020-10-05 20:58:05 +02:00
Sebastiaan Janssen e41fdc3cce Merge branch 'v8/8.7' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/components/umb-form-check.less
2020-10-05 20:57:57 +02:00
Ronald BarendseandGitHub 2bfef74191 Fix casing of 'URL' (#9080) 2020-10-05 20:48:38 +02:00
Bjarke Berg 471903b793 Introduced NoopServerMessenger for integration tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-05 16:59:26 +02:00
Mole 696c65222f Fix migration and clear caches 2020-10-05 15:04:41 +02:00
Kenn JacobsenandGitHub eaa0a3ba64 Fix broken auto-focus (#9004) 2020-10-05 13:56:57 +01:00
Mole dd2ff6602e Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/8518-migrate-tests 2020-10-05 13:34:00 +02:00
Mole c97375d478 Migrate ContentServicePublishBranchTests 2020-10-05 13:33:39 +02:00
Bjarke BergandGitHub a7c4fa5f2e Merge pull request #9068 from umbraco/netcore/feature/AB8519-umbraco-tests-services-migration
NetCore: Migrating Service tests
2020-10-05 12:50:40 +02:00
Mole 8c9a55b0bc Migrate ContentTypeServiceExtensionsTests 2020-10-05 12:44:42 +02:00
Mole ff2528bb06 Migrate MacroServiceTests 2020-10-05 11:51:07 +02:00
Mole d7f0af7d4d Remove empty PackagingServiceTests 2020-10-05 11:38:05 +02:00
Mole 6a9228af11 Migrate PropertyValidationServiceTest 2020-10-05 11:32:03 +02:00
Claus 28f1e9a732 Merge remote-tracking branch 'origin/v8/bugfix/8.9rc-reactive-fallback-value-for-umb-button-type' into v8/8.9 2020-10-05 11:24:13 +02:00
Mole 4293337b81 Migrate LocalizedTextServiceTests 2020-10-05 11:15:45 +02:00
Niels Lyngsø 3a06195e3d ensure fallback value is defined on value updates 2020-10-05 11:02:07 +02:00
Bjarke BergandSebastiaan Janssen 1107e5d0fd Updated tour skip-step condition to the new format after introduction of umb-icon 2020-10-05 10:45:02 +02:00
Bjarke Berg 74f7a2784c Handle null user in GetPermissionsForPath
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-05 10:44:28 +02:00
Marc GoodsonandSebastiaan Janssen 034e9e2628 Update 'working with the code' to remove reference to VS2017
I'm not sure you need to restate the version here, having got it specified in the list above, but if you do, then a vanilla 2017 won't build the source because of the c#8 stuff introduced recently.
2020-10-05 10:43:32 +02:00
Bjarke Berg 375a85903f Changed the UmbracoIntegrationTest setup to be sync, to avoid issue with AsyncLocal
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-05 10:02:11 +02:00
Mole b181fa0e01 Migrate EntityServiceTests 2020-10-05 09:38:30 +02:00
Bjarke Berg 7700c9f5c7 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB8519-umbraco-tests-services-migration 2020-10-05 08:52:02 +02:00
Bjarke BergandGitHub e4264dbb6f Merge pull request #9008 from umbraco/netcore/bugfix/tours
NetCore: Fix for Back-Office tours
2020-10-05 08:40:27 +02:00
Mole 8404ae63c0 Change HasSchema to CanAttachSchema in LocalDbTestDatabase
It's more indicative of what it's actually checking for.
2020-10-05 08:13:52 +02:00
Bjarke Berg 586c61f282 moved getting-started.json from old to new project
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-05 07:50:55 +02:00
Bjarke Berg 9524aefb90 Delete getting-started.json from new project
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-05 07:49:51 +02:00
Bjarke Berg 5ff9fc64ca Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/tours 2020-10-05 07:48:32 +02:00
Bjarke Berg 4dc26a9f04 Fix double nuget reference
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-05 07:45:28 +02:00
Elitsa Marinovska e1170b8f12 Migrates more service tests and other required implementation changes 2020-10-04 21:19:40 +02:00
Elitsa Marinovska 236f93b5ff Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB8519-umbraco-tests-services-migration 2020-10-03 21:27:16 +02:00
Niels Lyngsø f20e322ff5 apply functionality to modal. 2020-10-02 20:46:54 +02:00
Bjarke Berg b729c44505 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/IconController.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web/Editors/BackOfficeModel.cs
#	src/Umbraco.Web/Editors/BackOfficePreviewModel.cs
2020-10-02 16:43:23 +02:00
Bjarke Berg 2b7980fcb9 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Services/IIconService.cs
#	src/Umbraco.Web/Editors/BackOfficeModel.cs
#	src/Umbraco.Web/Editors/BackOfficePreviewModel.cs
#	src/Umbraco.Web/Editors/IconController.cs
#	src/Umbraco.Web/Services/IconService.cs
2020-10-02 16:38:12 +02:00
Niels Lyngsø a7db158894 ask user wether they like to stay in preview mode 2020-10-02 16:12:24 +02:00
Warren Buckley 7e34dda131 Trying more things & prep for dealing with package XML for Label On Top 2020-10-02 15:08:24 +01:00
Mole 7ad3cfc403 Migrate KeyValueServiceTests 2020-10-02 14:52:48 +02:00
Søren KottalandGitHub c608d95087 Adds polling function to the Logviewer (#9023)
* Add polling function to logviewer

* float the sub buttons right
2020-10-02 14:48:47 +02:00
Mole 07d943e37a Migrate FileServiceTests 2020-10-02 14:46:14 +02:00
Mole ca2ec63dd6 Re-configure current factory in NewSchemaPerFixture like in NewSchemaPerTest 2020-10-02 14:35:24 +02:00
Warren Buckley 1b7f095048 Trying to get the model mapping done correctly - but still stuggling.
This can be persisited to DB correctly but does not hydrate model correctly back to a model
2020-10-02 13:32:23 +01:00
Mole e4dd5abd3e Fix NewSchemaPerFixture
I don't know if this is a hacky fix, someone might have to take a look at it
2020-10-02 14:16:36 +02:00
Mole 8c5e348437 Move CachedDataTypeServiceTests 2020-10-02 14:15:46 +02:00
Warren Buckley e5ba2ca78c Migration to add new DB column to PropertyTypeDto for LabelOnTop 2020-10-02 11:36:50 +01:00
Mole 89d2668b8f Move ConsentServiceTests & CreatedPackagesRepositoryTests
I need to figure out why hostBuilder.StartAsync(); hangs
2020-10-02 12:00:13 +02:00
Mole 602e7d01e1 Migrate PackageExtractionTests 2020-10-02 10:53:28 +02:00
Niels Lyngsø 433d9ac186 init labelOnTop 2020-10-02 09:49:25 +02:00
BatJanandNathan Woulfe 2de04b3196 Convert link to button 2020-10-02 09:49:49 +10:00
Niels Lyngsø c264cc9691 configure label position on Property level 2020-10-01 17:30:03 +02:00
Niels Lyngsø d14e9ee3b4 revert POC approach 2020-10-01 17:29:52 +02:00
Niels Lyngsø 5a96b1cd8d Merge branch 'v8/dev' into v8/feature/property-label-on-top
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/BlockListConfiguration.cs
2020-10-01 16:15:31 +02:00
Mole 6dc52b9461 Migrate DataTypeServiceTests 2020-10-01 15:10:42 +02:00
Lotte PitcherandSebastiaan Janssen 9e48e8aa3a use 'contact links' config feature to replace issue templates that link elsewhere 2020-10-01 15:01:44 +02:00
Elitsa Marinovska e8e965c46a Makes required services private and available to all test methods 2020-10-01 14:47:34 +02:00
Kenn JacobsenandGitHub 03ff867e3a Sort the languages in the global language selector (#9007) 2020-10-01 13:39:02 +01:00
Kenn JacobsenandGitHub 8231e8e72e Sort the entries in the variant picker by display name (#9006) 2020-10-01 13:35:04 +01:00
Elitsa Marinovska 8dfa73be4c Migrating TagServiceTests 2020-10-01 14:23:17 +02:00
Claus 978d245f00 Merge remote-tracking branch 'origin/v8/8.8' into v8/8.9 2020-10-01 12:37:56 +02:00
Warren BuckleyandGitHub c1b0f6977e Merge pull request #8974 from umbraco/v8/feature/use-block-edit-for-labelblock
use block.edit()
2020-10-01 11:11:54 +01:00
Bjarke BergandGitHub 2e28061fd4 Merge pull request #8992 from umbraco/netcore/feature/migrate-signalr
Netcore: Migrate SignalR to .net core
2020-10-01 12:01:00 +02:00
Elitsa Marinovska 88b707db36 Adds missing value that is passed on 2020-10-01 11:36:00 +02:00
Jan SkovgaardandGitHub 128e7b59e6 Convert old app header icons to umb-icon directive (#8998) 2020-10-01 10:31:13 +01:00
Jan SkovgaardandGitHub 52927c299c Convert a's with href="#" to button (#9001) 2020-10-01 10:27:17 +01:00
Dave Woestenborghs df2c90e488 For published content index items by getting children recursively 2020-10-01 10:16:08 +02:00
Dave Woestenborghs 6f30029a49 #8879 split indexing in 2 seperate methods so we are able to have different logic for all and published only content 2020-10-01 09:57:18 +02:00
MoleandGitHub 8ef00165be Merge pull request #8997 from umbraco/netcore/feature/migrate_more_unit_tests
Netcore: Migrate more unit tests
2020-10-01 09:29:37 +02:00
Bjarke Berg f0dbeab654 revert update of System.Threading.Tasks.Extensions
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 09:04:47 +02:00
Claus a167becff5 bump version to 8.9.0-rc. 2020-10-01 08:46:51 +02:00
Claus d5cc4ed914 Merge commit 'refs/tags/release-8.8.0^{}' into v8/8.9
# Conflicts:
#	src/SolutionInfo.cs
2020-10-01 08:34:59 +02:00
Bjarke Berg dd2dad15d9 Updated System.Threading.Tasks.Extensions
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 08:19:49 +02:00
Bjarke Berg 74f8c6fb74 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 08:15:34 +02:00
Bjarke Berg 3b1f7ad042 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 07:41:23 +02:00
Bjarke Berg 4181e2639c Clean up - Only add signalr once as dependency
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 07:13:16 +02:00
Bjarke Berg 3607dd14f1 Clean up + Removed old SignalR code
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 07:09:54 +02:00
Bjarke Berg 26ad4a332f Clean up - Introduced PreviewRoutes
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-01 07:03:31 +02:00
BatJanandNathan Woulfe 34e80d86e8 Use $document and don't try to add or remove if the element is not found 2020-10-01 08:51:30 +10:00
BatJanandNathan Woulfe 506add21d8 Move click event from li to button element 2020-10-01 08:50:19 +10:00
Bjarke Berg e02260c10b Fixing tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-30 21:23:56 +02:00
Christopher GidneyandSebastiaan Janssen 47af858b17 Add documentation for descriptionLocked parameter 2020-09-30 21:19:40 +02:00
Bjarne FyrstenborgandSebastiaan Janssen 1d5afae0f6 Adjust condition to hide edit button if media is trashed, but otherwise show the button 2020-09-30 21:14:04 +02:00
Bjarne FyrstenborgandGitHub df3feee60d Use button elements in grid editor (#8887) 2020-09-30 20:37:12 +02:00
Bjarne FyrstenborgandGitHub 9feb6e6085 Adjustments of colorpicker prevalue and property editor (#8885) 2020-09-30 20:35:09 +02:00
BatJanandSebastiaan Janssen 76c5a69e60 Remove unused mediatypepicker overlay 2020-09-30 20:33:51 +02:00
BatJanandSebastiaan Janssen d323c7927a Convert a to button and fix other oddities as well 2020-09-30 20:30:44 +02:00
Bjarne FyrstenborgandGitHub 6e9540fb35 Checkboxlist prevalue editor (#8832) 2020-09-30 20:18:45 +02:00
Bjarne FyrstenborgandSebastiaan Janssen dcc1fed75c Use umb-code-snippet in unsupported block 2020-09-30 20:13:48 +02:00
Bjarne FyrstenborgandGitHub 0b5c039a93 Show only settings and styles boxes when each of them has configuration (#8827) 2020-09-30 20:11:26 +02:00
Doug MooreandGitHub c81266f5dd Associate existing label to the button for a umb-toggle-group item (#8716) (#8826) 2020-09-30 20:06:46 +02:00
Bjarne FyrstenborgandSebastiaan Janssen ef12c36ce5 Adjust tags editor typeahead to fit within container in splitview 2020-09-30 19:59:32 +02:00
Bjarne FyrstenborgandGitHub 5911243908 Add color picker component (#8812) 2020-09-30 19:57:39 +02:00
Kenn JacobsenandSebastiaan Janssen 4ecbb7abe6 Fix JS errors when creating folders in the settings section 2020-09-30 19:37:58 +02:00
Kenn JacobsenandSebastiaan Janssen 59f90bd08b Fix JS error preventing newly created dictionary items from opening automatically 2020-09-30 19:27:51 +02:00
Bjarne FyrstenborgandSebastiaan Janssen 5b82264c8e Set enabled similar to preventDefault and preventEnterSubmit directives 2020-09-30 19:23:10 +02:00
Warren BuckleyandGitHub 5927a16ae6 Merge pull request #8984 from umbraco/v8/feature/ui-always-show-actions-in-delete-dialogs
Review: Always show action buttons in delete dialogs & enable once checked
2020-09-30 14:00:41 +01:00
Bjarke Berg aa3049fded Migrated more tests + Aligned IHostingEnvironment.ToAbsolute implementation with expectations from old tests 2020-09-30 14:54:53 +02:00
Mole cbdb96dfe6 Add SignalR in integration tests 2020-09-30 14:27:18 +02:00
Mole a69d705d34 Clean 2020-09-30 10:21:21 +02:00
Mole ab1f41edfb Configure logging for signalR 2020-09-30 10:05:37 +02:00
Mole 8653496fd8 Move MapHub to BackOfficeAreaRoutes and get hub path from ServerVariables 2020-09-30 10:02:28 +02:00
Mole b6b41cac5b Only create one instance of HubConnection 2020-09-30 09:01:08 +02:00
Elitsa Marinovska 8f5678b226 Fixes contents of getting-started.json, some misalignments happened when merging v8/dev 2020-09-29 17:11:27 +02:00
Mole 2175c8e4a7 Register PreviewHub in composer
It actually updates now \o/
2020-09-29 15:25:27 +02:00
Niels Lyngsø de511359e4 Always show actions 2020-09-29 15:19:30 +02:00
Mole ccab3d2288 Make success log notification appear as before 2020-09-29 14:02:27 +02:00
Mole f9bd33dafe Include new SignalR in preview view 2020-09-29 13:50:32 +02:00
Mole 6ced0de2c4 Fix gulp dependencies 2020-09-29 13:32:08 +02:00
Nikolaj 2d760a7744 Update dependencies in gulp 2020-09-29 13:18:12 +02:00
Mole e9cf22735d Use HubConnectionBuilder in preview.controller 2020-09-29 13:00:39 +02:00
Mole 078ab74a8f Update signalR to core version 2020-09-29 12:49:59 +02:00
Mole aa53c625a7 Register SignalR 2020-09-29 12:49:32 +02:00
Mole 05295cfef9 Add hub files to Backoffice 2020-09-29 12:49:02 +02:00
Sebastiaan Janssen df0222b09e Don't remove focal point - reverts a potential breaking change 2020-09-29 10:49:48 +02:00
Bjarke Berg 81e2ebda96 Cleanup
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-29 10:42:06 +02:00
Bjarke Berg 8dc1c9768c Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
2020-09-29 08:58:24 +02:00
Bjarke Berg d74e18a15d Migrated SectionServiceTests to integration tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-29 08:14:27 +02:00
Bjarke Berg b06244d4b9 Moved unit tests into unit test project
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-29 08:08:20 +02:00
Sebastiaan Janssen e1ef5f4e6b Fix cropper / preview not showing 2020-09-28 21:26:05 +02:00
Sebastiaan Janssen 9ac600aeff Merge branch 'v8/dev' into v8/contrib 2020-09-28 20:35:26 +02:00
Sebastiaan Janssen c28f7e71bd Merge branch 'v8/8.8' into v8/dev 2020-09-28 20:34:44 +02:00
Sebastiaan Janssen 8767fef15a Merge branch 'v8/8.7' into v8/dev 2020-09-28 20:00:43 +02:00
Sebastiaan Janssen da7c5e063b Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-09-28 19:58:11 +02:00
Niels LyngsøandSebastiaan Janssen 5d9389b37c adjust default size of umb-button-ellipsis and its apperance in umb-tree 2020-09-28 19:53:23 +02:00
Niels LyngsøandGitHub 956c81ff32 8.8 Revert icon styling, to ensure backwards compatibility (#8941) 2020-09-28 19:44:58 +02:00
Bjarke Berg ee4de08653 Migrated more tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-28 15:43:28 +02:00
Mole d750d2c2c1 Use generic logger more places and clean up 2020-09-28 14:59:17 +02:00
Niels Lyngsø ebe3c26cb7 use block.edit() 2020-09-28 14:13:43 +02:00
Bjarke Berg 8dd3208e1c Migrated GetUmbracoMvcAreaNoCache tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-28 12:51:12 +02:00
Warren BuckleyandGitHub 1868c215d9 Merge pull request #8850 from umbraco/v8/feature/umb-property-info-button
Review Feature: umb-property-info-button
2020-09-28 11:49:24 +01:00
Bjarke BergandGitHub 5e7b34e3a3 Merge pull request #8960 from umbraco/v8/feature/configure-cypress-through-nodejs-install
create enviroment configuration through install script
2020-09-28 11:01:56 +02:00
Mole b5aedde616 Do some ILogger cleaning 2020-09-28 08:48:49 +02:00
Bjarke Berg 46805cbf1d Merge remote-tracking branch 'origin/temp8-4742-no-assembly-scanning-for-dashboards' into netcore/netcore
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Web/Runtime/WebRuntimeComposer.cs
2020-09-28 08:45:19 +02:00
Niels Lyngsø b053ad1423 set to be required 2020-09-25 14:02:22 +02:00
Niels Lyngsø b5374152a1 make baseUrl an optional part of configuration 2020-09-25 12:45:45 +02:00
Niels Lyngsø 4085468125 update dependency name 2020-09-25 12:01:40 +02:00
Niels Lyngsø b46dad39ff only write config if file does not already exist 2020-09-25 11:50:57 +02:00
Niels Lyngsø 78724c11eb updated readme 2020-09-25 11:36:43 +02:00
Niels Lyngsø 9286282eca updated text 2020-09-25 11:36:28 +02:00
Niels Lyngsø 26905078ca create enviroment configuration through install script 2020-09-25 11:22:49 +02:00
Bjarke Berg ddc2fea0e9 Migrated unit tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-25 09:41:56 +02:00
Sebastiaan Janssen 19b4035359 Merge branch 'v8/dev' into v8/contrib 2020-09-24 14:44:26 +02:00
Bjarke Berg 8109186499 Bump to alpha003
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-24 13:41:58 +02:00
ShannonandSebastiaan Janssen e4c5010759 Fixes issue with exceptions in logs because we are trying to unbind from httpapplication events but you cannot do that.
(cherry picked from commit 5ed94065a7)
2020-09-24 11:43:34 +02:00
Mole 7369ffc5fd Change name of ContentApp back 2020-09-24 10:29:53 +02:00
Bjarke Berg 2779b19737 Fixed test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-24 10:13:22 +02:00
Mole 25f13629cb Register logging before trying to use ILoggerFactory in UmbracoCoreServiceCollectionExtensions
Before we used serviceProvider.GetService<ILoggerFactory>() with a service provider that were build before logging was configured, therefore the loggerfactory was empty and a lot of logs were missing
2020-09-24 09:39:48 +02:00
Bjarke Berg 35443f0e71 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Infrastructure/Search/ExamineComponent.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
2020-09-24 08:24:35 +02:00
Shannon 0e44acc45e Merge remote-tracking branch 'origin/v8/8.8' into v8/8.9
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2020-09-24 14:19:58 +10:00
Bjarke Berg 1587d7f4b7 Changed test to use to use 0.5.0.0 version
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 19:46:53 +02:00
Bjarke Berg cfc0722a5f Merge branch 'netcore/alpha002' into netcore/netcore 2020-09-23 18:25:22 +02:00
Bjarke Berg 0ba059903f Changed version in assembly to 0.5.0
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 18:24:31 +02:00
Bjarke Berg 88dfc0708b Added launchSettings to template
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 17:23:01 +02:00
Bjarke Berg 26a04ea2fe Added launchSettings to template
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 17:22:06 +02:00
Sebastiaan Janssen 0531fce9e2 Move the IIconService and IconModel to the Umbraco.Core project
See issue #8919
2020-09-23 16:20:55 +02:00
Mole 0e737c0903 Use a SiriLogger that logs to console in UmbracoIntegrationTest
AFAIK ConsoleLoggerFactory gets disposed when host is disposed causing all tests but the ones from the first test fixture to fail. As far as I'm aware it's not possible to make it not dispose ConsoleLoggerFactory, however it is possible with Sirilog
2020-09-23 15:37:19 +02:00
Bjarke Berg 18dcf4975b update nuspec to use ImageSharp.Web 1.0.0
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 14:50:49 +02:00
Bjarke Berg ec7db00bd2 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-09-23 14:29:42 +02:00
Bjarke Berg acc7065fa1 Fixed issue with models builder
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 14:22:53 +02:00
Bjarke Berg 435cf2623a Updated ImageSharp.Web to 1.0.0
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 14:00:08 +02:00
Mole 8258178c5a Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
#	src/Umbraco.Infrastructure/Media/UploadAutoFillProperties.cs
#	src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/ImageCropperPropertyEditor.cs
#	src/Umbraco.Tests/Models/MediaXmlTest.cs
#	src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
2020-09-23 13:32:49 +02:00
Bjarke Berg 0d731e7a40 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	build/build-bootstrap.ps1
#	src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
#	src/Umbraco.Infrastructure/Compose/PublicAccessComponent.cs
#	src/Umbraco.Infrastructure/Search/ExamineComponent.cs
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComponent.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Web/Compose/BackOfficeUserAuditEventsComponent.cs
#	src/Umbraco.Web/Logging/WebProfilerComponent.cs
2020-09-23 13:28:36 +02:00
MoleandGitHub ca5868d52c Merge pull request #8771 from umbraco/netcore/bugfix/reset_password
Fixed reset password for functionality
2020-09-23 13:09:47 +02:00
Mole 2bd4f683f2 Remove empty line in BackOfficeController 2020-09-23 13:06:18 +02:00
Bjarke Berg e3c8bd8ced Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Cache/MemberCacheRefresher.cs
#	src/Umbraco.Infrastructure/Compose/NotificationsComponent.cs
#	src/Umbraco.Infrastructure/Search/ExamineComponent.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Web/Security/MembershipHelper.cs
#	src/Umbraco.Web/Security/Providers/UmbracoMembershipProvider.cs
2020-09-23 12:54:13 +02:00
Bjarke Berg 56820b164f Fixed issue in AngularValueResetPasswordCodeInfoScript
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 11:30:16 +02:00
Sebastiaan Janssen f29c5f0e3b Merge branch 'v8/dev' into v8/contrib 2020-09-23 11:18:43 +02:00
Sebastiaan Janssen 95a46580d6 Merge branch 'v8/8.7' into v8/dev 2020-09-23 11:10:56 +02:00
Sebastiaan Janssen d6275f34f7 Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/Umbraco.Web/Security/MembershipHelper.cs
2020-09-23 11:09:40 +02:00
Bjarke Berg 5045a580cc Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/reset_password 2020-09-23 10:55:13 +02:00
MoleandGitHub 3d52949938 Merge pull request #8944 from umbraco/netcore/bugfix/8856-user_culture_not_used_everywhere
Netcore: Bugfix for user culture not used everywhere
2020-09-23 09:58:30 +02:00
MoleandGitHub 75608919cd Merge pull request #8925 from umbraco/netcore/feature/use-serilog-to-log-all-messages
Netcore: Use serilog to log all messages and use appsettings as config
2020-09-23 09:37:43 +02:00
Bjarke BergandGitHub d4391bd91e Merge pull request #8948 from AndyButland/feature/8651-move-image-file-types-from-config
Netcore: configuration of supported image file types
2020-09-23 09:05:51 +02:00
Bjarke Berg f61796c265 revert appsettings
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 08:58:11 +02:00
Bjarke Berg ae657b1078 https://github.com/umbraco/Umbraco-CMS/issues/8856 - also consider Tree controllers as backoffice
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 08:55:25 +02:00
Bjarke Berg 28df8d086b Injecting a logger instead of logger factory
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-23 08:40:05 +02:00
Bjarke Berg f413f279eb Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/LiveModelsProvider.cs
#	src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
#	src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
#	src/Umbraco.Tests.Integration/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ColorListValidatorTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/EnsureUniqueValuesValidatorTest.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/MultiValuePropertyEditorTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/NestedContentTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/PropertyCacheLevelTests.cs
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
#	src/Umbraco.Tests/Models/VariationTests.cs
#	src/Umbraco.Tests/Packaging/PackageDataInstallationTests.cs
#	src/Umbraco.Tests/Persistence/DatabaseContextTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MediaTypeRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MemberTypeRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/PublicAccessRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/SqlCeTableByTableTest.cs
#	src/Umbraco.Tests/Published/ConvertersTests.cs
#	src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
#	src/Umbraco.Tests/Routing/ContentFinderByIdTests.cs
#	src/Umbraco.Tests/Routing/ContentFinderByUrlAndTemplateTests.cs
#	src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
#	src/Umbraco.Tests/Routing/UmbracoModuleTests.cs
#	src/Umbraco.Tests/Scoping/ScopeEventDispatcherTests.cs
#	src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
#	src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
2020-09-23 07:59:10 +02:00
Shannon 7fc4364b52 Fixes issue with deleting external logins, fixes issue with saving new user logins when creating a new user, fixes issue of not checking if the linked login is already linked. 2020-09-23 15:45:58 +10:00
Bjarne FyrstenborgandNathan Woulfe 59784a1551 Update noUiSlider to v14.6.2 2020-09-23 14:18:16 +10:00
Bjarke Berg e9597c0f3f https://github.com/umbraco/Umbraco-CMS/pull/8948 - Injecting UploadAutoFillProperties instead of newing it up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 21:24:12 +02:00
Andy ButlandandBjarke Berg 87a4128705 https://github.com/umbraco/Umbraco-CMS/pull/8948 - Renamed extension from IsImageFile to IsSupportedImageFormat, to align more with what is actually tested
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 21:12:04 +02:00
Bjarke Berg 2b8d5b7edd Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-move-image-file-types-from-config
# Conflicts:
#	src/Umbraco.Core/Configuration/Models/ContentImagingSettings.cs
#	src/Umbraco.Infrastructure/Media/UploadAutoFillProperties.cs
2020-09-22 21:10:19 +02:00
Bjarke BergandGitHub 9a6b75d5a7 Merge pull request #8938 from AndyButland/feature/8651-config-options-validation
NetCore: Added validation for configuration
2020-09-22 21:05:51 +02:00
Bjarke Berg 25c7418d66 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-validation
# Conflicts:
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/PropertyEditorValueEditorTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/ShortStringHelper/CmsHelperCasingTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Core/ShortStringHelper/DefaultShortStringHelperTestsWithoutSetup.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
#	src/Umbraco.Tests/Models/MediaXmlTest.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/TestHelpers/TestWithDatabaseBase.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
2020-09-22 20:25:28 +02:00
Bjarke Berg 4880b16512 Fix tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 19:59:01 +02:00
Bjarke Berg 60424dd54f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/reset_password
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
2020-09-22 19:35:49 +02:00
0ea251945b Netcore: migrate more unittests (#8939)
* Migrated unit tests

* Migrated CoreThings tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Migrated Property Editor unit tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Migrated CoreXml tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Moved more tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* revert some IsSZArray test code

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Renamed bad named test

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* removed unnecessary file mentions in csproj file

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-09-22 15:59:37 +02:00
Mole 9d9d1955e9 Fix merge 2020-09-22 15:28:44 +02:00
Mole 4b5fbf83e1 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
2020-09-22 15:24:01 +02:00
Mole 438515fa66 Merge Netcore: Use serilog to log all messages and use appsettings as config into Netcore/feature/migrate logging 2020-09-22 15:09:16 +02:00
Andy Butland f42e8856db Removed supported image file types from configuration and set up as a property on IImageUrlGenerator, so different providers can indicate support for different sets of images. 2020-09-22 15:06:22 +02:00
0c908a7bbb Introduced interface on BackOfficeUserManager (#8913)
* Introduced IBackOfficeUserManager

* Fixed test

* Moved class into own file

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-09-22 14:44:41 +02:00
Sebastiaan Janssen c00017220a NuGet.org had TLS 1.0 and 1.1 disabled - https://devblogs.microsoft.com/nuget/deprecating-tls-1-0-and-1-1-on-nuget-org/.
Therefore we need this line specifying Tls12

(cherry picked from commit c91281c4b8)
2020-09-22 14:38:24 +02:00
Bjarke BergandGitHub e6fba11279 Merge pull request #8932 from umbraco/netcore/feature/AB8239-nuget-updates
NetCore: Update NuGet packages to latest versions
2020-09-22 14:35:34 +02:00
Bjarke Berg 6fdf7082a0 Fixed issue models builder config and changed default mode to nothing
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 14:16:00 +02:00
Bjarke Berg 3533c6a959 Fixed issue with template using alpha001
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 14:14:27 +02:00
Mole 1fdebb6bd9 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
#	src/Umbraco.Web.BackOffice/Runtime/BackOfficeComposer.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
2020-09-22 13:49:25 +02:00
Bjarke Berg 35c39623a6 fix merge issue
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 13:45:20 +02:00
Mole c0616d516a Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
#	src/Umbraco.Infrastructure/Scheduling/ScheduledPublishing.cs
#	src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs
#	src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/Filters/ContentModelValidatorTests.cs
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MacrosController.cs
#	src/Umbraco.Web.BackOffice/Controllers/PackageInstallController.cs
#	src/Umbraco.Web.BackOffice/Controllers/RedirectUrlManagementController.cs
#	src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
#	src/Umbraco.Web.BackOffice/Filters/ContentModelValidator.cs
#	src/Umbraco.Web.BackOffice/Filters/ContentSaveModelValidator.cs
#	src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs
#	src/Umbraco.Web.BackOffice/Filters/MediaItemSaveValidationAttribute.cs
#	src/Umbraco.Web.BackOffice/Filters/MediaSaveModelValidator.cs
#	src/Umbraco.Web.BackOffice/Filters/MemberSaveModelValidator.cs
#	src/Umbraco.Web.BackOffice/Filters/MemberSaveValidationAttribute.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
#	src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
#	src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
#	src/Umbraco.Web.Common/Install/InstallController.cs
2020-09-22 13:44:22 +02:00
Bjarke Berg 69668abc18 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB8239-nuget-updates 2020-09-22 13:32:21 +02:00
Bjarke Berg c2f343b17d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-09-22 13:28:50 +02:00
Bjarke Berg a28168667b Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Core/Editors/BackOfficePreviewModel.cs
#	src/Umbraco.Core/Models/IconModel.cs
#	src/Umbraco.Web.BackOffice/Controllers/IconController.cs
#	src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI/config/umbracoSettings.config
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeModel.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-09-22 13:28:03 +02:00
Mole a91f6f6a29 Clean PublishedSnapshotService a bit 2020-09-22 13:22:44 +02:00
a80de91031 Netcore: Handle tree authentication (#8866)
* Added helper methods to invoke the authorization filters of the other controller action

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Implemented Tree Auth

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* cleanup

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Throw forbidden if user has no access instead of InternalServerError

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* EnsureBackofficeSecurity for background jobs

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-09-22 13:19:54 +02:00
Mole b7cbbf8c28 Use ConfigureLogging instead of trying to add logging manually 2020-09-22 13:00:39 +02:00
Bjarke Berg 8e9889d269 Post merge
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 12:44:36 +02:00
Bjarke Berg bd534d340e Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Infrastructure/Services/Implement/IIconService.cs
#	src/Umbraco.Infrastructure/Services/Implement/IconService.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeModel.cs
#	src/Umbraco.Web/Editors/BackOfficePreviewModel.cs
#	src/Umbraco.Web/Editors/IconController.cs
#	src/Umbraco.Web/Editors/PreviewController.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-09-22 12:38:36 +02:00
Bjarke Berg 02e3cc7c30 https://github.com/umbraco/Umbraco-CMS/issues/8856 - Aligned namespaces of controllers and also determine BackOfficeApiArea as backoffice
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 11:07:01 +02:00
Claus b12fad75da Merge remote-tracking branch 'origin/v8/8.8' into v8/dev 2020-09-22 10:38:25 +02:00
Mole beb0d038a7 Move InernalsVisibleTo into AssemblyInfo instead of TestControllerFactory 2020-09-22 10:35:58 +02:00
Mole 9dc17b0873 Use serviceProvider instead of Current when creating TypeFinder in CollectionExtensions
Current hasn't been initialized at this point
2020-09-22 10:16:38 +02:00
Mole dae7f0a1a7 Register logging ASAP in UmbracoIntegrationTest pretty much everything needs it 2020-09-22 10:15:45 +02:00
96facc4d35 Netcore: Introduce BackofficeSecurityAccessor (#8871)
* Introduced IWebSecurityAccessor

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Fixed tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Renamed WebSecurity to BackofficeSecurity and all related names

* Fixes typos

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-09-22 10:01:00 +02:00
Mole d8c4107c93 Remove unused logger from CoreRuntimeTests 2020-09-22 09:54:39 +02:00
Mole 5611081803 Initialize LoggerFactory before trying to pass to to UmbracoApplicationBase 2020-09-22 09:42:11 +02:00
Mole e22bbc46a7 Register ILogger<> and ILoggerFactory in CompositionExtensions_Essentials 2020-09-22 09:41:42 +02:00
Mole 5cf06c2c9a Register ILogger<ComponentCollection> in ComponentTests 2020-09-22 09:33:57 +02:00
Mole 7e3b213c94 Mock ILogger not Logger 2020-09-22 09:33:30 +02:00
Mole 6cce7ef3f2 Make internals visible to Moq, otherwise we cannot mock ILogger<InternalClass>
For some reason adding the assembly attribute doesn't work for the test project, I need to look into this.
2020-09-22 09:27:32 +02:00
Bjarke Berg 525ca95acf uncomment SMTP info by default
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-22 08:01:04 +02:00
Shannon e6e7917b0c fixes create button 2020-09-22 11:34:59 +10:00
Shannon ac9dedf327 Ensure we don't swallow exceptions in angular when logging in, fixes a null ref in angular preventing login in authorize screen, fixes login screen to use an explicit ng-form instance. 2020-09-22 11:05:37 +10:00
Andy Butland fe158ec7d9 Removed custom validation of configuration enum values, reverting to framework based validation when binding direct to the enum values. 2020-09-21 21:20:46 +02:00
Andy Butland 1bd22d72c2 Removed configuration model builders. 2020-09-21 21:06:24 +02:00
Andy Butland 574e4d6446 Reverted change to enum parse from string configuration value, as we can't avoid the property being evaluated before the validation has occurred. 2020-09-21 16:23:58 +02:00
Andy Butland 1a59d6a978 Created constants for all configuration sections and used this and nameof expressions for building up configuration validation error messages. 2020-09-21 16:23:12 +02:00
Mole 4917025327 Change some Microsoft.Extensions.Logging.ILogger to just ILogger 2020-09-21 15:34:22 +02:00
Mole 5dae6235c5 Initialize ILoggerFactory in Current 2020-09-21 15:16:25 +02:00
Mole 3be396f384 Use Factory.GetInstance in Current 2020-09-21 15:12:14 +02:00
Mole 5c9a681566 Use typed logger for XmlPublishedSnapshotService 2020-09-21 15:11:40 +02:00
Mole d512a43ba6 Make majority of unit tests pass 2020-09-21 14:35:28 +02:00
Mole ed30cd1800 Remove ILogger and its classes implementing it 2020-09-21 13:09:48 +02:00
Mole d3ae921293 Remove most of the last references and rename LoggerFactory_ to LoggerFactory in UmbracoTestBase 2020-09-21 13:04:57 +02:00
Andy Butland cce091de74 Throw exception on unexpected failure of creation on enum value from configuration, rather than falling back to a default.
This shouldn't happen in practice due to the configuration validation (e.g. by ContentSettingsValidator), so any failure of parsing here should be considered an exception.
2020-09-21 12:04:30 +02:00
Mole 581775e08c Remove public ILogger from PluginController
Having a public ILogger doesn't align with MS ILogger, and the logger is never used
2020-09-21 11:46:29 +02:00
Mole a12ea89517 Use MS Ilogger in ExamineExtensions 2020-09-21 11:43:09 +02:00
Mole dfd5f991a6 Use Ms ILogger in LogProfiler allowing us to delete ConsoleLogger 2020-09-21 11:30:16 +02:00
Mole a679a1d2c4 Remove unused NullLogger 2020-09-21 11:22:32 +02:00
Mole ab3ac5ad91 Remove a bunch of references to the old logger 2020-09-21 11:19:46 +02:00
Andy Butland e032af5b06 Fixed failing tests. 2020-09-21 10:04:34 +02:00
Mole 894abdd183 Remove a bunch of references to the old logger 2020-09-21 09:41:18 +02:00
Andy Butland 903e964925 Set default value for SmtpSettings DeliveryMethod configuration. 2020-09-21 08:54:03 +02:00
Andy Butland 309d39a34f Set default models builder config to nothing now have fixed issue that prevented it loading (as previous value of pure live currently erroring). 2020-09-21 08:54:03 +02:00
Andy Butland d55b54ce49 Added unit tests for introduced unit test configuration setting builders. 2020-09-21 08:54:03 +02:00
Andy Butland d5d6082d07 Moved configuration settings builders into own folder. 2020-09-21 08:54:03 +02:00
Andy Butland 8aadbe02d6 Added unit tests for configuration validators. 2020-09-21 08:54:03 +02:00
Andy Butland bae4f2fb53 Changed NuCache settings to use a nullable integer. 2020-09-21 08:54:03 +02:00
Andy Butland 41c7f6989a Made config files alphabetical and aligned spacing. 2020-09-21 08:54:03 +02:00
Mole 8ff33e3cd0 Use LoggerFactory in UmbracoController instead of global ILogger 2020-09-21 08:29:44 +02:00
Mole 30d4233565 Use MS Ilogger in LocalizedTextService 2020-09-21 08:19:26 +02:00
Mole 7ad8cd2bf8 Use loggerfactory in both constuctors in UmbracoDatabaseFactory 2020-09-21 08:03:27 +02:00
Mole 20e12c7596 Use MS ILogger in Services 2020-09-18 15:27:38 +02:00
Mole a3d74bb79f Remove public Logger from DataEditor
It was only used one place where it shouldn't be used
2020-09-18 14:45:22 +02:00
Mole 578e8c4f9e Use MS ILogger for DataEditor 2020-09-18 14:37:19 +02:00
Andy Butland b9e67dde55 Added configuration validation for models builder and hosting settings.
Renamed models builder config class suffix to match others.
2020-09-18 12:53:10 +02:00
Mole d61b9f54fa Merge options 2020-09-18 12:53:06 +02:00
Andy Butland eb62789b68 Added configuration validation for content imaging settings. 2020-09-18 12:02:12 +02:00
Andy Butland 1f8d7f18be Added configuration validation for content and request handler settings. 2020-09-18 11:30:26 +02:00
berg f6f0687bf8 fix in syntax after merge
Signed-off-by: berg <mail@bergmania.dk>
2020-09-18 09:11:16 +02:00
Mole df7617ec98 Register NullLogger in ComponentTests 2020-09-18 08:39:38 +02:00
berg a2a5e25713 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/use-serilog-to-log-all-messages
Signed-off-by: berg <mail@bergmania.dk>
2020-09-18 08:34:20 +02:00
berg f11391961f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/use-serilog-to-log-all-messages
# Conflicts:
#	src/Umbraco.Tests.Integration/TestServerTest/UmbracoBuilderExtensions.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
2020-09-18 08:31:09 +02:00
Bjarke Berg d7ab7d3d2e Removed test code
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-18 08:30:48 +02:00
Bjarke Berg 81f670f10a Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB8239-nuget-updates 2020-09-18 08:24:29 +02:00
Bjarke BergandGitHub 9cfae2c935 Merge pull request #8891 from umbraco/netcore/feature/8651-config-options-pattern-refactor
Netcore: Replace configurations with IOptions pattern
2020-09-18 08:20:03 +02:00
berg 738bdfbbdd Moved umbraco file logging into minimal config
Signed-off-by: berg <mail@bergmania.dk>
2020-09-18 07:46:36 +02:00
Bjarke Berg 380bec0e2f Fixed wrong config file path
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-18 07:05:40 +02:00
Shannon bc6952d77c Ensures the user service returns the real error when the current user fails, ensures we add the standard header to all ajax requests so they can be detected 2020-09-18 14:55:33 +10:00
Elitsa Marinovska 66f35f428d Updates nuspec files with new nuget packages version 2020-09-17 18:47:24 +02:00
Elitsa Marinovska 0f9595a5b1 Updates nuget packages versions to latest 2020-09-17 17:58:11 +02:00
Bjarke Berg 1b7bd7bcd9 Register ILogger<> 2020-09-17 15:31:32 +02:00
Bjarke Berg 1dad22403a Fix issue with dll not found 2020-09-17 15:20:24 +02:00
Bjarke Berg 8c31a4d6e6 Fix issue with dll not found 2020-09-17 15:16:13 +02:00
Nikolaj b18f0b2b69 Add csproj files 2020-09-17 14:34:04 +02:00
Nikolaj 0bb8e238c3 Use MS ILogger Upgrader 2020-09-17 13:36:26 +02:00
Nikolaj 140cf69027 Use MS ILogger for XmlStore and BackgroundTask 2020-09-17 13:14:02 +02:00
Nikolaj c89659c597 Use MS ILogger in database stuff 2020-09-17 12:52:25 +02:00
Nikolaj 4b254a02a8 Use MS Ilogger for FileSystem 2020-09-17 11:35:29 +02:00
Lars-Erik AabechandGitHub deb03e4d82 Eliminates error/no-preview when grid media picker have no crop set (#8620) 2020-09-17 11:32:52 +02:00
Nikolaj ccf63bac5b Use ILoggerFactory in GetScopeProvider in TestObjects 2020-09-17 10:57:03 +02:00
Nikolaj ecb4831855 Apply repository related fixes to tests 2020-09-17 10:35:11 +02:00
Bjarke Berg a7c3b2dab8 Clear default log providers 2020-09-17 09:59:13 +02:00
Nikolaj 001df5f5a1 Use Microsoft ILogger in Repositories 2020-09-17 09:42:55 +02:00
Bjarke Berg 8b7a2f490d remove connectionstring from config 2020-09-17 09:38:50 +02:00
Bjarke Berg 7d3bc9be1c Moved serilog config to appsettings and configured it to also catch MS logging messages.
Added Console log for Development
2020-09-17 09:01:10 +02:00
Nikolaj 9511c99ee7 Use loggerfactory with debug instead of DebugDiagnosticsLogger 2020-09-17 08:28:49 +02:00
Shannon 9c5ad79a1f bumps version 2020-09-17 16:16:08 +10:00
Shannon 75dc416ed9 Merge remote-tracking branch 'origin/v8/8.8' into v8/feature/no-local-login
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umblogin.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/user/user.html
#	src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html
#	src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-09-17 15:38:04 +10:00
Niels SwimbergheandNathan Woulfe 312dc1d9a7 Change wrong URL in KeepAlive XML Comments
The XML comments for KeepAlive mention the URL for the KeepAlive.Ping action but incorrectly omits 'umbraco' from the path.
The change adds the 'umbraco' section to the path.
2020-09-17 12:25:09 +10:00
Nikolaj 87774b789c Add LoggerFactory to TestHelper and fix a bunch of tests 2020-09-16 15:17:42 +02:00
Niels Lyngsø 1fc8e826f6 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/umb-property-info-button 2020-09-16 15:08:27 +02:00
Niels Lyngsø 9882edeca0 added translation to demo implementation 2020-09-16 14:54:25 +02:00
Nikolaj 611276a5eb Fake SiriLogger for now and start using MSLogger more places 2020-09-16 14:29:33 +02:00
Nikolaj 120e163682 Begin trying to replace logger in Current 2020-09-16 13:46:45 +02:00
Bjarke Berg 1334fd0c5e Typo 2020-09-16 11:47:37 +02:00
Nikolaj 52051629ba Use generic logger in controllers 2020-09-16 10:55:41 +02:00
Shannon 559a4b00ad Allows custom view for external login provider to manage it's own form, updates umbLogin component to allow 3rd party interaction 2020-09-16 18:45:14 +10:00
Nikolaj bd972e1be2 Completely remove LoggerExtensions 2020-09-16 10:27:21 +02:00
Nikolaj a18580c7f6 Remove Debug<T> from LoggerExtensions 2020-09-16 10:24:05 +02:00
Nikolaj 488093add3 Remove LogWarning<T> from LoggerExtensions 2020-09-16 10:08:18 +02:00
Nikolaj dda6fb12a3 Remove LogError<T> from LoggerExtensions 2020-09-16 09:40:49 +02:00
Nikolaj e870823e81 Merge branch 'netcore/netcore' into netcore/feature/migrate-logging 2020-09-16 08:59:30 +02:00
Nikolaj 80ee2356d5 Fix a bunch of tests and try to add ILoggerFactory to Current 2020-09-16 08:57:06 +02:00
Shannon bc3f27d550 Ensures the OnAutoLinking event fires when the user exists, adds try/catches around the event so the event can bubble up errors to the UI 2020-09-16 12:36:39 +10:00
Nikolaj 4492d48aef Inject IFactory and ILogger more places 2020-09-15 15:42:04 +02:00
Nikolaj 633d42039e Fix a whole bunch of other errors 2020-09-15 15:14:44 +02:00
Bjarke Berg af59a7a0b9 Do not login after install. This currently leads to issues due to the restart. 2020-09-15 13:47:54 +02:00
Bjarke Berg b7a48686f0 Updates based on review feedback 2020-09-15 13:18:01 +02:00
Nikolaj 44848e567c Use ILoggerFactory for examine stuff 2020-09-15 13:00:59 +02:00
Nikolaj 0238d6eb02 Start using LoggerFactory 2020-09-15 12:40:35 +02:00
Bjarke Berg 9c91dd5994 Fixed test 2020-09-15 12:23:41 +02:00
Bjarke Berg 5836ca3da4 Bugfix - Imagesharp cache folder is not relative to root but to the wwwroot. "~" is not replaced with root 2020-09-15 10:27:23 +02:00
Bjarke Berg 9d91e629c6 Bugfix in CheckIfUserTicketDataIsStaleAttribute 2020-09-15 10:13:05 +02:00
Nikolaj 9fa4319940 Remove some TODO 2020-09-15 10:06:17 +02:00
Nikolaj 90a16f49c7 Fix up some tests 2020-09-15 10:03:56 +02:00
Nikolaj 433d9fcfe3 Merge branch 'netcore/netcore' into netcore/feature/migrate-logging 2020-09-15 09:38:57 +02:00
Nikolaj f22e4ac9ba Add more injection into UmbracoIndexCreator and UmbracoMemerIndex 2020-09-15 09:37:25 +02:00
Bjarke Berg 4918841154 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/8651-config-options-pattern-refactor 2020-09-15 09:36:29 +02:00
Bjarke Berg 7d8c9ee4c9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-09-15 09:35:57 +02:00
Bjarke Berg c9243d9d61 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-09-15 09:35:05 +02:00
Nikolaj 4a9cc9e457 Add more logging fixes 2020-09-15 09:12:29 +02:00
Bjarke Berg b4353585c3 Simplifyed the ConnectionStrings config 2020-09-15 09:11:36 +02:00
Nikolaj 554d2f6f64 Fix TypeLoader and PublishedRouter 2020-09-15 09:00:14 +02:00
Nikolaj 02828db8fd Add work on PublishedSnapshotService 2020-09-15 08:45:40 +02:00
Bjarke Berg 4a4b57ef87 bugfixes related to no umbraco connection string
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-14 21:53:56 +02:00
Bjarke Berg ce2da18304 Fixed based on review comments
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-14 21:27:31 +02:00
Shannon 8b89c73873 Ensure the user's name is locked when deny local login 2020-09-15 00:23:55 +10:00
Bjarke Berg dc8933b6b9 Removed test code 2020-09-14 15:05:32 +02:00
Shannon be00934425 reverts the umb-button change 2020-09-14 22:53:26 +10:00
Bjarke Berg 8141e7c6c8 Bugfix 2020-09-14 14:35:57 +02:00
Nikolaj 5e17aa3bf1 Finish aligning ILogger to MS ILogger 2020-09-14 14:25:59 +02:00
Bjarke Berg 1599e74193 Removed Umbraco.Configuration project 2020-09-14 14:15:09 +02:00
Bjarke Berg e74570c0ac More clean up of old configs 2020-09-14 14:12:38 +02:00
Nikolaj 161061dbbc Remove exception logging and finish LogWarning 2020-09-14 14:10:19 +02:00
Warren BuckleyandGitHub 2e055ca146 Merge pull request #7599 from umbraco/v8/feature/ui-media-create-button-style
UI: corrected button style to match new style
2020-09-14 12:02:26 +01:00
Bjarke Berg 4173a2fb20 More clean up of old configs 2020-09-14 12:58:41 +02:00
Bjarke Berg acb46119be More clean up of old configs 2020-09-14 12:57:47 +02:00
Niels Lyngsø 4a8703d5a3 no message 2020-09-14 11:56:50 +02:00
Bjarke Berg 1b4b17cbae More clean up of old configs 2020-09-14 11:56:22 +02:00
Nikolaj db4652c0be Align fatal exception with message 2020-09-14 11:49:47 +02:00
Nikolaj b8c60d1666 Refactor Fatal with simple message 2020-09-14 11:23:17 +02:00
Nikolaj a1ecc4a5c9 Change Warn to LogWarning 2020-09-14 10:17:32 +02:00
Shannon 003d52bd87 Makes ChallengeResult public, adds more functionality to umb-button 2020-09-14 18:03:23 +10:00
Bjarke Berg e6ad34da1d More clean up of old configs 2020-09-14 09:13:53 +02:00
Nikolaj d7e3bce741 Rename Error to align it with MS ILogger 2020-09-14 09:10:53 +02:00
Bjarke Berg 5b90a469e9 More clean up of old configs 2020-09-14 09:01:57 +02:00
Bjarke Berg 2eee6d7386 Removed some of the old legacy configs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-11 21:13:18 +02:00
Shannon 26d8126497 More tests fixes up a few things with external login service, adds notes changes column to ntext 2020-09-11 14:37:31 +10:00
Shannon dd6e51aab5 Changes how the custom view works, it now entirely replaces umbraco's default behavior including what is rendered in the back office, this is for max flexibility 2020-09-11 01:20:54 +10:00
Shannon 3b23b85dd5 Adds more functionality to the external login table and services to store additional user data with the provider info and adds tests. 2020-09-11 00:02:57 +10:00
Bjarke Berg dc643ab6a6 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten
# Conflicts:
#	src/Umbraco.Core/Configuration/ModelsBuilderConfigExtensions.cs
#	src/Umbraco.ModelsBuilder.Embedded/BackOffice/ContentTypeModelValidatorBase.cs
#	src/Umbraco.ModelsBuilder.Embedded/BackOffice/ModelsBuilderDashboardController.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/ModelsGenerator.cs
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComposer.cs
#	src/Umbraco.ModelsBuilder.Embedded/ModelsGenerationError.cs
#	src/Umbraco.ModelsBuilder.Embedded/OutOfDateModelsStatus.cs
#	src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
#	src/Umbraco.Web.BackOffice/Controllers/RedirectUrlManagementController.cs
2020-09-10 14:01:38 +02:00
Bjarke Berg a4e5029912 Refactored to remove Configs 2020-09-10 13:51:59 +02:00
Nikolaj 6fb33043e5 Add javascript tests 2020-09-10 11:15:43 +02:00
Nikolaj f82a4c19cb Wait for content to be refreshed and switch order of rollback 2020-09-10 09:30:07 +02:00
Bjarke Berg 7f89299150 Fixed tests 2020-09-10 09:04:17 +02:00
Nikolaj a4abfd4962 Add Content with contentpicker test and bump helpers version 2020-09-10 08:52:18 +02:00
Bjarke Berg fc054e6546 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Tests.AcceptanceTest/cypress/integration/Tour/backofficeTour.ts
#	src/Umbraco.Tests.AcceptanceTest/package.json
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ImageUrlGeneratorController.cs
#	src/Umbraco.Web.BackOffice/Controllers/ImagesController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
#	src/Umbraco.Web.BackOffice/Controllers/MemberTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/RelationTypeController.cs
#	src/Umbraco.Web.BackOffice/Controllers/TemplateController.cs
#	src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js
#	src/Umbraco.Web.UI.Client/src/installer/steps/database.html
#	src/Umbraco.Web.UI.Client/src/less/components/tree/umb-tree.less
#	src/Umbraco.Web.UI.Client/src/less/components/umb-property-actions.less
#	src/Umbraco.Web.UI.Client/src/less/forms.less
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/querybuilder/querybuilder.html
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/treepicker/treepicker.html
#	src/Umbraco.Web.UI.Client/src/views/components/application/umb-navigation.html
#	src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-actions.html
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.html
#	src/Umbraco.Web.UI.Client/src/views/dictionary/edit.html
#	src/Umbraco.Web.UI.Client/src/views/dictionary/list.html
#	src/Umbraco.Web.UI.Client/src/views/logViewer/search.html
#	src/Umbraco.Web.UI.Client/src/views/media/media.edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/mediaTypes/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/member/member.edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/memberTypes/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/packages/views/repo.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/layoutconfig.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowconfig.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts/list/list.listviewlayout.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/userpicker/userpicker.controller.js
#	src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
#	src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Media.cshtml
#	src/Umbraco.Web.UI/config/umbracoSettings.config
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
#	src/Umbraco.Web/Editors/DictionaryController.cs
#	src/Umbraco.Web/Editors/LogController.cs
#	src/Umbraco.Web/Editors/MediaTypeController.cs
#	src/Umbraco.Web/Editors/MemberGroupController.cs
2020-09-09 19:13:37 +02:00
Bjarke Berg d14e2a99bc Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	.gitignore
#	build/NuSpecs/tools/Web.config.install.xdt
#	src/Umbraco.Core/ContentExtensions.cs
#	src/Umbraco.Infrastructure/Intall/InstallHelper.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockEditorModel.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockItemData.cs
#	src/Umbraco.Infrastructure/Models/Blocks/BlockListLayoutReference.cs
#	src/Umbraco.Infrastructure/Models/Mapping/CommonMapper.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/BlockListConfigurationEditor.cs
#	src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Tests/PropertyEditors/BlockListPropertyValueConverterTests.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web/Compose/NestedContentPropertyComponent.cs
2020-09-09 14:16:46 +02:00
Bjarke BergandGitHub bf70c03c4a Merge pull request #8851 from umbraco/netcore/feature/ModelsBuilderEmbedded-migration-roslyn-compiler
Netcore/feature/models builder embedded migration roslyn compiler
2020-09-09 14:10:09 +02:00
Bjarke Berg 06713ea03a Clean up + reintroduced some notes, that will maybe be usefull when website rendering is ready
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-09 12:46:23 +02:00
Bjarke Berg 1923cf013c Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/ModelsBuilderEmbedded-migration-roslyn-compiler 2020-09-09 12:38:16 +02:00
Bjarke Berg 164c62841d Added seperators (newlines) between parts of the string used for the hash
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-09 11:17:21 +02:00
Bjarke Berg 79bfe22650 Added internals visible to for test projects
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-09 11:15:44 +02:00
Bjarke Berg 8a68ba9547 Removed the init of legacy MB. Future versions of the full MB will have to disable the embedded MB
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-09 11:15:14 +02:00
Shannon 2d50245a7d remove notes 2020-09-09 18:11:38 +10:00
Shannon d00fb23e9a automatically flow any added claims in OnExternalLogin to the ticket (with notes) 2020-09-09 18:11:10 +10:00
Shannon c7c7d9efcd Updates the invite flow, we will always create a local user because we must do that due to the user groups being pre-determined. 2020-09-09 18:09:16 +10:00
Bjarke BergandGitHub d80a9cbe58 Merge pull request #8852 from umbraco/netcore/bugfix/disable-url-tracking
NetCore: Fix for disabling/enabling url tracking
2020-09-08 20:50:51 +02:00
Bjarke Berg 43a11a637d https://github.com/umbraco/Umbraco-CMS/issues/8835: Moved DisableRedirectUrlTracking checks into the events, as it can be disabled/enabled without restart in netcore
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-08 20:49:04 +02:00
Elitsa Marinovska 78dd6c40da Fixes issue https://github.com/umbraco/Umbraco-CMS/issues/8835 on alpha001 regarding disabling/enabling url tracking 2020-09-08 15:50:52 +02:00
Nikolaj 6cd8617202 Fix tests 2020-09-08 15:17:57 +02:00
Bjarke BergandGitHub 55491338d9 Merge pull request #8847 from umbraco/netcore/bugfix/mapping-from-route
NetCore: Fix for mapping route param
2020-09-08 15:02:26 +02:00
Elitsa Marinovska 0f7ad6b00c Fixes issue https://github.com/umbraco/Umbraco-CMS/issues/8816 on alpha001 regarding incorrect mapping of id param 2020-09-08 13:12:36 +02:00
Bjarke Berg e079bd5a50 Cleanup usages of Configs 2020-09-08 13:03:43 +02:00
Nikolaj a6580cc3c5 Add documentation comments to RoslynCompiler and LoadContext 2020-09-08 12:24:34 +02:00
Nikolaj fc83ea5edd Remove more generated files 2020-09-08 11:23:27 +02:00
Nikolaj 2bb3612bcb Enable models builder 2020-09-08 10:57:15 +02:00
Nikolaj 7496e7c9a0 Set ModelsBuilderConfig back to default to true 2020-09-08 10:56:41 +02:00
Nikolaj 7ac4e6c387 Disabling pre compiled view should be a workaround and not default 2020-09-08 10:42:39 +02:00
Nikolaj 983ac2cca5 Remove CodeGen var
I believe this was used for the build manager which would get maed if the base directory changed, roslyn shouldn't care though
2020-09-08 10:34:47 +02:00
Nikolaj b6be2b4a0c Remove pure live generated cs files
They will cause a myriad of trouble
2020-09-08 10:27:05 +02:00
Nikolaj 3eb897a16f Move genereated files to the Umbraco folder 2020-09-08 10:21:11 +02:00
Bjarke Berg 3efee8284a Post merge fixes 2020-09-07 15:28:58 +02:00
Nikolaj f14b3f78a9 Remove unused usings 2020-09-07 12:44:24 +02:00
Nikolaj 5321f493ec Remember to use assemblyPath variable in CompileToFile 2020-09-07 12:37:47 +02:00
Nikolaj 5d12f99eaf SImplify roslyn compiler
Since the old assemblies actually gets deleted now  we no longer need to check if the old assembly file exists
2020-09-07 12:01:25 +02:00
Nikolaj 00365fc455 Clean roslyncompiler a bit
There's no reason to just return the saveLocation parameter
2020-09-07 11:47:46 +02:00
Nikolaj 872364cfb3 Update constructor in PublishedModelFactory 2020-09-07 11:34:12 +02:00
Shannon af53f27bc3 Fixes testing custom invite user flow and the AllowManualLinking setting for external providers 2020-09-07 18:46:38 +10:00
Nikolaj 5f6680f191 Use filestream to be able to delete the old asemblies 2020-09-07 10:19:25 +02:00
Bjarke Berg e5bb9a22d0 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten 2020-09-07 09:43:14 +02:00
Nikolaj 00b30f74c7 Fix 2020-09-07 09:06:46 +02:00
Nikolaj 6d599b5f48 Switch to default AssemblyLoadContext 2020-09-07 09:03:09 +02:00
Bjarke Berg 13ad1e0a88 remove hardcoded version number
Signed-off-by: berg <mail@bergmania.dk>
2020-09-04 20:12:49 +02:00
Bjarke Berg c8669b18c2 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 14:30:48 +02:00
Bjarke BergandGitHub 1218f3564c Merge pull request #8798 from umbraco/netcore/bugfix/integration-tests-examine-indexes
Fixes integration tests bootstrapping
2020-09-04 10:54:43 +02:00
Bjarke Berg 7b465de164 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/reset_password 2020-09-04 10:40:32 +02:00
Mole 1000e19a20 Try and use AssemblyLoadContext to load and unload assemblies
This still doesn't work, since the old assembly never gets freed allowing it to be unloaded, my best guess is that there's some references to the types within in the old assembly somewhere which doesn't get cleared.
2020-09-04 10:38:37 +02:00
Bjarke Berg a58859ade6 updated version to 0.5.0-alpha002
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:39:46 +02:00
Bjarke Berg d69c93e4ee https://github.com/umbraco/Umbraco-CMS/issues/8814 - Decoreated endpoints with DetermineAmbiguousActionByPassingParametersAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:32:35 +02:00
Bjarke Berg ed2fa27b18 Fix issue with login url
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:26:24 +02:00
Shannon f2b8f355e1 Fixing up user invite event 2020-09-04 15:02:28 +10:00
Shannon 56a73d0395 More options for external providers with a toggle to not allow manual linking 2020-09-04 14:32:34 +10:00
Shannon 123e3cb22b fix build 2020-09-04 10:12:55 +10:00
Shannon 855a58a3cc fix tests 2020-09-04 01:40:46 +10:00
Shannon 1c83c68862 Fixes integration tests localization text 2020-09-04 01:30:47 +10:00
Shannon e6b6dd6d92 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/integration-tests-examine-indexes 2020-09-04 00:30:46 +10:00
Shannon 734b222e1b cleanup 2020-09-04 00:30:06 +10:00
Shannon 16e4ffb725 Fixes unsubscribing from static events on Terminate 2020-09-04 00:28:38 +10:00
Shannon 7c78b5b34f Updates CoreRuntime with better dependencies so we can disable caches, fixes integration test to run multiple callbacks registered for TearDown, ensure we TearDown the runtime. 2020-09-04 00:27:43 +10:00
Nikolaj 63c25b8695 Start out with AssemblyLoadContext 2020-09-03 15:24:57 +02:00
Nikolaj ba3ed003f1 Remove the last stuff I can find 2020-09-03 15:03:02 +02:00
Nikolaj 870bd825d4 Remove more stuff that seemingly does nothing anymore 2020-09-03 14:58:21 +02:00
Nikolaj ef02a32a2c Try and do something which might sometimes delete some old assemblies 2020-09-03 14:53:36 +02:00
Bjarke Berg 02648eb5a6 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten 2020-09-03 14:37:56 +02:00
Bjarke Berg 6f6d9cb938 Fixed issue with wrong link to GetSetup method on InstallApiController 2020-09-03 14:37:29 +02:00
Nikolaj 508a2b9077 Remove some build manager stuff 2020-09-03 14:18:09 +02:00
Nikolaj ee424ad160 Remove unused ReferencedAssemblies 2020-09-03 13:50:54 +02:00
Nikolaj 1bbb6844ac Don't try to save a file that already exists 2020-09-03 13:30:34 +02:00
Andy Butland 88e3c58647 Fixed issue after merge. 2020-09-03 13:02:29 +02:00
Nikolaj 7b27a56ee9 Use determenistic hash 2020-09-03 13:01:50 +02:00
Andy Butland 885c8d2371 Merge branch 'feature/8651-config-options-patten' of https://github.com/AndyButland/Umbraco-CMS into feature/8651-config-options-patten 2020-09-03 12:57:35 +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
Nikolaj aa1807bd5a Reuse compiled assembly again if no changes are detected
It's not pretty, but it works...
2020-09-03 10:31:45 +02:00
Nikolaj 624e57f304 Only add distrinct metadatareferences 2020-09-03 08:34:29 +02:00
Nikolaj 28c28519f0 Follow TODO and change Refresh to Reset 2020-09-03 08:34:07 +02:00
Nikolaj 7f6f924da6 Remove duplicate metadatareferences 2020-09-03 08:25:23 +02:00
Nikolaj 3efb60ba28 Remove unused stuff. 2020-09-02 15:46:48 +02:00
Nikolaj 69191088e3 Save compiled assembly in TEMP 2020-09-02 15:35:05 +02:00
Nikolaj aeb7977c60 Load new argument 2020-09-02 15:18:22 +02:00
Nikolaj 8fd1d0a867 Add appsettings change 2020-09-02 14:47:18 +02:00
Nikolaj 1eb7e9c1eb Add further progress 2020-09-02 14:44:01 +02:00
Shannon 775360ef78 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/integration-tests-examine-indexes 2020-09-02 18:27:53 +10:00
Shannon a5772f10e1 comments 2020-09-02 18:21:51 +10:00
Shannon b5d2adaf25 remove explicit 2020-09-02 18:20:30 +10:00
Shannon 27586d9f19 removes proj ref that wasn't needed 2020-09-02 18:19:27 +10:00
Nikolaj 064acda304 First shake at RoslynCompiler 2020-09-02 10:17:33 +02:00
Shannon f84a93ae20 Adds IUmbracoBuilder to build the config so it's easier to split apart, ensures background tasks don't run in integration tests, uses a custom CoreRuntime to ensure we use SimpleMainDom, re-wires the UmbracoWebApplicationFactory so that duplicate Hosts are not running at the same time, fixes issues with overriding/shadowing, uses RAMDirectory in lucene for tests, fixes CoreRuntime's events that we're moved incorrectly and not backwards compat, adds new real non static events which we can use in integration tests to install the DB before the runtime state is calculated 2020-09-02 18:10:29 +10:00
Bjarke Berg 97e6d76ec9 Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten 2020-09-02 10:03:53 +02:00
Bjarke Berg edca4af7f4 Fix MaxFailedAccessAttemptsBeforeLockout from config 2020-09-02 10:03:35 +02:00
Bjarke Berg 90d14158ee Clean up - Removed duplicate ctor in UmbracoVersion 2020-09-02 09:05:55 +02:00
Andy Butland 8638419088 Fixed dependency resolution issue in PackagingService. 2020-09-02 08:41:41 +02:00
Andy Butland f1bda37a64 Updates following PR review. 2020-09-01 18:10:12 +02:00
Bjarke Berg cb88865a7d Added iconApiBaseUrl to BareMinimumServerVariables 2020-08-31 15:23:43 +02:00
Shannon 3cac678bf3 WIP creating invite event 2020-08-31 22:53:17 +10:00
Shannon a110d4d216 Ensures Smidge is configured to use Nuglify 2020-08-31 22:46:17 +10:00
Bjarke Berg 63c8555122 missing import 2020-08-31 13:56:25 +02:00
Bjarke Berg 4a150859cd Fixed reset password for functionality 2020-08-31 13:39:29 +02:00
Bjarke Berg edd457c24b Force Examine to run in sync for integration tests 2020-08-31 11:31:56 +02:00
Bjarke BergandGitHub 30b1d52e67 Merge pull request #8750 from idseefeld/netcore/fix-install-api-url
Netcore/fix install api url
2020-08-28 16:46:02 +02:00
Dirk Seefeld 7791fdcafa ensure the the install api url ends with / to respect umbraco.installer.js method 2020-08-28 16:07:21 +02:00
Andy Butland bdfa1fb644 Removed the server option to allow synchronous IO. 2020-08-28 12:56:40 +02:00
Andy Butland b1f6fb914f Resolves issue with rendering back-office media selections when synchronous IO is not allowed. 2020-08-28 11:54:36 +02:00
Bjarke BergandGitHub 162861d0c4 Merge pull request #8731 from umbraco/netcore/feature/FileNameTests
NetCore: Add file name tests
2020-08-28 09:50:13 +02:00
Shannon 44cec326e9 need another build 2020-08-28 16:05:47 +10:00
Andy Butland 1d124ea0ac Merge branch 'netcore/netcore' into feature/8651-config-options-patten
# Conflicts:
#	src/Umbraco.Tests.Integration/Persistence/Repositories/DictionaryRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Persistence/Repositories/LanguageRepositoryTest.cs
#	src/Umbraco.Tests.Integration/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
#	src/Umbraco.Tests/Services/UserServiceTests.cs
2020-08-27 18:58:12 +02:00
Shannon 4f1d9997d5 removes custom invite link, adds ability in logout event to specify an external logout get redirect for external logins. 2020-08-28 02:10:08 +10:00
df4677e970 Update src/Umbraco.Tests.UnitTests/Umbraco.Web.Common/FileNameTests.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-08-27 11:31:46 +02:00
Bjarke BergandGitHub cbe06e11b2 Merge pull request #8645 from umbraco/netcore/feature/AB7481-umbraco-tests-migration
NetCore: Migrating some Repository tests
2020-08-27 10:45:59 +02:00
Andy Butland e6ac534069 Resolved post-merge issues. 2020-08-27 09:27:11 +02:00
Andy Butland 2a59a8385c Merge branch 'netcore/netcore' into feature/8651-config-options-patten
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/GlobalSettingsBuilder.cs
#	src/Umbraco.Tests/TEMP/DatabaseContextTests.sdf
#	src/Umbraco.Web.BackOffice/Controllers/ImagesController.cs
2020-08-27 09:03:01 +02:00
Bjarke Berg 361125e84b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/merge-v8-into-netcore-netcore
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-08-27 08:39:02 +02:00
Andy Butland 4e222f103e Reintroduced legacy config into CoreRuntime to support remaining use of Current.Configs (e.g. in UserInvite) 2020-08-26 18:21:09 +02:00
Bjarke Berg 9d79b46949 Merge remote-tracking branch 'origin/v8/8.7' into netcore/netcore 2020-08-26 15:49:19 +02:00
Bjarke Berg 77520733d4 Fixed issue with source link referenced in nuget package 2020-08-26 13:32:09 +02:00
Andy Butland c0134b0b74 Added files missing from previous commit. 2020-08-26 12:30:20 +02:00
Bjarke Berg 4eb097d617 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-08-26 12:01:11 +02:00
Bjarke Berg ba129fa927 Skip ExamineLuceneComposer if not on windows and reintroduce ExamineComposer 2020-08-26 12:01:01 +02:00
Andy Butland 64f8752587 Removed introduced second constructors for IOptions based depenedencies and used Options.Create instead. 2020-08-26 11:58:44 +02:00
Andy Butland 96104b9fdf Fixed further failing tests. 2020-08-26 11:29:21 +02:00
Bjarke BergandGitHub e85b914868 Merge pull request #8730 from umbraco/netcore/feature/lowercase-view-paths
Changed all view paths to lowercase from gulp
2020-08-26 10:50:47 +02:00
Bjarke Berg f286fdd855 Skip ExamineComposer if not on windows 2020-08-26 10:50:31 +02:00
Nikolaj 1243b7e127 Remove out of date TODO 2020-08-26 10:21:43 +02:00
Nikolaj fd7e46588e Remove unused partialViewMacro tests 2020-08-26 10:17:41 +02:00
Nikolaj 9a243566ae Use Path.DirectorySeperatorChar for InstallView test 2020-08-26 10:09:24 +02:00
Nikolaj 3e3f91c14d No longer use relative path to find views 2020-08-26 09:55:14 +02:00
Bjarke Berg 25a7a2c7fb Changed all view paths to lowercase from gulp 2020-08-26 09:44:15 +02:00
Andy Butland 25849703cc Fixed further failing tests. 2020-08-26 09:09:52 +02:00
Bjarke Berg 459e730510 Fix issues after merge 2020-08-26 08:17:05 +02:00
Bjarke Berg 3d55dcd3c4 Merge remote-tracking branch 'netcore/dev' into netcore/netcore 2020-08-26 08:05:15 +02:00
Andy Butland 8fd59d546e Fixed failing tests. 2020-08-26 07:55:23 +02:00
Andy Butland 8666547cf1 Updated configuration models used within Umbraco.ModelsBuilder.Embedded project. 2020-08-25 14:19:33 +02:00
Bjarke Berg ca3f65891d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-08-25 14:00:59 +02:00
Andy Butland 8241643183 Resolved various failing tests. 2020-08-25 12:30:43 +02:00
Andy Butland b4e01392d9 Removed registration of old-style configuration in Netcore executable. 2020-08-25 11:00:11 +02:00
Andy Butland 967f0be705 Aligned property names in code with those in configuration. 2020-08-25 10:45:54 +02:00
Andy Butland 2c05718689 Restored Umbraco.Tests.Benchmarks. 2020-08-25 10:25:30 +02:00
Andy Butland ae6fdede76 Restored Umbraco.Tests to compiling state. 2020-08-25 10:23:50 +02:00
Andy Butland 2ed3568295 Fix after merge. 2020-08-25 10:11:19 +02:00
Andy Butland 2ea89acaaa Merge branch 'netcore/netcore' into feature/8651-config-options-patten
# Conflicts:
#	src/Umbraco.Infrastructure/Services/Implement/NotificationService.cs
2020-08-25 10:09:54 +02:00
Andy Butland aedd7563a4 Restored Umbraco.Tests (further) 2020-08-24 22:58:23 +02:00
Bjarke Berg c561b256bf Updated solution to include correct filenames 2020-08-24 18:09:16 +02:00
Bjarke Berg 0a954d1804 Fix issue with build targets after nuget rename 2020-08-24 18:01:56 +02:00
Andy Butland 863a7195b2 Restored Umbraco.Tests (partially) 2020-08-24 16:06:09 +02:00
Bjarke Berg b5b492106d Clean up by moving stuff from Startup.cs into extention methods 2020-08-24 14:23:08 +02:00
Bjarke Berg 892a7e0b34 Changed default value of HideTopLevelNodeFromPath to true 2020-08-24 14:16:34 +02:00
Bjarke Berg 49ce3da698 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/netcore 2020-08-24 14:16:04 +02:00
Bjarke Berg c0d4516e15 Updated default config files 2020-08-24 14:15:53 +02:00
Bjarke BergandGitHub 95523e2a93 Merge pull request #8677 from umbraco/netcore/bugfix/send-notifications-dont-use-stmp-info-from-config
Netcore: Fixes issue with notifications that did not use the SMTP from config
2020-08-24 14:14:22 +02:00
Andy Butland adf687579c Restored Umbraco.Tests.IntegrationTests (some failures remaining) 2020-08-24 12:34:37 +02:00
Bjarke BergandGitHub 0f72339d4a Merge pull request #8678 from umbraco/netcore/bugfix/scope-asynclocal-enumerable-issue
Fixes issue with scopes being disposed or referenced incorrectly
2020-08-24 11:52:57 +02:00
Andy Butland 9bd8b894b8 Restored Umbraco.Tests.UnitTests 2020-08-24 10:52:48 +02:00
Andy Butland 7774878c26 Restored Umbraco.Tests.Common 2020-08-24 09:56:27 +02:00
Andy Butland c3c8d79720 Merge branch 'netcore/netcore' into feature/8651-config-options-patten 2020-08-24 09:45:25 +02:00
Andy Butland 7884e4ca17 Resolved issues such that application boots and back-office is navigable. 2020-08-24 09:29:40 +02:00
Bjarke Berg 31e8acb875 Renamed nuget pacakges to Umbrac.Cms.* 2020-08-24 09:23:37 +02:00
Nikolaj b944142905 Add PreviewViewExists test 2020-08-24 08:45:41 +02:00
Shannon DeminickandGitHub 46aee2536e Merge pull request #8674 from umbraco/netcore/feature/update_user_on_login
Netcore: Update user on successful login
2020-08-24 14:31:44 +10:00
Shannon DeminickandGitHub 826e5ec49b Merge pull request #8672 from umbraco/netcore/feature/migrate_api_GetCurrentUserLinkedLogins
NetCore: Migrate GetCurrentUserLinkedLogins api
2020-08-24 14:26:14 +10: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 2f22313ceb Restored Umbraco.Web and added temporary methods for converstion between legacy and new configuration models to maintain build. 2020-08-23 15:58:37 +02:00
Andy Butland 89b725ef28 Reverted non netcore related project amends in order to limit changes to those necessary for the netcore executable call stack. 2020-08-23 14:05:35 +02:00
Andy Butland 52a65caf88 Temporarily removed test and non netcore executable projects. 2020-08-21 15:27:06 +01:00
Andy Butland 510bd92e78 Amended injection of further settings to use IOptionsSnapshot. 2020-08-21 14:52:47 +01:00
Mole 00f1e4a247 Assert that the view exists in InstallControllerTest 2020-08-21 14:20:30 +02:00
Mole 157068105c Remember to actually add the test 2020-08-21 13:53:57 +02:00
Mole 16db36eecd Start working on tests 2020-08-21 13:53:27 +02:00
Bjarke Berg 8330983dfd Merge remote-tracking branch 'origin/netcore/feature/AB7446-ModelsBuilderEmbedded-migration' into netcore/feature/AB7446-ModelsBuilderEmbedded-migration 2020-08-21 13:52:24 +02:00
Bjarke Berg 66a0125d3f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB7446-ModelsBuilderEmbedded-migration
# Conflicts:
#	build/NuSpecs/UmbracoCms.Web.nuspec
2020-08-21 13:26:00 +02:00
Niels Lyngsø 6a5bfcaa9c first take on umb-property-info-button 2020-08-21 10:09:15 +02:00
Bjarke Berg 140b1e950e Fix tests 2020-08-21 08:42:14 +02: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 d2f7c11e89 Fixes issue with scopes being disposed or referenced incorrectly 2020-08-21 00:02:35 +10:00
Shannon 5e04f1d024 ignore file update 2020-08-21 00:01:05 +10:00
Shannon 435724a28f Merge branch 'netcore/netcore' of https://github.com/umbraco/Umbraco-CMS into netcore/netcore 2020-08-21 00:00:32 +10:00
Shannon 05851bc446 Delete and ignore files that shouldn't be there 2020-08-21 00:00:17 +10:00
Bjarke Berg 6fb73502ed Fix issue with sending notifications, due to the StmpClient. Not we use the EmailSender that handles StmpClient correct 2020-08-20 14:46:22 +02:00
Bjarke Berg 0a88cfe510 Fix issue with query params not binding for PostNotificationOptions 2020-08-20 14:10:35 +02:00
Bjarke Berg bcfc9414d3 Update user on successfully login 2020-08-20 13:19:27 +02:00
Bjarke Berg a2b82970ac Migrate GetCurrentUserLinkedLogins api 2020-08-20 11:54:35 +02:00
Bjarke Berg 1c3090b078 Remove files that should not have been added to git 2020-08-20 11:51:51 +02:00
Bjarke Berg 803fdcc890 Merge remote-tracking branch 'origin/v8/8.7' into netcore/netcore
# Conflicts:
#	src/SolutionInfo.cs
2020-08-20 11:24:58 +02:00
Andy Butland 0f6e18023f Amended most configuration settings classes to public POCOs without interfaces, and loaded into services collection via loading the configuration section. 2020-08-20 08:24:23 +01:00
Bjarke BergandGitHub 1ef4a340e4 Merge pull request #8665 from umbraco/netcore/more-linux-optimizations
Netcore: Optimizations for non-windows development
2020-08-20 08:16:30 +02:00
Bjarke Berg f913aff5fb Using Enumerable.Empty<T> 2020-08-20 08:15:07 +02:00
Bjarke Berg 091a777b62 Conditional load of netframework dlls 2020-08-19 19:51:06 +02:00
Bjarke Berg b288c99e56 Register noop examine implementations in core, to be replaced by examine dll. 2020-08-19 19:42:58 +02:00
Andy Butland a3e84ea3a8 (WIP) migrated TourSettings to use IOptions pattern for configuration. 2020-08-19 14:14:01 +01:00
Bjarke BergandGitHub ead38a0f42 Merge pull request #8657 from umbraco/netcore/bugfix/directory-casing
Netcore: Renamed `Umbraco.Web.UI.Netcore\Umbraco` to `Umbraco.Web.UI.Netcore\umbraco`
2020-08-19 13:39:26 +02:00
Bjarke Berg da25953c2b Merge remote-tracking branch 'origin/netcore/bugfix/directory-casing' into netcore/bugfix/directory-casing 2020-08-19 12:49:36 +02:00
Bjarke Berg bd4c536a47 renamed Umbraco to umbraco 2020-08-19 12:49:04 +02:00
Bjarke Berg 5d4a95c96b renamed Umbraco to umbraco 2020-08-19 12:47:34 +02:00
Bjarke Berg 5f1cfc514e Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/move-tests
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Umbraco/UmbracoBackOffice/Default.cshtml
2020-08-19 11:39:53 +02:00
Bjarke Berg 0a2ebcd1f1 Use SqlMainDomLock if not windows 2020-08-19 09:39:11 +02:00
Bjarke Berg 023ec53a9a Dont try to load assemblies that is not used yet 2020-08-19 08:43:24 +02:00
Bjarke Berg 9049469f70 Bugfix cannot parse StringValues as bool. Use ToString first. 2020-08-19 08:42:45 +02:00
Shannon d43e36596e null check for back office view 2020-08-19 12:41:06 +10:00
Elitsa Marinovska 4edf002dd0 Migrating old tests to .net core test projects 2020-08-18 16:10:05 +02:00
Elitsa Marinovska 4f5fb0c9c3 Changes necessary for migrating old tests 2020-08-18 15:53:25 +02:00
Bjarke BergandGitHub 43efee9647 Merge pull request #8641 from AndyButland/defect/netcore-fixes-log-viewer-level-filter
Fixed log viewer level filter by correcting binding for provided array of selected values to filter by.
2020-08-18 13:53:44 +02:00
Bjarke Berg 3dd59c6b83 Support for parsing provider from azure connection strings 2020-08-18 13:49:15 +02:00
Andy Butland a2a850e1b2 Applied fix to query parameter binding for saving public access configuration on a content item. 2020-08-18 11:47:53 +01:00
Andy Butland 1f206766ab Fixed log viewer level filter by correcting binding for provided array of selected values to filter by. 2020-08-18 11:07:59 +01:00
Bjarke Berg 5f6de61391 Fix iss issue 2020-08-18 11:36:45 +02:00
Bjarke Berg 20c8ae1fa7 Change linux check to check windows instead 2020-08-18 10:22:01 +02:00
Nikolaj 577a9ae365 Remove remove tag and change json file to content 2020-08-17 15:55:30 +02:00
Nikolaj 37c1ba4081 Remove unused logging test files
logging tests has been moved to the new project
2020-08-17 14:31:27 +02:00
Nikolaj 994536e9d8 Merge remote-tracking branch 'origin/netcore/feature/move-tests' into netcore/feature/move-tests 2020-08-17 14:20:20 +02:00
bb7a98b106 Update src/Umbraco.Tests.UnitTests/TestHelpers/TestHelper.cs
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2020-08-17 14:20:04 +02:00
Nikolaj 7a2f1d7564 Revert "Remove unused test log "
This reverts commit 19b71a191f.
2020-08-17 14:16:14 +02:00
Nikolaj 44fb3ad429 Rename helper to testHelper in LogviewerTests 2020-08-17 14:12:54 +02:00
Nikolaj 07bcc91e21 Test 2020-08-17 14:09:56 +02:00
Bjarke Berg eed6c87978 fix issue with nuget version requested 2020-08-17 14:06:17 +02:00
Nikolaj 19b71a191f Remove unused test log 2020-08-17 14:03:07 +02:00
Bjarke Berg 2da7e3c54f Updated template default version to alpha001 2020-08-17 14:02:55 +02:00
Nikolaj 8e3500016f Merge branch 'netcore/netcore' into netcore/feature/move-tests 2020-08-17 11:59:20 +02:00
Bjarke Berg 6371fdbf4d post merge 2020-08-17 11:43:04 +02:00
Bjarke Berg 9ae878a185 Hardcode verion 9 in text, and change assembly versions to 0.5.0 2020-08-17 09:34:27 +02:00
Bjarke BergandGitHub 7b95494e30 Merge pull request #8572 from umbraco/netcore/bugfix/6970-backoffice-controller
Migrates remaining non-oauth actions on back office controller to netcore
2020-08-17 08:29:59 +02:00
Bjarke BergandGitHub 59d8b7965d Merge pull request #8385 from umbraco/netcore/feature/better-linux-support
Netcore: Changes to run on linux
2020-08-17 08:06:42 +02:00
Bjarke Berg f9ba200c21 LazyLoad casing 2020-08-16 11:30:49 +02:00
Bjarke Berg 1fd10dcb01 Merge remote-tracking branch 'origin/netcore/feature/better-linux-support' into netcore/feature/better-linux-support 2020-08-16 11:12:33 +02:00
Niels Lyngsø 41359a6544 adjust spacing 2020-08-14 14:55:31 +02:00
Niels Lyngsø 47412346c4 Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/property-label-on-top 2020-08-14 12:15:20 +02:00
Niels Lyngsø c478945373 Ability to put property label on top of editor 2020-08-14 12:14:35 +02:00
Bjarke Berg 5cc0f00074 Introduced WebPath.Combine 2020-08-13 10:13:23 +02:00
Bjarke Berg 34617e9f94 Fix for packages 2020-08-12 16:51:34 +02:00
Bjarke Berg 95c30d4cd0 Fix for packages 2020-08-12 15:59:30 +02:00
Nikolaj 92dfb24611 Move Manifest tests 2020-08-12 14:41:12 +02:00
Bjarke Berg 996130b58d Post merge fix 2020-08-12 13:26:24 +02:00
Bjarke Berg 3ec13b3190 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/better-linux-support
# Conflicts:
#	build/NuSpecs/UmbracoCms.SqlCe.nuspec
2020-08-12 13:25:24 +02:00
Nikolaj d7ca264d8f Move CoreXml tests 2020-08-12 12:42:51 +02:00
Nikolaj 5e78bbd2f3 Move CoreThings 2020-08-12 11:35:12 +02:00
Nikolaj 4c9f18d260 Move PublishingStrategyTests 2020-08-12 11:05:44 +02:00
Nikolaj 6b41b1dd8c Move logviewer tests 2020-08-12 10:26:14 +02:00
Nikolaj 51acbc3db6 Move MacroParserTests 2020-08-12 10:15:26 +02:00
Bjarke Berg cdd2dc51b4 Copy files on publish 2020-08-12 10:03:40 +02:00
Bjarke Berg 06c463e9cc Update nuget package dll paths 2020-08-12 08:53:01 +02:00
Bjarke Berg 9eee058211 Fix issue with buildscript and verify nuget 2020-08-11 20:31:04 +02:00
Bjarke Berg f7e0b115aa copy language files on publish 2020-08-11 15:00:39 +02:00
Bjarke Berg 2ed8e89d9b Fixes for build script 2020-08-11 12:26:01 +02:00
Bjarke Berg dfc37a571a Fixes for Umbraco.Web.UI.csproj 2020-08-11 11:22:15 +02:00
Bjarke Berg f0795f63b5 Get the SqlCE dll from the SqlCE project instead of the executeable, now that the executable does not include SqlCE anymore by default 2020-08-11 10:40:37 +02:00
Bjarke Berg 7b6d64872f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/better-linux-support
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
2020-08-11 10:05:55 +02:00
Bjarke Berg 1481804014 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/en_us.xml
2020-08-11 10:01:17 +02:00
Bjarke Berg 9432f71a63 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-08-11 10:00:19 +02:00
Bjarke Berg 0fe50728df Fix csproj of Umbraco.Web.UI 2020-08-11 09:50:17 +02:00
Warren BuckleyandGitHub 3c9bd45ea6 Delete rich-code-navigation.yml 2020-08-11 08:25:43 +01:00
Bjarke Berg 7ced06bc05 fix tests 2020-08-11 09:11:53 +02:00
Bjarke Berg 1123b8bea5 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/better-linux-support
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
2020-08-11 08:33:11 +02:00
3c2f2ac0b3 Netcore: Let build.ps1 create the dotnet new templates (#8591)
* Creates the Umbraco.Templates.nuspec on build

* Update nuspec to match nuget packages

* Updated namespace of Program.cs and Startup.cs and replace these with the project name in templates

* Bugfixes for sqlce

* Simplified template to have one template with --UseSqlCe as option

* Update build/build.ps1

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2020-08-11 08:28:16 +02:00
Bjarke BergandGitHub 94e1056dd9 Merge pull request #8603 from umbraco/netcore/feature/6976-migrate-preview-middleware
Migrates preview auth Middleware
2020-08-11 08:24:57 +02:00
Shannon f4baab1bb4 Gets custom OAuth errors working 2020-08-11 16:06:37 +10:00
Bjarke Berg d98d1d8373 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/6976-migrate-preview-middleware 2020-08-11 07:30:50 +02:00
Bjarke BergandGitHub a02b5e93a5 Merge pull request #8598 from umbraco/netcore/feature/6972-migrate-non-oauth-auth-controller
Migrates remaining non-oauth AuthenticationController actions to netcore
2020-08-11 07:30:23 +02:00
Shannon DeminickandGitHub 2aae974281 Merge pull request #8394 from umbraco/netcore/feature/fix-integration-tests
Netcore: More tests migrated..
2020-08-11 11:54:37 +10:00
Bjarke Berg 6d51dc4afa Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/6976-migrate-preview-middleware 2020-08-10 14:30:25 +02:00
Bjarke Berg 8322151426 Fix test issue. Now testserver tests always is executed in debugmode 2020-08-10 14:10:08 +02:00
Bjarke Berg 8dea65286b Fix test. Asserting on something irrelevant 2020-08-10 13:21:44 +02:00
Shannon cfc4933170 Merge branch 'netcore/netcore' into netcore/feature/fix-integration-tests 2020-08-10 15:50:05 +10:00
Shannon 635f1ba984 removes unused code 2020-08-10 15:48:13 +10:00
Bjarke BergandGitHub 499ffdfe97 Merge pull request #8584 from umbraco/netcore/feature/request-localization-from-user
Netcore: Added request localization from the current user.
2020-08-10 07:04:20 +02:00
Bjarke Berg 379454cd4b fix appsettings.json 2020-08-07 14:36:45 +02:00
Bjarke Berg 8539ffa27a Fix issue where Umbraco.Tests.Common know a legacy mvc package 2020-08-07 14:10:29 +02:00
Bjarke Berg c57c42d2ec Fixes merge conflicts 2020-08-07 14:00:56 +02: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
Shannon 1239975b07 Ensures all back office controllers have the thread culture set, we do this with a new application model targeting all back office controllers. 2020-08-06 22:08:27 +10:00
Bjarke Berg 39162f0f6a Merge conflicts resolved 2020-08-06 12:59:21 +02:00
Shannon b9a4a75656 Migrates remaining non-oauth AuthenticationController actions to netcore 2020-08-06 19:09:05 +10:00
Shannon DeminickandGitHub 9cafeaf39e Merge pull request #8590 from umbraco/netcore/bugfix/get_rid_of_system_web
Netcore: Get rid of System.Web in netcore and netstandard projects
2020-08-06 14:42:54 +10:00
Bjarke Berg 53d8cfcfe4 Updated rc version of ImageSharp.Web 2020-08-05 08:48:18 +02:00
Bjarke Berg 3ea7945f24 Get rid of system web in netcore and netstandard libraries 2020-08-05 08:44:22 +02:00
Elitsa Marinovska 89633b2c21 Removing unused var 2020-08-04 20:30:11 +02:00
Elitsa Marinovska 3a780db3fc Updating old comments 2020-08-04 20:29:48 +02:00
Bjarke BergandGitHub 23a6de30ec Merge pull request #8458 from umbraco/netcore/feature/AB7479-macro-templates-migration
NetCore: Migrating Macro Templates
2020-08-04 15:05:25 +02:00
Bjarke Berg 38ee3c322d Moved needed extension methods for the Gallery snippet.. 2020-08-04 14:12:22 +02:00
Bjarke Berg 1dac8779c2 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/7619 - Added request localization from the current user 2020-08-04 12:54:54 +02:00
Bjarke BergandGitHub 05e7d64a08 Merge pull request #8571 from umbraco/netcore/bugfix/controller-areas
Ensure all back office controllers are plugin controllers and use constant
2020-08-04 08:47:51 +02:00
Bjarke Berg 7490f0cd92 Updated Smidge to 3.1.1 2020-08-04 08:29:45 +02:00
Bjarke Berg c672f61c53 Revert appsettings.json 2020-08-04 08:14:30 +02:00
Bjarke BergandGitHub bcae0d70d5 Merge pull request #8573 from umbraco/netcore/bugfix/fixing-package-service-paths
Fixes package service paths so that it's using content and web roots not just web
2020-08-04 08:10:04 +02:00
Shannon 0507e20214 Fixes scope handling, else the transaction is rolled back and the keyvalue table is not updated 2020-08-04 15:20:54 +10:00
Shannon 99b012fc26 Fixes package service paths so that it's using content and web roots not just web 2020-08-04 14:51:12 +10:00
Shannon d9c2e5f55c Migrates remaining non-oauth actions on back office controller to netcore 2020-08-04 14:30:42 +10:00
Shannon 4edf7fdf83 Ensure all back office controllers are plugin controllers and use constant 2020-08-04 12:27:21 +10:00
Elitsa Marinovska 6a6e219652 Adds correct reference for HostingEnvironment 2020-08-03 14:37:32 +02:00
Bjarke Berg 6dd896ea01 https://github.com/umbraco/Umbraco-CMS/pull/8458 cleanup 2020-08-03 14:28:23 +02:00
Elitsa Marinovska 84e330a0ee Removes previous changes for injecting IPublishedSnapshotAccessor and instead modifies static methods in ModelsBuilder's generated code to accept the required param 2020-08-03 14:16:58 +02:00
Bjarke Berg 790a3b26bf Removed missing files from csproj 2020-08-03 11:42:45 +02:00
Bjarke Berg 5aae0c2b52 Removed folder from csproj 2020-08-03 11:15:02 +02:00
Elitsa Marinovska 717d8e6156 Migrating as many of the templates from Umbraco.Web.UI\Umbraco\PartialViewMacros\Templates 2020-07-21 08:12:29 +02:00
Elitsa Marinovska fe82179855 Adding ModelsBuilder.Embedded project reference for the Umbraco.Web nuget as the project is now migrated. And including the UmbracoCms.SqlCe.nuspec to the solution file 2020-07-14 16:56:12 +02:00
Elitsa Marinovska 7983dcb305 Fixing tests and methods after introducing IPublishedSnapshotAccessor service to PublishedModelUtility. Changing accessibility lvls from migrating tests to a different project 2020-07-13 21:52:11 +02:00
Elitsa Marinovska d7b818001e Migrating MB tests and changing required accessibility lvls 2020-07-13 21:49:09 +02:00
Elitsa Marinovska 07c0402d2b Injecting IPublishedSnapshotAccessor 2020-07-13 14:39:28 +02:00
Elitsa Marinovska e69c98ea9c Removing redundant cast 2020-07-13 13:53:02 +02:00
Elitsa Marinovska 6797f5af5b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB7446-ModelsBuilderEmbedded-migration 2020-07-13 13:44:04 +02:00
Elitsa Marinovska c0d266fc92 Migrating project to .net core 2020-07-13 13:38:41 +02:00
Bjarke Berg c697ec065d Added missing file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 21:00:58 +02:00
Bjarke Berg 2827868edf Merge remote-tracking branch 'origin/netcore/feature/better-linux-support' into netcore/feature/better-linux-support 2020-07-10 16:22:53 +02:00
Bjarke Berg 03bb780c16 Added missing registration
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 14:40:44 +02:00
Bjarke Berg 41ef34547f Reintroduce missing files
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 14:32:35 +02:00
Bjarke Berg 5f47e75231 Merge remote-tracking branch 'origin/netcore/feature/fix-integration-tests' into netcore/feature/better-linux-support
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 14:15:38 +02:00
Bjarke Berg add44c4139 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/fix-integration-tests 2020-07-10 13:50:44 +02:00
Bjarke BergandGitHub 3daad871ce Merge pull request #8396 from umbraco/netcore/feature/AB4827-sqlce-nuget
NuGet package specifications for SQL CE
2020-07-10 13:49:42 +02:00
Bjarke Berg e0ae0551f8 Moved back invalid templates to legacy UI project
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 13:10:56 +02:00
Bjarke BergandGitHub af5b6cf79a Merge pull request #8364 from umbraco/netcore/feature/AB4822-nuget-packages-basis
NetCore: Create new NuGet packages basis
2020-07-10 13:05:07 +02:00
Bjarke Berg 1c38b25cfb fix for csproj file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 13:04:24 +02:00
Bjarke Berg b4bc1f79b5 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB4822-nuget-packages-basis 2020-07-10 13:03:35 +02:00
Bjarke Berg d94ecfe65e Fixes for running using nuget package
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 13:00:54 +02:00
Elitsa MarinovskaandGitHub 498f01fa10 Removing duplicated folder reference
which causes the proj to not load in Visual Studio
2020-07-10 11:24:50 +02:00
Bjarke Berg 1625cb323d Moved lang-folder
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-10 06:44:56 +02:00
Bjarke Berg 66a549c89b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB4822-nuget-packages-basis 2020-07-09 18:03:15 +02:00
Bjarke Berg a2fa6e521d UmbracoCms.nuspec and file copying 2020-07-09 18:02:12 +02:00
Shannon DeminickandGitHub 31a6126a5c Merge pull request #8323 from umbraco/netcore/feature/remaining-backoffice-controllers
Netcore: Migrated remaining backoffice controllers
2020-07-09 21:28:24 +10:00
Bjarke Berg 4f605c71e8 Merge remote-tracking branch 'origin/netcore/feature/fix-integration-tests' into netcore/feature/better-linux-support 2020-07-09 11:09:05 +02:00
Bjarke Berg cc6cc1e314 Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests 2020-07-09 11:08:26 +02:00
Bjarke Berg 32893d6adb Fix wrong xml doc comment 2020-07-09 11:06:38 +02:00
Bjarke Berg 1f3d2b13d3 Cleanup test by reusing MockedContentTypes 2020-07-09 11:02:28 +02:00
Bjarke Berg 2fa13e010c Added xml doc to AutoMoqDataAttribute 2020-07-09 11:00:29 +02:00
Bjarke Berg 819c1ba7ae Format fix 2020-07-09 10:51:56 +02:00
Shannon DeminickandGitHub 6573099ef5 Merge pull request #8302 from umbraco/netcore/feature/contentcontroller_and_related
Netcore: Content/Media controller + ContentType+MediaType controller
2020-07-09 17:36:39 +10:00
Bjarke Berg 48c78865ac Merge remote-tracking branch 'origin/netcore/feature/AB4822-nuget-packages-basis' into netcore/feature/better-linux-support 2020-07-08 18:04:01 +02:00
Bjarke Berg d0ead8454b Removed log file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-08 11:21:07 +02:00
Bjarke Berg 1dcacda036 Moved umbraco cshtml files into the umbraco folder
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-08 11:18:23 +02:00
Elitsa MarinovskaandGitHub 0c4959fc99 Merge branch 'netcore/feature/AB4822-nuget-packages-basis' into netcore/feature/AB4827-sqlce-nuget 2020-07-08 09:14:28 +02:00
Elitsa Marinovska 6282ac4a5b Merged changes from base branch 2020-07-08 09:07:54 +02:00
Elitsa Marinovska 8c38c22648 Added additional target framework and changed nuget package title 2020-07-08 08:40:55 +02:00
Bjarke Berg 0a088e4ef4 casing changed
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-08 06:48:41 +02:00
Bjarke Berg 8c46eab939 bugfix
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-08 06:45:10 +02:00
Bjarke Berg f7c6d1c68c bugfix
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-08 06:37:14 +02:00
Bjarke Berg 6bb33c865f Small fixes to build.ps1 and added xml doc generation to projects
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 20:40:44 +02:00
Elitsa Marinovska c03bff4399 Nuget package specifications for SQL CE 2020-07-07 16:10:06 +02:00
Bjarke Berg a755dcd53a Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests 2020-07-07 15:04:20 +02:00
Bjarke Berg 6e5dfbf8da fixed issue with formatting, by changing order of attributes
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 15:03:31 +02:00
Bjarke Berg 711e2306e0 Cleanup
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 15:02:53 +02:00
Bjarke Berg 351fa02df2 Merge remote-tracking branch 'origin/netcore/feature/fix-integration-tests' into netcore/feature/better-linux-support 2020-07-07 14:10:21 +02:00
Bjarke Berg 254921e24c inserted explicit on failing tests.. Still need to investigate
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 14:10:00 +02:00
Bjarke Berg cc4b275c79 Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests 2020-07-07 14:06:39 +02:00
Bjarke Berg b1fc81b642 Merge fix
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 14:06:21 +02:00
Bjarke Berg 2372e5307c Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests 2020-07-07 14:02:48 +02:00
Bjarke Berg 34979566ea Merge remote-tracking branch 'origin/netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers 2020-07-07 14:02:25 +02:00
Bjarke Berg 7a3f658ccc Dispose StreamReaders
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 14:00:47 +02:00
Bjarke Berg 0a759553a7 fixed issue with formatting, by changing order of attributes
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 13:56:14 +02:00
Bjarke Berg 4993e99f4d Merge remote-tracking branch 'origin/netcore/feature/fix-integration-tests' into netcore/feature/fix-integration-tests 2020-07-07 13:26:31 +02:00
Bjarke Berg a67629e9c0 Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests 2020-07-07 13:25:58 +02:00
Bjarke Berg f3614d51fa Merge remote-tracking branch 'origin/netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers
# Conflicts:
#	src/Umbraco.Web.BackOffice/Filters/UmbracoAuthorizeFilter.cs
2020-07-07 13:17:08 +02:00
Bjarke Berg 2e74a986f3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/contentcontroller_and_related 2020-07-07 13:15:08 +02:00
Bjarke Berg 84b3bc94b4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-07-07 13:13:51 +02:00
Bjarke Berg 1cca4b50aa Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-07-07 13:08:57 +02:00
Bjarke Berg cc6c6c3d3e Added todo message to PrefixlessBodyModelValidatorAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 12:49:22 +02:00
Bjarke Berg 610bbee245 Added OverrideAuthorizationAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-07 12:39:24 +02:00
Bjarke Berg 7e90db5b30 Cleanup based on review
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-06 13:01:25 +02:00
Bjarke Berg a9c043c537 Cleanup based on review
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-06 12:58:11 +02:00
Bjarke Berg 8400b53f70 Cleanup based on review
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-06 12:55:23 +02:00
Bjarke Berg c49f50e6d4 Clean up
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-04 19:04:04 +02:00
Bjarke Berg 9fbb7c08c6 Small fixes for linux support, made from windows
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-07-04 18:47:06 +02:00
Bjarke Berg 1dc0dc497d added files that are renamed with casing only 2020-07-04 17:39:44 +02:00
Bjarke Berg f85204eaa1 Fixed lot of small issues for linux 2020-07-04 15:07:07 +02:00
Bjarke Berg aac8cd5423 Clean up + migrated AuditServiceTests 2020-07-01 17:42:39 +02:00
Elitsa Marinovska a2c54018a7 modifying CompileUmbraco() and PreparePackages() functions needed before packaging the nuget packages 2020-06-30 23:10:51 +02:00
Elitsa Marinovska 6490d7dc14 Changing nuspec files for .net core projs 2020-06-30 23:07:38 +02:00
Elitsa Marinovska c91281c4b8 NuGet.org had TLS 1.0 and 1.1 disabled - https://devblogs.microsoft.com/nuget/deprecating-tls-1-0-and-1-1-on-nuget-org/.
Therefore we need this line specifying Tls12
2020-06-30 23:02:36 +02:00
Bjarke Berg 7b546e6cee Attempts to fix issue
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-30 20:11:39 +02:00
Bjarke Berg 984e660bec Possible fix for test db issue
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-30 13:02:32 +02:00
Bjarke Berg 40470099e9 Possible fix for test db issue
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-30 11:22:44 +02:00
Bjarke Berg 081795c192 Possible fix for test db issue
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-30 10:22:01 +02:00
Bjarke Berg 70544c38ed Cleanup + Ensure temp folder exists when background jobs are started.
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-30 08:14:26 +02:00
Bjarke Berg cbb0d5cb6b Added SQLCe refernece to the netcore project
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 14:38:15 +02:00
Bjarke Berg ce4c6f7965 Do not use camelcase as default in AngularJsonMediaTypeFormatter
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 14:36:23 +02:00
Bjarke Berg aedac5a2b4 Added test to TemplateQueryController.GetContentTypes to ensure camelcase
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 14:22:58 +02:00
Bjarke Berg 0676e9d35f Added unittest of IgnoreRequiredAttributesResolver
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 12:35:08 +02:00
Bjarke Berg b9f854afcb Boot netcore on https:localhost:44331
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 12:13:53 +02:00
Bjarke Berg 3195287d1c Moved some registrations from Web-Mappings to Core-Mappings
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 10:51:53 +02:00
Bjarke Berg 91885e6557 Migrated mapper tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-29 10:44:46 +02:00
Bjarke Berg 3522843a0d Fix acceptance tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-28 14:31:21 +02:00
Bjarke Berg adb38dceb5 Merge remote-tracking branch 'origin/netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers 2020-06-28 14:00:26 +02:00
Bjarke Berg 3d65cb96e1 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/contentcontroller_and_related
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
2020-06-28 13:59:33 +02:00
Bjarke Berg 9d639a64b3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Core/Templates/IUmbracoComponentRenderer.cs
#	src/Umbraco.Web.BackOffice/Controllers/MacroRenderingController.cs
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-06-28 13:35:25 +02:00
Bjarke Berg 2ffb01530a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/IndexedArrayItem.cs
#	src/Umbraco.Infrastructure/Models/Mapping/CommonMapper.cs
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web/Compose/AuditEventsComponent.cs
#	src/Umbraco.Web/HtmlHelperRenderExtensions.cs
#	src/Umbraco.Web/HtmlStringUtilities.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-06-28 12:48:19 +02:00
Bjarke Berg 6d993eb63b Cleanup
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-26 13:58:15 +02:00
Bjarke Berg 16a2cd1b3f Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/remaining-backoffice-controllers 2020-06-26 09:49:18 +02:00
Bjarke Berg 7ef840702f Merge remote-tracking branch 'origin/netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers 2020-06-26 09:49:03 +02:00
Bjarke Berg 98e81614d0 Changed check from null only to IsNullOrEmpty to make it safer
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-26 08:21:17 +02:00
Bjarke Berg c369647f10 Made FromJsonPathAttribute public
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-26 08:20:50 +02:00
Bjarke Berg e181c94cf4 Added async version of GetRawBodyString
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-26 08:20:36 +02:00
Bjarke Berg 8a3d104f85 Using constants instead of hardcoded strings
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-26 08:20:19 +02:00
Bjarke Berg 1a05feac02 Clean up 2020-06-25 15:23:11 +02:00
Bjarke Berg e14a81c72d Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-06-25 11:47:12 +02:00
Bjarke BergandGitHub 76d568de12 Merge pull request #8134 from umbraco/bug/use-sql-main-dom-lock-when-linux
Use sql main dom lock as default if linux
2020-06-25 11:39:33 +02:00
Bjarke BergandGitHub ba38055ee9 Merge branch 'netcore/dev' into bug/use-sql-main-dom-lock-when-linux 2020-06-25 11:39:11 +02:00
Bjarke Berg f9d5acee84 Added test 2020-06-25 11:22:59 +02:00
Bjarke Berg aaccaef6af Started on AutoMoqDataAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-24 22:00:27 +02:00
Bjarke Berg 540195c597 Cleanup and fixed more tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 15:01:55 +02:00
Bjarke Berg 0b2230922f revert aspsettings.json
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 14:11:34 +02:00
Bjarke Berg 0714fc4734 Migrated some of the UserControllerTests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 14:11:01 +02:00
Bjarke Berg 44497ffdd4 Merge branch 'netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers 2020-06-22 10:23:39 +02:00
Bjarke Berg 9e49d266d6 made failing tests explicit for now
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 10:22:19 +02:00
Bjarke Berg 1594a84d80 migated remaining backoffice controllers
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-22 10:08:08 +02:00
Shannon 1aa46ab1da Starts adding ability to have custom view for login in place 2020-06-22 15:08:54 +10:00
Bjarke Berg 67b1a8a318 Test remove setup class, as it is potentially running too early
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-19 06:59:20 +02:00
Shannon 9f6b72327e more support for back office external login provider errors 2020-06-19 12:04:16 +10:00
Shannon f0fdda2f0a Start adding support for better error handling during external login processing 2020-06-19 11:24:03 +10:00
Bjarke Berg 558c0b03ee Migrated MemberController
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-18 21:03:11 +02:00
Bjarke Berg 748d23bf6d Added MemberTypeController
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-18 19:50:42 +02:00
Bjarke Berg 73123704cd Added JsonDateTimeFormatAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-18 19:40:13 +02:00
Bjarke Berg ae51ea9486 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/contentcontroller_and_related 2020-06-18 14:43:26 +02:00
Bjarke Berg 833ff5ab56 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-06-18 14:43:00 +02:00
Bjarke Berg 6d30f31134 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-06-18 14:41:40 +02:00
Bjarke Berg 27227043ba Added custom (hack) for PrefixlessBodyModelValidatorAttribute. 2020-06-18 14:40:30 +02:00
Bjarke BergandGitHub 76a56b02e9 Merge pull request #8267 from umbraco/netcore/feature/migrate-remaining-trees
Netcore: Migrate trees
2020-06-18 12:44:21 +02:00
Bjarke Berg ce35ccc0e9 Merge remote-tracking branch 'origin/netcore/feature/migrate-remaining-trees' into netcore/feature/contentcontroller_and_related 2020-06-17 18:06:54 +02:00
Bjarke Berg 593acaeab9 Merge remote-tracking branch 'origin/netcore/feature/migrate-remaining-trees' into netcore/feature/migrate-remaining-trees 2020-06-17 18:06:03 +02:00
Bjarke Berg fe7d4ed3e9 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-remaining-trees 2020-06-17 18:05:40 +02:00
Bjarke Berg d5f2d8456a Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/contentcontroller_and_related
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeNotificationsController.cs
#	src/Umbraco.Web.BackOffice/Filters/ValidateAngularAntiForgeryTokenAttribute.cs
2020-06-17 17:01:45 +02:00
Bjarke Berg 3a33e7bf29 Migrated ControllerContentTests.. Right now the test fails, but the test is correct
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-17 16:39:28 +02:00
Bjarke BergandGitHub e56f6b71a9 Merge pull request #8286 from AndyButland/feature/netcore-type-filters
NetCore: Updated various type filters to attributes with nested filters.
2020-06-17 14:56:51 +02:00
Shannon 91dd282fcb one less warning 2020-06-17 17:09:31 +10:00
Shannon 5ac02431cf Allows for customizing the invite link, had to update umb-button to support external href, streamlines external login provider configs 2020-06-16 14:48:43 +10:00
Shannon 4385929628 Ensures user cannot change email addresses if deny local login, consolidates some logic into ext methods and constants 2020-06-16 12:04:59 +10:00
Shannon 9bbcee477a allows some methods to be overriden 2020-06-16 11:16:17 +10:00
Shannon cfc7bf257d Allows for oauth auto login redirect 2020-06-16 10:39:37 +10:00
Shannon 3cc11d7b6f Auto-links existing users by email, implements the logic for DenyLocalLoginAuthorizationAttribute 2020-06-16 10:02:56 +10:00
Bjarke Berg a5f5b1a984 Migrated unit tests for FilterAllowedOutgoingContentAttribute and MediaController
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-15 14:43:11 +02:00
Bjarke Berg a6b23fbfa0 Entity controller migrated
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-15 13:07:49 +02:00
Bjarke Berg cf7ed273d7 Fix import/export
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-15 08:52:03 +02:00
Bjarke Berg 46e5625166 Fix issue with media located in wwwroot
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-15 08:23:25 +02:00
Andy Butland 1cf4374a48 Updated various type filters to attributes with nested filters. 2020-06-13 11:08:59 +02:00
Bjarke Berg 834a8173d0 Migrated Media controller + ContentTypeControllerBase + ContentTypeController, MediaTypeController
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-12 22:13:43 +02:00
Bjarke Berg 52bc003c8e Migrated more stuff for MediaController
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-12 15:58:53 +02: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 989c83b452 Merge remote-tracking branch 'origin/netcore/feature/migrate-remaining-trees' into netcore/feature/contentcontroller_and_related 2020-06-12 10:03:37 +02:00
Bjarke Berg 609c1ffc5b Migrated content controller + related
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-12 08:27:22 +02:00
Bjarke Berg b9da273cbd Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-06-12 07:13:00 +02:00
Bjarke BergandGitHub 82022240f3 Merge pull request #8277 from electricsheep/feature/netcore-unit-tests
Migrate unit tests to new test project
2020-06-12 06:42:24 +02:00
Ollie Philpott 5d5c7ba95e Move XmlExtensionsTests 2020-06-11 15:13:35 +01:00
Ollie Philpott 7aadae68d8 Move VersionExtensionTests 2020-06-11 14:59:14 +01:00
Ollie Philpott 663adc1db7 Move HexEncoderTests 2020-06-11 14:56:24 +01:00
Ollie Philpott 449bf55060 Move GuidUtilsTests 2020-06-11 14:54:19 +01:00
Ollie Philpott 299a461afb Move EnumExtensionsTests 2020-06-11 14:50:10 +01:00
Ollie Philpott cb3a5d6b97 Move EnumerableExtensionsTests 2020-06-11 14:48:57 +01:00
Ollie Philpott 958b4f431e Move DelegateExtensionsTests 2020-06-11 14:47:08 +01:00
Ollie Philpott 3da8fd4a98 Move AttemptTests 2020-06-11 14:41:48 +01:00
Ollie Philpott 06a1671f95 Move ClaimsIdentityExtensionsTests 2020-06-11 14:39:45 +01:00
Ollie Philpott eabf6f459b Move TestClone class 2020-06-11 14:39:10 +01:00
Bjarke Berg f1257ef717 Inject specific IFileSystem into FilesTreeController 2020-06-11 15:38:12 +02:00
Bjarke Berg e8c0a08ea8 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-remaining-trees 2020-06-11 15:21:51 +02:00
Bjarke Berg 918e7f1be3 Merge branch 'netcore/dev' into netcore/netcore 2020-06-11 15:17:42 +02:00
Bjarke Berg d77c3dc8dd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-06-11 15:16:39 +02:00
Bjarke BergandGitHub d1e334fe48 Merge pull request #8255 from umbraco/netcore/feature/get-remaining-seconds
Migrate Get remaining seconds functionality
2020-06-11 15:02:23 +02:00
Ollie Philpott 9914d6037e Merge branch 'netcore/dev' of https://github.com/electricsheep/Umbraco-CMS into feature/netcore-unit-tests 2020-06-11 14:01:45 +01:00
Bjarke Berg 0b636bc225 Fix tests 2020-06-11 14:17:12 +02:00
Bjarke Berg 16038e4232 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/get-remaining-seconds 2020-06-11 13:48:20 +02:00
Bjarke Berg c2b2b5010d Review + build fix 2020-06-11 13:04:01 +02:00
Bjarke Berg 925324041c review fixes 2020-06-11 12:41:29 +02:00
Bjarke Berg 27fee12230 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-remaining-trees 2020-06-11 12:40:17 +02:00
Bjarke BergandGitHub a709783168 Merge pull request #8234 from umbraco/netcore/feature/macros
Netcore: Migreate macro related controllers
2020-06-11 12:39:09 +02:00
Bjarke Berg f86d8185bf Clean up and based on review comments 2020-06-11 11:21:07 +02:00
Bjarke Berg 57b8ab201d Clean up and fixed second ctor in PhysicalFileSystem 2020-06-11 11:07:21 +02:00
Bjarke Berg 6440abbda9 Updated BackOfficeServerVariables 2020-06-11 08:00:35 +02:00
Bjarke Berg 6f0c30dc37 Fix tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 19:57:57 +02:00
Bjarke Berg 05610b56eb Fix tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 19:45:46 +02:00
Bjarke Berg aa7637129c Fix tests by reintroducing some files in Umbraco.Web
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 19:23:56 +02:00
Bjarke Berg 835b04273f Migrated remaining *TreeController's
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 19:22:25 +02:00
Bjarke Berg 45dcf62878 remove unused code
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 13:58:25 +02:00
Bjarke Berg 6d701f17c3 remove unused code
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 13:57:28 +02:00
Bjarke Berg 39b3b7a723 Fix csproj
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 13:53:43 +02:00
Bjarke Berg c726054e5d Fix csproj
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 13:49:30 +02:00
Bjarke Berg 96fee753b4 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/macros
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Web.BackOffice/Extensions/UmbracoBackOfficeServiceCollectionExtensions.cs
2020-06-10 12:17:37 +02:00
Bjarke BergandGitHub 1278b53e7f Merge pull request #8225 from umbraco/netcore/feature/websecurity
Migrates more cookie auth and IWebSecurity
2020-06-10 12:01:02 +02:00
Bjarke Berg ece1973949 Merge remote-tracking branch 'origin/netcore/feature/websecurity' into netcore/feature/websecurity 2020-06-10 11:18:07 +02:00
Bjarke Berg 1973dd371a Fix for login doing install
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 11:17:55 +02:00
Bjarke Berg 9f17049582 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/websecurity
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Web/Editors/AuthenticationController.cs
2020-06-10 11:13:32 +02:00
Bjarke Berg 856d954311 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/websecurity
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Web/Editors/AuthenticationController.cs
2020-06-10 11:11:56 +02:00
Bjarke Berg 9aea7039d2 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/macros
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeServerVariables.cs
#	src/Umbraco.Web.Common/Runtime/AspNetCoreComposer.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2020-06-10 10:55:56 +02:00
Shannon 2b412f337c Fixes issue with growing cookie/identity (we don't want to use Actor), fixes GlobalSettings issue, ensures temp claims are not cloned 2020-06-09 17:40:35 +10:00
Shannon 246e28d147 Implements PostLogout and ensures all appropriate cookies are cleared on logout along with ensuring that the ticket is renewed each user seconds request if configured to stay logged in. 2020-06-09 14:36:36 +10:00
Shannon 9b991f3882 Fixes back office check, adds more tests, changes area to be a constant 2020-06-09 13:01:05 +10:00
Shannon ed2aba49d6 fix build, adds tests 2020-06-09 12:35:31 +10:00
Shannon 433a7c8908 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/get-remaining-seconds
# Conflicts:
#	src/Umbraco.Web/Editors/AuthenticationController.cs
2020-06-09 10:41:57 +10:00
Bjarke BergandGitHub 57a087861c Merge pull request #8242 from AndyButland/feature/netcore-trees
Netcore: Migrated some tree related classes
2020-06-08 15:19:04 +02:00
Bjarke Berg c35d2c0793 Migrated section controller + LanguageTreeController, ApplciationTreeController.
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter.

Fixed test
2020-06-08 14:07:36 +02:00
Bjarke Berg af382e5e71 Migrated section controller + LanguageTreeController, ApplciationTreeController.
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter.

Note: Left TODO about checking authorization of proxied trees..
2020-06-08 13:14:23 +02:00
Bjarke Berg 01433ee190 Removed views from csproj file 2020-06-08 09:02:27 +02:00
Bjarke Berg b5f0a7348d Avoid using Current.IOHelper 2020-06-08 08:51:50 +02:00
Andy Butland 458de2b0be Migrated tree related classes to .NET core 2020-06-07 09:34:32 +02:00
Bjarke Berg 8694498583 Fix for model in templates 2020-06-05 13:31:08 +02:00
Bjarke Berg 39ace69879 Added runtime compilation of views 2020-06-05 12:50:26 +02:00
Bjarke Berg 1029f4fe0b Fix for filesystems. Now rooted at the content root and not the www root 2020-06-05 11:36:59 +02:00
Bjarke Berg 354225452a Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-06-05 08:14:23 +02:00
Bjarke Berg 58d7fc1817 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/gulp/tasks/watchTask.js
2020-06-05 08:05:50 +02:00
Bjarke BergandGitHub 1231ef78db Merge pull request #8230 from umbraco/netcore/feature/AB6961-IWebSecurity-injection
Netcore: Removing UmbracoContext.Security usages
2020-06-05 07:47:19 +02:00
Bjarke Berg 10fe1ec47b Fixed tests by registering IWebSecurity in the container in the base test class 2020-06-05 07:17:19 +02:00
Bjarke Berg 6a560d6340 Fixed tests 2020-06-05 06:36:42 +02:00
Bjarke Berg 1d543d1dfd Migrated MacroRenderingController + Related UmbracoComponentRenderer => TemplateRenderer + ParitalViewMacroEngine 2020-06-05 06:31:42 +02:00
Bjarke Berg 772041bb8f Migrated MacrosController.cs 2020-06-05 06:17:54 +02:00
Elitsa Marinovska 582903b597 Null check 2020-06-04 15:16:34 +02:00
Elitsa Marinovska 7b93130690 Changing to the specific property 2020-06-04 13:55:48 +02:00
Elitsa Marinovska 68488eb5a7 Another round of injecting webSecurity directly 2020-06-04 13:55:07 +02:00
Elitsa Marinovska 42fba97af9 Removing the need of requesting umbracoContext to get the web security service 2020-06-04 13:53:06 +02:00
Elitsa Marinovska e32d5bb9b9 Injecting IWebSecurity directly instead of getting it through UmbracoContext.Security 2020-06-04 13:40:33 +02:00
Bjarke Berg c363b5a5c2 Added migrated controllers to BackOfficeServerVariables 2020-06-03 19:52:43 +02:00
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
Bjarke Berg d682bc9903 Uncommented test of code moved to .NET Core 2020-06-03 13:33:05 +02:00
Shannon b421cc67f4 moves test 2020-06-03 18:25:54 +10:00
Shannon 0d0b3324fb Merge branch 'netcore/feature/websecurity' into netcore/feature/get-remaining-seconds 2020-06-03 18:11:59 +10:00
Shannon 4ca87d8923 Merge branch 'netcore/feature/websecurity' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/websecurity 2020-06-03 18:10:54 +10:00
Shannon 846432111d fixes tests 2020-06-03 18:10:35 +10:00
Shannon 6004a0fb44 wip starts migrating get remaining seconds, removes a bunch of code from netframework thats already been moved. 2020-06-03 17:47:32 +10:00
Bjarke Berg 396d7e9b31 Updateded the ValidateAngularAntiForgeryTokenAttribute to use the IBackOfficeAntiforgery instead of default IAntiforgery 2020-06-03 09:09:25 +02:00
Shannon d024443b23 Converts FromClaimsIdentity to a bool method 2020-06-03 15:00:39 +10:00
Shannon bba0eceac0 removes notes 2020-06-03 14:30:55 +10:00
Shannon 7ac01fc02f Merge branch 'netcore/netcore' into netcore/feature/websecurity
# Conflicts:
#	src/Umbraco.Web.BackOffice/Filters/OnlyLocalRequestsAttribute.cs
2020-06-03 13:26:40 +10:00
Shannon DeminickandGitHub a7a463c7d4 Merge pull request #8183 from umbraco/netcore/feature/identity
Back office identity changes and cookie authentication
2020-06-03 12:55:57 +10:00
Shannon c6481bdabb Migrates another methods of authentication controller over along with calculating the ticket's remaining seconds 2020-06-03 12:47:40 +10:00
Shannon 6c59f26c83 Ensures the required ajax headers are sent up in the back office, adds notes. 2020-06-03 11:20:53 +10:00
Shannon e70d98d3d5 Merge branch 'netcore/feature/identity' into netcore/feature/websecurity 2020-06-03 10:53:09 +10:00
Shannon 95ed6d01a2 removes uneeded file 2020-06-03 10:52:11 +10:00
Shannon d1a95b2498 adds notes 2020-06-03 10:29:10 +10:00
Shannon 670d62a2dc Gets cookie authentication actually working along with session validation 2020-06-02 17:48:08 +10:00
Shannon 22c842f2e5 fixes service registration 2020-06-02 14:51:27 +10:00
Shannon 4afaade436 Gets WebSecurity implemented 2020-06-02 14:46:58 +10:00
Shannon ea58dce644 implements logic to log the user in on install 2020-06-02 13:47:58 +10:00
Shannon b75fba71f5 Cleaning up websecurity and implementing it, migrates security stamp and session id validation for cookie auth 2020-06-02 13:28:30 +10:00
Shannon d85fc0d353 fixes last tests 2020-06-01 18:15:57 +10:00
Shannon 3ead22a46a fixes remaining tests and updates views 2020-06-01 17:07:19 +10:00
Shannon 39eebe82cd set the response correctly 2020-06-01 16:42:44 +10:00
Shannon 914e261d86 fix ContentSaveValidationAttribute which does not actually do the permissions check 2020-06-01 16:40:34 +10:00
Shannon f92f34934f fix remaining tests 2020-06-01 16:40:04 +10:00
Shannon 793bbbab5b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity-temp 2020-06-01 15:51:56 +10:00
Shannon 1d11b78c32 fixing tests 2020-06-01 15:42:57 +10:00
Bjarke Berg 58c70c3a90 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/en_us.xml
2020-05-29 13:02:27 +02:00
Bjarke Berg dca04b3dd7 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Web.UI.Client/src/views/users/user.controller.js
#	src/Umbraco.Web/Models/Trees/MenuItemList.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Trees/RelationTypeTreeController.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2020-05-29 12:59:42 +02:00
Bjarke BergandGitHub 441b83dae8 Merge pull request #8184 from umbraco/netcore/feature/move-more-controllers
Netcore: Move more controllers
2020-05-29 09:10:32 +02:00
Bjarke Berg 95e2262eb1 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Bugfix for ModelState.AddValidationError. Now using correct extension method 2020-05-29 08:29:39 +02:00
Bjarke Berg 878e5056b5 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Cleanup when using typefilters 2020-05-29 08:05:45 +02:00
Shannon 90e6dc0ad0 Merge branch 'netcore/feature/identity-temp' into netcore/feature/identity 2020-05-29 15:25:00 +10:00
Bjarke Berg a7a9b8204e https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Build fix 2020-05-28 20:01:18 +02:00
Shannon be84969ad7 removes comments/notes 2020-05-28 23:35:09 +10:00
Shannon a9bf0572eb remove unneeded file 2020-05-28 23:31:48 +10:00
Shannon 0ed9d1bd91 renames to LegacyPasswordSecurity 2020-05-28 23:24:32 +10:00
Bjarke Berg c3606b31ce https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Clean up and fixed issue with Ambiguous actions 2020-05-28 15:20:02 +02:00
Shannon c1e891400d adds antiforgery tests 2020-05-28 23:19:31 +10:00
Shannon b456ed08f1 Fixes tests 2020-05-28 18:45:52 +10:00
Shannon 9904dc6cc2 Merge commit '6dcaa986cda8c8bbca06df8030299d5901d31ceb' into netcore/feature/identity-temp 2020-05-28 17:29:35 +10:00
Bjarke Berg 1034e980b5 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved TemplateController 2020-05-28 07:59:36 +02:00
Bjarke Berg 956252f82d https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved StylesheetController 2020-05-28 07:50:56 +02:00
Bjarke Berg 49923cef5e https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved RelationTypeController 2020-05-28 07:28:46 +02:00
Bjarke Berg b67bff94a5 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved RelationController 2020-05-28 07:20:06 +02:00
Bjarke Berg 0dbf182d97 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved PublishedStatusController amd RedirectUrlManagementController 2020-05-28 07:19:45 +02:00
Bjarke Berg 00b7c2d13b https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved PublishedSnapshotCacheStatusController 2020-05-27 14:14:32 +02:00
Bjarke Berg 0108db553c https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Removed OnlyLocalRequestsAttribute from Umbraco.Web 2020-05-27 13:31:18 +02:00
Bjarke Berg 3e238e92da Merge remote-tracking branch 'origin/netcore/feature/move-more-controllers' into netcore/feature/move-more-controllers
# Conflicts:
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2020-05-27 12:39:29 +02:00
Bjarke Berg bfff08e98e https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Build fix 2020-05-27 12:38:53 +02:00
Bjarke Berg 10e66f04f2 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved PackageInstallController + Handled the fileupload in a new (aspnet core) way. So no need to clean up from a temp location anymore as we read from the stream. 2020-05-27 12:17:46 +02:00
Shannon f323c67dff remove note 2020-05-27 18:51:47 +10:00
Shannon 1cfc490751 More signinmanager, signin now works and we set the user principal in the correct place on login 2020-05-27 18:27:49 +10:00
Bjarke Berg 31dc9b079b https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved PackageController and added VersionConverter on AngularJsonMediaTypeFormatter, instead of having single attribute only used for PackageController 2020-05-27 08:30:00 +02:00
Bjarke Berg 8de3551166 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved KeepAliveController to backoffice url 2020-05-27 08:19:48 +02:00
Shannon e47f81efdc Gettting password formats and hashing sorted, ensuring the password format on the user is used 2020-05-27 13:48:26 +10:00
Shannon ac57aeb066 clean up antiforgery 2020-05-27 11:28:25 +10:00
Shannon ef02571c8d changes port number/non ssl 2020-05-27 10:27:41 +10:00
Bjarke Berg 99c2fd7f81 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - LogViewerController 2020-05-26 19:26:10 +02:00
Bjarke Berg 8d39de55cd https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - LogController 2020-05-26 19:01:37 +02:00
Bjarke Berg 0bc7e88757 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated KeepAliveController and LanguageController 2020-05-26 18:50:32 +02:00
Bjarke Berg 71a8cb6d35 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated DataTypeController + Fixed injection of services to UmbracoApplicationAuthorizeAttribute 2020-05-26 14:42:19 +02:00
Shannon 6a4c277fdc gets anti-forgery working (needs more testing) 2020-05-26 22:21:22 +10:00
Bjarke Berg e879c5c7d9 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated CodeFileController 2020-05-26 13:08:20 +02:00
Shannon 7f47540341 ensure bg image is set in config so it shows up 2020-05-26 18:21:00 +10:00
Shannon 3c23561f00 moves image files to where they're supposed to be 2020-05-26 18:20:34 +10:00
Shannon d726ca4e36 fixes build, introduce more back office server vars 2020-05-26 17:42:51 +10:00
Shannon eedef91749 commits sln file that keeps changing because of acceptance tests 2020-05-26 17:42:31 +10:00
Shannon ab6a967a4e Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity
# Conflicts:
#	src/Umbraco.Infrastructure/Composing/CompositionExtensions/CoreMappingProfiles.cs
2020-05-26 17:37:07 +10:00
Shannon DeminickandGitHub dc6113ffdb Merge pull request #8168 from umbraco/netcore/feature/move-more-controllers
Netcore: Move/Migrate more controllers
2020-05-26 17:14:21 +10:00
Shannon 9dcad544a9 Implements more BackOfficeController and AuthenticationController, some web security and more, gets the back office UI almost rendering 2020-05-25 23:15:32 +10:00
Bjarke Berg 2c2d70c500 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved controllers: HealthCheckController + All localization files + fixed issues with MapPath from wwwroot to content root 2020-05-25 14:50:51 +02:00
Bjarke Berg ee3615e36d https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved controllers: TagsDataController, RteEmbedController, RichTextPreValueController, NestedContentController, WebProfilingController + Moved compose of MapDefinitionCollectionBuilder into core, and uncommented missing map definitions 2020-05-25 13:41:05 +02:00
Shannon 0730867d74 Gets default.cshtml rendering what should work, had to update quite a few things to get to this point, now need to figure out why it doesn't start booting angular. 2020-05-25 19:37:16 +10:00
Bjarke Berg e4c8e2009c Moved BackOfficeNotificationsController to netcore 2020-05-22 07:26:46 +02:00
Shannon d89337e3d5 Cleans up IdentityAuditEventArgs and handling of the current user since we cannot resolve it from the thread. 2020-05-21 16:33:24 +10:00
Shannon cf58782093 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
2020-05-21 15:46:43 +10:00
Shannon f47ceb8bbe Implements more of identity and makes it more specific to the back office (less intrusive), starts adding cookie auth 2020-05-21 15:43:33 +10:00
Shannon DeminickandGitHub b5df81fca2 Merge pull request #8135 from umbraco/netcore/feature/AB6586-migrate_controllers
Netcore: Migrate Controllers
2020-05-21 15:00:54 +10:00
Bjarke Berg 28c4f87236 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated ImageUrlGeneratorController + Made usage some strings into the enums in the ImageUrlGenerationOptions 2020-05-20 17:39:07 +02:00
Bjarke Berg 0d65fccd52 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated ImagesController 2020-05-20 13:51:21 +02:00
Bjarke Berg a94af8db03 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated HelpController 2020-05-20 13:35:55 +02:00
Bjarke Berg ea300f61ce Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6586-migrate_controllers 2020-05-20 13:30:02 +02:00
Bjarke Berg aa63ce5ed9 Merge branch 'netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Tests/Web/Controllers/AuthenticationControllerTests.cs
#	src/Umbraco.Tests/Web/Controllers/UsersControllerTests.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/UsersController.cs
2020-05-20 12:43:13 +02:00
Bjarke Berg 490ae37b28 #8142 - Added smtp authentication if username or password provided 2020-05-20 12:38:21 +02:00
Bjarke BergandGitHub a120b9cffb Merge pull request #8142 from umbraco/netcore/feature/AB6507-reimplement-email-service
Netcore: Re-implementing Email Service
2020-05-20 12:29:21 +02:00
Bjarke Berg 2b4dfbca9d #8142 - Small cleanup, and bugfix 2020-05-20 11:42:23 +02:00
Bjarke Berg 1c220b4925 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Removed uncommented code, that was removed due to the container needs only a single valid constructor 2020-05-20 08:44:02 +02:00
Shannon 558bde8596 Migrates back office variables and a couple methods for the BackOfficeController 2020-05-20 16:43:06 +10:00
Bjarke Berg a8f5d21eeb https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - removed old OutgoingEditorModelEventAttribute and EditorModelEventManager 2020-05-20 08:39:27 +02:00
Bjarke Berg ca399c7e89 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - removed old tourcontroller 2020-05-20 08:33:00 +02:00
Shannon 9818b4a14b Moves what is possible for identity back office to Core, configures backoffice identity with IOptions and our password settings 2020-05-20 15:25:42 +10:00
Shannon 4e62573fce Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity 2020-05-20 15:09:40 +10:00
Shannon 057aa9bc66 Move more models: template, macro, ObjectTypes 2020-05-20 12:10:17 +10:00
Shannon 8134a35fe0 Moves ContentType, MemberType, MediaType, etc... less casting, less internals 2020-05-20 11:59:41 +10:00
Shannon d444dfd441 Moves ContentTypeBase, Member, ContentTypeComposition, etc... removes the casting 2020-05-20 11:33:10 +10:00
Shannon 9e8bfd039e Ensures the correct version of Microsoft.AspNet.Identity.Core is used consistently, moves Media 2020-05-20 11:01:45 +10:00
Shannon 82ebda256b Fixes merge issues with Umbraco.Web.UI and ensures we are using a consistent version of System.ComponentModel.Annotations 2020-05-20 10:59:09 +10:00
Shannon 3f67e1be7d Move Content, Property, PropertyCollection, PropertyType 2020-05-20 10:50:37 +10:00
Shannon 7bea165597 Moves UserGroup and UserGroupExtensions to core 2020-05-20 10:37:11 +10:00
Shannon 86f60677a1 moves UserExtensions and ContentPermissionsHelper 2020-05-20 10:29:53 +10:00
Shannon 96e006e8b9 Moves user to Core models and removes backwards compat hacks and casting 2020-05-20 10:22:48 +10:00
Shannon 4b5777a747 adds code docs to ext methods 2020-05-20 09:58:05 +10:00
Shannon DeminickandGitHub 6381907134 Merge pull request #8129 from scottbrady91/netcore/feature/aspnetcoreidentity
Added ASP.NET Core Identity to Umbraco.Web.UI.NetCore
2020-05-20 09:54:21 +10:00
Elitsa Marinovska 65fa1efc9c Changing a var name for better reflection on the origin of its value 2020-05-20 00:54:28 +02:00
Elitsa Marinovska 16d805e6f5 Adding Smtp section in appsettings, registering IEmailSender as an email service and ofc the MailKit nuget in Infrastructure proj 2020-05-20 00:24:55 +02:00
Elitsa Marinovska ad31db9f4a Adding DeliveryMethod option which we make use of in EmailSender.cs 2020-05-20 00:21:45 +02:00
Elitsa Marinovska e85ccb0dab Removing TODOs with the actual implementation 2020-05-20 00:20:25 +02:00
Elitsa Marinovska ea380985db Moving files using MailKit nuget package (Smtp successor) as SmtpClient has been marked as obsolete by Microsoft 2020-05-20 00:19:43 +02:00
Bjarke Berg bff9477c31 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated ExamineManagementController 2020-05-19 14:02:12 +02:00
Scott Brady 6dcaa986cd Removed unnecessary TODO and code duplication 2020-05-19 12:18:47 +01:00
Bjarke Berg 35680bba46 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated DashboardController and BackOfficeAssetsController 2020-05-19 09:52:58 +02:00
Mikulas Tomanka df2d1fb4da use sql main dom lock when linux and ignore config setting 2020-05-19 09:45:31 +02:00
Bjarke BergandGitHub e7354c9b45 Merge pull request #8124 from umbraco/netcore/feature/boot-failed-exception
boot failed exception handling
2020-05-19 07:50:06 +02:00
Shannon 95d695594a Ensure we capture boot failed exception earlier and ensure that composers registered to run on boot failed are executed 2020-05-19 14:51:05 +10:00
Bjarke Berg 4ca6868553 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated TourController 2020-05-18 15:19:52 +02:00
Scott Brady a44dde9432 Added IdentityExtensions 2020-05-18 13:00:32 +01:00
Scott Brady 091712e5de Merge remote-tracking branch 'Umbraco/netcore/netcore' into netcore/feature/aspnetcoreidentity 2020-05-18 12:52:03 +01:00
Scott Brady 6f75fe6cc4 Reintroduced missing OWIN user manager functionality 2020-05-18 12:51:24 +01:00
Scott Brady 7b1ce5bbe7 Removed duplication with user store and manager 2020-05-18 12:06:26 +01:00
Bjarke Berg 52035c043d https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated UmbracoWebApiRequireHttpsFilter 2020-05-18 12:40:01 +02:00
Bjarke Berg 0cfd40747c Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6586-backofficecontroller 2020-05-18 12:01:48 +02:00
Bjarke Berg 287f379c1b Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-05-18 12:01:18 +02:00
Bjarke BergandGitHub a198d4a37c Merge pull request #8122 from AndyButland/feature/7799-netcore-web-api-component-migration
Netcore: Implemented various Web API components
2020-05-18 12:00:07 +02:00
Bjarke Berg 5e131ebafb Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-05-18 11:51:55 +02:00
Bjarke Berg cda531e34e Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	.gitignore
#	src/Umbraco.Web/Editors/ContentController.cs
2020-05-18 10:37:28 +02:00
Andy Butland 0e4d8506fb Updated following PR review. 2020-05-18 09:36:56 +02:00
Scott Brady c92c633edb Reduced duplicated code 2020-05-18 08:21:34 +01:00
Shannon 06ce62d922 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/boot-failed-exception 2020-05-18 16:20:25 +10:00
Shannon DeminickandGitHub c36c2f6a33 Merge pull request #8099 from umbraco/netcore/feature/auto-routing
Netcore/feature/auto routing
2020-05-18 16:19:18 +10:00
Shannon 1cf8fb376c Merge branch 'netcore/feature/auto-routing' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/auto-routing 2020-05-18 15:35:34 +10:00
Shannon a84bcdd6ae fix ctor, fix usages of GetBackOfficeUrl 2020-05-18 15:35:20 +10:00
Shannon 027b449cb6 fixes virtual path 2020-05-18 15:16:09 +10:00
074a174139 Update src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-05-18 15:15:53 +10:00
5dc0dfb5ad Update src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-05-18 15:12:30 +10:00
Shannon 0973e49fcf removes test controller 2020-05-18 15:12:07 +10:00
Bjarke Berg 1f51d667e9 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated UmbracoWebApiRequireHttpsFilter 2020-05-18 06:43:33 +02:00
Scott Brady c6210ba7f2 Working installation. Use of Thread.CurrentPrincipal removed for now 2020-05-17 10:39:30 +01:00
Scott Brady d12c6ddf62 Cleanup 2020-05-17 08:59:40 +01:00
Scott Brady 4627627350 Moved .NET standard back office identity code into infrastructure (lowest common dependency) 2020-05-17 08:48:36 +01:00
Scott Brady 8317518b4c Resolvable user manager. Removed password configuration and generation for now 2020-05-17 07:56:59 +01:00
Andy Butland ed8f65b74e Migrated AppendUserModifiedHeaderAttribute into netcore 2020-05-17 08:52:28 +02:00
Andy Butland 60c5c15fdf Migrated ValidationFilterAttribute into netcore 2020-05-16 19:35:45 +02:00
Andy Butland b2e12f400c Migrated OnlyLocalRequestsAttribute into netcore 2020-05-16 19:17:08 +02:00
Andy Butland c681b4a835 Migrated HttpQueryStringModelBinder into netcore. 2020-05-16 09:41:54 +02:00
Scott Brady e872ba1a64 Resolvable user store 2020-05-15 16:52:51 +01:00
Scott Brady c9f9706523 Initial DI attempt 2020-05-15 15:21:15 +01:00
Scott Brady 6a801a3542 Merge remote-tracking branch 'Umbraco/netcore/netcore' into netcore/feature/aspnetcoreidentity 2020-05-15 14:42:46 +01:00
Bjarke Berg dd986d4f73 Post merge + fix in views 2020-05-15 14:22:10 +02:00
Bjarke Berg 515d43e11b Merge branch 'netcore/netcore' into netcore/feature/auto-routing
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
2020-05-15 14:10:03 +02:00
Bjarke BergandGitHub 5c1bacd944 Merge pull request #8080 from AndyButland/feature/7991-netcore-content-model-binder
Netcore: Implemented content model binder.
2020-05-15 13:34:15 +02:00
Bjarke BergandGitHub 7532453dc5 Merge pull request #8093 from umbraco/netcore/feature/AB6455-migrate-surfacecontroller
Netcore: Migration of SurfaceController
2020-05-15 13:33:00 +02:00
Bjarke Berg 87a26f7b6f AB6455 - Cleanup and added TODO to ensure we get this tested 2020-05-15 12:24:37 +02:00
Andy Butland 8ae0e12512 Removed global setting of content model binder and used encoded URL in model binding exception filter redirect. 2020-05-15 10:33:09 +02:00
Bjarke Berg c7a9f56295 AB6455 - Moved SurfaceControllerTests to unit tests 2020-05-15 10:05:29 +02:00
Scott Brady 2c78f2f1d7 More migration of back office identity. Blocked by password validator 2020-05-14 22:21:19 +01:00
Shannon 3d9603e669 Migrates more logic from the umb module over to netcore 2020-05-14 22:50:27 +10:00
Shannon 88f6d09ef9 Enables the boot failed exception logic 2020-05-14 22:14:00 +10:00
Shannon 3ebf8a969c naming 2020-05-14 21:20:06 +10:00
Shannon dced6dc791 2 diff areas for the back office so views can be stored in a nice place, updates tests to verify controllers are attributed with correct areas 2020-05-14 21:12:41 +10:00
Shannon ac6f691208 Adds tests for all routes and fixes up some of the issues 2020-05-14 20:59:29 +10:00
Shannon 18a1a72349 writes tests for endpoint routes 2020-05-14 18:08:59 +10:00
Shannon e3591923c3 Gets auto-routing back office api controllers working, lots of notes 2020-05-14 17:04:16 +10:00
Shannon 64b78676da fix namespace 2020-05-14 14:47:59 +10:00
Shannon acd7588c52 adds missing js func 2020-05-14 12:05:07 +10:00
Scott Brady 332946dbd8 Duplicated user store across to Umbraco.Web.BackOffice 2020-05-13 18:30:57 +01:00
Shannon 3bacba3ecd Streamlines, simplifies and makes all routing consistent, fixes catch all route by installer 2020-05-13 17:14:09 +10:00
Shannon 768d95588f Moves the PreviewController to netcore, ports the UmbracoAuthorizeAttribute to netcore, routes the minimal back office controllers and dynamically routes based on runtime. 2020-05-13 16:09:54 +10:00
Shannon 4d6df1405f Moves routing into IAreaRoutes, ensures back office is redirected if installed 2020-05-13 14:49:00 +10:00
Bjarke Berg 317edabf02 AB6455 - Fix issue with ITempDataDictionary 2020-05-12 21:04:55 +02:00
Bjarke Berg cd48adc7af AB6455 - Stub'ed WebSecurity, cleanup and fix issue with content root vs web root 2020-05-12 20:28:40 +02:00
Bjarke Berg f586883da1 AB6455 Fix issue with ITempDataDictionary 2020-05-12 19:58:51 +02:00
Bjarke Berg d3b15c4a41 AB6455 Fix missing umbracoContextAccessor in ctors 2020-05-12 19:12:57 +02:00
Elitsa Marinovska 86cef94566 Re-implementing SurfaceControllerTests 2020-05-12 16:11:11 +02:00
Elitsa Marinovska 6ddb103782 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6455-migrate-surfacecontroller 2020-05-12 13:43:22 +02:00
Bjarke BergandGitHub 2e51b11f7c Merge pull request #8095 from umbraco/netcore/feature/redirect-installer
Redirect to installer and ext method/startup cleanup
2020-05-12 10:58:49 +02:00
Bjarke Berg cfcdcae64a Cleanup and fixed issue with permanent redirect 2020-05-12 10:51:59 +02:00
Shannon 54769e2416 doh fix build 2020-05-12 17:25:30 +10:00
Shannon 42c347dc21 doh fix build 2020-05-12 17:19:19 +10:00
Shannon 1607045347 fix namespace 2020-05-12 17:16:42 +10:00
Shannon a34d94845c Fixes tests 2020-05-12 17:14:39 +10:00
Shannon f427059d41 Fixes routing for installer to use an area, fixes URL generation 2020-05-12 17:10:02 +10:00
Elitsa Marinovska cbf7f5ccc3 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6455-migrate-surfacecontroller 2020-05-12 08:29:39 +02:00
Elitsa Marinovska 95dd55506a Merge remote-tracking branch 'origin/netcore/feature/AB6352-migrate-action-results' into netcore/feature/AB6455-migrate-surfacecontroller 2020-05-12 08:17:02 +02:00
Elitsa Marinovska 3672e61104 Resolving service dependency 2020-05-12 08:10:32 +02:00
Shannon 8a7bc5d3d2 Removes null writer 2020-05-12 15:45:59 +10:00
Shannon 4464980b4a Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/redirect-installer 2020-05-12 15:44:56 +10:00
Shannon 1f25e28e08 Move install ext methods to it's own class, adds catch all redirect when we need to install 2020-05-12 15:44:14 +10:00
Bjarke BergandGitHub 9e6ed6fb6f Merge pull request #8094 from umbraco/netcore/feature/mvc-application-model
Don't modify global MVC options (and more)
2020-05-12 07:38:19 +02:00
Elitsa Marinovska 33768e3806 Adding missing import 2020-05-12 07:26:03 +02:00
Shannon bcaede22f1 Cleans up ext methods and where they are located and what they call to ensure dependencies are taken care of, cleans up Startup, moves routing appropriately 2020-05-12 15:18:55 +10:00
Shannon 4107ccdb12 cleanup unneeded code , adds notes 2020-05-12 14:20:43 +10:00
Shannon 3add4746fe Gets body model binders working per controller and figures out how the application model works 2020-05-12 12:29:03 +10:00
Shannon 39fed867c1 Cleans up some routing, mvc base classes, gets controller specific model binding working, applies our own application model to our controllers 2020-05-12 10:21:40 +10:00
Elitsa MarinovskaandGitHub 8b047b55a0 Uncommenting testing implementation 2020-05-11 21:24:21 +02:00
Elitsa Marinovska 0eefbfd449 Migrating SurfaceController 2020-05-11 20:29:38 +02:00
Elitsa Marinovska 87ce202a1e Marking actions in old BackOfficeController as migrated. Updating the netcore BackOfficeController after merge 2020-05-11 17:05:57 +02:00
Elitsa Marinovska 412067e11f Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6455-migrate-surfacecontroller
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-05-11 16:50:36 +02:00
Elitsa Marinovska 0e47718d0c Migrating 2 actions in relation to testing JsonNetResult action result 2020-05-11 16:44:08 +02:00
Elitsa Marinovska d33aa6cdf5 Updating the way we get UmbracoContext in RedirectToUmbracoPageResult.cs; removing the flushing in JsonNetResult.cs and adding necessary configuration for allowing sync operations needed in JsonNetResult.cs 2020-05-11 16:23:33 +02:00
Elitsa Marinovska 00f4899d94 Merge branch 'netcore/dev' into netcore/feature/AB6352-migrate-action-results 2020-05-11 16:07:59 +02:00
Bjarke Berg be81e927a9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-05-11 12:31:47 +02:00
Bjarke Berg f8c4ac6623 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-05-11 12:24:45 +02:00
Bjarke Berg 3c622905ba Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Models/Mapping/ContentTypeMapDefinition.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2020-05-11 08:23:59 +02:00
Shannon DeminickandGitHub 09a3c4afee Merge pull request #8009 from umbraco/netcore/feature/AB6233-install-steps-in-dotnet-core
Netcore: Install steps in dotnet core executable
2020-05-11 15:59:42 +10:00
Andy Butland 22b7484217 Implemented content model binder in netcore. 2020-05-08 13:23:44 +02:00
Shannon aa25e29e7b removes old machine key things 2020-05-08 17:53:24 +10:00
Shannon 1cc548a031 Adds notes 2020-05-08 17:47:21 +10:00
Shannon 7a185b6e87 reduce duplication 2020-05-08 17:36:59 +10:00
Shannon 12bb68100a Remove ununsed and unneeded DbProviderFactory CreateFactory(); from IDbProviderFactoryCreator, ensure the app doesn't explode if exceptions are thrown and boot fails 2020-05-08 17:30:30 +10:00
Shannon d899e050fe resolves types from the assembly that was loaded, removes unused references, adds notes 2020-05-08 16:35:37 +10:00
Bjarke Berg 6a078ee09e AB#6233 - reorderen routing 2020-05-07 15:24:46 +02:00
Bjarke Berg e121ce136f AB#6233 - Clean up 2020-05-07 10:21:32 +02:00
Bjarke Berg e3f9b94fd0 AB#6233 - Added HttpPost to ensure only posts are possible 2020-05-07 10:13:54 +02:00
Bjarke Berg e4dfdbb504 AB#6233 - renamed extensions namespace to Umbraco.Extensions 2020-05-07 10:08:23 +02:00
Bjarke Berg fa3f52c6d3 AB#6233 - Clean up 2020-05-07 10:00:18 +02:00
Bjarke Berg 1499e4538f AB#6233 - Clear other formatters in AngularJsonOnlyConfigurationAttribute and changed to inject dependencies and use TypeFilter 2020-05-07 09:46:42 +02:00
Bjarke Berg 525df22239 AB#6233 - Clear other formatters in AngularJsonOnlyConfigurationAttribute 2020-05-07 09:39:46 +02:00
Bjarke Berg 8f7c022f2d AB#6233 - Handle ApplicationUrl 2020-05-07 09:34:16 +02:00
Shannon 2f7b65ef8f start adding DenyLocalLoginAuthorizationAttribute 2020-05-07 15:09:18 +10:00
Bjarke Berg 269c75e26b AB¤6233 - Reverted changes to typefinder and implemented check for if SqlCE is available in the install process 2020-05-06 20:37:03 +02:00
Shannon 1ba940b03d Updates UI to not show user options when there is a provider with deny local login 2020-05-06 18:53:13 +10:00
Bjarke Berg 13197eb5ff AB#6233 - Cleanup / Fixes from review 2020-05-05 14:28:01 +02:00
Bjarke Berg ecc596c483 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core
# Conflicts:
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
2020-05-05 12:15:53 +02:00
Bjarke BergandGitHub 4bafa25e23 Merge pull request #8025 from scottbrady91/netcore/feature/users
Migrated back office to ASP.NET Core Identity
2020-05-05 12:14:33 +02:00
Bjarke Berg e8fc2a766b Implemented GetUsersInRoleAsync and reintroduced email check 2020-05-05 11:33:19 +02:00
Scott Brady c58f480d24 Addressed IdentityError changes (it's no longer a collection of string) 2020-05-04 18:49:06 +01:00
Scott Brady 04e9140486 Null checks and property uses 2020-05-04 18:32:57 +01:00
Scott Brady 57ec84cb47 Basic tests & refactor for PostUnlockUsers 2020-05-04 18:19:24 +01:00
Scott Brady 5815bfa15f Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-05-04 14:36:45 +01: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 BergandGitHub 31cda96ba5 Merge pull request #8008 from electricsheep/feature/netcore-misc-unit-tests
Netcore: #7898 Migrate Misc tests to new test project
2020-05-04 10:20:05 +02:00
Bjarke Berg 217e634093 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core 2020-05-04 09:38:14 +02:00
Bjarke Berg d83cef5f3d Fix for tests failing 2020-05-04 09:35:48 +02:00
Bjarke Berg 03c68fa638 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core 2020-05-04 06:55:08 +02:00
Ollie Philpott 07d72d5562 Move OrderedHashSetTests 2020-05-03 16:03:45 +01:00
Ollie Philpott 6693ea0ff7 Move DeepCloneableListTests 2020-05-03 15:57:45 +01:00
Ollie Philpott 72071a536b Move ReflectionUtilitiesTests 2020-05-03 15:51:46 +01:00
Ollie Philpott 045604d339 Move ReflectionTests 2020-05-03 15:28:56 +01:00
Bjarke Berg eb4f9b5fbb Updated Imagesharp to rc1 2020-05-01 15:55:39 +02:00
Bjarke Berg aa31a8b5dd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs
#	src/Umbraco.Core/PublishedCache/PublishedSnapshotServiceBase.cs
#	src/Umbraco.Core/PublishedModelFactoryExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js
#	src/Umbraco.Web.UI.Client/src/views/users/user.controller.js
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2020-05-01 14:13:15 +02:00
Bjarke Berg f3d81702ac AB#6233 - revert connectionstring 2020-05-01 13:47:44 +02:00
Bjarke Berg b70d7101e3 AB#6233 - Explicit restarts umbraco after install to ensure runtime state is run and umbraco is correct composed. 2020-05-01 13:40:26 +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
Scott Brady f3f4537c58 Removed test settings 2020-04-30 15:50:19 +01:00
Scott Brady 077cf57abc PR recommendations: added null checks where FindByX was added, using the same exception as ASP.NET Identity 2 2020-04-30 15:48:32 +01:00
Bjarke Berg 04872857e4 AB#6233 - Removed code that cleared the connection string just after it was inserted 2020-04-30 12:57:17 +02:00
Scott Brady 643c249386 Moved ClaimsIdentityExtensions into Umbraco.Core 2020-04-30 09:28:46 +01:00
Scott Brady 2caab18d29 Reintroduced FindFirstValue extension method 2020-04-30 09:27:34 +01:00
Scott Brady 073b28064a Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-30 09:13:20 +01:00
Bjarke Berg fcf37aa80f AB#6233 - Added more to the KnownAssemblyExclusionFilter 2020-04-30 10:07:21 +02:00
123b59506b Apply suggestions from code review
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-04-30 08:50:56 +01:00
Bjarke Berg 59501eba86 AB#6233 - Cleanup 2020-04-29 16:11:56 +02:00
Bjarke Berg fa740f36b5 fix tests 2020-04-29 08:56:42 +02:00
Bjarke Berg e5224b4fe1 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core 2020-04-29 08:23:40 +02:00
Bjarke BergandGitHub e6c3c5e36e Merge pull request #7977 from AndyButland/feature/7898-netcore-model-unit-tests-4
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-29 08:22:19 +02:00
Elitsa Marinovska 450226a2c3 Marking classes as "Migrated" 2020-04-28 16:01:11 +02:00
Elitsa Marinovska 652da168db Migrating ActionResults and a dependency class 2020-04-28 16:00:29 +02:00
Scott Brady d08bb08f57 Cleanup 2020-04-28 13:05:40 +01:00
Scott Brady 3584aa9fa3 Fixed naming for login info wrapper 2020-04-28 13:00:02 +01:00
Scott Brady 1862bf033f Normalized int to string conversion 2020-04-28 12:20:04 +01:00
Bjarke Berg 64dfa009f5 #6233 - version in config removed 2020-04-28 12:31:15 +02:00
Andy Butland 1f4030f910 Made more use of defaults in builder based unit tests. 2020-04-28 12:06:01 +02:00
Scott Brady 7947ce16dd Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-28 08:42:21 +01:00
Bjarke Berg bc4713a51c #6233- SqlCE stuff 2020-04-28 07:02:14 +02:00
Bjarke Berg 55d9af2b68 #6233- Install steps + MacroRenderer 2020-04-27 13:00:55 +02:00
Bjarke BergandGitHub 0b055cee4b Merge pull request #7963 from emmagarland/feature/netcore-model-unit-tests-settings
Netcore: Migrate UmbracoSettings tests from UnitTests to Integration Tests
2020-04-27 10:34:35 +02:00
Scott Brady 0338c2fc4a Removed null checks from normalizer (breaks Umbraco bootstrap process) 2020-04-24 12:52:49 +01:00
Scott Brady 9c9bd1dd1e Merge fixes 2020-04-24 12:48:29 +01:00
Scott Brady fed9d1c335 Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-24 12:46:48 +01:00
Bjarke Berg 9110638ce1 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core 2020-04-24 12:04:40 +02:00
Bjarke Berg 3e50333a3b Fix for logviewer issue 2020-04-24 11:52:12 +02:00
Ollie Philpott 2b7b9db3a5 Moved and refactored UriUtility tests 2020-04-24 09:27:44 +01:00
Bjarke Berg 56b94b53b1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Services/UserServiceExtensions.cs
#	src/Umbraco.Infrastructure/Examine/ContentValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/Search/ExamineComposer.cs
#	src/Umbraco.PublishedCache.NuCache/DataSource/DatabaseDataSource.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexInitializer.cs
2020-04-24 08:34:48 +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
Scott Brady 42efb78fdd Addressed final TODOs 2020-04-23 16:03:12 +01:00
Ollie Philpott c567b11c81 Move builder to correct folder 2020-04-23 15:36:48 +01:00
Ollie Philpott b056719cdc Move XmlHelper tests and add builder 2020-04-23 15:01:17 +01:00
Ollie Philpott 30be5f30ca Move HashGenerator tests 2020-04-23 12:13:08 +01:00
Ollie Philpott 6144c4cb03 Move HashCodeCombiner tests 2020-04-23 12:11:28 +01:00
Ollie Philpott e89b6fe6e7 Move DateTimeExtensions tests 2020-04-23 11:51:12 +01:00
Scott Brady d6036eb9f4 Added ASP.NET Core Identity token providers 2020-04-22 20:28:49 +01:00
Scott Brady 4763c28c4a Completed No-op lookup normalizer and OWIN daa protection token provider 2020-04-22 20:05:12 +01:00
Scott Brady 16a19b941e Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-22 15:58:54 +01:00
Scott Brady 8fc2674426 Tests for v7 password hash 2020-04-22 15:58:28 +01:00
Emma Garland c2eb3b0480 Merge branch 'netcore/dev' of https://github.com/umbraco/Umbraco-CMS into feature/netcore-model-unit-tests-settings 2020-04-22 13:53:41 +01:00
Bjarke BergandGitHub 34ae4311d0 Merge pull request #7996 from umbraco/netcore/bugfix/logging-fixing
Fixes up all things logging in netcore
2020-04-22 12:13:10 +02:00
Bjarke Berg fce1df08f9 Fix test 2020-04-22 10:55:13 +02:00
Bjarke Berg f76e638f0d Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/logging-fixing
# Conflicts:
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
2020-04-22 10:54:54 +02:00
Bjarke BergandGitHub 30c877c66b Merge pull request #7982 from umbraco/netcore/feature/ab6232-WebRuntime
Introduced GenericDictionaryRequestAppCache and eliminated the WebRuntime
2020-04-22 09:11:41 +02:00
Bjarke BergandGitHub 3b08028202 Merge pull request #7992 from umbraco/netcore/feature/AB6241-reimplement-action-filters
Netcore: Reimplementing action filters
2020-04-22 08:54:25 +02:00
Bjarke Berg 79e9235338 AB#6233 - Install in .NET Core 2020-04-22 08:17:45 +02:00
Shannon 18b285f088 Splits profiler so it doesn't have to take a dependency since we don't want to pre-resolve. Adds enrichers to the container. 2020-04-22 15:23:51 +10:00
Shannon 2ef8f26b28 removes unneeded extra HostBuilderExtensions 2020-04-22 14:29:01 +10: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
Elitsa Marinovska 062441c650 Passing NoAppCache to CoreRuntime base ctor 2020-04-21 13:48:06 +02:00
Elitsa Marinovska acad9d1f84 Making class public 2020-04-21 11:03:04 +02:00
Bjarke Berg fbe6f6cdd2 AB#6232 - Moved EnablePerWebRequestScope from configure to start 2020-04-21 11:00:30 +02:00
Elitsa Marinovska c185b67ed0 Adding UseStatusCodePages for disabling/enabling status code pages (ex: from IIS) 2020-04-21 10:55:01 +02:00
Elitsa Marinovska 28f5033cb7 Renaming a file for constants. Clarifying the proj for other Constants file 2020-04-21 10:14:03 +02:00
Elitsa Marinovska 16aab7a3cb Refactoring 2020-04-21 09:33:39 +02:00
Elitsa Marinovska 138b8099fc Reimplementing EnsurePartialViewMacroViewContextFilterAttribute and other required classes 2020-04-21 09:28:22 +02:00
Elitsa Marinovska 65b45eb48d Marking classes as moved 2020-04-21 09:25:15 +02:00
Elitsa Marinovska 77a06efa91 Moved filters to Umbraco.Web.Common project 2020-04-21 09:19:18 +02:00
Shannon d0f1ea0e59 Gets logging working in netcore, removes remaining usages of AppDomain.CurrentDomain.BaseDirectory and reduces more IOHelper usages 2020-04-21 13:31:55 +10:00
Shannon ee37d3aa7a Fixes up usage of AppDomain.CurrentDomain.BaseDirectory in log viewer which cannot work in netcore since this is inconsistent with net framework, adds notes, starts configuring serilog with UseUmbraco 2020-04-21 13:07:20 +10:00
Elitsa Marinovska d483f2ccbd Marking asp.net action filters as migrated to net core 2020-04-20 22:56:36 +02:00
Elitsa Marinovska 487e3c54a8 Reimplementing action filters to asp.net core 2020-04-20 22:55:40 +02:00
Scott Brady e90778bd3d Extracted constant for 2FA remember me cookie 2020-04-20 20:20:04 +01:00
Scott Brady 96d9d3bd21 Removed use of Microsoft.AspNet.Identity.Owin, but had to port across some OWIN extensions 2020-04-20 20:14:36 +01:00
Scott Brady 11f5c98206 Finished security stamp validator 2020-04-20 19:45:08 +01:00
Bjarke Berg c0ec1bf6ca Introduced GenericDictionaryRequestAppCache, to use the HttpContext.Items from .NET Core 2020-04-20 13:21:09 +02:00
Andy Butland e561784057 Migrated DictionaryTranslationBuilders into new unit test project and builder format. 2020-04-19 09:39:30 +02:00
Andy Butland 7782457ae5 Created extension methods for creating standard test content types. 2020-04-19 09:21:36 +02:00
Andy Butland b5ef6bb6d1 Migrated CultureImpactTests into new unit tests project. 2020-04-19 09:07:58 +02:00
Andy Butland 9d2bfdc428 Migrated content, media and member type tests into new unit tests project and builder pattern. 2020-04-19 09:05:09 +02:00
Warren BuckleyandGitHub 9335f39495 Update Readme.md in netcore branch to see if LGTM.com will analyze C# 2020-04-18 22:01:39 +01:00
Andy Butland c38c5c39ce Migrated DeepCloneHelper tests into new unit tests project. 2020-04-18 10:06:53 +02:00
Andy Butland 137ee60014 Migrated mapping tests into new unit tests project. 2020-04-18 10:04:52 +02:00
Andy Butland 12b9507007 Aligned user group builder with other builders. 2020-04-18 10:04:28 +02:00
Andy Butland e0ffc4bc07 Migrated ContentScheduleTests into new unit tests project. 2020-04-18 08:59:30 +02:00
Andy Butland d334fef4b6 Migrated DocumentEntitySlim tests into new project and builder pattern. 2020-04-18 08:57:14 +02:00
Bjarke Berg bf1784f9d1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/ContentExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
2020-04-17 11:43:04 +02:00
Scott Brady a0e11c49d6 Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-17 10:37:13 +01:00
Bjarke BergandGitHub a35b52b46f Merge pull request #7948 from AndyButland/feature/7898-netcore-model-unit-tests-3
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-17 06:17:44 +02:00
Bjarke Berg 295d0b73b3 nuget fix 2020-04-16 20:12:06 +02:00
Bjarke Berg 14072b0c21 nuget fix 2020-04-16 19:54:25 +02:00
Bjarke Berg 9f56aa1358 Merge remote-tracking branch 'origin/netcore/dev' into feature/7898-netcore-model-unit-tests-3 2020-04-16 19:28:05 +02:00
Bjarke Berg 3406bdb40b Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	NuGet.Config
#	src/Umbraco.Core/Models/RelationType.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs
2020-04-16 19:00:51 +02:00
Emma Garland 8a7a0f65b1 Added new test case to show it working 2020-04-16 14:37:06 +01:00
Andy Butland 2278b0d318 Merge branch 'netcore/dev' into feature/7898-netcore-model-unit-tests-3 2020-04-16 12:19:04 +02:00
Andy Butland 33853eee43 Added setup method to instantiate clean builder for all model unit tests within the class. 2020-04-16 12:18:06 +02:00
Scott Brady 989767b053 Merge fixes 2020-04-16 11:16:35 +01:00
Andy Butland 89a419e4d1 Clarified comment. 2020-04-16 11:46:02 +02:00
Andy Butland 068100cc8e Removed resetting of unit test builders. 2020-04-16 11:39:30 +02:00
Scott Brady 52d6c86d8b Merge branch 'netcore/dev' into netcore/feature/users 2020-04-16 09:41:27 +01:00
Emma Garland cc26a7e67b Removed unwanted references to old config and helper location 2020-04-15 15:50:38 +01:00
Emma Garland fcb24abb77 Console.WriteLine as TestContext may not always work in all VS versions 2020-04-15 15:33:37 +01:00
Emma Garland 3e7404eab0 Auto property for default settings. We needed the defaults for testing, but removed comment re appveyor because these tests failed on my local too, since these were not being set accurately as the default settings had no whitelist and therefore the logic was altered from false to true. Write to TestContext not debug. 2020-04-15 15:30:26 +01:00
Bjarke Berg 26e16cee7a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-04-15 15:52:22 +02:00
Shannon DeminickandGitHub a96b04e0dd Merge pull request #7890 from umbraco/netcore/feature/ab5819-initialize-composers
NetCore: Initialize more services for .net core
2020-04-15 10:17:20 +10:00
Emma Garland 0c77450222 Specified hostingenvironment and databaseproviders after unit tests not picking up Umbraco.Core namespaces
Migrated into integrations project configurations, as files are being read
2020-04-14 16:55:54 +01:00
Bjarke Berg ad4bce3b73 AB#5819 - Cleanup 2020-04-14 16:26:01 +02:00
Emma Garland b4dbe1302c Moved all UmbracoSettings tests into new unit tests configuration project
Added InternalVisibleTo for new Unit Tests project Umbraco.Configuration, so the internals can be tested
Moved TestHelpers for specific case into separate helper file, as independent helper, as this is the only method used. Changed from TestHelperBase to TestHelper.
Subsequently changed path for testing
2020-04-14 14:07:01 +01:00
Bjarke Berg d0135eae2b Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5819-initialize-composers 2020-04-14 07:29:59 +02:00
Andy Butland 597489fba2 Added missing builder property values when building macro properties. 2020-04-13 19:33:39 +02:00
Andy Butland a9a8cb7f6f Migrated macro unit tests to new project and builder pattern. 2020-04-13 19:22:31 +02:00
Andy Butland f961916245 Introduced a reset of the unit test builders to support re-use within a test. 2020-04-12 09:47:44 +02:00
Andy Butland a5aa1e19a5 Fixed failing integration tests following amends to UserBuilder. 2020-04-11 18:37:10 +02:00
Andy Butland 3085ce52f9 Migrated parth validation tests to new project and builder pattern. 2020-04-11 17:21:27 +02:00
Andy Butland 4456a784b0 Migrated user extension tests new project pattern. 2020-04-11 16:41:28 +02:00
Andy Butland b3fd94e023 Migrated user tests into new project and builder pattern. 2020-04-11 16:35:33 +02:00
Bjarke BergandGitHub 030668a8d1 Merge pull request #7896 from AndyButland/feature/netcore-model-unit-tests-2
Netcore: Further model unit test migrations into new project and builder pattern (2)
2020-04-10 18:18:38 +02:00
Andy Butland f4ad8176c4 Removed references to moved projects introduced by merge. 2020-04-10 17:51:57 +02:00
Andy Butland 766826f462 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/MemberTypeBuilder.cs
2020-04-10 17:11:41 +02:00
Andy Butland 82feb93243 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2 2020-04-10 17:05:46 +02:00
Andy Butland 650126cfc8 Amended PropertyBuilder to return IProperty and removed some unnecessary default properties from built test class. 2020-04-10 17:01:47 +02:00
Bjarke BergandGitHub 8aaff38a6d Merge pull request #7895 from AndyButland/feature/netcore-model-unit-tests
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-10 16:28:19 +02:00
Shannon d56867757c Merge branch 'netcore/dev' into netcore/feature/ab5819-initialize-composers 2020-04-08 15:59:00 +10:00
Shannon f19e18e160 Removes new namespaces: Umbraco.Core.Cookie, Umbraco.Core.Session, Umbraco.Core.Request, these are web things and should be part of one namespace 2020-04-08 15:56:19 +10:00
Shannon DeminickandGitHub b23686e87e Merge pull request #7909 from rustybox/bugfix/case-sensitive-fs-fixes
Netcore: Alter ResXFileRef to match filesystem
2020-04-08 10:21:20 +10:00
Paul Johnson b2f1c728fb Alter resx to match filesystem 2020-04-07 16:54:54 +01:00
Scott Brady e5f3c4a186 Security stamp validator. Removed more references to ASP.NET Identity 2 2020-04-06 17:23:04 +01:00
Andy Butland 09b18c0227 Removed some properties unnecessarily set in tests as they will be set by default by the builder. 2020-04-05 09:31:56 +02:00
Scott Brady 02dfa893e9 Cleanup 2020-04-04 19:58:09 +01:00
Andy Butland d9f9a166a6 Migrated property, property type and property group tests into new project and builder pattern. 2020-04-04 16:49:01 +02:00
Scott Brady 809ead4223 Removed temporary class naming 2020-04-04 12:59:29 +01:00
Scott Brady 851ae1ba0f Initial working back office 2020-04-04 12:36:04 +01:00
Andy Butland f10971efaa Migrated relation tests into new project and builder pattern. 2020-04-04 12:21:41 +02:00
Andy Butland 58a1bc0a8f Migrated stylesheet and template tests into new project and builder pattern. 2020-04-04 09:32:23 +02:00
Bjarke Berg 669ce1629f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5819-initialize-composers 2020-04-03 10:58:45 +02:00
Bjarke BergandGitHub 59997252a2 Merge pull request #7838 from umbraco/netcore/feature/AB5822-smidge-implementation
Netcore: Smidge implementation
2020-04-03 10:58:08 +02: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
Bjarke Berg 2c1d94cb11 AB#5822 - removed IIOHelper.DirSepChar and uses Path.DirectorySeparatorChar instead 2020-04-03 10:09:08 +02:00
Bjarke Berg eba1b90976 AB#5822 - removed wrong xmldoc 2020-04-03 10:05:38 +02:00
Bjarke Berg 440ebf6f18 AB#5822 - Small changes 2020-04-03 10:04:43 +02:00
Shannon d711796c59 Fixing tests 2020-04-03 17:05:50 +11:00
Shannon 4920268ec8 combines application builder extensions to one class 2020-04-03 15:56:34 +11:00
Shannon 604797d339 fixes DisableAttribute implementation when looking for a type 2020-04-03 15:54:25 +11:00
Shannon c48f36f6a2 Even more IOHelper reduction, fixes some tests 2020-04-03 15:36:57 +11:00
Shannon b3da9a904b Fix build 2020-04-03 15:24:40 +11:00
Shannon 859546f5a4 Fixes deadlock issues and concurrent index drop issues 2020-04-03 13:54:28 +11:00
Shannon 60abdd60b5 Starts fixing up integration tests 2020-04-03 13:16:01 +11:00
Shannon 4349115f0d Fixes up some errors 2020-04-03 11:47:38 +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
Scott Brady 4e583db68e Added OWIN based token provider. Removed use of IdentityFactoryOptions 2020-04-02 15:55:00 +01:00
Shannon 9d320f79da New IRuntimeHash to fix type scanning in netcore in order to look at the right runtime bits to creaet a hash for 2020-04-03 01:08:52 +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
Shannon 4fddb94462 Fixes up preview paths, adds more docs and ensures we throw exceptions when not absolute paths 2020-04-02 22:11:57 +11:00
Shannon 4eb116d4ac removes CssInitialization and JsInitialization and merges/simplifies code 2020-04-02 21:29:48 +11:00
Shannon 95a36b3064 Changes namesspace, fixes cdf registrations, fixes bundle registrations, cleanup 2020-04-02 21:19:42 +11:00
Bjarke BergandGitHub f9ce924e85 Merge pull request #7865 from umbraco/netcore/bugfix/integration-tests-running
Getting Integration tests running on Devops
2020-04-02 11:42:21 +02: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
Scott Brady c8afd85bd3 Initial run 2020-04-02 08:08:09 +01:00
Shannon a67bb197b7 Merge branch 'netcore/feature/AB5822-smidge-implementation' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/AB5822-smidge-implementation 2020-04-02 17:41:19 +11:00
Shannon 32deaa12d2 Removes unneeded methods/properties in abstraction, removes unneeded usages of it, changes everything to pre-defined bundles, fixes cdf implementation and reduces reflection, renames namespace 2020-04-02 17:41:00 +11:00
Bjarke Berg 97cf099f9f AB#5819 - Moved composing of core/infrastructure items into CoreInitialComposer 2020-04-01 20:00:27 +02:00
Bjarke Berg 38c41fa0bd Merge branch 'netcore/feature/AB5822-smidge-implementation' into netcore/feature/ab5819-initialize-composers 2020-04-01 15:57:07 +02:00
Bjarke Berg b1d214a13d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Gallery.cshtml
2020-04-01 15:52:23 +02:00
Bjarke Berg 3aa849fff2 AB#5819 - Moved composing of core/infrastructure items into CoreInitialComposer 2020-04-01 15:50:46 +02:00
Bjarke Berg 400fa1ccd4 Initialize Current 2020-04-01 14:19:41 +02:00
Bjarke Berg e3ac778fc9 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Cache/WebCachingAppCache.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Infrastructure/PropertyEditors/UploadFileTypeValidator.cs
#	src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI/Umbraco/js/navigation.controller.js
#	src/Umbraco.Web/Macros/MacroRenderer.cs
#	src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
2020-04-01 12:44:53 +02:00
Bjarke BergandGitHub 407d26635c Merge pull request #7872 from umbraco/netcore/feature/builders
NetCore: Aligned User and UserGroup builders to the other builders
2020-04-01 12:09:50 +02:00
Bjarke Berg 944042ad61 Updated builders 2020-04-01 12:07:54 +02:00
Bjarke Berg 6012d6749e Fix views 2020-04-01 11:31:21 +02:00
Bjarke Berg 9e38ed045f Aligned builders 2020-04-01 08:18:56 +02:00
Bjarke BergandGitHub b45c2f9412 Merge pull request #7855 from AndyButland/netcore/unit-test-migration-member-models
Netcore: Migrated member unit tests into new project/builder pattern
2020-04-01 06:33:09 +02:00
Andy Butland 919861bf36 Separated member and member group builder and model unit tests, and other minor updates from PR review. 2020-03-31 17:37:34 +02:00
Bjarke Berg e42c63693f AB#5822 Clean up 2020-03-31 16:43:01 +02:00
Bjarke Berg 6430137fe3 AB#5822 Clean up 2020-03-31 16:35:17 +02:00
Andy Butland 374147d5e8 Merge branch 'netcore/dev' into netcore/unit-test-migration-member-models 2020-03-31 16:35:09 +02:00
Bjarke Berg 8d2aad5f49 AB#5822 Clean up 2020-03-31 16:28:58 +02:00
Bjarke Berg c75c86ab27 AB#5822 Clean up 2020-03-31 16:28:13 +02:00
Bjarke Berg 94f4c6b372 AB#5822 Clean up 2020-03-31 16:15:55 +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 BergandGitHub d0938913e9 Merge pull request #7839 from umbraco/netcore/feature/ab5820-webprofiler-aspnetcore
NetCore: Implement the WebProfiler for asp.net core.
2020-03-31 15:10:18 +02:00
Bjarke Berg b9ad6a0b7c AB#5820 - Cleanup 2020-03-31 15:02:02 +02:00
Bjarke Berg ab57b633e0 AB#5820 - Cleanup 2020-03-31 14:53:20 +02:00
Bjarke Berg 2e6b5004f7 AB#5820 - Bugfix 2020-03-31 13:04:21 +02:00
Bjarke Berg 12a957e9b6 AB#5820 - Copy client files into both netcore and framework executables 2020-03-31 12:59:10 +02:00
Bjarke Berg 2a2903f932 AB#5820 - Review fixes / Clean up 2020-03-31 12:22:11 +02:00
Bjarke Berg a6d43f4fd5 AB#8522 - Clean up 2020-03-31 10:57:56 +02:00
Bjarke Berg 117bfd1f12 AB#8522 - Smidge reset updates the version string to the current ticks 2020-03-31 10:47:08 +02:00
Shannon ebdd5e3f69 env var change 2020-03-31 18:13:19 +11:00
Shannon 4ee3cf02d9 Changes integration tests working folder, hopefully this works on azure devops 2020-03-31 18:01:27 +11:00
Shannon 8535d0fbe3 Cleans up IIOHelper and removes methods/props that shouldn't exist, changes test helper to use WorkingDirectory fixes some usages of MapPath 2020-03-31 17:27:51 +11:00
Shannon DeminickandGitHub 31bd20e54a Merge pull request #7669 from AndyButland/netcore/7668-remove-repository-concerns-from-services
.NetCore: Remove direct database queries from services
2020-03-31 14:39:15 +11:00
Shannon DeminickandGitHub 4cf618e358 Merge pull request #7837 from AndyButland/feature/7540-use-image-url-generator-back-office
Netcore: Use API to get Image URLs in BackOffice instead of hardcoded querystrings
2020-03-31 14:38:23 +11:00
Bjarke Berg ffc6ce6553 AB#8522 - Smidge implementation of the Runtime Minifier 2020-03-30 21:27:35 +02:00
Elitsa Marinovska 4ac8ae3b15 Removing specific to each machine file paths from project 2020-03-30 15:29:53 +02:00
Elitsa MarinovskaandGitHub 7e3b3414d5 Merge branch 'netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore 2020-03-30 15:26:51 +02:00
Andy Butland 75b216bca5 Removed registerFileResolver methods on image cropper and file upload property editors. 2020-03-30 14:30:50 +02:00
Andy Butland 1760241607 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office 2020-03-30 14:19:15 +02:00
Andy Butland cdb65762f1 Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services 2020-03-30 14:17:16 +02:00
Shannon 7617027c49 Moves most of the UserRepositoryTest 2020-03-30 21:53:30 +11:00
Shannon 3757f722a0 Gets first integration test moved, moves the test options to the common project, ensures that the LocalDb pool is updated on each test 2020-03-30 20:55:13 +11:00
Shannon 9ed925941f Gets DB installation test working with runtime level checking 2020-03-30 17:25:29 +11:00
Andy Butland f6af286e0b Added tests confirming correct building of unit test objects. 2020-03-30 07:42:02 +02:00
Bjarke Berg 219391246d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation 2020-03-30 07:23:44 +02:00
Bjarke Berg 1e33b3df7a AB#5820 - Clean up 2020-03-30 07:17:56 +02:00
Bjarke Berg 49da01c655 AB#5820 - Clean up 2020-03-30 07:16:55 +02:00
Bjarke Berg 2fc2166767 AB#5820 - Clean up 2020-03-30 07:14:22 +02:00
Bjarke Berg 8ed7ae470a AB#5820 - Clean up 2020-03-30 06:38:39 +02:00
Bjarke Berg ff5d6770d9 AB#5820 - Clean up and remove unnecessary stuff for this task 2020-03-30 06:34:56 +02:00
Bjarke Berg b2799ef901 AB#5820 - Added simple controller and view to test the miniprofiler 2020-03-29 22:35:52 +02:00
Andy Butland dface90de7 Migrated member unit tests to new unit test project using builder pattern. 2020-03-29 16:17:06 +02:00
Andy Butland 50631c2b28 Migrated member group unit tests to new unit test project using builder pattern. 2020-03-28 20:54:10 +01:00
Andy Butland 5a29365063 Revert change to overridden save method on key value repository. 2020-03-28 15:20:17 +01:00
Andy Butland 8958cf90b9 Moved non-scoped retrieval of key value into an extension method in IUmbracoDatabase. 2020-03-28 15:13:50 +01:00
Andy Butland f01ccb49dd Removed key value service initialization logic. 2020-03-28 15:04:36 +01:00
Andy Butland 3e40389819 PR review amends on key value model and repository classes. 2020-03-28 15:04:11 +01:00
Andy Butland bc05370995 Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services 2020-03-28 14:31:23 +01:00
Andy Butland 93fd2eb954 Fixed creation of image processing options in grid media controller. 2020-03-28 14:11:24 +01:00
Andy Butland f48a4b0c72 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office 2020-03-27 21:20:08 +01:00
Bjarke Berg 681a25b861 Moved files from backoffice into Common + Introduced AspNetCoreComponent to invoke the Umbraco Application Init event 2020-03-27 11:39:17 +01:00
Bjarke Berg fe88662f48 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore 2020-03-27 06:04:06 +01:00
Bjarke Berg a72ae2278d Post merge + bugfix 2020-03-26 19:52:40 +01:00
Bjarke Berg 44e9df949d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Models/Property.cs
#	src/Umbraco.Tests/Models/ContentTests.cs
2020-03-26 19:22:09 +01:00
Bjarke Berg 8964ef1c48 Register missing interface 2020-03-26 19:14:02 +01:00
Andy Butland 30567d34d5 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office
# Conflicts:
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-03-26 10:53:24 +01:00
Bjarke Berg 312e1e99b0 Merge remote-tracking branch 'origin/netcore/feature/ab5820-webprofiler-aspnetcore' into netcore/feature/ab5820-webprofiler-aspnetcore 2020-03-26 07:11:58 +01:00
Bjarke Berg 86fe83ca16 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/AspNetCore/AspNetCoreUmbracoApplicationLifetime.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-03-26 07:10:23 +01:00
Bjarke Berg 402e994e89 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/AspNetCore/AspNetCoreUmbracoApplicationLifetime.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-03-26 07:04:38 +01:00
Bjarke Berg 405fca7e51 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation 2020-03-26 06:55:58 +01:00
Bjarke Berg 6858739086 Fix for old references in new test project 2020-03-26 06:54:21 +01:00
Bjarke Berg 629be33357 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web/Editors/PackageInstallController.cs
#	src/Umbraco.Web/UrlHelperExtensions.cs
2020-03-26 06:53:05 +01:00
Shannon DeminickandGitHub 99c6ca7c7b Merge pull request #7840 from umbraco/netcore/feature/booting-netcore-db
Netcore - Runtime booting and shutting down (and more)
2020-03-26 15:40:18 +11:00
Shannon f24cae51d8 Renames IHostingEnvironmentLifetime to IApplicationShutdownRegistry 2020-03-26 15:39:20 +11:00
29293bd25a Update src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-03-26 15:32:39 +11:00
9bb9997288 Update src/Umbraco.Tests.Integration/Implementations/HostBuilderExtensions.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-03-26 15:31:27 +11:00
fee1f6f0ab Update src/Umbraco.Tests.Integration/Implementations/HostBuilderExtensions.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-03-26 15:30:25 +11:00
Shannon DeminickandGitHub 8b531b7aea Merge pull request #7820 from umbraco/netcore/feature/unit-test-project
NetCore: Introduces a seperate UnitTest project
2020-03-26 15:24:19 +11:00
Bjarke Berg 1c53405d75 AB#5822 - Abstraction of runtime minifier 2020-03-25 20:42:02 +01:00
Bjarke Berg a0b0802b8d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
2020-03-25 13:31:27 +01:00
Bjarke Berg 8a0f031d6d AB#5822 - Moved config 2020-03-25 13:29:40 +01:00
Shannon a5d728cc51 Reduce the usage of BuildServiceProvider 2020-03-25 18:21:44 +11:00
Shannon 1a8f422dce another note 2020-03-25 17:40:52 +11:00
Shannon 926b0662e7 another note 2020-03-25 17:39:36 +11:00
Shannon 77ce21b0e3 Adds notes/test about pre building the netcore container 2020-03-25 17:35:43 +11:00
Shannon 2d506c1fd0 Adds container test showing how we can pre-resolve a service and ensures its the same on that gets used. 2020-03-25 17:23:31 +11:00
Shannon 07966b5225 more unused code 2020-03-25 17:19:12 +11:00
Shannon c988004762 fixes test 2020-03-25 17:18:36 +11:00
Shannon a0acc8126d oops change namespace back to Umbraco.net 2020-03-25 16:52:42 +11:00
Bjarke Berg 92afbfc6fc AB#5820 - Initialize the webprofiler in asp.net core 2020-03-25 05:39:25 +01:00
Shannon 612a47b16b Splits interfaces into separate ones, removes overlap between interfaces, injects the necessary bits, and much more 2020-03-25 15:06:22 +11:00
Shannon 900505704c Committing a namespaces change 2020-03-25 14:54:45 +11:00
Bjarke Berg 397b25f9ae Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-03-24 19:38:44 +01:00
Bjarke Berg 9cca16d31b Rollback of changes not related to this issue 2020-03-24 19:37:04 +01:00
Bjarke Berg e8095b1a36 Merge remote-tracking branch 'origin/netcore/feature/ab5820-webprofiler-aspnetcore' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.Common/Runtime/Profiler/WebProfiler.cs
#	src/Umbraco.Web.Common/Runtime/Profiler/WebProfilerProvider.cs
2020-03-24 18:57:29 +01:00
Bjarke Berg 9339e1d999 AB#5820 - Introduced WebProfiler for asp.net core 2020-03-24 18:56:45 +01:00
Bjarke Berg d577452aff AB#5820 - Introduced WebProfiler for asp.net core 2020-03-24 18:18:25 +01:00
Elitsa Marinovska b23c508c54 Using Smidge inline bundle creation in view 2020-03-24 17:35:55 +01:00
Elitsa Marinovska ccfaebb09f More of the Smidge initial implementation. Adding TODOs for next steps 2020-03-24 17:34:34 +01:00
Andy Butland 519fd22cea Changed hard-coded processed images URLs in back-office to use configured image URL generation. 2020-03-24 12:29:16 +01:00
Andy Butland e66c92d032 Added controller method to ImagesController and client-side method to mediahelper to retrieve URL for processed image. 2020-03-24 12:19:04 +01:00
Andy Butland c16965319a Amended processed image URL building to use checks for empty as well as null, and refactored null checks to use HasValue. 2020-03-24 12:17:41 +01:00
Elitsa Marinovska 85730eadb0 Setting up Smidge 2020-03-24 10:51:53 +01:00
Andy Butland b67c3dfa04 Moved IImageUrlGenerator and implementation into more appropriate enamespace 2020-03-24 09:37:46 +01:00
Shannon d0a204b984 Cleans up some unused code, fixes a merge issue causing duplicate runtimes to be created, register essential does what it's supposed to do, don't mix things with the webruntime. 2020-03-24 14:48:32 +11:00
Shannon 59f0edc074 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/booting-netcore-db
# Conflicts:
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
2020-03-24 14:47:10 +11:00
Shannon DeminickandGitHub bcc8dff862 Merge pull request #7811 from umbraco/netcore/feature/booting-netcore
Puts in place the code to 'boot' Umbraco Core in netcore
2020-03-24 12:12:24 +11:00
Shannon 2f8a85abe5 resolves remaining PR comments 2020-03-24 12:11:46 +11:00
Shannon 139cd3935f oops 2020-03-24 12:00:48 +11:00
Shannon 2bbdb699f2 reduces code duplication 2020-03-24 11:59:42 +11:00
Shannon 919d418920 Gets the DB installing in integration tests, changes integratino tests to use Generic Host builder 2020-03-24 11:53:56 +11:00
Elitsa Marinovska 94a0f62525 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation 2020-03-23 14:32:28 +01:00
Bjarke Berg 8986783cbc Parse connection string provider 2020-03-23 14:31:21 +01:00
Bjarke Berg a3930b1b70 Merge branch 'netcore/dev' into netcore/feature/unit-test-project 2020-03-23 13:56:18 +01:00
Bjarke Berg 919271b2c6 Post merge fix 2020-03-23 13:03:02 +01:00
Elitsa Marinovska 5293a3c1b5 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5490-abstract-clientdependency 2020-03-23 12:50:16 +01:00
Bjarke Berg 73a1058dd1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/Property.cs
2020-03-23 12:48:56 +01:00
Elitsa Marinovska b833279534 Left out changes 2020-03-23 12:46:19 +01:00
Shannon 679b88a2fb more asserts 2020-03-23 17:35:04 +11:00
Shannon 5761381bc3 adds notes 2020-03-23 17:25:45 +11:00
Shannon 7900179abd oops fix build 2020-03-23 17:16:33 +11:00
Shannon 6013d856b7 Changes back TestHelperBase, we'll just allocate new configs each time. 2020-03-23 17:15:32 +11:00
Shannon 427c44468f Changes methods to properties since we don't return new instances each time. 2020-03-23 16:41:39 +11:00
Shannon 299e9eb209 fixing tests and merges 2020-03-23 16:39:27 +11:00
Shannon 1658fced23 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/booting-netcore
# Conflicts:
#	src/Umbraco.Core/IO/IOHelper.cs
#	src/Umbraco.Infrastructure/Runtime/WebRuntime.cs
#	src/Umbraco.Tests.Common/TestHelperBase.cs
#	src/Umbraco.Tests/Routing/RenderRouteHandlerTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Program.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2020-03-23 15:50:01 +11:00
Shannon DeminickandGitHub 91ae2d63da Merge pull request #7822 from umbraco/netcore/feature/ab3671-webruntime-netstandard
NetCore: Make WebRuntime netstandard compatible
2020-03-23 15:09:02 +11:00
Bjarke Berg 4d7952b068 Clean up 2020-03-20 07:00:34 +01:00
Bjarke BergandGitHub 1270d03b76 Merge pull request #7813 from umbraco/netcore/feature/aspnetcore-config
NetCore: Config implementations for .NET Core
2020-03-19 19:52:33 +01:00
Bjarke Berg f3e3ac8969 Removed Machine key stuff 2020-03-19 19:11:57 +01:00
Bjarke Berg 7c011e5b57 Removed UseLegacyEncoding option from config 2020-03-19 19:09:33 +01:00
Bjarke Berg dd012db594 Introduced constants for config 2020-03-19 19:06:05 +01:00
Bjarke Berg b93b4f7c4f Changed CharCollection input to not special case : 2020-03-19 18:43:39 +01:00
Bjarke Berg f84798322c AB3671 - Moved WebRuntime into infrastracutre, and removed typefinder reference in AppCaches (Replaced with string input with Type)..
- Move initialized of Current.Factory out of webruntime
2020-03-19 08:53:18 +01:00
Bjarke Berg 00418959f2 Extracted IConfigManipulator from IConnectionStrings, and implemented a XML (legacy) and JSON version. 2020-03-18 19:17:51 +01:00
Bjarke Berg 814ab3e63f Aligned default values for configs 2020-03-18 11:29:29 +01:00
Bjarke Berg 2aac7e627f Provider name fix 2020-03-18 09:05:31 +01:00
Bjarke Berg 8c8a9764cd Post merge + Added new SmtpSettingsBuilder 2020-03-18 07:42:35 +01:00
Bjarke Berg 9bf2d650ec Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/unit-test-project 2020-03-18 07:03:03 +01:00
Bjarke Berg 3e54d96f77 Bugfix 2020-03-18 06:36:52 +01:00
Bjarke Berg fb15da61aa build fixes 2020-03-17 20:13:16 +01:00
Bjarke Berg c2805a5067 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/aspnetcore-config
# Conflicts:
#	src/Umbraco.Configuration/ConfigsFactory.cs
#	src/Umbraco.Core/Configuration/ConfigsExtensions.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
2020-03-17 18:33:10 +01:00
Bjarke Berg 3e75c889ab Imaging settings 2020-03-17 17:56:00 +01:00
Bjarke BergandGitHub f671fea998 NetCore: Refactor config/setting to not use dependencies (#7810)
* Avoid usage of IOHelper in GlobalSettings

* Avoid usage of IOHelper in ModelsBuilderConfig.cs

* Avoid usage of IOHelper in ConnectionStrings.cs

* Simplified more config

* Fix for ModelsBuilderConfig

* Moved GetUmbracoMvcAreaNoCache to IOHelperExtensions
2020-03-17 16:26:56 +01:00
Elitsa Marinovska 3dc5e438d0 Refactoring logic for updating ClientDependency version and deleting its temp directories 2020-03-17 15:45:34 +01:00
Bjarke Berg 0efc335e4f Merge branch 'netcore/feature/imagesharp-config' into netcore/feature/aspnetcore-config 2020-03-17 15:38:35 +01:00
Bjarke Berg 64ba5b6879 Clean up 2020-03-17 15:36:48 +01:00
Elitsa Marinovska 30516bfa12 Creating JavaScriptHelper class and taking some of the logic from the JsInitialization class 2020-03-17 15:36:38 +01:00
Elitsa Marinovska ae4b9c3f42 Moving CDF related files into its own folder 2020-03-17 15:35:18 +01:00
Elitsa Marinovska 755b52e136 Abstracting more CDF methods 2020-03-17 15:33:40 +01:00
Elitsa Marinovska 0eb194cd66 Removing dependency registration from WebInitialComposer as it is done in ClientDependencyComposer 2020-03-17 14:53:40 +01:00
Elitsa Marinovska 55f02f6d3f Refactoring the prop for getting the CDF version and its usages. Getting the HttpContext from httpContextAccessor. Removing FileMapDefaultFolder prop as it will be added in a new file 2020-03-17 14:52:06 +01:00
Bjarke Berg 1457e98554 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-03-17 14:11:39 +01:00
Bjarke Berg b2d529dea6 Merge branch 'netcore/feature/simplify-config' into netcore/feature/aspnetcore-config 2020-03-17 14:10:06 +01:00
Bjarke Berg 1c7187e2ee Moved GetUmbracoMvcAreaNoCache to IOHelperExtensions 2020-03-17 14:06:06 +01:00
Bjarke Berg 6d8a23504e Remove resize parameters if larger than 5000 2020-03-17 11:39:55 +01:00
Elitsa Marinovska 7d2f5aee49 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5490-abstract-clientdependency
# Resolved Conflicts:
#	src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Composing/Current.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
#	src/Umbraco.Web/Editors/PreviewController.cs
#	src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
2020-03-17 11:01:32 +01:00
Elitsa Marinovska da24b03b3b Changing to the new types and referencing the abstraction methods 2020-03-17 10:35:06 +01:00
Elitsa Marinovska 4b7d823aca Injecting the abstraction whenever necessary 2020-03-17 10:28:03 +01:00
Elitsa Marinovska df0f75c98f Creating a ClientDependencyComponent and Composer for taking out ConfigureClientDependency() 2020-03-17 10:25:55 +01:00
Elitsa Marinovska ca5acbe24b Creating abstraction and its implementation for untangling CDF from the code 2020-03-17 10:24:11 +01:00
Elitsa Marinovska de9d82777f Introducing ReplaceFirst() as string extension instead of using the CDF one 2020-03-17 10:21:43 +01:00
Elitsa Marinovska 0df497fd95 Creating our own types because we don't want to reference CDF 2020-03-17 10:17:53 +01:00
Bjarke Berg a96bcc05f5 Use the new ConfigsFactory 2020-03-16 19:14:04 +01:00
Bjarke Berg 449d534701 Fix buf in Healthchecksettings 2020-03-16 19:00:18 +01:00
Bjarke Berg 877339e7db Implemented most of the configs for asp.net core 2020-03-16 18:51:35 +01:00
Bjarke Berg bb89eec04f Merge branch 'netcore/feature/simplify-config' into netcore/feature/aspnetcore-config 2020-03-16 14:57:11 +01:00
Scott Brady db87a9dd40 Compiling with minimal Microsoft.AspNet.Identity references 2020-03-16 13:53:03 +00:00
Bjarke Berg de0a578dc8 Fix for ModelsBuilderConfig 2020-03-16 14:48:41 +01:00
Bjarke Berg 51879c0b80 Implemented config for asp.net core 2020-03-16 14:02:08 +01:00
Shannon 7e679f34c4 fixes sln 2020-03-16 22:41:55 +11:00
Bjarke Berg c1f42a9258 Simplified more config 2020-03-13 20:37:15 +01:00
Scott Brady 2e7e6bc4a9 Initial side by side implementation 2020-03-13 15:15:14 +00:00
Bjarke Berg 263b986ced Avoid usage of IOHelper in ConnectionStrings.cs 2020-03-13 12:45:22 +01:00
Bjarke Berg 1c03b470d9 Avoid usage of IOHelper in ModelsBuilderConfig.cs 2020-03-13 12:16:20 +01:00
Bjarke Berg ea15fdb14e Avoid usage of IOHelper in GlobalSettings 2020-03-13 10:00:03 +01:00
Shannon cb749242ff name change 2020-03-13 19:12:52 +11:00
Shannon 44fd18d787 Gets AddUmbracoBackOffice working 2020-03-13 19:10:21 +11:00
Shannon 9ded4c7ddb Wires up DI for cross wiring correctly ensuring that it occurs at the very end of ConfigureServices, updates tests accordingly, fixes a few other things. 2020-03-13 18:44:58 +11:00
Shannon c9913f45a0 Moves LightInjectValidation to common and validates the container as part of new tests 2020-03-13 15:59:04 +11:00
Shannon f57a2ec576 less allocations 2020-03-13 14:45:54 +11:00
Shannon 41163c3c78 Gets CoreRuntime loading/booting in integration project 2020-03-13 14:43:41 +11:00
Shannon fea65897ba Merge branch 'netcore/dev' into netcore/feature/booting-netcore 2020-03-13 12:50:08 +11:00
Shannon 6fafe0408d oops fixes build 2020-03-13 12:47:09 +11:00
Shannon 94c9057119 Moves some stub test objects to the common test lib 2020-03-13 12:44:42 +11:00
Shannon 32a27be206 fixing tests 2020-03-13 12:33:28 +11:00
Shannon 54727ca0fd Ensures package versions are all streamlined 2020-03-13 12:24:43 +11:00
Shannon 4e4df96140 Creates new Umbraco.Tests.Common netstandard project to host the common testing functionality between netframework and netcore, this will be ongoing work (doesn't need to be done all at once) 2020-03-13 12:08:25 +11:00
Shannon a01b06fc64 fix build after merge 2020-03-13 11:17:16 +11:00
Shannon 6c4acfca31 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/booting-netcore 2020-03-13 11:15:28 +11:00
Shannon ef99d434d8 update ignore 2020-03-13 11:15:02 +11:00
Shannon 4cc20b06bc updates lightinject, adds method to create an LI container from an MSDI collection, updates a test 2020-03-13 11:13:47 +11:00
Shannon DeminickandGitHub 7f8c7e472f Merge pull request #7778 from umbraco/netcore/feature/typefinder-netstandard
Creates a netstandard compliant TypeFinder
2020-03-13 11:11:50 +11:00
Shannon DeminickandGitHub f9d29b17e2 Merge pull request #7800 from umbraco/netcore/feature/cleanup-config
NetCore: Granulate the Config/Settings
2020-03-13 11:09:15 +11:00
Bjarke Berg 5f13dde1cd Moved functionality to write to the connection strings into the configuration area 2020-03-12 16:56:39 +01:00
Bjarke Berg c486444eda Cleaned up config for Content settings 2020-03-12 15:30:22 +01:00
Bjarke Berg cb0994a929 Cleaned up config for Security settings 2020-03-12 14:36:25 +01:00
Shannon da58b7a743 Adds integration test project for netcore3 and poc for crosswiring di container with msdi 2020-03-12 23:28:24 +11:00
Bjarke Berg e27a05c3e8 Cleaned up config for RequestHandler settings 2020-03-12 12:46:08 +01:00
Bjarke Berg e2dfc68718 Cleaned up config for WebRouting settings 2020-03-12 09:52:34 +01:00
Bjarke Berg e4ff481053 Cleaned up config for Keep Alive settings 2020-03-12 08:28:31 +01:00
Bjarke Berg f446e52d8f Cleaned up condig for Logging and Tours 2020-03-12 08:24:02 +01:00
Shannon 84847267ba updates CoreRuntime with notes and fallback 2020-03-12 15:26:06 +11:00
Bjarke Berg e07c9abd58 Updated js code in UI project 2020-03-11 12:54:33 +01:00
Bjarke Berg da7552204d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web/Models/RegisterModel.cs
#	src/Umbraco.Web/UmbracoHelper.cs
2020-03-11 07:44:17 +01:00
Shannon e3997a4ab2 adds notes 2020-03-11 15:32:26 +11:00
Shannon 3bfa2e76cb Adjust type finder and adds benchmark 2020-03-11 15:28:08 +11:00
Shannon 66cd25d8f5 Adds notes 2020-03-11 13:10:34 +11:00
Shannon 5ee2286436 Removes build manager type finder and friends 2020-03-11 12:43:46 +11:00
Bjarke Berg 9d6762fb6a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PropertyType.cs
#	src/Umbraco.Examine.Lucene/BackOfficeExamineSearcher.cs
#	src/Umbraco.Infrastructure/Models/Mapping/EntityMapDefinition.cs
#	src/Umbraco.Tests/Models/PropertyTypeTests.cs
2020-03-10 08:25:43 +01:00
Scott Brady 4e69e1abe6 Initial user store 2020-03-09 16:01:57 +00:00
Bjarke BergandGitHub be753754a4 Merge pull request #7740 from AndyButland/netcore/77007-replace-no-nodes
NetCore: Replaced nonodes.aspx with MVC controller and view, with configurable view location
2020-03-09 12:07:06 +01:00
Shannon 8cb39ba583 Fixes tests and some issues discovered 2020-03-09 21:23:38 +11:00
Shannon fce27fd42d Ensures all assemblies at the same location as the entry point assemblies are queried. 2020-03-09 14:15:02 +11:00
Shannon d92fc8736a More cleanup, cleans up tests, cleans up the BuildManagerAssemblyProvider (even though it's not used) 2020-03-09 13:31:56 +11:00
Shannon 0c8426f308 Cleans up POC code (still more to do) 2020-03-09 13:14:16 +11:00
Shannon 41c2d01078 initial POC code 2020-03-09 11:03:42 +11:00
Andy Butland 8e3967c596 Merge branch 'netcore/dev' into netcore/77007-replace-no-nodes
# Conflicts:
#	src/Umbraco.Core/Configuration/IGlobalSettings.cs
#	src/Umbraco.Core/Constants-Web.cs
2020-03-06 07:28:13 +01:00
Andy Butland 3d20653310 Aligned files with new project structure and fixed failing unit tests. 2020-03-05 07:53:27 +01:00
Andy Butland e21d0870a7 Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services
# Conflicts:
#	src/Umbraco.Infrastructure/Composing/CompositionExtensions/Repositories.cs
2020-03-05 07:36:14 +01:00
Shannon DeminickandGitHub fbe3925b54 Merge pull request #7705 from umbraco/netcore/feature/executable-backoffice
NetCore: Executable in .NET Core
2020-03-05 15:20:47 +11:00
Shannon 4a01cfe754 changes to class libraries 2020-03-05 15:20:08 +11:00
Bjarke Berg 290e5b58a0 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice
# Conflicts:
#	src/Umbraco.Web/Runtime/WebRuntime.cs
2020-03-04 10:10:03 +01:00
Bjarke BergandGitHub d53dd71204 Merge pull request #7750 from umbraco/netcore/feature/untangle-membership
Netcore: Untangle membership helper and trim Web even more
2020-03-04 08:20:25 +01:00
Bjarke Berg 152fcf7d1b Fixed based on review findings 2020-03-04 07:50:37 +01:00
Bjarke BergandGitHub fec9c44433 Merge pull request #7751 from cyberdot/temp-7667
NetCore: Abstract ConfigurationManager references
2020-03-03 14:39:21 +01:00
Bjarke Berg 2d175ffb86 - Moved ModelsBuilder constant into Core under constants
- Move the registration of configs into the factory
- Moved extension methods of ModelsMode into Umbraco.Core
- Removed references to Umbraco.Configuration from Umbraco.Infrastructure and Umbraco.ModelsBuilder.Embedded
2020-03-03 14:15:30 +01:00
Bjarke Berg 341ac1c46b Removed the abstractions project file 2020-03-03 13:46:02 +01:00
Bjarke Berg bce196353e Fix view 2020-03-03 13:43:53 +01:00
Bjarke Berg 53953338d8 Merged Umbraco.Abstractions into Umbraco.Core 2020-03-03 13:42:07 +01:00
cyberdotandGitHub efd8e37f34 Merge branch 'netcore/dev' into temp-7667 2020-03-03 12:05:31 +00:00
cyberdot 01362d0dd0 NetCore: Abstract ConfigurationManager references 2020-03-03 11:18:54 +00:00
Bjarke Berg a4003ad799 Clean up 2020-03-03 12:09:15 +01:00
Bjarke Berg 53769b42b3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/untangle-membership 2020-03-03 12:01:54 +01:00
84f19e093a NetCore: Refactor internal usages of UmbracoHelper (#7744)
* Removing properties related to IPublishedContentQuery, ITagQuery, ICultureDictionaryFactory, IUmbracoComponentRenderer from UmbracoHelper and using the corresponding private fields instead. Removing Media related methods

* Removed UmbracoHelper from UmbracoApiControllerBase

* Removed UmbracoHelper references

* Inject the needed Interfaces to classes that previously used UmbracoHelper to get the same functionality

* Fixed tests referencing UmbracoHelper

* Adding Media methods back

* Cleanup and moved UmbracoHelper from more base classes, when not used + simplified tests

* Reintroduced some methods..

* Reintroduced some methods..

* Reintroducing last missing bits

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-03-03 11:59:17 +01:00
Bjarke Berg e9f7034365 Moved compoenents and composers 2020-03-03 07:29:51 +01:00
Andy Butland 5fb23951cf Amended as per PR comments to support replacement of no nodes functionality via customising the route table. 2020-03-02 17:17:14 +01:00
Bjarke Berg 81c975381f Merge branch 'netcore/dev' into netcore/feature/untangle-membership
# Conflicts:
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-03-02 13:19:38 +01:00
Bjarke Berg 6f5e7b9617 Replace the favicon with the U-logo 2020-03-02 09:08:14 +01:00
Bjarke Berg 07238e277b Merge branch 'netcore/dev' into netcore/feature/executable-backoffice 2020-03-02 09:07:25 +01:00
Bjarke Berg 4d3e9601f9 post merge fix 2020-03-02 09:07:05 +01:00
Bjarke Berg 1ea39f2762 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentBase.cs
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
#	src/Umbraco.Core/Packaging/ConflictingPackageData.cs
#	src/Umbraco.Core/Packaging/PackagesRepository.cs
#	src/Umbraco.Core/PublishedCache/PublishedMember.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedContent.cs
#	src/Umbraco.Tests/Persistence/Repositories/MacroRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
#	src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Trees/MediaTypeTreeController.cs
2020-03-02 08:34:52 +01:00
Bjarke BergandGitHub cd44935b1c Merge pull request #7722 from umbraco/netcore/feature/move-more-install-stuff
NetCore: Moved install steps + dashboards
2020-03-02 08:28:01 +01:00
Bjarke Berg b5171fae30 Introduced GetRequiredUmbracoContext extension on IUmbracoContextAccessor 2020-03-02 07:58:02 +01:00
Bjarke Berg ef16321265 Break cycular dependency, by injecting IUmbracoDatabaseFactory instead of ISqlContext Directly 2020-03-02 07:50:55 +01:00
Andy Butland e6a55a215a Replaced nonodes.aspx with MVC controller and view, with configurable view location. 2020-02-29 14:26:35 +01:00
Bjarke Berg 7daee53c64 Isolated more web usages - Membership and Request stuff
- Moved a few more files
2020-02-28 11:15:25 +01:00
Bjarke Berg 953c3a667a More logic in AspNetCoreHostingEnvironment 2020-02-27 11:48:38 +01:00
Bjarke Berg bf2e8c90ed Merge branch 'netcore/feature/move-more-install-stuff' into netcore/feature/executable-backoffice 2020-02-27 11:16:17 +01:00
Bjarke Berg c3fcbc0a72 Moved functionality from HostingEnvironment into IUmbracoApplicationLifetime, to not have duplicated logic 2020-02-27 11:13:57 +01:00
Bjarke Berg 2a16ebee0b Added more aspnet core implementation of interfaces 2020-02-27 11:10:43 +01:00
Bjarke Berg 178a172be1 Merge branch 'netcore/feature/move-more-install-stuff' into netcore/feature/executable-backoffice 2020-02-27 10:58:48 +01:00
Bjarke Berg 0c56437ddd Merge branch 'netcore/dev' into netcore/feature/move-more-install-stuff
# Conflicts:
#	src/Umbraco.Web/Composing/Current.cs
2020-02-27 10:55:26 +01:00
Bjarke Berg f0dee45069 Refactored UmbracoApplication.Restart 2020-02-27 10:55:07 +01:00
Bjarke Berg dc36fa1290 Fix issues in views 2020-02-27 10:43:09 +01:00
Bjarke Berg 765f50a301 Merge branch 'netcore/feature/move-more-install-stuff' into netcore/feature/executable-backoffice 2020-02-27 10:04:30 +01:00
Bjarke Berg 6b9042de7d Merge branch 'netcore/dev' into netcore/feature/move-more-install-stuff
# Conflicts:
#	src/Umbraco.Web/UmbracoHelper.cs
2020-02-27 10:03:13 +01:00
Bjarke Berg 8e3cb8f3e6 Removed MembershipHelper from UmbracoHelper 2020-02-27 09:56:35 +01:00
Bjarke Berg ba97598044 - Moved dashboards to Core
- Introduced IUserAgentProvider, instead of using HttpContext directly
- Introduced IUmbracoApplicationLifetime, instead of using UmbracoApplication directly
- Introduced IMachineKeyConfig instead of using WebConfigurationManager directly
- Move information about dbProvider to the SqlSyntax
- Moved install steps
2020-02-26 13:52:06 +01:00
Bjarke Berg c7a45eff1d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-26 10:39:11 +01:00
Bjarke Berg 8d76499969 Separated TreeNode stuff from the commonMapper to allow move of more mappers 2020-02-26 10:33:05 +01:00
Bjarke BergandGitHub 57aa93959a Merge pull request #7717 from umbraco/netcore/feature/migrate-more-property-editors
Netcore: Move property editors to Infrastructure
2020-02-26 07:49:36 +01:00
Bjarke BergandGitHub 35eb67dd10 Merge pull request #7712 from umbraco/netcore/feature/AB5168-migrate-macros
Netcore: Move macros to Abstractions and Infrastructure
2020-02-26 07:39:06 +01:00
Bjarke Berg 5e1ac76e5f Bugfix: Sometimes the httpcontext is null here 2020-02-25 21:11:17 +01:00
Scott Brady a05a45bb64 Added identity stores. TODOs 2020-02-25 18:21:07 +00:00
Scott Brady 38ea741d78 Removed use of Identity.Owin extension methods. Replaced security stamp constant 2020-02-25 18:06:11 +00:00
Scott Brady 3294ee8e18 Addd ASP.NET Core Identity 2020-02-25 17:32:39 +00:00
elitsa 42db16b430 Moving the last few Property Editors to Infrastructure proj 2020-02-25 16:06:14 +01:00
Scott Brady 70232be288 Merge branch 'netcore/dev' into netcore/feature/users 2020-02-25 14:05:47 +00:00
e0b9219528 Update MacroContent.cs to use is operator for comparison to null
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-02-25 14:27:58 +01:00
elitsa 02fbf0f9e7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5168-migrate-macros 2020-02-25 13:44:48 +01:00
elitsa 0bdf03bda2 Removing the last references to MacroTypes and removing the references to pageElements coming from old legacy (PublishedContentHashtableConverter), which is deleted as well 2020-02-25 13:43:08 +01:00
elitsa 65e719cfa6 Migrating more Macro files to Abstractions or Infrastructure 2020-02-25 13:40:22 +01:00
elitsa 0a130d6bbd Removing MacroType enum as we only have one type - PartialView. Refactoring all its references and fixing tests 2020-02-25 13:38:36 +01:00
elitsa c3d3e6e27d As GetAsText() had no other purpose when WebForm Controls were removed, it is now replaced with the populated Text property 2020-02-25 13:33:22 +01:00
elitsa 10563577d9 Eliminating WebForms Controls from MacroContent and migrating the file from Web to Abstractions/Core project 2020-02-25 13:29:03 +01:00
Bjarke Berg 85df997486 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-25 12:00:40 +01:00
Bjarke Berg bf4023afa7 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/PropertyEditors/DataValueReferenceFactoryCollection.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web/PropertyEditors/ValueConverters/MarkdownEditorValueConverter.cs
2020-02-25 11:57:11 +01:00
Bjarke Berg 814e74b5c5 removed reference to non existing project 2020-02-25 10:58:53 +01:00
Bjarke Berg d140723b22 Cleanup legacy stuff in Umbraco.Web.csproj 2020-02-25 10:56:33 +01:00
Bjarke Berg 95a27b82a2 Fix for jobject casting issue 2020-02-25 10:40:39 +01:00
Bjarke Berg f5a1981ea5 Moved dashboards 2020-02-25 10:18:31 +01:00
Bjarke Berg 4aac898e08 Worked on AspNetCoreHostingEnvironment.cs 2020-02-25 10:18:07 +01:00
Scott Brady 80a15c5785 Merge branch 'netcore/dev' into netcore/feature/users 2020-02-25 09:12:25 +00:00
Bjarke Berg 8f5ffb8da6 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-25 09:03:52 +01:00
Bjarke Berg 9a8ecea8a6 Updated copyright year 2020-02-25 08:56:58 +01:00
Bjarke Berg 04caec842a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice
# Conflicts:
#	src/Umbraco.Examine/Umbraco.Examine.csproj
2020-02-25 08:38:15 +01:00
Bjarke BergandGitHub 06af62d87d Merge pull request #7691 from umbraco/netcore/feature/move-mappings-after-httpcontext
NetCore: Move more files
2020-02-25 08:26:39 +01:00
Bjarke Berg 6bb920b457 Added comments, and replaced a static helper with extension methods 2020-02-25 07:57:59 +01:00
Bjarke Berg 14eb630cc3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Examine/Umbraco.Examine.csproj
2020-02-24 16:19:14 +01:00
Bjarke Berg 36b68f2966 Creating composition root 2020-02-24 16:18:47 +01:00
Bjarke Berg 20201fb6be Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-24 14:58:58 +01:00
Bjarke BergandGitHub 4425c3d5c0 Merge pull request #7708 from umbraco/netcore/feature/csharp-8
Netcore: Updated projects to have C# 8 support
2020-02-24 14:58:42 +01:00
Bjarke Berg aad8cba039 Updated projects to have C# 8 support 2020-02-24 13:37:27 +01:00
Bjarke Berg e74c22ec87 Merge branch 'netcore/feature/move-mappings-after-httpcontext' into netcore/feature/executable-backoffice 2020-02-24 11:46:58 +01:00
Bjarke Berg 1d6e423b98 Added Imagesharp to the website stuff 2020-02-24 11:37:51 +01:00
Bjarke BergandGitHub c9b970e872 Using the ServiceContext from the baseclass instead of Current.Services in tests (#7644) 2020-02-24 11:27:02 +01:00
Bjarke Berg 329ad4324e Removed file 2020-02-24 10:53:54 +01:00
Bjarke Berg 5517186cb7 Added Web.Website 2020-02-24 10:51:48 +01:00
Bjarke Berg f398f578ea Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-24 10:40:16 +01:00
Bjarke Berg de59d499a9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-mappings-after-httpcontext 2020-02-24 10:39:39 +01:00
Bjarke Berg 133b194d7e Roll back to c# 7 on core 2020-02-24 10:14:16 +01:00
Bjarke Berg de95a1c712 Roll back to c# 7 on core 2020-02-24 10:10:25 +01:00
Bjarke Berg 20a7a6be42 Merge branch 'netcore/dev' into netcore/feature/move-mappings-after-httpcontext 2020-02-24 10:06:59 +01:00
Bjarke Berg c975162e14 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-24 09:57:27 +01:00
Bjarke Berg 683c0b8732 Merge branch 'netcore/dev' into netcore/feature/move-mappings-after-httpcontext 2020-02-24 08:24:19 +01:00
Bjarke Berg 90c2381c86 Renamed Umbraco.Abstractions to Umbraco.Core 2020-02-24 08:21:53 +01:00
Bjarke Berg e497079a89 Merge branch 'netcore/feature/move-mappings-after-httpcontext' into netcore/feature/executable-backoffice 2020-02-20 10:16:24 +01:00
Bjarke Berg 8c0e50ccd6 Fix issue in Test project still referencing Umbraco.Examine 2020-02-20 09:25:26 +01:00
Bjarke Berg bbe9aa1848 Fix issue with NuCache knowing the web project 2020-02-20 09:05:42 +01:00
Bjarke Berg 46a68d1b86 Rename file to align with class name 2020-02-20 09:00:50 +01:00
Bjarke Berg d1c39a813a Merge branch 'netcore/dev' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web/Install/InstallHelper.cs
2020-02-20 08:46:54 +01:00
Bjarke Berg 46f00cf960 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-02-20 08:34:01 +01:00
Bjarke Berg 79ee20a45b Post merge - Move files into correct locations 2020-02-20 08:33:28 +01:00
Bjarke BergandGitHub b8b31e7814 Merge pull request #7639 from emmagarland/netcore/feature/7369-removeservices-unittests
Replaced instances of Current.Services.MediaService in more Unit Tests
2020-02-20 08:31:34 +01:00
Bjarke Berg e96d094c71 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-02-20 08:26:04 +01:00
Shannon DeminickandGitHub ba2c0da379 Merge pull request #7646 from AndyButland/netcore/fix-circular-dependency-data-type-repository
Removed circular dependency between data type service and repository
2020-02-20 18:11:01 +11:00
Bjarke Berg e6c315ff69 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web/Editors/UpdateCheckController.cs
#	src/Umbraco.Web/Install/InstallHelper.cs
2020-02-20 08:06:37 +01:00
Bjarke Berg ce821ee2bf worked on HostingEnvironment 2020-02-20 07:55:24 +01:00
Shannon DeminickandGitHub ac6cf7be6b Merge pull request #7664 from umbraco/netcore/feature/move-files-after-umbraco-context-abstractions
Netcore: Removed `UrlProvider` from `UmbracoContext`
2020-02-20 17:51:08 +11:00
Bjarke Berg 942bb0d585 Merge branch 'netcore/feature/move-mappings-after-httpcontext' into netcore/feature/executable-backoffice
# Conflicts:
#	src/Umbraco.Abstractions/CompositionExtensions.cs
2020-02-19 14:44:22 +01:00
Bjarke Berg e69ef327a9 Moved Editor stuff that was not controllers 2020-02-19 13:33:04 +01:00
Bjarke Berg 9f5da7f5a8 Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext 2020-02-19 13:11:46 +01:00
Bjarke Berg aa918716d8 Removed possibility to inject HttpContextBase directly. - Refactored last occurence 2020-02-19 12:56:55 +01:00
Bjarke Berg ca4f0a8057 Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Web/Install/InstallHelper.cs
#	src/Umbraco.Web/Models/Mapping/CommonMapper.cs
2020-02-19 11:40:25 +01:00
Bjarke Berg b964ff1d3e Introduced an extension method on IHttpContextAccessor that return the HttpContext or throws if null. 2020-02-19 10:18:27 +01:00
Bjarke Berg 610d807006 Fixed integration tests by composing the MediaUrlGenerators 2020-02-19 10:17:49 +01:00
Bjarke Berg 750b6f6a18 Move more files and fixed circular dependency 2020-02-19 09:29:10 +01:00
Shannon 13a56eb085 Renames and refactors the MediaUrlGeneratorCollection and ensure that this collection is used wherever IMediaUrlGenerator is needed instead of relying property editors possibly being the implementation. 2020-02-19 16:37:00 +11:00
Shannon 04c620d76e Reverts how UmbracoContextReference works 2020-02-19 15:46:54 +11:00
Shannon 5cb5585574 Removes ICurrentUserAccessor since we don't need it, fixes editorconfig (for now) 2020-02-19 15:38:22 +11:00
Bjarke Berg fb5d4fcb2f Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
2020-02-18 14:22:30 +01:00
Bjarke Berg 5a61b27366 Break cycle by introducing DataEditorWithMediaPathCollection 2020-02-18 13:56:31 +01:00
Bjarke Berg accef6d96a Merged Umbraco.Examine and Umbraco.Infrastructure and moved more files into Infrastructure 2020-02-18 13:34:31 +01:00
Bjarke Berg ecaa3be637 Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext 2020-02-18 11:40:05 +01:00
Bjarke Berg e6e3fc39fb Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
2020-02-18 11:39:34 +01:00
Bjarke Berg 51f6d30dbc Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
2020-02-18 11:38:51 +01:00
Bjarke Berg f254d3754b Moved files from Backoffice to application + clean up 2020-02-18 11:32:31 +01:00
Bjarke Berg 5e79585149 Introduced Umbraco.Web.UI.Backoffice 2020-02-18 08:32:06 +01:00
Andy Butland 0bba475533 Amends to key value service/repository to better match existing repository patterns. 2020-02-17 22:12:42 +01:00
Bjarke Berg 43b33f9e6b Move features
- Introduced IUmbracoFeature
Move Install
Move Tree Items
 - Introduced IMenuItemCollectionFactory - to insure injection of ActionCollection
2020-02-17 14:58:34 +01:00
Bjarke Berg 7a6ded2f6e Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext 2020-02-17 13:23:02 +01:00
Bjarke Berg aeca49dddb Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions
# Conflicts:
#	src/Umbraco.Abstractions/PublishedContentExtensions.cs
#	src/Umbraco.Abstractions/Routing/AliasUrlProvider.cs
#	src/Umbraco.Abstractions/Routing/DefaultMediaUrlProvider.cs
#	src/Umbraco.Abstractions/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Abstractions/Routing/UrlProvider.cs
#	src/Umbraco.Abstractions/Routing/UrlProviderExtensions.cs
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Tests/Cache/DistributedCacheBinderTests.cs
#	src/Umbraco.Tests/Routing/GetContentUrlsTests.cs
#	src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UmbracoModuleTests.cs
#	src/Umbraco.Tests/Routing/UrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UrlsProviderWithDomainsTests.cs
#	src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
#	src/Umbraco.Tests/Security/BackOfficeCookieManagerTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects-Mocks.cs
#	src/Umbraco.Tests/Testing/Objects/TestUmbracoContextFactory.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Tests/Web/Mvc/RenderIndexActionSelectorAttributeTests.cs
#	src/Umbraco.Tests/Web/Mvc/SurfaceControllerTests.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/UmbracoContext.cs
#	src/Umbraco.Web/UmbracoContextFactory.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
2020-02-17 13:07:59 +01:00
Bjarke BergandGitHub 2b8be2cf00 Netcore: Move files from Web/Routing to Abstractions/Routing (#7642)
* AB4951 - Move routing files to abstractions

* Changed UriUtility from static to instance

* Moved more files from Routing in web to Abstractions

* Moved UrlProvider to Abstractions

* Moved PublishedRequest to Abstractions
2020-02-17 12:07:51 +01:00
Bjarke Berg e7e4dc8441 Clean up 2020-02-17 10:07:18 +01:00
Bjarke Berg 402867f115 Moved lots of mapping files 2020-02-17 09:15:48 +01:00
Bjarke Berg f2b1558cb1 Review fixes from comments on https://github.com/umbraco/Umbraco-CMS/pull/7664 2020-02-17 09:04:15 +01:00
Bjarke Berg 7a55852cbb Update editor config to not force private constants to be named _camelCase 2020-02-17 09:02:27 +01:00
Shannon a69cffffce Merge branch 'netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-17 11:53:08 +11:00
Shannon DeminickandGitHub 707e11ed69 Merge pull request #7619 from umbraco/netcore/feature/AB4919-untable-umbraco-context
NetCore: Untangle and abstract UmbracoContext
2020-02-17 10:29:18 +11:00
Andy Butland f92b43260a Added unit tests for new KeyValueRepository. 2020-02-15 12:17:48 +01:00
Andy Butland ac91b9ef5e Removed usage of obsoleteted method in UserService. 2020-02-15 11:10:25 +01:00
Andy Butland 40d7baca79 Migrated database concerns from KeyValueService to new repository. 2020-02-15 11:08:32 +01:00
Andy Butland 0b49c2d84e Removed a few duplicated comments. 2020-02-15 09:37:57 +01:00
Andy Butland 1f8d4b1db7 Moved implementation of check for existance of username on creating user from user service to repository. 2020-02-15 09:20:59 +01:00
Bjarke Berg 738e374061 Cleanup 2020-02-14 14:03:05 +01:00
Bjarke Berg 0bbd82b262 Removed Url stuff from UmbracoContext 2020-02-14 13:52:51 +01:00
Bjarke Berg ddfa57e57a Merge remote-tracking branch 'origin/netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-14 13:18:10 +01:00
Bjarke BergandGitHub 0372b13495 Merge branch 'netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-14 13:17:55 +01:00
Bjarke Berg c6e1e7b3e5 Untangled UrlProvider from UmbracoContext 2020-02-14 13:06:10 +01:00
Bjarke Berg dceb6c80f5 Merge branch 'netcore/feature/AB4919-untable-umbraco-context' into netcore/feature/move-files-after-umbraco-context-abstractions
# Conflicts:
#	src/Umbraco.Web/Security/WebSecurity.cs
#	src/Umbraco.Web/UmbracoContextFactory.cs
2020-02-14 09:00:50 +01:00
Bjarke Berg 6ccd63694d Fix merge issue 2020-02-14 08:51:17 +01:00
Bjarke Berg 293a5fbe33 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context
# Conflicts:
#	src/Umbraco.Web/Templates/TemplateRenderer.cs
2020-02-14 08:34:04 +01:00
Bjarke Berg 463a081968 Merge remote-tracking branch 'origin/netcore/feature/AB4919-untable-umbraco-context' into netcore/feature/AB4919-untable-umbraco-context 2020-02-14 08:05:42 +01:00
Shannon e89096eeb6 Dont call Thread.GetDomain() more than needed 2020-02-14 12:36:22 +11:00
Shannon 31d71ad86e Removes methods/props from interfaces that don't need to be there, removes unused code, obsoletes some code we need to refactor 2020-02-14 12:30:56 +11:00
Shannon DeminickandGitHub 54af158012 Merge pull request #7650 from umbraco/netcore/feature/clean-up-legacy-alternative-template-stuff
NetCore: Removed legacy way of handling alternative templates..
2020-02-14 11:07:55 +11:00
Bjarke Berg 53a9e75a48 Refactor UmbracoContext to inject IHttpAccessor instead of HttpContext 2020-02-13 15:13:38 +01:00
Bjarke Berg 31130be85a Move files 2020-02-13 12:58:05 +01:00
Bjarke Berg 392828fcb2 Merge branch 'netcore/feature/use-request-cache-instead-of-httpcontext-items' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-13 12:28:50 +01:00
Bjarke Berg b57a7690f5 Moved More files to infrastructure/abstractions 2020-02-13 11:21:20 +01:00
Bjarke Berg a69b985002 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context 2020-02-13 09:50:19 +01:00
Bjarke Berg 6ae1f79b5f Moved IUmbracoContextAccessor 2020-02-13 09:44:13 +01:00
Bjarke Berg 04b1e37348 Reintroduced some code that could not be removed 2020-02-13 09:38:16 +01:00
Bjarke Berg 99045eaaa4 Reintroduced some code that could not be removed 2020-02-13 09:17:57 +01:00
Bjarke Berg a329fb1a92 Replaced HttpContextBase injection with HttpContextAccessor injection 2020-02-13 08:52:58 +01:00
Bjarke Berg 215cb60b15 Refactored usages of HttpContext.IsDebuggerEnabled to use the IHostingEnvironment.IsDebugMode 2020-02-13 07:56:50 +01:00
Bjarke Berg 85afde0ea1 Replaced usages of HttpContext.Items with usages of IRequestCache 2020-02-13 07:46:49 +01:00
Bjarke Berg 0f6c945fe0 Fix tests 2020-02-12 11:12:09 +01:00
Bjarke Berg 6c395db5a5 Removed legacy way of handling alternative templates.. Today we use ContentFinderByUrlAndTemplate 2020-02-12 10:56:23 +01:00
Andy Butland 1b7554c5ce Fixed failing unit test. 2020-02-12 09:05:31 +01:00
Benjamin Carleski bcd26b9243 Merge remote-tracking branch 'umbraco/temp-7538-image-url-generator' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/IImageUrlGenerator.cs
#	src/Umbraco.Abstractions/ImageUrlGenerationOptions.cs
#	src/Umbraco.Core/Composing/Current.cs
#	src/Umbraco.Core/Models/UserExtensions.cs
#	src/Umbraco.Core/PropertyEditors/ValueConverters/ImageCropperValue.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Tests/PropertyEditors/ImageCropperTest.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
2020-02-11 16:53:13 -08:00
Andy Butland 927b7c0f75 Removed circular dependency between data type service and repository, by moving the creation of labels for missing property editors to the service. 2020-02-11 23:17:39 +01:00
Bjarke Berg 6f32470fdf Cleanup 2020-02-11 11:27:43 +01:00
Emma Garland 7afcbd5ec3 Replaced instances of MediaService with ServiceContext or existing injected mediaservice 2020-02-11 10:23:28 +00:00
Bjarke Berg ec1d829a3e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context
# Conflicts:
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/TestControllerActivatorBase.cs
#	src/Umbraco.Web/Macros/MacroRenderer.cs
2020-02-11 10:30:41 +01:00
Bjarke Berg 9449ed9a4d Fix views 2020-02-11 10:28:34 +01:00
Bjarke BergandGitHub c76fff9d04 Merge pull request #7618 from AndyButland/netcore/7617-published-content-element-property-extension-methods
Netcore: Migrate various extension methods on IPublishedContent, IPublishedElement and IPublishedProperty to Umbraco.Abstractions
2020-02-11 10:20:10 +01:00
Bjarke Berg 4d15c8c044 Bug fixes for macros 2020-02-10 19:59:47 +01:00
Bjarke Berg e94921b384 Introduced interface on PublishedRequest and moved interfaces to abstractions 2020-02-10 19:23:42 +01:00
Bjarke Berg 4b9d0941a4 Fix if httpContext is null we cannot wrap it 2020-02-10 15:05:35 +01:00
Bjarke Berg 3dcff69d34 Clean up 2020-02-10 14:40:24 +01:00
Bjarke Berg d151503dbf Started replacing UmbracoContext.HttpContext with injection of IHttpContextAccessor 2020-02-10 14:22:18 +01:00
ef7af69731 https://github.com/umbraco/Umbraco-CMS/issues/7138 - Injected IIOHelper (#7581)
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2020-02-10 11:23:23 +01:00
Bjarke Berg aa6a70efba Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context 2020-02-10 09:45:14 +01:00
Bjarke BergandGitHub b850b3c8fe AB4950 - Created new Umbraco.Web.BackOffice project. Moved dashboards into this new project (#7615) 2020-02-10 09:06:29 +01:00
Bjarke Berg 5784449fce Started replacing UmbracoContext.HttpContext with injection of IHttpContextAccessor 2020-02-10 07:03:50 +01:00
Bjarke Berg 794e2ccdac Introduced interface on UrlProvider (Can't be named IUrlProvider) 2020-02-09 20:20:13 +01:00
Bjarke Berg 2658dae649 Introduced interface on WebSecurity 2020-02-09 20:10:49 +01:00
Bjarke Berg c335a8dbb5 Introduced interface on UmbracoContext 2020-02-09 19:05:39 +01:00
Bjarke Berg 99e011dc01 Moved search files to abstractions and infrastructure 2020-02-09 18:09:01 +01:00
Bjarke Berg 5491037d10 Removed CSharpTest.Net.Collections from nuspec 2020-02-09 10:39:11 +01:00
Bjarke Berg 1d25caaf14 Removed unused nuget from Umbraco.Web 2020-02-09 10:27:32 +01:00
Andy Butland c72b6649bf Fixed failing unit tests. 2020-02-08 11:33:49 +01:00
Andy Butland 0c0b94b10f Migrate various extension methods on IPublishedContent, IPublishedElement and IPublishedProperty to Umbraco.Abstractions 2020-02-08 10:02:33 +01:00
Bjarke Berg 3f7fae7369 Fix merge issues 2020-02-07 12:56:54 +01:00
Bjarke Berg 35a736e6cd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/IO/SystemDirectories.cs
#	src/Umbraco.Core/Udi.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
2020-02-07 10:04:28 +01:00
Bjarke BergandGitHub d721ab2e25 Merge pull request #7542 from AndyButland/feature/netcore-publish-cache
Moved PublishedCache from Umbraco.Web into .Net standard project (#7551)
2020-02-07 06:47:46 +01:00
Bjarke Berg 81bbd201ea Removed internal visible tos 2020-02-07 06:16:27 +01:00
Bjarke Berg add34e4f6b Removed unused interface 2020-02-07 06:13:59 +01:00
Niels Lyngsø a9732cb233 corrected button style to match new style 2020-02-06 14:57:25 +01:00
Bjarke Berg d147b182ee Renamed the project to Umbraco.PublishedCache.NuCache - and move non NuCache related stuff to abstractions and infrastructure. 2020-02-06 14:40:46 +01:00
Bjarke Berg 0bc843b06d Merge remote-tracking branch 'origin/netcore/dev' into feature/netcore-publish-cache 2020-02-06 14:09:23 +01:00
Bjarke Berg a018315404 Removed references from web and Models builder.. Moved some classes to do so 2020-02-06 14:09:16 +01:00
Bjarke Berg c0a59cbad7 Renamed SqlCe Project 2020-02-06 08:49:02 +01:00
Bjarke BergandGitHub ebe7445a58 Merge pull request #7580 from umbraco/netcore/feature/examine-lucene-as-new-csproj-style
NetCore: Replaced the Umbraco.Examine.Lucene.csproj with the new format
2020-02-06 05:53:57 +01:00
Bjarke BergandGitHub 4e3980dd71 Merge pull request #7491 from benjaminc/netcore/feature/7368-CleanupObsoletes
Remove obsolete Stylesheet constant and references
2020-02-05 11:36:08 +01:00
Benjamin CarleskiandGitHub 0e150161f7 Add audit messages back 2020-02-05 01:52:10 -08:00
Bjarke Berg 27cae2bbde Genererate xmldoc on release 2020-02-05 08:47:59 +01:00
Bjarke Berg e13c17b02d Updated and aligned nuget package versions 2020-02-05 08:43:23 +01:00
Bjarke Berg a3867d93dd Replaced the Umbraco.Examine.Lucene.csproj with the new format (PackageReferences) 2020-02-05 08:17:30 +01:00
Andy Butland 41fde9318d Restored accidental change of csproj 2020-02-04 19:19:51 +01:00
Andy Butland b0c752bc5c Removed concrete type checks for back-office published cache details, so now working from interface. Renamed controller and FE assets to more generic name. 2020-02-04 19:18:35 +01:00
Andy Butland 28267087ef Merge branch 'feature/netcore-publish-cache' of https://github.com/AndyButland/Umbraco-CMS into feature/netcore-publish-cache
# Conflicts:
#	src/Umbraco.Web/PublishedContentExtensions.cs
2020-02-04 18:55:52 +01:00
Bjarke Berg bc6f79ef5b Fixed views after moving extension methods 2020-02-04 09:50:32 +01:00
Bjarke Berg 420d8d2ba8 Merge remote-tracking branch 'origin/netcore/dev' into feature/netcore-publish-cache 2020-02-04 07:14:41 +01:00
Shannon 0c619b184e remove comments 2020-02-04 12:39:03 +11:00
Shannon DeminickandGitHub 48e2f84b71 Merge pull request #7529 from umbraco/netcore/feature/3679-examine-netstandard
Updating solution to use netstandard abstractions of Examine
2020-02-04 12:35:12 +11:00
Bjarke BergandGitHub 714ef684b2 Merge pull request #7547 from emmagarland/netcore/feature/7369-removeservices-unittests
Unit tests update to replace Current.Service references
2020-02-03 15:51:23 +01:00
Niels Lyngsø 342bce5c58 keep umb-editor inside viewport width 2020-02-03 14:56:57 +01:00
Bjarke Berg 47ca4a0207 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/3679-examine-netstandard 2020-02-03 14:18:27 +01:00
Andy Butland b8bfdf1441 Restored type check for NuCache status controller.
Added service located extension method for retrieving creator and writer name.
2020-02-01 18:19:50 +01:00
Andy Butland 50c309e613 Removed type check for dashboard status URL from published status controller and moved to interface. 2020-01-31 15:52:08 +01:00
Andy Butland 9e89e18492 Migrated various IPublishedContent extension methods from web to core, removin use of service location.
Kept the original methods passing through to the core ones, providing the service located dependencies.
Used one of these migrated methods in the Umbraco.Infrastructure.PublishedCache project.
2020-01-31 15:33:31 +01:00
Emma Garland e303d9e4f4 Mock IMediaService and IUserService 2020-01-31 13:57:23 +00:00
Emma Garland 8cb11de18c Replaced member service and user service with mocks 2020-01-31 13:51:22 +00:00
Andy Butland 45ee8a985d Add disambiguity otherwise flagged by build checks. 2020-01-31 13:36:14 +01:00
Andy Butland 5ebade460f Removed language features not recognised by build checks. 2020-01-31 13:21:53 +01:00
Andy Butland d1373862e5 Removed Url property from IPublishedContent and amended usages to use the existing Url() extension method. 2020-01-31 13:09:33 +01:00
Andy Butland f13abca1ac Removed WriterName and CreatorName from IPublished content and replaced functionality with an extension methods requiring an instance of IUserService. 2020-01-31 11:28:52 +01:00
Andy Butland 171fce2ecb Moved PublishedCache from Umbraco.Web into .Net standard project.
Returned to compiling state with a number of things to check and some temporarily commented out functionality.
2020-01-30 20:08:03 +01:00
Bjarke Berg 5259b19eef Fix reference to umbraco.core 2020-01-30 19:19:19 +01:00
Bjarke Berg f1daa125e6 Fix for merge issue with ports 2020-01-29 19:54:05 +01:00
Bjarke BergandGitHub b4d0620886 Merge pull request #7523 from umbraco/netcore/feature/AB4687-move-healthchecks-from-web
Netcore: Move healthchecks and healthcheck scheduling to Abstractions and Infrastructure
2020-01-29 14:07:50 +01:00
Bjarke Berg ddead752e2 Fixed merge issue 2020-01-29 13:19:39 +01:00
Bjarke Berg 14f0005345 Fixed issue with the smtp settings.. Found when testing smtp healthcheck 2020-01-29 13:15:31 +01:00
Bjarke Berg cbf02d7b16 Merge remote-tracking branch 'origin/netcore/feature/AB4687-move-healthchecks-from-web' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:55:32 +01:00
Bjarke BergandGitHub 3b3d616647 Merge branch 'netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:55:00 +01:00
Bjarke Berg 617e2a42e8 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:54:28 +01:00
Bjarke Berg bdade02164 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:52:28 +01:00
Bjarke BergandGitHub 0d34468f20 Merge pull request #7522 from umbraco/netcore/feature/AB4685-move-scheduling-from-web
Netcore: Move scheduling to Abstractions and Infrastructure
2020-01-29 11:51:07 +01:00
Bjarke Berg 03f1faf20d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/Models/ChangingPasswordModel.cs
#	src/Umbraco.Web/Templates/HtmlImageSourceParser.cs
2020-01-29 09:22:45 +01:00
Shannon c4b9a62e3b Fixes netstandard references 2020-01-29 15:29:28 +11:00
Shannon 958118fc7f removes duplicate lines in csproj 2020-01-29 14:20:17 +11:00
Shannon ecf5a5efbc reverts accidental change 2020-01-29 12:46:16 +11:00
Shannon a19d9b2a9b removes empty file 2020-01-29 12:42:50 +11:00
Shannon 1dffffcf11 changes namesapces 2020-01-29 12:36:57 +11:00
Shannon 76d868d46d Moves file 2020-01-29 12:31:06 +11:00
Shannon 5b5aa4c499 All Lucene based logic is part of Umbraco.Examine.Lucene, no other part of Umbraco now knows about Lucene at all. 2020-01-29 12:24:57 +11:00
elitsa bd8ba35ff3 Fixing a boot error in FilePermissionHelper 2020-01-28 15:22:14 +01:00
elitsa 5ce8e29aa6 Moving Scheduling classes dependent on the recently moved HealthCheck classes - changing class accessibility level, installing needed nuget into Infrastructure proj 2020-01-28 14:38:18 +01:00
elitsa 550568dda6 Creating an interface for FilePermissionHelper, making the implementation (in Umbraco.Web) singleton and adding the interface to Umbraco.Abstractions. Changing static methods in FilePermissionHelper to instance ones and fixing old way of referencing those methods. Removing the usage of Current in FolderAndFilePermissionsCheck. Fixing tests - mocking the newly created IFilePermissionHelper 2020-01-28 13:48:44 +01:00
elitsa 6707ac4d5f Getting the IISVersion through HostingEnvironment, rather than directly calling HttpRuntime, fixing base ctor signature 2020-01-28 13:41:54 +01:00
elitsa aab8b58067 csprojs with moved files and added package 2020-01-28 13:34:19 +01:00
elitsa ca863fce8d Fixing modified method signature, using a magic string rather than using CustomErrorsMode (System.Web.Configuration) 2020-01-28 13:32:32 +01:00
elitsa 394377f20a Moving classes from Web to Infrastructure without modifications - a unused usings are removed and HealthCheckNotificationMethodCollectionBuilder is made public 2020-01-28 13:25:38 +01:00
elitsa 1d79ab4877 Moving classes from Web to Abstractions without modifications - a few unused usings are removed 2020-01-28 13:22:33 +01:00
elitsa 559b6641a1 Moving last classes in Security folder - removing the usage of Current, refactoring var name, fixing modified method signature 2020-01-28 13:14:50 +01:00
Shannon 4183514b52 Renames Examine2 to Examine as the netstandard part 2020-01-28 17:11:43 +11:00
Shannon 69f4ea5484 Renames Umbraco.Examine project to Umbraco.Examine.Lucene for the Lucene implementation part 2020-01-28 17:09:45 +11:00
Shannon 0695d308c2 Moves remaining non-lucene stuff 2020-01-28 17:07:06 +11:00
Shannon 0343b302f3 Moving stuff to Examine2 (temp name) as a netstandard project, updates to latest Examine netstandard, moves constants to separate class. 2020-01-28 16:37:55 +11:00
Shannon 4cf4952a7e Umbraco.Web still needs refs to Examine.Lucene for now. Going to try to split Umbraco.Examine into 2x projects 2020-01-28 15:38:23 +11:00
Shannon 58537ce11a Updates to newer 2.0 version of Examine which has Examine.Core as netstandard 2020-01-28 15:21:58 +11:00
elitsa c624919710 Moving Security HealthChecks to Abstractions proj 2020-01-27 16:38:02 +01:00
elitsa 8c6281cb6d Merge branch 'netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-27 15:11:51 +01:00
Bjarke Berg 5ed900f276 Bugfix - Aparently the UmbracoApplicationBase constructor is called twice.. 2020-01-27 14:55:43 +01:00
elitsa 9b371273b5 Refactoring SmtpCheck to use the new GlobalSettings to get smtp host and port instead of WebConfigurationManager 2020-01-27 14:36:29 +01:00
Bjarke Berg a1ed2eb135 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-27 14:22:04 +01:00
elitsa 770c4beb95 Moving Scheduling classes from Web to Abstractions and Infrastructure. 2020-01-27 12:56:00 +01:00
Bjarke BergandElitsa Marinovska 3b7825b30d Netcore: Moves services and dependencies from Web to Abstractions (#7497)
* Moves the services and dependencies from web,

* Fix bug with Empty collection not being a property (new one for each access)

* remvoed moved files from web csproj

* Fix spelling
2020-01-27 09:31:24 +01:00
Bjarke BergandElitsa Marinovska 09b9c01f94 Netcore: Make composition root available as current in abstrations (#7500)
* Added all the essential parts of umbraco available on the Current from Abstractions.
These are created when Current is initialized.

* Moved some of the composers and components into Infrastructure - And removed unused Settings Files

* Init current with null logger

* Avoid multiple init of Current
2020-01-27 09:12:52 +01:00
Bjarke BergandGitHub a9e6919420 Merge pull request #7496 from benjaminc/netcore/feature/7369-remove-current-services
Replace Current.Services references with DI where possible
2020-01-23 13:39:59 +01:00
Bjarke Berg fd2524bcc5 Need to make lazy injection of IEntityService to break cycle after merge :( 2020-01-23 13:33:10 +01:00
Bjarke Berg 1bfb64bdd8 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/Constants-AppSettings.cs
#	src/Umbraco.Abstractions/ContentVariationExtensions.cs
#	src/Umbraco.Abstractions/IMainDom.cs
#	src/Umbraco.Abstractions/PropertyEditors/MultiUrlPickerConfiguration.cs
#	src/Umbraco.Abstractions/Runtime/IMainDom.cs
#	src/Umbraco.Abstractions/Runtime/MainDom.cs
#	src/Umbraco.Core/IMainDom.cs
#	src/Umbraco.Core/MainDom.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Infrastructure/MainDom.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/Runtime/CoreRuntime.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web/Models/Mapping/ContentTypeMapDefinition.cs
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
#	src/Umbraco.Web/UmbracoApplication.cs
#	src/Umbraco.Web/UmbracoComponentRenderer.cs
2020-01-23 13:16:49 +01:00
Bjarke Berg 0d84bfb42e Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-23 10:34:06 +01:00
Shannon DeminickandGitHub 3b63d9baa3 Merge pull request #7486 from umbraco/netcore/feature/AB4635-move-cache-refreshers
NetCore:  Moved CacheRefreshers to abstractions
2020-01-23 20:18:48 +11:00
Shannon 877e0cca93 removes unneeded ctor param 2020-01-23 20:06:02 +11:00
Shannon c7b0bf20b0 Removes RefreshByJson and changes macro cache refreshing to use objects 2020-01-23 19:48:15 +11:00
Shannon a020c52ff6 Simplifies IdKeyMap interface, moves the weird add mapping logic in PublishedSnapshotService to a composer. 2020-01-23 18:10:21 +11:00
Benjamin Carleski a379e01578 Replace Current.Services references with DI where possible 2020-01-22 21:43:25 -08:00
Bjarke Berg 47c211907a AB4635 - Fixed up some of the review comments - Removed static (de)serializers and get the CacheRefresher from the collection 2020-01-22 14:09:20 +01:00
Bjarke Berg d8427779ea Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-22 11:58:20 +01:00
Bjarke BergandGitHub 3bdfe84717 Merge pull request #7490 from benjaminc/netcore/feature/7370-inject-config-interfaces
Use dependency injection for config classes
2020-01-22 11:52:50 +01:00
Bjarke Berg 3e7c6c12b0 Removed support for vbhtml views 2020-01-22 11:45:18 +01:00
Bjarke Berg 2e0299cf7b Removed used things 2020-01-22 11:44:56 +01:00
Benjamin Carleski c9bbb158be Remove obsolete Stylesheet constant and references 2020-01-21 17:50:20 -08:00
Shannon DeminickandGitHub 656585b2dc Merge pull request #7438 from umbraco/netcore/feature/AB4385-move-content-apps-to-abstractions
Netcore:  Move content apps to abstractions
2020-01-22 12:43:56 +11:00
Benjamin CarleskiandGitHub ae25845f2b Correct cut-and-paste error 2020-01-21 17:40:13 -08:00
Benjamin Carleski fd3ef48367 Use dependency injection for config classes 2020-01-21 17:25:03 -08:00
elitsa 1bf1a86f94 Commenting out the Starter Kit installation for now as it isn't compatible 2020-01-21 15:41:35 +01:00
Bjarke Berg f95b99676a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4385-move-content-apps-to-abstractions 2020-01-21 14:29:27 +01:00
Bjarke Berg 17ee7796f4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4635-move-cache-refreshers 2020-01-21 14:24:53 +01:00
Bjarke BergandGitHub 258dcef773 Merge pull request #7460 from umbraco/netcore/feature/AB4549-Move-models-from-web
Netcore: Move models from web to abstractions and infrastructure
2020-01-21 14:22:20 +01:00
elitsa 9ef5f74d67 Removing unnecessary namespace from in-line file reference 2020-01-21 13:50:37 +01:00
elitsa bda64d75ba Removing the usage of Current 2020-01-21 13:47:21 +01:00
Bjarke Berg 0cdd6ba29d AB4635 - Moved CacheRefreshers to abstractions 2020-01-21 13:40:23 +01:00
Bjarke Berg f3107c6f55 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4385-move-content-apps-to-abstractions 2020-01-21 11:07:42 +01:00
Bjarke Berg 68e3fe275a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web
# Conflicts:
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/PackageInstallController.cs
2020-01-21 11:05:48 +01:00
Bjarke Berg 928f774bfd Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-21 10:51:43 +01:00
Bjarke Berg d533631dff Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-21 10:51:36 +01:00
Bjarke Berg bdf29f315f Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-21 10:51:16 +01:00
Bjarke Berg d7377bd9b4 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComposer.cs
#	src/Umbraco.ModelsBuilder.Embedded/Configuration/ModelsBuilderConfig.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/DataTypeController.cs
#	src/Umbraco.Web/Editors/MacrosController.cs
#	src/Umbraco.Web/Models/Mapping/ContentPropertyBasicMapper.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
2020-01-21 10:51:04 +01:00
Bjarke Berg 3978ad95df Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComposer.cs
#	src/Umbraco.ModelsBuilder.Embedded/Configuration/ModelsBuilderConfig.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/DataTypeController.cs
#	src/Umbraco.Web/Editors/MacrosController.cs
#	src/Umbraco.Web/Models/Mapping/ContentPropertyBasicMapper.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
2020-01-21 10:50:26 +01:00
Bjarke BergandGitHub 8b4c291d44 Merge pull request #7472 from benjaminc/netcore/feature/7368-CleanupObsoletes
Netcore/feature/7368 cleanup obsoletes
2020-01-21 10:04:36 +01:00
Bjarke Berg 1ee09af4f3 7368 - Updated view to use the new name of ReplaceLineBreaksForHtml 2020-01-21 09:01:11 +01:00
Benjamin Carleski 25e58665ba Merge remote-tracking branch 'umbraco/netcore/dev' into netcore/feature/7368-CleanupObsoletes 2020-01-20 14:26:58 -08:00
Benjamin Carleski fceac19f04 Update controllers to include UmbracoMapper 2020-01-20 14:15:54 -08:00
Benjamin Carleski 7284ab0400 Remove obsolete UmbracoApiControllerBase constructor 2020-01-20 11:55:49 -08:00
Benjamin Carleski 421ed582da Remove obsolete UmbracoIndexesCreator methods 2020-01-20 11:50:08 -08:00
Benjamin Carleski d35b3468e2 Remove obsolete RebuildIndexes method 2020-01-20 11:46:03 -08:00
Benjamin Carleski cd4f646ed0 Remove obsolete PublishedContentQuery constructor 2020-01-20 11:45:44 -08:00
Benjamin Carleski f463fae047 Fix BuilderTests reference 2020-01-20 11:26:18 -08:00
Benjamin Carleski 628373f7a4 Remove obsoletes Umbraco.Infrastructure 2020-01-20 11:26:01 -08:00
Benjamin Carleski 0c1d54ba4d Remove unused obsoletes from Umbraco.Web.UI.Client 2020-01-20 11:07:13 -08:00
Benjamin Carleski 66e32148b2 Remove unused obsoletes from Umbraco.Abstractions 2020-01-20 11:06:29 -08:00
Bjarke Berg 3279098f02 AB4549 - Moved mappers 2020-01-20 15:48:03 +01:00
Bjarke Berg e45ff0b63d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web 2020-01-20 15:44:15 +01:00
Bjarke BergandGitHub f4caf75ced Merge pull request #7476 from umbraco/netcore/feature/AB4519-move-more-property-editors-to-infrastructure
Netcore: Move property editors to Infrastructure or Abstractions (2nd part)
2020-01-20 15:43:14 +01:00
Bjarke Berg 9fa18fe9a3 AB4549 - Moved more models 2020-01-20 15:20:21 +01:00
elitsa beb55ccd23 Moving property editors to Abstractions project 2020-01-20 15:11:54 +01:00
elitsa 3f6e14c065 Moving files from ParameterEditors and ValueConverters folders under PropertyEditors 2020-01-20 13:05:20 +01:00
elitsa d88dbbb0cd Moving some more PropertyEditors From Umbraco.Web to Umbraco.Infrastructure 2020-01-20 11:45:40 +01:00
Bjarke Berg 5a67e5b395 AB4549 - Moved more models 2020-01-20 11:37:19 +01:00
Benjamin Carleski 3320e1a2f0 Remove unused obsoletes from Umbraco.Web 2020-01-17 17:22:55 -08:00
Benjamin Carleski 94f42c3223 Update package references to fix compilation error 2020-01-17 17:21:50 -08:00
Bjarke Berg 7a6ec6bfa4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4385-move-content-apps-to-abstractions
# Conflicts:
#	src/Umbraco.Abstractions/ContentApps/ContentAppFactoryCollectionBuilder.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
2020-01-17 06:57:09 +01:00
Bjarke Berg 2c8d53ed71 AB3986 - fix from merge 2020-01-16 07:25:18 +01:00
Bjarke Berg 087702334d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web 2020-01-16 07:20:13 +01:00
Shannon DeminickandGitHub 0577877a41 Merge pull request #7432 from umbraco/netcore/feature/AB3986-handle-iregistedobject-and-remove-core-project
Netcore: Handle IRegisteredObject and remove Umbraco.Core project
2020-01-16 14:57:32 +11:00
Bjarke Berg 4ff0f2f51a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web 2020-01-15 13:42:55 +01:00
Bjarke BergandGitHub 17609b70de Merge pull request #7459 from umbraco/netcore/feature/AB4519-move-property-editors-to-infrastructure
Netcore: Move property editors to infrastructure (1st part)
2020-01-15 10:33:08 +01:00
Bjarke Berg ea398e1b80 AB3986 - Changed dictionary to be concurrent to ensure thread safety. 2020-01-15 09:31:09 +01:00
Bjarke Berg 1e5c00878b AB4549 - Moved models from web to abstractions and infrastructure 2020-01-15 09:05:52 +01:00
Shannon 29c2110b0a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3986-handle-iregistedobject-and-remove-core-project 2020-01-15 14:17:38 +11:00
Shannon DeminickandGitHub 59812f887f Merge pull request #7427 from umbraco/netcore/feature/AB4231-Move-SqlCe-stuff-to-seperate-project
Netcore: Move SqlCe classes to separate project
2020-01-15 13:59:27 +11:00
Shannon 11f5d2f800 Fixes startup - no need for using "Current" which wasn't set at that point but shouldn't have been used anyways. 2020-01-15 13:53:21 +11:00
Shannon c18b6e6c82 Don't eagerly create an IBulkSqlInsertProvider (fixes install boot), this is now created with the IDbProviderFactoryCreator which simplifies a bunch of ctors. 2020-01-15 13:40:35 +11:00
Shannon cf818b2268 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4231-Move-SqlCe-stuff-to-seperate-project 2020-01-15 12:48:42 +11:00
Shannon DeminickandGitHub 6900842d12 Merge pull request #7426 from umbraco/netcore/feature/AB4234-Move-Indentity-struff-to-web
Netcore: Move indentity struff from core to web
2020-01-15 12:45:50 +11:00
elitsa c588fc085b Migrating FileUploadPropertyEditor and its PropertyEditor dependencies. Fixing its tests due to the changes 2020-01-14 16:53:20 +01:00
elitsa 8655be1b28 Moving more PropertyEditors to Umbraco.Infrastructure 2020-01-14 16:50:22 +01:00
elitsa 2646a20647 Moving a bunch PropertyEditors From Umbraco.Web to Umbraco.Infrastructure 2020-01-14 16:35:50 +01:00
Bjarke Berg 51d0f7da94 AB4234 - Fixes namespaces and removed old unused property on user 2020-01-14 07:47:47 +01:00
Shannon 094f1c2539 Merge branch 'netcore/dev' into netcore/feature/AB4234-Move-Indentity-struff-to-web 2020-01-14 12:41:58 +11:00
Shannon DeminickandGitHub 2c7c556c5f Merge pull request #7425 from umbraco/netcore/feature/AB3677-remove-current-from-core
Netcore: Removed Current (Core)
2020-01-14 12:37:41 +11:00
Bjarke Berg 2b0e9e8450 Added more options on the test builders 2020-01-13 07:29:12 +01:00
elitsa 7656072bd5 Fixing namespaces and usings 2020-01-09 16:45:46 +01:00
elitsa f8a1e4491b Fixing merge conflict 2020-01-09 16:43:02 +01:00
elitsa 0748fede86 Adding tests for RelationType 2020-01-09 16:39:28 +01:00
elitsa 3dbe0c2847 Fixing indentation 2020-01-09 16:38:31 +01:00
elitsa 76ed4ccc6c Updating namespaces 2020-01-09 16:37:24 +01:00
Bjarke Berg b786dd185b Clean up 2020-01-09 15:48:28 +01:00
Bjarke Berg 728799b036 using extension methods to enforce consistency 2020-01-09 15:32:19 +01:00
Bjarke Berg 9d6d43c2d0 Added language tests 2020-01-09 14:49:11 +01:00
Bjarke Berg 997796758e Added Builders 2020-01-09 14:24:20 +01:00
Niels Lyngsø 27fdc16569 added round corners in umb-media-grid for media-picker 2020-01-09 14:19:42 +01:00
Bjarke Berg a33d1b4fef Added UnitTest project 2020-01-09 13:04:27 +01:00
Bjarke Berg 29140bc7ea AB4375 - Moved ITagQuery and TagModel to Umbraco.Abstractions 2020-01-08 15:39:07 +01:00
Bjarke Berg 4bca006e86 AB4385 - Moved Content Apps to Infrastructure - Introduced ICurrentUserAccessor in Abstractions 2020-01-08 14:46:20 +01:00
Bjarke Berg bdf0f32a70 AB4375 - Moved Actions to Umbraco.Abstractions 2020-01-08 13:39:47 +01:00
Bjarke Berg 447e1ee1f0 AB4375 - Moved Sections to Umbraco.Abstractions 2020-01-08 13:36:48 +01:00
Bjarke Berg 39b7cb4201 AB4375 - Moved Tour to Umbraco.Abstractions 2020-01-08 13:35:05 +01:00
Bjarke Berg 33525f3ea9 AB4375 - Moved Media from Umbraco.Web to Umbraco.Infrastructure and added reference to System.Drawing.Common 2020-01-08 13:31:14 +01:00
Bjarke Berg c7f60d8312 AB3986 - Wrapped System.Web.Hosting.IRegisteredObject in the AspNetHostingEnvironment. Updated Maindom to use our own new interface and the wrapper and moved to infrastructure. Removed the Umbraco.Core project now that it was empty. 2020-01-08 09:01:58 +01:00
Bjarke Berg cdfd3df98a AB4231 - Moved SqlCe classes to separate project 2020-01-07 14:52:59 +01:00
Bjarke Berg 586b9c37f8 AB4234 - Moved stuff from core into web, that used identity. 2020-01-07 13:51:03 +01:00
Bjarke Berg c6c0d7df54 AB4234 - Moved stuff from core into web, that used identity. 2020-01-07 13:50:38 +01:00
Bjarke Berg d2443ea4c0 AB3677 - Removed the Core.Composing.Current.. Moved stuff to Web.Composing.Current and injected more stuff. 2020-01-07 13:08:21 +01:00
Bjarke Berg 58f9b48e16 Merge branch 'netcore/dev' into netcore/feature/AB3677-remove-current-from-core
# Conflicts:
#	src/Umbraco.Abstractions/UriExtensions.cs
#	src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
#	src/Umbraco.Web/Editors/Filters/MemberSaveModelValidator.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Editors/TemplateController.cs
#	src/Umbraco.Web/Models/Mapping/PropertyTypeGroupMapper.cs
#	src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/UserPickerPropertyEditor.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2020-01-07 09:46:42 +01:00
Bjarke Berg c82772228c Minor changes.. Moved files and clean up 2020-01-07 09:36:40 +01:00
Bjarke BergandGitHub 439048bc4f Merge pull request #7380 from AndyButland/feature/7371-short-string-helper
.NET Core transition: Removed (almost) all instances of Current.ShortStringHlper and replaced with constructor injection (#7371)
2020-01-07 09:05:28 +01:00
Bjarke Berg e1b06498c6 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
2020-01-07 08:06:36 +01:00
Bjarke Berg 09b480919b Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
2020-01-07 07:35:34 +01:00
Bjarke Berg 0c7cc8e002 Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
Netcore/feature/ab4227 move files to infrastructure
2020-01-06 15:43:00 +01:00
Bjarke Berg 6d719a2ecc Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-01-06 14:59:42 +01:00
Bjarke Berg 44a36227f9 Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
Netcore/feature/ab4227 move files to infrastructure
2020-01-06 14:59:17 +01:00
Shannon DeminickandGitHub a68d1af2ca Merge pull request #7384 from AndyButland/feature/7367-netcore-password-config
.NET Core transition: Populated user and member password configuration from settings file (#7367)
2020-01-06 22:07:55 +11:00
Andy Butland bd5b344a57 Merge branch 'netcore/dev' into feature/7371-short-string-helper
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Core/TypeExtensions.cs
#	src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/DataTypeFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DataTypeRepository.cs
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComponent.cs
#	src/Umbraco.ModelsBuilder.Embedded/UmbracoServices.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlStore.cs
#	src/Umbraco.Tests/Persistence/Repositories/DocumentRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Routing/RenderRouteHandlerTests.cs
#	src/Umbraco.Tests/Strings/StringExtensionsTests.cs
#	src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
#	src/Umbraco.Tests/Web/Controllers/UsersControllerTests.cs
#	src/Umbraco.Web/Editors/CodeFileController.cs
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/ContentControllerBase.cs
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/CurrentUserController.cs
#	src/Umbraco.Web/Editors/DashboardController.cs
#	src/Umbraco.Web/Editors/EntityController.cs
#	src/Umbraco.Web/Editors/MacroRenderingController.cs
#	src/Umbraco.Web/Editors/MacrosController.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Editors/MemberController.cs
#	src/Umbraco.Web/Editors/RelationTypeController.cs
#	src/Umbraco.Web/Editors/TinyMceController.cs
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
#	src/Umbraco.Web/Models/Mapping/UserMapDefinition.cs
#	src/Umbraco.Web/Mvc/RenderRouteHandler.cs
#	src/Umbraco.Web/PropertyEditors/RichTextEditorPastedImages.cs
#	src/Umbraco.Web/Runtime/WebInitialComponent.cs
#	src/Umbraco.Web/Templates/TemplateRenderer.cs
2019-12-24 09:08:47 +01:00
Andy Butland 32e46b0f0c Added user and member password configuration to release config. 2019-12-24 08:05:33 +01:00
Andy Butland 0e8f1887bd Completed setup to fix failing unit tests. 2019-12-23 15:28:05 +01:00
Andy Butland 0670caee15 Populated user and member password configuration from settings file. 2019-12-23 14:35:39 +01:00
Shannon DeminickandGitHub 8aa6fff801 Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
Netcore/feature/ab4227 move files to infrastructure
2019-12-23 17:35:54 +11:00
Shannon db596a40da Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4227-move-files-to-infrastructure 2019-12-23 17:06:31 +11:00
Shannon DeminickandGitHub 67928b61db Merge pull request #7350 from umbraco/netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext
Netcore/feature/ab3791 move scoping to infrastructure and replace callcontext
2019-12-23 17:04:09 +11:00
Shannon 9dd258320a Adds notes, fixes tests 2019-12-23 16:04:17 +11:00
Andy Butland d469a2153b Removed (almost) all instances of Current.ShortStringHlper and replaced with constructor injection. 2019-12-20 17:36:44 +01:00
Shannon 95d3a87bb2 Simplifies ScopeProvider now that we are using AsyncLocal we don't need to worry about the weird constraints of CallContext which was being worked around with the static object dictionary 2019-12-20 16:19:29 +11:00
Shannon ef5a6a1db6 Adds notes changes some logic 2019-12-20 15:12:54 +11:00
Shannon bcc0fa391a adds notes, changes to use AsyncLocal<Guid> then will look at full refactor 2019-12-20 12:50:33 +11:00
Bjarke Berg 0a4cfcd3bc Merge remote-tracking branch 'origin/netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext' into netcore/feature/AB4227-move-files-to-infrastructure 2019-12-19 15:59:19 +01:00
Bjarke Berg dbf0581cb1 AB3791 - Removed unnessasary [Apartment(ApartmentState.STA)] 2019-12-19 15:55:01 +01:00
Bjarke Berg dfeb97caa4 AB3677 - Moved usages of Current (Core) to Current (Web) 2019-12-19 15:53:50 +01:00
Shannon DeminickandGitHub d624005355 Merge pull request #7309 from umbraco/netcore/feature/move-files
Netcore/feature/move files
2019-12-19 22:35:55 +11:00
Bjarke Berg 0e4ac7f7d1 Merge remote-tracking branch 'origin/netcore/feature/AB4227-move-files-to-infrastructure' into netcore/feature/AB3677-remove-current-from-core
# Conflicts:
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
2019-12-19 12:27:51 +01:00
Bjarke Berg cfacc4912d AB4227 - Made some classes internal 2019-12-19 12:24:30 +01:00
Bjarke Berg 2ed6b11b6f Merge remote-tracking branch 'origin/netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext' into netcore/feature/AB4227-move-files-to-infrastructure
# Conflicts:
#	src/Umbraco.Tests.Benchmarks/BulkInsertBenchmarks.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Web/Editors/UsersController.cs
2019-12-19 11:34:08 +01:00
Bjarke Berg 2fd6e8d617 Merge remote-tracking branch 'origin/netcore/feature/move-files' into netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext 2019-12-19 11:30:25 +01:00
Bjarke Berg 4a2ecef369 Merge remote-tracking branch 'origin/netcore/feature/move-files' into netcore/feature/move-files 2019-12-19 11:23:43 +01:00
Bjarke Berg 67c54bec50 AB4227 - Review fixes - Added null logger + clean up 2019-12-19 11:23:31 +01:00
Bjarke Berg d5527f0485 AB3677 - Removed lot of stuff from Current (Core) and uses Current (Web) instead 2019-12-19 10:43:34 +01:00
Shannon a8f006e36e Removes the useNativeBulkInsert parameter, it's super old and useless 2019-12-19 17:56:48 +11:00
Shannon aae5fc0048 Removes BulkInsertRecordsWithTransaction and changes tests 2019-12-19 17:45:28 +11:00
Bjarke Berg 7f9fbe9877 AB4227 - Removed StringExtensions from core.. 2019-12-18 18:55:00 +01:00
Bjarke Berg b3c06be83a AB4227 - Moved a mix of files 2019-12-18 13:42:34 +01:00
Bjarke Berg 6c923bc9b4 AB4227 - Moved a mix of files 2019-12-18 13:42:33 +01:00
Bjarke Berg 38519b2bab AB4227 - Moved Logging 2019-12-18 13:42:32 +01:00
Bjarke Berg 897cb63ad6 AB4227 - Moved Packaging, Compose, Dictionary, Manifest and Sync 2019-12-18 13:42:31 +01:00
Bjarke Berg da1cf259c6 AB4227 - Moved Services and Migration 2019-12-18 13:42:29 +01:00
Bjarke Berg a22824e33a AB4227 - Moved Persistence Repository implementations 2019-12-18 13:42:27 +01:00
Bjarke Berg 03631a1731 AB4227 - Moved Persistence Root 2019-12-18 13:42:26 +01:00
Bjarke Berg 7a0e0f7782 AB4227 - Moved Persistence.Factories 2019-12-18 13:42:25 +01:00
Bjarke Berg 7c1e81db0d AB4227 - Moved persistence mappers 2019-12-18 13:42:24 +01:00
Bjarke Berg 17a586ed0c AB4227 - Moved dtos and made some public to let then be known by the web project 2019-12-18 13:42:22 +01:00
Bjarke Berg 9a6c976f6e AB3791 - Moved scoping to infrastructure, implemented our own CallContext 2019-12-17 15:06:51 +01:00
Bjarke Berg f0d1c38aa8 AB3791 - Moved scoping to infrastructure, implemented our own CallContext 2019-12-17 15:03:14 +01:00
Bjarke Berg 70adb70afd Bugfix 2019-12-12 13:49:17 +01:00
Bjarke Berg 2578e51f43 Added specific version to infrastructure 2019-12-12 13:20:49 +01:00
Bjarke Berg d36ff6d509 Refactored such that the a IBulkSqlInsertProvider can be used, to diff. between SqlCe and SqlServer 2019-12-12 12:55:17 +01:00
Bjarke Berg f9286d1eda Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files
# Conflicts:
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-12-12 09:13:40 +01:00
Bjarke Berg 2574811b58 Handle SqlCE outside of core/abstractions 2019-12-12 09:09:26 +01:00
Bjarke BergandGitHub ec6b86bbea Merge pull request #7276 from umbraco/netcore/feature/iohelper-cannot-use-system-web
Netcore: IOHelper cannot use System.Web
2019-12-12 09:07:40 +01:00
Bjarke Berg 21902620fd Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/iohelper-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-12-12 08:33:58 +01:00
Bjarke Berg c94b65d76b Moved scope and persistence 2019-12-12 08:11:23 +01:00
Bjarke Berg 9e5494cc14 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/ContentRepositoryBase.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/DocumentBlueprintRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/DocumentRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MediaRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MemberRepository.cs
#	src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/DocumentRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/DomainRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/PublicAccessRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-12-11 09:29:36 +01:00
Bjarke Berg 76e1f30594 Fixed broken view 2019-12-10 15:01:11 +01:00
Bjarke Berg aa15f89275 Merge remote-tracking branch 'origin/v8/feature/media-tracking' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/Models/IDataValueEditor.cs
#	src/Umbraco.Abstractions/Models/RelationType.cs
#	src/Umbraco.Core/Contants-UdiEntityType.cs
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Core/Udi.cs
#	src/Umbraco.Tests/Models/RelationTests.cs
#	src/Umbraco.Tests/Models/RelationTypeTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
#	src/Umbraco.Web/UmbracoComponentRenderer.cs
2019-12-10 14:44:42 +01:00
Bjarke Berg 67536a49a7 Moved Models from Umbraco.Core to Umbraco.Infrastructure 2019-12-10 08:37:19 +01:00
Bjarke Berg becce7800b Moved Models from Umbraco.Core to Umbraco.Infrastructure 2019-12-09 14:12:06 +01:00
Bjarke Berg 2ea8e7cdd0 Moved PropertyEditors from Umbraco.Core to Umbraco.Infrastructure 2019-12-09 10:44:22 +01:00
Bjarke Berg d90534769c Moved Serialization from Umbraco.Core to Umbraco.Infrastructure and added reference to Newtonsoft.Json 2019-12-09 08:40:49 +01:00
Bjarke Berg 86574c5e11 Moved more files to abstractions 2019-12-06 12:09:47 +01:00
Bjarke Berg 82bb1f00fc AB4079 - Review fixes 2019-12-06 09:49:28 +01:00
Bjarke Berg 5c6dcc900e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/iohelper-cannot-use-system-web 2019-12-05 14:03:28 +01:00
Bjarke Berg fb562817bc Moved more files to abstractions and eliminated the use of JObject 2019-12-05 14:03:09 +01:00
Shannon DeminickandGitHub 03a59bc2e2 Merge pull request #7193 from umbraco/netcore/feature/core-cannot-use-system-web
Netcore: Abstract System.Web stuff
2019-12-05 23:52:51 +11:00
Bjarke Berg 816baa5eaf Moved SystemFiles to abstractions 2019-12-05 10:43:45 +01:00
Bjarke Berg 204bbd5c46 Moved IOHelper to abstractions 2019-12-05 10:41:58 +01:00
Bjarke Berg 3a7ef42a6c Fixed tests 2019-12-05 08:54:37 +01:00
Bjarke Berg 147626fc08 Refactored the hosting settings out of global settings 2019-12-05 08:31:06 +01:00
Bjarke Berg 566f9a09fe Committed missing file changes 2019-12-05 07:58:21 +01:00
Bjarke Berg df80694df8 Let ManifestWatcher use IHostingEnvironment to unload app domain 2019-12-05 07:53:40 +01:00
Shannon 7bea36d628 fixes comment 2019-12-05 16:17:17 +11:00
Bjarke Berg 28ecb355dd Let IOHelper use IHostingEnvironment 2019-12-04 21:30:18 +01:00
Bjarke Berg d2bf64195e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Tests/Membership/MembershipProviderBaseTests.cs
#	src/Umbraco.Tests/Testing/TestingTests/MockTests.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2019-12-04 11:51:12 +01:00
Bjarke BergandGitHub 13e04bcfe8 Merge pull request #7263 from umbraco/netcore/feature/AB3970-membership-providers
Removing more membership providers from being used
2019-12-04 11:44:29 +01:00
Bjarke Berg 886a298b3d AB3981 - Review fixes - Moved abstractions into namespace folders, removed code that was commented out, removed unused code, added xml doc 2019-12-04 10:39:49 +01:00
Bjarke Berg 42ef37f0a3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
2019-12-04 09:43:22 +01:00
Bjarke BergandGitHub ca07e68db2 Merge pull request #7234 from umbraco/netcore/feature/AB3980-replace-httpcontext-items-in-scopeprovider
NetCore: Replaces the usages of HttpContext.Items ScopeProvider
2019-12-04 09:41:47 +01:00
Bjarke Berg 5f5a6e460c NoAppCache must return false in "IsAvailable" 2019-12-04 09:11:57 +01:00
Shannon 898167f8c6 Adds IsAvailable to IRequestCache and re-implements the DEBUG_SCOPES flag, fixes core proj build issue with DEBUG_SCOPES enabled 2019-12-04 13:30:46 +11:00
Shannon 29908dee44 Removes the remaining bits of membership providers stuff from being used in the back office, simplifies how properties are mapped and removes the legacy weirdness of mapping membership provider properties 2019-12-04 12:50:05 +11:00
Bjarke Berg 3d6bc9f161 fix core csproj missing files 2019-12-03 14:11:26 +01:00
Bjarke Berg e7c85daa2e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3970-membership-providers
# Conflicts:
#	src/Umbraco.Web/Editors/Filters/MemberSaveModelValidator.cs
#	src/Umbraco.Web/Editors/Filters/MemberSaveValidationAttribute.cs
2019-12-03 08:58:49 +01:00
Bjarke Berg f7404064be AB3980 Cleanup tests 2019-12-03 08:43:09 +01:00
Shannon 97ad7a0239 removes more membership provider and System.Web.Security from being used in the back office 2019-12-03 16:16:33 +11:00
Shannon d7fa5f0b66 Removes membership providers stuff from back office, removes all old legacy rules for passwords and membership providers. 2019-12-03 15:28:55 +11:00
Shannon 6410a83ca8 Fixes issue with empty connection string on startup 2019-12-03 14:16:05 +11:00
Bjarke Berg f39324b732 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web 2019-12-02 14:13:33 +01:00
Bjarke Berg 3906f3aa6b Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3980-replace-httpcontext-items-in-scopeprovider 2019-12-02 14:12:50 +01:00
Bjarke Berg 1da4429177 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/Exceptions/ConnectionException.cs
#	src/Umbraco.Abstractions/Exceptions/DataOperationException.cs
#	src/Umbraco.Abstractions/Exceptions/InvalidCompositionException.cs
#	src/Umbraco.Abstractions/IO/MediaFileSystem.cs
#	src/Umbraco.Abstractions/IO/PhysicalFileSystem.cs
#	src/Umbraco.Abstractions/Migrations/DataLossException.cs
#	src/Umbraco.Abstractions/Models/Entities/EntitySlim.cs
#	src/Umbraco.Abstractions/Xml/UmbracoXPathPathSyntaxParser.cs
#	src/Umbraco.Abstractions/Xml/XmlHelper.cs
#	src/Umbraco.Core/Manifest/ManifestParser.cs
#	src/Umbraco.Core/Models/ContentRepositoryExtensions.cs
#	src/Umbraco.Core/Models/PropertyType.cs
#	src/Umbraco.Core/Persistence/UmbracoDatabaseFactory.cs
#	src/Umbraco.Core/PropertyEditors/Validators/RegexValidator.cs
#	src/Umbraco.Core/PropertyEditors/Validators/RequiredValidator.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Web/Editors/Filters/ContentModelValidator.cs
#	src/Umbraco.Web/Mvc/AreaRegistrationExtensions.cs
2019-12-02 13:51:07 +01:00
Bjarke Berg 6aa23dc371 Simply moved stuff to abstractions without any modifications 2019-12-02 13:26:49 +01:00
Bjarke Berg 41639740d2 AB3980 - Replaced HttpContext.Current.Items with IRequestCache in ScopeProvider 2019-11-27 14:10:48 +01:00
Bjarke Berg b997b40f1d Handled Serilog enrichers..
- Introduced ISessionIdResolver and AspNetSessionIdResolver
2019-11-27 09:01:17 +01:00
Bjarke Berg 452bd299bf Introduced IHtmlEncodedString and HtmlEncodedString as our own abstractions of IHtmlString and HtmlString 2019-11-27 08:38:55 +01:00
Shannon f8e613320b REmoves the term 'Encrypt' from PasswordSecurity 2019-11-27 11:34:32 +11:00
Bjarke Berg 87b2dc777c Changed System.Web.HttpUtility To System.Net.WebUtility 2019-11-26 13:28:46 +01:00
Niels Lyngsø 8e0693feaf fixing history headline + minor style adjustments 2019-11-26 13:11:48 +01:00
Bjarke Berg 797e83c2fe Post merge fixes 2019-11-26 12:49:10 +01:00
Bjarke Berg 2fc50c5730 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Core/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Tests/Membership/MembershipProviderBaseTests.cs
#	src/Umbraco.Tests/Membership/UmbracoServiceMembershipProviderTests.cs
#	src/Umbraco.Tests/Services/MemberServiceTests.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Security/MembershipProviderBase.cs
#	src/Umbraco.Web/Security/MembershipProviderExtensions.cs
#	src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
#	src/Umbraco.Web/Security/UmbracoMembershipProviderBase.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2019-11-26 11:51:50 +01:00
Bjarke BergandGitHub d58787e965 Merge pull request #7220 from umbraco/netcore/feature/AB3917-remove-membership-providers
Remove membership providers from Core
2019-11-26 11:38:42 +01:00
Niels Lyngsø ee82475335 remove out icon 2019-11-26 11:03:49 +01:00
Bjarke Berg fd22afd387 AB3917 - Removes unused variable.. 2019-11-26 09:38:24 +01:00
Bjarke Berg 7831d00808 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3917-remove-membership-providers 2019-11-26 08:54:14 +01:00
Bjarke Berg 969832310e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web 2019-11-26 08:47:33 +01:00
Bjarke BergandGitHub 294d9819b4 Merge pull request #7205 from umbraco/netcore/feature/AB3915-remaining-services
Moves remaining service abstractions
2019-11-26 08:21:44 +01:00
Bjarke Berg 323a60fa76 Removed IOHelper.Default, to prepare for injecting 2019-11-26 08:15:00 +01:00
Shannon 3b67731cbc fixes new installation password reset 2019-11-26 17:19:53 +11:00
Shannon 488f6925b8 Fixes tests, removes some magic strings 2019-11-26 12:49:57 +11:00
Shannon a6707cd367 Cleans up some usings with System.Web 2019-11-26 00:13:37 +11:00
Shannon 4fe20bb7c8 Removes references to password question/answer/ProviderUserKey 2019-11-26 00:03:45 +11:00
Shannon b90446ee88 Merge branch 'netcore/feature/AB3915-remaining-services' into netcore/feature/AB3917-remove-membership-providers 2019-11-25 23:55:50 +11:00
Shannon d41d545045 oops fix build 2019-11-25 23:55:14 +11:00
Shannon a458df360f Removes references to password question/answer 2019-11-25 23:53:12 +11:00
Shannon 76b413e527 Removes all references of System.Web.Security from core project 2019-11-25 23:37:30 +11:00
Shannon 3e518a0921 Merge branch 'netcore/feature/AB3915-remaining-services' into netcore/feature/AB3917-remove-membership-providers
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Core/Runtime/CoreInitialComposer.cs
2019-11-25 23:19:15 +11:00
Shannon ed9a6d3f22 Moves culture dictionary implementation to Core instead of web since it has nothing to do with Web really, fixes tests
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Core/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Install/InstallSteps/NewInstallStep.cs
2019-11-25 23:16:49 +11:00
Shannon 73bb9e3279 Moves culture dictionary implementation to Core instead of web since it has nothing to do with Web really, fixes tests 2019-11-25 23:10:54 +11:00
Shannon 763b090b4d Fixes up issues with members, now it still works in the UI 2019-11-25 22:08:08 +11:00
Shannon 1136e15a27 kill user membership provider, adds some passwords api abstractions, moves membership provider logic out of Core/services, removes membership scenario and other membership code we don't want anymore. 2019-11-25 21:20:00 +11:00
Shannon 6c5c256e62 ... and down the rabbit hole we go 2019-11-22 13:38:07 +11:00
Shannon 15db9ecbbf start the process of removing membership providers 2019-11-22 13:32:37 +11:00
Shannon 310597ce27 fix build 2019-11-22 13:25:37 +11:00
Shannon 251f1c1f84 Moves ContentTypeChange 2019-11-22 13:15:41 +11:00
Shannon 3dbebfb153 Refactors the usage of ICultureDictionary so its injectable, removes more uses of Current, removes unused methods relying on System.Web 2019-11-22 13:13:19 +11:00
Shannon e51a3efe15 Moves more services and friends, removes more usages of Current 2019-11-22 12:17:26 +11:00
Shannon 719c23c7a2 Fixes build 2019-11-22 11:57:37 +11:00
Shannon DeminickandGitHub 30417034de Merge pull request #7179 from umbraco/netcore/feature/AB3869-move-packages
Netcore: Movement of package abstractions
2019-11-22 11:51:58 +11:00
Bjarke BergandGitHub 199cd75fcc Merge pull request #7172 from umbraco/netcore/feature/AB3734-move-io-stuff
Netcore: Move most of IO into abstractions
2019-11-21 15:24:08 +01:00
Bjarke Berg 3070ce55a8 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3734-move-io-stuff 2019-11-21 14:52:45 +01:00
Bjarke Berg 99fb19b7a3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3869-move-packages 2019-11-21 14:48:06 +01:00
Shannon DeminickandGitHub 1bbbe53f8f Merge pull request #7176 from umbraco/netcore/feature/AB3789-move-propertyeditors
NetCore: Move PropertyEditor abstractions
2019-11-22 00:36:59 +11:00
Shannon DeminickandGitHub 30c7fe23b6 Merge pull request #7202 from umbraco/netcore/feature/AB3733-moving-icomposer-and-friends
Moving icomposer and friends
2019-11-22 00:33:34 +11:00
Shannon d35040e2eb couple more composer things 2019-11-22 00:32:33 +11:00
Bjarke Berg 75f084002a AB3734 - Review fixes 2019-11-21 14:29:48 +01:00
Shannon 79507c405d moving files 2019-11-22 00:25:26 +11:00
Bjarke Berg 0354fc91bc Removed static ApplicationUrlHelper and introduced IBackOfficeInfo and AspNetBackOfficeInfo 2019-11-21 14:20:27 +01:00
Bjarke Berg 3e360abf15 Removed static ApplicationUrlHelper and introduced IBackOfficeInfo and AspNetBackOfficeInfo 2019-11-21 14:19:56 +01:00
Bjarke Berg 54bd658d41 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web 2019-11-21 09:34:14 +01:00
Bjarke Berg d6ba60a2a4 Removed local include 2019-11-21 08:29:32 +01:00
Bjarke Berg e9ea2ce79a Renamed IpResolver to AspNetIpResolver 2019-11-20 15:25:58 +01:00
Bjarke Berg fc22282a59 Injecting IHostingEnvironment 2019-11-20 15:21:09 +01:00
Bjarke Berg bec4205ef5 Introduced a IHostingEnvironment and one implemtation for AspNetHostingEnvironment 2019-11-20 13:38:41 +01:00
Bjarke Berg 94791bcd11 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3734-move-io-stuff
# Conflicts:
#	src/Umbraco.Abstractions/IO/FileSystems.cs
#	src/Umbraco.Abstractions/IO/PhysicalFileSystem.cs
#	src/Umbraco.Abstractions/IO/ShadowWrapper.cs
#	src/Umbraco.Core/Composing/CompositionExtensions/FileSystems.cs
#	src/Umbraco.Tests/IO/PhysicalFileSystemTests.cs
#	src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/PartialViewRepositoryTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests/Scoping/ScopeFileSystemsTests.cs
#	src/Umbraco.Web/Editors/BackOfficeAssetsController.cs
#	src/Umbraco.Web/Trees/FilesTreeController.cs
2019-11-20 12:31:15 +01:00
Bjarke Berg 0adf295a4f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-20 11:38:00 +01:00
Bjarke Berg caa8ccd306 AB3869 - Removed UmbracoVersion from Core Current 2019-11-20 11:36:17 +01:00
Bjarke Berg 259c0263bd Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3869-move-packages
# Conflicts:
#	src/Umbraco.Core/Composing/CompositionExtensions/Services.cs
#	src/Umbraco.Core/Packaging/PackagesRepository.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
2019-11-20 11:32:57 +01:00
Bjarke Berg 969d8fbedd Introduced a IIpResolver 2019-11-20 11:27:19 +01:00
Bjarke BergandGitHub 44e2019e72 Merge pull request #7190 from crgrieve/7173-crl
Injecting umbraco version
2019-11-20 11:26:36 +01:00
Bjarke Berg 4d5d94d3ed 7173 - Refactored to inject IUmbracoVersion instead of using Current. 2019-11-20 10:50:15 +01:00
Bjarke Berg ec169d17d7 Refactored CoreRuntime to inject a IUmbracoBootPermissionChecker, instead of using system.web to test this it self. Also moved some logging from CoreWebsite into WebRuntime, that used hosting information 2019-11-20 10:20:20 +01:00
Carole Rennie Logan 100d4431dc removing unused using statements 2019-11-19 23:24:08 +00:00
Carole Rennie Logan b69d14da5e IUmbracoVersion updates 2019-11-19 23:15:11 +00:00
Carole Rennie Logan 015d588218 First comimt changing IUmbracoVersion 2019-11-19 22:37:14 +00:00
Bjarke Berg 97ade695a7 Move more code without lot of changes 2019-11-19 14:12:11 +01:00
Bjarke Berg 8ff37564f1 AB3869 - Moved IPackagingService 2019-11-19 13:45:21 +01:00
Bjarke Berg 81b0175cc5 Merge branch 'netcore/dev' into netcore/feature/AB3869-move-packages 2019-11-19 13:42:18 +01:00
Bjarke Berg 0f91870f68 Merge branch 'netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 13:41:18 +01:00
Bjarke Berg 00ce1f389a Simple moved files from core to abstractions 2019-11-19 13:40:38 +01:00
Bjarke Berg 2dad288b93 AB3869 included missing file 2019-11-19 13:10:37 +01:00
Bjarke Berg 133c6b121a AB3869 move packages to abstractions 2019-11-19 13:03:58 +01:00
Bjarke Berg 2c9a1d9735 AB3869 move packages to abstractions 2019-11-19 13:01:00 +01:00
Bjarke Berg 9ab6c5fe7b Injecting RuntimeState instead of using Current 2019-11-19 11:44:34 +01:00
Bjarke Berg b14c01e33d Merge branch 'netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 11:06:13 +01:00
Bjarke Berg a49b313080 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2019-11-19 11:05:32 +01:00
Bjarke Berg 7376331761 AB3789 - Moved some of the propertyEditor stuff 2019-11-19 11:00:03 +01:00
Bjarke Berg cd0de24a11 Merge branch 'netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 10:48:37 +01:00
Bjarke Berg 638f05f0b2 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 10:46:27 +01:00
Bjarke Berg 0484a85f56 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 10:43:46 +01:00
Bjarke Berg 45b6fcd404 AB3789 - Moved some of the propertyEditor stuff 2019-11-19 10:37:48 +01:00
Bjarke BergandGitHub 5c0f9fb438 Merge pull request #7175 from umbraco/netcore/feature/AB3743-move-remaining-udi-stuff-and-deploy
Netcore: Move remaining Udi stuff
2019-11-19 10:25:37 +01:00
Bjarke Berg d9d267a489 AB3743 - Moved more deploy stuff 2019-11-19 09:50:18 +01:00
Bjarke Berg 3ee18b8975 AB3743 - Moved the remaining Udi stuff and the required deploy stuff 2019-11-19 09:46:51 +01:00
Bjarke BergandGitHub f6ff67aef4 Merge pull request #7170 from soreng/netcore/feature/remove_current_iohelper
Netcore/feature/remove current iohelper
2019-11-19 09:28:25 +01:00
Bjarke Berg 282973f1e2 More injections of IIOHelper 2019-11-19 08:52:39 +01:00
Bjarke Berg ca77c519e9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/remove_current_iohelper
# Conflicts:
#	src/Umbraco.Abstractions/Configuration/ConfigsExtensions.cs
#	src/Umbraco.Configuration/GlobalSettings.cs
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
2019-11-19 08:13:35 +01:00
Bjarke Berg 541e7a3cb5 AB3734 - Post merge fixes 2019-11-19 08:04:24 +01:00
Bjarke Berg c9c4d3acdf Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3734-move-io-stuff
# Conflicts:
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
2019-11-19 07:55:05 +01:00
Bjarke Berg 4f204543e6 AB3734 - Moved alot of stuff from Umbraco.Core.IO into abstractions 2019-11-19 07:53:40 +01:00
Shannon DeminickandGitHub f10a3809ec Merge pull request #7169 from umbraco/netcore/feature/move_icontent_type
NetCore: Move IContentType to abstractions
2019-11-19 17:01:39 +11:00
Shannon e45ea6560d fixes test, adds note 2019-11-19 17:00:58 +11:00
Shannon e366f99105 Cleans up IPropertyType since we don't need the method ConvertAssignedValue as an abstraction 2019-11-19 15:52:56 +11:00
Shannon e537a55181 fix incorrect validation 2019-11-19 15:42:18 +11:00
Shannon 0137996815 Fixes tests, adds notes 2019-11-19 15:38:06 +11:00
Shannon dbd76a903a Cleans up the IPropertyType interface, cleans up how it is constructed 2019-11-19 15:25:04 +11:00
Shannon 1ef5106529 oops fix build 2019-11-19 14:54:03 +11:00
Shannon 645cfcab42 Simplifies the interface inheritance removes SimpleContentTypeMapper (can't be used), improves how mappers are looked up, simplifies other models 2019-11-19 14:10:08 +11:00
Shannon 9f5479d686 Cleans up interface inheritance a bit 2019-11-19 12:28:41 +11:00
Shannon ba35afa494 re, re, re-fixes the merge issues with this stupid csproj file, hopefully it now merges upwards properly. 2019-11-19 12:17:42 +11:00
Shannon 31f51516d2 removes old config transforms for v7 -> v8 no longer needed 2019-11-19 11:53:05 +11:00
Shannon fe2a919573 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move_icontent_type 2019-11-19 11:52:09 +11:00
Shannon DeminickandGitHub 901e3d1845 Merge pull request #7095 from umbraco/netcore/feature/AB3594_move_exsiting_configuration_to_own_project
Netcore: Move configuration
2019-11-19 11:49:21 +11:00
Shannon f71a54ec8f Adds some comments and fixme 2019-11-19 11:45:21 +11:00
Shannon 8f48df66d5 Refactors Configs and how it acquires a factory, re-internalizes Umbraco.Configuration classes 2019-11-19 11:16:07 +11:00
Søren Gregersen be7c1f6eb1 fixed (almost all) tests 2019-11-18 20:43:38 +01:00
Søren Gregersen 0bdf0ec122 merged 2019-11-18 19:51:42 +01:00
Søren Gregersen b99f2ca25f merged 2019-11-18 19:46:32 +01:00
Søren Gregersen c1ecfbefd5 fix: reverted a few placed, passing tests 2019-11-18 17:40:15 +01:00
Bjarke Berg 2c18dbffeb Clean up 2019-11-18 15:29:04 +01:00
Bjarke Berg 03cb9c0104 Fixed tests 2019-11-18 15:17:18 +01:00
Bjarke Berg 21e9d09ff0 AB3594 - Fixed tests 2019-11-18 14:54:16 +01:00
Bjarke Berg 6af645db95 AB3594 - removed reference to core from configuration 2019-11-18 14:22:11 +01:00
Bjarke Berg 4c05af7b9d AB3594 - Post review fixes.. Also removed the Current class from abstractions, and injected the factory into config 2019-11-18 14:11:50 +01:00
Bjarke Berg 50e61e9227 More usage of IPropertyType, and moved more classes 2019-11-18 13:03:24 +01:00
Bjarke Berg a888b2e4a5 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2019-11-18 11:04:01 +01:00
Shannon 4338a8f32d Merge branch 'netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-18 20:23:31 +11:00
Shannon cd3a97ce75 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Abstractions/Constants-Conventions.cs
2019-11-18 19:58:42 +11:00
Bjarke Berg c62088aa85 Moved IMember, IPublicAccessService 2019-11-18 09:27:06 +01:00
Bjarke Berg 36e030a2af Moved IContentService, IDataType and PublishResult 2019-11-18 09:21:47 +01:00
Bjarke Berg ac2e8f63ef AB3594 - Post Merge fixes :S 2019-11-15 12:25:09 +01:00
Bjarke Berg 47a0326e9c Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-15 11:43:05 +01:00
Bjarke Berg 603ec0ccfb AB3594 - Moved the composition root out to UmbracoApplicationBase, and injecting the needed parts from there. Also remove usages of ConfigurationManager from Umbraco.Core 2019-11-15 11:41:13 +01:00
Niels Lyngsø 407f6b1ab8 set a minimum version requirement for node 2019-11-14 13:32:42 +01:00
Bjarke Berg 126380dcee AB3594 - Removed references from core to configuration 2019-11-14 12:49:56 +01:00
Bjarke Berg 73167029f0 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-14 08:05:32 +01:00
Shannon DeminickandGitHub 0423ea7bd8 Merge pull request #7152 from umbraco/netcore/feature/AB3761-moving-stuff
Moving whatever can be moved currently to Abstractions project
2019-11-14 17:19:57 +11:00
Shannon f4f440e9f8 Moves a couple more packaging things 2019-11-14 17:16:47 +11:00
Shannon 1db673d544 Moves some packages stuff 2019-11-14 17:10:06 +11:00
Shannon 1f17085801 Merge branch 'netcore/dev' into netcore/feature/AB3761-moving-stuff 2019-11-14 17:00:47 +11:00
Shannon 89f5cec832 Fixes System.ComponentModel.Annotations to keep working with aspnet framework 2019-11-14 17:00:21 +11:00
Shannon 221a0c8d9d Moves more stuff 2019-11-14 16:59:43 +11:00
Shannon 3bd223669f Moves as much as possible from Models/Packaging, Models/PublishedContent, Models/Entities, Models/Membership 2019-11-14 16:19:24 +11:00
Shannon DeminickandGitHub d0f534e2f4 Merge pull request #7120 from umbraco/netcore/feature/AB3649-move-manifest-stuff
Netcore: Move manifest code
2019-11-14 12:10:25 +11:00
Shannon DeminickandGitHub 2012745c13 Merge pull request #7135 from umbraco/netcore/feature/abstract-systemdirectories
Changed SystemDirectories from static to instance,
2019-11-14 12:08:40 +11:00
Søren Gregersen 7b19ab005b first round of refactoring 2019-11-13 21:12:02 +01:00
Bjarke Berg b50ffb11bd post merge 2019-11-13 15:52:18 +01:00
Bjarke Berg 2e200779f9 Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-13 14:20:21 +01:00
Bjarke Berg c9a99f52aa Can't have the path info on IOHelper, because that leads to a cycle between config and IOHelper. Now you need to go directly to config, if you need a path 2019-11-13 14:15:50 +01:00
Bjarke Berg 5edac2a476 Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Abstractions/IO/IIOHelper.cs
#	src/Umbraco.Core/IO/IOHelper.cs
2019-11-13 13:26:44 +01:00
Bjarke Berg b721e75cd2 Move the config usage out of IOHelper 2019-11-13 13:22:28 +01:00
Bjarke Berg e7683b7a39 Cleanup and moved some methods from the interface 2019-11-13 12:56:22 +01:00
Bjarke Berg 0be396c4fd Post merge fixes 2019-11-13 12:53:01 +01:00
Bjarke Berg 6dceb9c449 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-13 12:45:34 +01:00
Bjarke Berg 9889967b83 Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Abstractions/Configuration/GlobalSettingsExtensions.cs
#	src/Umbraco.Core/ConfigsExtensions.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Tests/Configurations/GlobalSettingsTests.cs
2019-11-13 12:38:56 +01:00
Bjarke Berg 683c0da468 Moved stuff from SystemDirectories into constants and IOHelper to avoid a circular dependency 2019-11-13 11:56:32 +01:00
Bjarke Berg ad91b2d9fc More movement 2019-11-13 10:48:51 +01:00
Bjarke Berg 6b0f7ce038 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Abstractions/Constants-Conventions.cs
2019-11-13 08:39:13 +01:00
Shannon DeminickandGitHub 149d128d03 Merge pull request #7144 from umbraco/netcore/feature/AB3742-udi-fixing
Fixing Udi and moving it's components to Abstractions
2019-11-13 17:29:13 +11:00
Shannon 1a6a31e337 Moves more Udi things 2019-11-13 16:51:07 +11:00
Shannon c97b156eaf Moves Udi, UriParser and others to abstractions 2019-11-13 16:44:40 +11:00
Shannon c58c31c6bd Split Udi into UdiParser & UdiParserServiceConnectors, remove GuidUdi and StringUdi Parse methods (makes no sense), adds generic parse method to UdiParser, simplifies tests, removes Current usage 2019-11-13 16:33:40 +11:00
Shannon 995b31b86c Cleans up IProperty 2019-11-13 12:17:09 +11:00
Shannon 319376d157 Cleans up IPropertyCollection 2019-11-13 12:04:50 +11:00
Shannon 850ecf6900 Cleans up IPropertyType 2019-11-13 11:56:35 +11:00
Shannon 46b27d1257 Changes protected field to property, makes Regex/Required valiidators more resilient to testing removes the need for setting up Current in the ManifestParserTests 2019-11-13 11:43:16 +11:00
Shannon 5bcf9ef102 removes IOHelper registration 2019-11-13 11:17:48 +11:00
Bjarke Berg 424260ac2b Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Core/ConfigsExtensions.cs
2019-11-12 15:32:45 +01:00
Bjarke Berg 42904d63aa Fixed views 2019-11-12 15:32:03 +01:00
Bjarke Berg 0fcf8325e3 Changed SystemDirectories from static to instance, Added interface in abstractions and create a static property on current. 2019-11-12 15:25:21 +01:00
Bjarke Berg 3ffa7700ff AB3594 - missing xmldoc end 2019-11-12 14:46:56 +01:00
Bjarke Berg 3a9686d56b AB3594 - Moved more config stuff 2019-11-12 14:42:57 +01:00
Bjarke Berg 6d18b3f363 Merge branch 'netcore/feature/AB3649-move-manifest-stuff' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-12 14:11:08 +01:00
Bjarke Berg 9b4c26bf7e AB3649 - Fixed tests 2019-11-12 13:40:07 +01:00
Bjarke Berg c016a48b36 AB3649 - Extracted IManifestParser 2019-11-12 11:06:50 +01:00
Bjarke Berg 94f5894b74 AB3649 - Moved manifest stuff 2019-11-12 10:59:04 +01:00
Bjarke Berg b64b0758e1 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3649-move-manifest-stuff 2019-11-12 10:42:48 +01:00
Bjarke Berg 6da93c6fc3 AB3649 - Refactored services injected into ctor instead of methods 2019-11-12 10:42:39 +01:00
Bjarke Berg b4880944be Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3649-move-manifest-stuff
# Conflicts:
#	src/Umbraco.Core/CompositionExtensions_Essentials.cs
2019-11-12 10:38:33 +01:00
Bjarke BergandGitHub 282220ee39 Merge pull request #7109 from umbraco/netcore/feature/AB3650-TypeFinder-abstraction
ITypeFinder abstraction
2019-11-12 10:37:41 +01:00
Bjarke Berg 267a9af30f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3650-TypeFinder-abstraction
# Conflicts:
#	src/Umbraco.Core/CompositionExtensions_Essentials.cs
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
2019-11-12 10:05:54 +01:00
Shannon DeminickandGitHub 40894c8ed0 Merge pull request #7129 from umbraco/netcore/feature/AB3736-services-models
Moving most repositories and service interfaces (excluding content based ones)
2019-11-12 17:57:19 +11:00
Shannon e0351bc837 fix test 2019-11-12 17:56:47 +11:00
Shannon 0b16d6dee1 fix build 2019-11-12 16:44:13 +11:00
Shannon 161367bb71 fix build 2019-11-12 16:42:53 +11:00
Shannon 2b2db8b8ef Moves most service interfaces, ensure IOHelper is registered 2019-11-12 16:31:08 +11:00
Shannon 40f1a1f6ea More repos 2019-11-12 14:49:41 +11:00
Shannon 91d5029047 moves more repos 2019-11-12 14:43:19 +11:00
Shannon 570e9ca7bd Moves IExternalLoginRepository, abstracts out IUserLoginInfo 2019-11-12 14:39:27 +11:00
Shannon 8cc218f716 Moves more repos 2019-11-12 14:23:53 +11:00
Shannon f3aca158fb Lots of the repo interfaces moved 2019-11-12 14:16:50 +11:00
Shannon 545a427d11 abstracts out IScript, stops casting stuff 2019-11-12 13:49:56 +11:00
Shannon 38986f3bfd Abstracts out IStylesheet, IStylesheetProperty 2019-11-12 13:33:02 +11:00
Shannon DeminickandGitHub df94becbc9 Merge pull request #7128 from umbraco/netcore/feature/AB3735-xml-xpath-moving
Moves all Umbraco.Core.Xml items to the Abstractions project
2019-11-12 13:00:31 +11:00
Shannon e58edd7d5d Moves remaining Umbraco.Core.Xml items to abstractions project 2019-11-12 12:56:17 +11:00
Shannon fce8ac87a2 Moves a bunch of the xml/xpath classes/interfaces and remvoes unused code of XmlHelper 2019-11-12 12:37:21 +11:00
Bjarke Berg f90fc48ca8 AB3649 - Moved IContent and ContentSchedule 2019-11-11 15:42:14 +01:00
Shannon 3242f78aa6 Fixes tests 2019-11-11 21:38:18 +11:00
Shannon d3fb1ae842 fixing tests 2019-11-11 19:46:11 +11:00
Shannon 46b91b7991 no c#8 2019-11-11 19:11:40 +11:00
Shannon dd24d512fd fixes startup order 2019-11-11 19:01:10 +11:00
Shannon f154d9c333 Moves TypeLoader to abstractions 2019-11-11 18:56:14 +11:00
Bjarke Berg 16ff38a456 AB3649 - Moved IPropertyCollection, IMedia, and IContentBase 2019-11-11 08:36:27 +01:00
Shannon d0834ec340 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3650-TypeFinder-abstraction
# Conflicts:
#	src/Umbraco.Abstractions/Composing/TypeFinder.cs
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/Composing/ComposingTestBase.cs
#	src/Umbraco.Tests/Composing/CompositionTests.cs
#	src/Umbraco.Tests/Composing/TypeFinderTests.cs
#	src/Umbraco.Tests/Composing/TypeLoaderTests.cs
#	src/Umbraco.Tests/CoreThings/UdiTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/TestHelpers/BaseUsingSqlCeSyntax.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
2019-11-11 17:39:56 +11:00
Shannon DeminickandGitHub 297b497e78 Merge pull request #7111 from umbraco/netcore/feature/non-static-iohelper
NetCore: Static IOHelper -> IIOHelper
2019-11-11 17:36:10 +11:00
Shannon a8face2023 Moving TypeHelper ... but now need IOHelper... 2019-11-11 17:30:50 +11:00
Shannon d84963dac5 Uses ITypeFinder abstraction where required 2019-11-11 16:07:47 +11:00
Bjarke Berg e5c3b1f8aa AB3649 - More refactor of Property to IProperty... 2019-11-08 15:10:05 +01:00
Bjarke Berg 4c963d5fb2 AB3649 - ILocalizationService 2019-11-08 14:38:57 +01:00
Bjarke Berg c285a16393 AB3649 - Moved more stuff 2019-11-08 14:30:46 +01:00
Bjarke Berg ed82bd05c6 AB3649 - Abstracted IPropertyType, IProperty and IPropertyValue 2019-11-08 14:27:27 +01:00
Bjarke Berg 118d50671f AB3649 - Moved Manifest stuff 2019-11-08 10:58:31 +01:00
Bjarke Berg 1a4f167b12 Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3649-move-manifest-stuff 2019-11-08 08:58:24 +01:00
Bjarke Berg 06a153c09f Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-08 08:56:07 +01:00
Bjarke Berg 0b7422c0d7 AB3653 - Moved IIOHelper interface to abstractions 2019-11-08 08:52:44 +01:00
Bjarke Berg ee29c7e974 Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3649-move-manifest-stuff 2019-11-08 08:35:50 +01:00
Bjarke Berg 5720fc7465 AB3653 - Fixed IOHelper on Current to be real static.. 2019-11-08 08:35:16 +01:00
Bjarke Berg 80b17e388f Using IIOHelper in ManifestParser 2019-11-08 08:24:34 +01:00
Bjarke Berg 2ce67dcf9a Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Core/Manifest/ManifestParser.cs
#	src/Umbraco.Tests/Composing/CompositionTests.cs
2019-11-08 07:55:23 +01:00
Bjarke Berg 13507c0e13 AB3653 - Static IOHelper -> IIOHelper (Moved into Current as a first step 😭) 2019-11-08 07:51:14 +01:00
Shannon c812e3aec9 fixing tests, reverting change to TypeHelper, just leaving it as is but with caching 2019-11-08 15:31:38 +11:00
Shannon db216e43b7 Moves the WebCachingAppCache to the web project 2019-11-08 15:00:15 +11:00
Shannon 74d12a4d62 Moves more cache items to the abstractions project, decouples the HttpRequestAppCache from System.Web 2019-11-08 14:51:20 +11:00
Shannon 6398f1e216 Creates ITypeFinder interface and simplifies type finder with TypeFinderExtensions, moves GetTypeByName to TypeHelper using assembly name parsing instead of scanning every assembly. 2019-11-08 14:26:06 +11:00
Bjarke Berg 05569440c4 Post merge fixes - Port number 2019-11-07 14:47:41 +01:00
Bjarke Berg 0110813fc1 Post merge fixes 2019-11-07 14:38:31 +01:00
Bjarke Berg 563f58afa6 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-11-07 14:34:45 +01:00
Bjarke Berg c70d82d32b AB3649 - Moved ManifestSection 2019-11-07 14:10:06 +01:00
Bjarke Berg 4529cd408a Init CurrentCore 2019-11-07 14:08:07 +01:00
Bjarke Berg f4fee90b7e Merge remote-tracking branch 'origin/netcore/feature/AB3594_move_exsiting_configuration_to_own_project' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-07 13:11:26 +01:00
Bjarke Berg 8ef89a0722 Merge branch 'netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-07 13:03:18 +01:00
Bjarke Berg 40ca1fd27a Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2019-11-07 13:02:56 +01:00
Bjarke Berg a3e73b59bf More config movement 2019-11-07 13:02:30 +01:00
ShannonandBjarke Berg 39880f885a fixing tests 2019-11-07 13:02:30 +01:00
ShannonandBjarke Berg a3d142831e fixing tests 2019-11-07 13:02:30 +01:00
ShannonandBjarke Berg 69c2b732ce new IJsonSerializer, moves other base cache refresher classes 2019-11-07 13:02:30 +01:00
ShannonandBjarke Berg 15bf971f04 Removes weird serialization implementation. 2019-11-07 13:02:29 +01:00
Bjarke Berg c77d910e95 Move some of the config to Umbraco.Configuration 2019-11-07 13:02:29 +01:00
Bjarke Berg c6ca955d5a Move some of the config to Umbraco.Configuration 2019-11-07 13:02:29 +01:00
ShannonandBjarke Berg f11ce3b9d9 Moves AppCaches and cache refresher bases 2019-11-07 13:02:28 +01:00
ShannonandBjarke Berg fdda90c2bf Installs runtime cache nuget into abstractions, moves more cache classes and preps AppCaches to not rely on system.web. 2019-11-07 13:02:28 +01:00
ShannonandBjarke Berg 7f9a3a7868 Creates SafeLazy to be used by all caching things instead of relying on the base class as a static that cannot be moved right now. 2019-11-07 13:02:27 +01:00
ShannonandBjarke Berg 235f6fbc54 moves DictionaryAppCache 2019-11-07 13:02:27 +01:00
ShannonandBjarke Berg 0463f2a43b Moves more cache classes 2019-11-07 13:02:27 +01:00
ShannonandBjarke Berg 93c75372e7 Moves IRepositoryCachePolicy 2019-11-07 13:02:27 +01:00
ShannonandBjarke Berg 57fab1d34b Moves IAppPolicyCache 2019-11-07 13:02:27 +01:00
ShannonandBjarke Berg c7cf7f60e8 Removes CacheItemPriority since this wasn't used, or was used in one place innapropriately. 2019-11-07 13:02:27 +01:00
ShannonandBjarke Berg 3913742b98 Removes totally unused CacheItemRemovedCallback 2019-11-07 13:02:27 +01:00
Bjarke Berg 48437adb47 Move Configs to abstractions 2019-11-07 13:02:27 +01:00
Bjarke Berg b004bf8920 Move Configs to abstractions, and injected factory all over to create one because we need to inject stuff from system.configuration 2019-11-07 13:02:27 +01:00
Bjarke Berg 99da374fbf Move slim entities 2019-11-07 13:02:26 +01:00
Bjarke Berg 4f5a5a09b4 Move events 2019-11-07 13:02:26 +01:00
Bjarke Berg a0138af362 Move a small part of current 2019-11-07 13:02:26 +01:00
Bjarke Berg 640da8bc91 Move logging stuff 2019-11-07 13:02:26 +01:00
Bjarke Berg d16bc41e3d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-07 12:59:40 +01:00
Bjarke Berg 914d6f3f2e More config movement 2019-11-07 12:58:56 +01:00
Shannon DeminickandGitHub 1d2adb8409 Merge pull request #7087 from umbraco/netcore/feature/AB3648-ICachePolicy
Moving Umbraco.Core.Cache files to abstractions project
2019-11-07 22:57:28 +11:00
Shannon 7a4cafd425 fixing tests 2019-11-07 22:22:09 +11:00
Shannon 3a78e48d3a fixing tests 2019-11-07 21:46:04 +11:00
Shannon c91465e2b2 new IJsonSerializer, moves other base cache refresher classes 2019-11-07 21:28:56 +11:00
Shannon a9a3051af1 Removes weird serialization implementation. 2019-11-07 21:07:09 +11:00
Bjarke Berg bd7a2d670a Move some of the config to Umbraco.Configuration 2019-11-07 10:10:12 +01:00
Bjarke Berg 7a0dc23867 Move some of the config to Umbraco.Configuration 2019-11-07 10:08:16 +01:00
Shannon 327ea04d98 Moves AppCaches and cache refresher bases 2019-11-07 19:56:49 +11:00
Shannon 3b862f7e3a Installs runtime cache nuget into abstractions, moves more cache classes and preps AppCaches to not rely on system.web. 2019-11-07 19:39:20 +11:00
Shannon 922671eb7d Creates SafeLazy to be used by all caching things instead of relying on the base class as a static that cannot be moved right now. 2019-11-07 19:16:45 +11:00
Shannon b36f9e925e moves DictionaryAppCache 2019-11-07 18:57:40 +11:00
Shannon 2a8b505a66 Moves more cache classes 2019-11-07 18:50:14 +11:00
Shannon 1193d8fecd Moves IRepositoryCachePolicy 2019-11-07 18:36:29 +11:00
Shannon ae94b668c5 Moves IAppPolicyCache 2019-11-07 18:35:21 +11:00
Shannon b4f3cc005d Removes CacheItemPriority since this wasn't used, or was used in one place innapropriately. 2019-11-07 18:34:05 +11:00
Shannon 5ec78cd510 Removes totally unused CacheItemRemovedCallback 2019-11-07 18:29:16 +11:00
Bjarke Berg 70aefc4ede Move Configs to abstractions 2019-11-07 08:00:48 +01:00
Bjarke Berg c6157b8765 Move Configs to abstractions, and injected factory all over to create one because we need to inject stuff from system.configuration 2019-11-06 15:37:03 +01:00
Bjarke Berg f1d85be6bb Move slim entities 2019-11-06 14:18:06 +01:00
Bjarke Berg 934fa2748d Move events 2019-11-06 13:35:34 +01:00
Bjarke Berg 8f4d4cb23f Move a small part of current 2019-11-06 10:56:11 +01:00
Bjarke Berg fc1e4b182a Move logging stuff 2019-11-06 10:43:33 +01:00
Bjarke Berg 747fe85ede Moved collection builders 2019-11-05 18:46:43 +01:00
Bjarke BergandGitHub 0d33baba45 Merge pull request #7062 from umbraco/netcore/feature/move_constants
Unicore: Move constrants to abstractions
2019-11-05 17:04:29 +01:00
Bjarke Berg 71d83ca9ff removed obj folder 2019-11-05 17:02:19 +01:00
Bjarke Berg ca60cd76f3 Merge branch 'netcore/feature/mb_embed' into netcore/feature/move_constants
# Conflicts:
#	src/Umbraco.Infrastructure/obj/Debug/netstandard2.0/Umbraco.Infrastructure.AssemblyInfo.cs
#	src/Umbraco.Infrastructure/obj/Debug/netstandard2.0/Umbraco.Infrastructure.AssemblyInfoInputs.cache
2019-11-05 16:55:27 +01:00
Bjarke Berg d8cfd786aa Created empty infrastructure project 2019-11-05 16:52:49 +01:00
Bjarke Berg 9995d838ed Moved mapping, and abstractions for migrations 2019-11-05 16:52:43 +01:00
Bjarke Berg 3df329deb2 bump version and remove unused references 2019-11-05 16:52:22 +01:00
Bjarke Berg 043c452a2d AB3613 - Only enumerate the folder if it exists 2019-11-05 16:52:18 +01:00
Bjarke Berg f3ebe79fc7 Updated comments 2019-11-05 14:59:10 +01:00
Bjarke Berg 63bfc4c2c0 Move constants 2019-11-05 14:55:42 +01:00
Bjarke Berg befcabfced Move constants 2019-11-05 13:28:26 +01:00
Bjarke Berg 030b7d1e52 Merge remote-tracking branch 'origin/v8/feature/mb-embed-handle-tours-to-not-expect-the-app-plugins-folder' into netcore/feature/mb_embed 2019-11-05 11:46:44 +01:00
Bjarke Berg 219da2a427 Created empty infrastructure project 2019-11-05 11:31:29 +01:00
Bjarke Berg b4e98286f5 Moved mapping, and abstractions for migrations 2019-11-05 10:19:13 +01:00
Bjarke Berg e37fdea574 bump version and remove unused references 2019-11-05 09:39:16 +01:00
Bjarke Berg 9dfa3b55a6 MB need to know abstractions 2019-11-05 09:07:18 +01:00
Bjarke Berg 1732fad780 Merge remote-tracking branch 'origin/v8/feature/mb-embed' into netcore/feature/mb_embed 2019-11-05 07:54:49 +01:00
Bjarke Berg fc2fc18a26 Moved filesytem abstractions + removed resharper warnings 2019-11-04 19:22:17 +01:00
Bjarke Berg 10fd0bd013 Post merge stuff 2019-10-30 15:28:15 +01:00
Bjarke Berg eade92e803 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Core/ObjectExtensions.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
2019-10-30 13:35:48 +01:00
Bjarke Berg 8a07886303 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-10-11 10:09:03 +02:00
Bjarke Berg 8153412cb5 Moved panicexception 2019-10-09 11:50:39 +02:00
Bjarke Berg 2b8805b69d Merge branch 'v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2019-10-09 11:09:10 +02:00
Bjarke Berg 9a2d309dbe Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Abstractions/EnumerableExtensions.cs
#	src/Umbraco.Abstractions/Models/Entities/EntityBase.cs
#	src/Umbraco.Core/Models/Member.cs
2019-07-03 15:05:34 +02:00
Bjarke Berg 83c8d04b15 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-06-19 07:32:14 +02:00
Bjarke Berg d05a4a4d5c Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_7_8_0/AddMediaVersionTable.cs
2019-06-18 15:04:16 +02:00
Bjarke Berg f06ff71e5b Removed nuget of semver from test (Now using the local in abstractions) 2019-06-03 11:18:10 +02:00
Bjarke Berg e453985ee9 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-06-03 07:39:23 +02:00
Bjarke Berg 15c02ce828 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-05-31 11:40:15 +02:00
Bjarke Berg 1fe02af841 Moved more stuff into Abstractions 2019-05-28 16:23:52 +02:00
Bjarke Berg 7aca2e3217 Fixed tests that expected file to be in Umbraco.Core 2019-05-27 14:28:24 +02:00
Bjarke Berg e9324055e9 Moved event stuff 2019-05-27 13:53:53 +02:00
Bjarke Berg 00a121188a Moved more abstractions of models 2019-05-27 12:58:51 +02:00
Bjarke Berg dcf022ffaa Moved more abstractions of models 2019-05-27 11:45:35 +02:00
Bjarke Berg 408b00a737 Moved more abstractions of models 2019-05-27 11:20:33 +02:00
Bjarke Berg e571f51750 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-05-27 10:21:26 +02:00
Bjarke Berg 85eb44ecc3 Moved more abstractions of models 2019-05-27 10:16:07 +02:00
Bjarke Berg 489bb7f3e9 Added netstandard to web.config. 2019-05-27 09:58:15 +02:00
Bjarke Berg ff71d89415 Moved more files and removed modelsbuilder from UI project 2019-05-27 08:57:57 +02:00
Carole Rennie Logan cd93ebe7c1 moving intextensions and removing unused imports
moving intextensions and removing unused imports
2019-05-21 10:48:59 +01:00
Lars-Erik Aabech 917efc4d9a Bump lang level to 7.3 2019-05-20 18:43:27 +02:00
Shannon 3f2dd88325 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:40:27 +02:00
Shannon d42b2492b7 Moves more utilities 2019-05-20 18:40:13 +02:00
Lars-Erik Aabech 98f3035b5c Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:39:45 +02:00
Lars-Erik Aabech dccee475f2 Moved several configuration abstractions including IUmbracoSettingsSection. 2019-05-20 18:39:41 +02:00
Bjarke Berg 8bf90bae91 Started moving caches.. 2019-05-20 18:28:35 +02:00
Stephan 34648fc8aa Umbraco.Abstractions default namespace is Umbraco.Core 2019-05-20 18:25:25 +02:00
Lars-Erik Aabech 5f76bb82cd Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:23:43 +02:00
Shannon a0506622b4 dirty tracking, entities, cloning moved 2019-05-20 18:23:22 +02:00
Lars-Erik Aabech 1256512a1d Set language level to 7.1 for abstractions project for now 2019-05-20 18:23:21 +02:00
Shannon 46cb6e2329 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:08:09 +02:00
Shannon e58588801e fixes csproj merge 2019-05-20 18:07:57 +02:00
Lars-Erik Aabech 185c453c00 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:58:27 +02:00
Lars-Erik Aabech 152ba318bf Removed Semver dependency by copying the class from the original repo. 2019-05-20 17:58:22 +02:00
Shannon 708f4d89c7 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:57:43 +02:00
Shannon 57ff36452e Moves Strings and extensions to abstractions (where possible) 2019-05-20 17:57:28 +02:00
Stephan 2495df5573 Move collections to abstractions 2019-05-20 17:50:31 +02:00
Carole Rennie Logan e0fd6fa8ee Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:48:13 +01:00
Carole Rennie Logan 79e447239f moving custombooleantypeconverter
moving custombooleantypeconverter to abstractions
2019-05-20 16:48:08 +01:00
Lars-Erik Aabech 74865740e0 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:39:30 +02:00
Lars-Erik Aabech f8bc25a2dd Moved runtime abstractions and added SemVer + extensions to abstractions. 2019-05-20 17:39:11 +02:00
Carole Rennie Logan 4da063369d moving SafeCallContext to abstractions
moving SafeCallContext to abstractions
2019-05-20 16:38:42 +01:00
Bjarke Berg facf13f6d5 FIX 2019-05-20 17:29:04 +02:00
Carole Rennie Logan 98afb9a030 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:26:25 +01:00
Lars-Erik Aabech f8462a739c Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:25:59 +02:00
Lars-Erik Aabech 837a7b506e Moved first core DI abstractions 2019-05-20 17:25:55 +02:00
Lars-Erik Aabech d576be3593 Made DataTableExtensions and made it/methods public. 2019-05-20 17:25:49 +02:00
Carole Rennie Logan 20282edba4 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:25:38 +01:00
Bjarke Berg 8fa3f8e06a Moved more stuff 2019-05-20 17:25:29 +02:00
Carole Rennie Logan b85fc649ea moving core items to abstractions
moving core items to abstractions
2019-05-20 16:25:08 +01:00
Stephan deefad4b89 Move ILogger/IProfiler/IProfilingLogger to abstractions 2019-05-20 17:24:46 +02:00
Lars-Erik Aabech 888390d86b Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:20:56 +02:00
Lars-Erik Aabech 99d2509eaa Moved several poco extensions and removed BindingRedirects 2019-05-20 17:20:52 +02:00
Bjarke Berg e0c0da802d Moved more stuff 2019-05-20 17:20:15 +02:00
Bjarke Berg f238f37508 Moved InvalidCompositionException 2019-05-20 17:12:54 +02:00
Bjarke Berg 2e2a275ea4 Merge remote-tracking branch 'origin/vx/feature/unicore' into vx/feature/unicore 2019-05-20 17:09:54 +02:00
Bjarke Berg a13723cc7e Moved media 2019-05-20 17:09:45 +02:00
Carole Rennie Logan 30add94906 uditype move to abstractions
uditype move to abstractions
2019-05-20 16:09:37 +01:00
Carole Rennie Logan e61cd0fbba Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:06:21 +01:00
Carole Rennie Logan 69407caea8 move upgradeablereadlock
moving to abstractions.
2019-05-20 16:06:09 +01:00
Lars-Erik Aabech dd9cfa7abf Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:05:10 +02:00
Lars-Erik Aabech 9122bbdd45 Moved IDiscoverable and Dashboards.* 2019-05-20 17:05:04 +02:00
Stephan 295d2d73e3 Move DisposableObjectSlim to abstractions 2019-05-20 17:04:33 +02:00
Carole Rennie Logan 709babc95b Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 15:59:27 +01:00
Bjarke Berg cab1462d51 Merge remote-tracking branch 'origin/vx/feature/unicore' into vx/feature/unicore 2019-05-20 16:59:07 +02:00
Bjarke Berg cad3e8a635 Moved MacroErrorBehaviour.cs 2019-05-20 16:58:47 +02:00
Carole Rennie Logan 9bac6a4074 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 15:57:51 +01:00
Carole Rennie Logan 49a38f2824 HashCodeCombiner
move hashcodecombiner to abstractions
2019-05-20 15:57:42 +01:00
Lars-Erik Aabech e19cfe575b Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:57:40 +02:00
Lars-Erik Aabech c007757564 Moved code annotations 2019-05-20 16:57:14 +02:00
Bjarke Berg 0b77f8c244 Merge remote-tracking branch 'origin/vx/feature/unicore' into vx/feature/unicore 2019-05-20 16:56:19 +02:00
Bjarke Berg f470c4cd3f Moved read and writelock 2019-05-20 16:56:03 +02:00
Shannon 651d48e5c8 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:54:30 +02:00
Shannon 1f70e67ac1 moved more utilities 2019-05-20 16:54:20 +02:00
Lars-Erik Aabech 2ef03a2c24 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:48:22 +02:00
Shannon 04b319ecb2 moves 4 more utilities 2019-05-20 16:48:12 +02:00
Lars-Erik Aabech fb608d5131 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:45:17 +02:00
Lars-Erik Aabech dff06bde30 Moved most exceptions to abstractions. Added abstractions to web and tests. 2019-05-20 16:45:12 +02:00
Shannon 30c1c76263 Moved Attempt and updated project refs 2019-05-20 16:40:11 +02:00
Bjarke Berg 61cb7ac769 Moved ICompletable into abstractions for Project UniCore 🦄 2019-05-20 16:34:10 +02:00
Shannon 3f84656c13 removes duplicate registration 2019-03-04 13:42:27 +10:00
Shannon de6528bcaf Fixes #4742 - no assembly scanning for dashboards 2019-02-28 12:36:54 +10:00
5824 changed files with 266398 additions and 220178 deletions
+44 -43
View File
@@ -1,43 +1,44 @@
# editorconfig.org
# top-most EditorConfig file
root = true
# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
end_of_line = crlf
indent_style = space
indent_size = 4
# Trim trailing whitespace, limited support.
# https://github.com/editorconfig/editorconfig/wiki/Property-research:-Trim-trailing-spaces
trim_trailing_whitespace = true
[*.{cs,vb}]
dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
# https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/ide/editorconfig-code-style-settings-reference.md
[*.cs]
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_prefer_braces = false : none
[*.js]
trim_trailing_whitespace = true
[*.less]
trim_trailing_whitespace = false
# editorconfig.org
# top-most EditorConfig file
root = true
# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
end_of_line = crlf
indent_style = space
indent_size = 4
# Trim trailing whitespace, limited support.
# https://github.com/editorconfig/editorconfig/wiki/Property-research:-Trim-trailing-spaces
trim_trailing_whitespace = true
[*.{cs,vb}]
dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
# dotnet_naming_symbols.private_fields.required_modifiers = abstract,async,readonly,static # all except const
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
# https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/ide/editorconfig-code-style-settings-reference.md
[*.cs]
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_prefer_braces = false : none
[*.js]
trim_trailing_whitespace = true
[*.less]
trim_trailing_whitespace = false
+1
View File
@@ -43,6 +43,7 @@
*.hs text=auto
*.json text=auto
*.xml text=auto
*.resx text=auto
*.csproj text=auto merge=union
*.vbproj text=auto merge=union
+1 -1
View File
@@ -39,7 +39,7 @@ To build Umbraco, fire up PowerShell and move to Umbraco's repository root (the
build/build.ps1
If you only see a build.bat-file, you're probably on the wrong branch. If you switch to the correct branch (dev-v8) the file will appear and you can build it.
If you only see a build.bat-file, you're probably on the wrong branch. If you switch to the correct branch (v8/contrib) the file will appear and you can build it.
You might run into [Powershell quirks](#powershell-quirks).
+78 -18
View File
@@ -1,32 +1,92 @@
# Code Of Conduct
Our informal code of conduct concentrates on the values we, as Umbraco HQ, have set for ourselves and for our community. We expect you to be a friend.
Instead of listing out all the exact "do's" and "don't's" we want to challenge you to think about our values and apply them:
# Umbraco Code of Conduct
If there's a need to talk to Umbraco HQ about anything, please make sure to send a mail to [Sebastiaan Janssen - sj@umbraco.dk](mailto:sj@umbraco.dk).
## Preamble
## Be a Friend
We are the friendly CMS. And our friendliness stems from our values. That's why we have set for ourselves, Umbraco HQ, and the community, five values to guide us in everything we do:
We welcome and thank you for registering at Our Umbraco. Find below the values that govern Umbraco and which you accept by using Our Umbraco.
* Trust - We believe in and empower people
* Respect - We treat others as we would like to be treated
* Open - We share our thoughts and knowledge
* Hungry - We want to do things better, best is next
* Friendly - We want to build long-lasting relationships
## Trust
With these values in mind, we want to offer the Umbraco community a code of conduct that specifies a baseline standard of behavior so that people with different social values and communication styles can work together.
Assume positive intent and try to understand before being understood.
This code of conduct is based on the widely used Contributor Covenant, as described in [https://www.contributor-covenant.org/](https://www.contributor-covenant.org/)
## Respect
## Our Pledge
Treat others as you would like to be treated.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
This also goes for treating the HQ with respect. For example: dont promote products on [our.umbraco.com](https://our.umbraco.com) that directly compete with our commercial offerings which enables us to work for a sustainable Umbraco.
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
## Open
## Our Standards
Examples of behavior that contributes to a positive environment for our community include:
Be honest and straightforward. Tell it as it is. Share thoughts and knowledge and engage in collaboration.
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall community
## Hungry
Examples of unacceptable behavior include:
Don't rest on your laurels and never accept the status quo. Contribute and give back to fellow Umbracians.
* The use of sexualized language or imagery, and sexual attention or advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Friendly
## Enforcement Responsibilities
Dont judge upon mistakes made but rather upon the speed and quality with which mistakes are corrected. Friendly posts and contributions generate smiles and build long lasting relationships.
Community leaders (e.g. Meetup & festival organizers, moderators, maintainers, ...) are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
Specific enforcement steps are listed in the [Code of Conduct Enforcement Guidelines](https://github.com/umbraco/Umbraco-CMS/blob/v8/contrib/.github/CODE_OF_CONDUCT_ENFORCEMENT.md) document which is an appendix of this document, updated and maintained by the Code of Conduct Team.
## Scope
This Code of Conduct applies within all community spaces and events supported by Umbraco HQ or using the Umbraco name. It also applies when an individual is officially representing the community in public spaces.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior, may be reported at [conduct@umbraco.com](mailto:conduct@umbraco.com). All complaints will be reviewed and investigated promptly and fairly.
Or alternatively, you can reach out directly to any of the team members behind the address above:
* Sebastiaan Janssen (He, Him - Languages spoken: English, Dutch, Danish(Read)) [sebastiaan@umbraco.com](mailto:sebastiaan@umbraco.com)
* Ilham Boulghallat (She, Her - Languages spoken: English, French, Arabic) [ilham@umbraco.com](mailto:ilham@umbraco.com)
* Arnold Visser (He, Him - Languages spoken: English, Dutch) [arnold@umbraco.com](mailto:arnold@umbraco.com)
The review process is done with full respect for the privacy and security of the reporter of any incident.
People with a conflict of interest should exclude themselves or if necessary be excluded by the other team members.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
**1. Correction**
Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
**2. Warning**
Community Impact: A violation through a single incident or series of actions.
Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
**3. Temporary Ban**
Community Impact: A serious violation of community standards, including sustained inappropriate behavior.
Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
**4. Permanent Ban**
Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
Consequence: A permanent ban from any sort of public interaction within the community.
## Attribution
This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
This Code of Conduct will be maintained and reviewed by the team listed above.
+57
View File
@@ -0,0 +1,57 @@
# Umbraco Code of Conduct Enforcement guidelines - Consequence Ladder
These are the steps followed by the [Umbraco Code of Conduct Team](https://github.com/umbraco/Umbraco-CMS/blob/v8/contrib/.github/CODE_OF_CONDUCT.md) when we respond to an issue or incident brought to our attention by a community member.
This is an appendix to the Code of Conduct and is updated and maintained by the Code of Conduct Team.
To make sure that all reports will be reviewed and investigated promptly and fairly, as highlighted in the Umbraco Code of Conduct, we are following [Mozillas Consequence Ladder approach](https://github.com/mozilla/inclusion/blob/master/code-of-conduct-enforcement/consequence-ladder.md).
This approach helps the Team enforce the Code of Conduct in a structured manner and can be used as a way of communicating escalation. Each time the Team takes an action (warning, ban) the individual is made aware of future consequences. The Team can either follow the order of the levels in the ladder or decide to jump levels. When needed, the team can go directly to a permanent ban.
**Level 0: No Action**
Recommendations do not indicate a violation of the Code of Conduct.
**Level 1: Simple Warning Issued**
A private, written warning from the Code of Conduct Team, with clarity of violation, consequences of continued behavior.
**Level 2: Warning**
A private, written warning from the Code of Conduct Team, with clarity of violation, consequences of continued behavior. Additionally:
* Communication of next-level consequences if behaviors are repeated (according to this ladder).
**Level 3: Warning + Mandatory Cooling Off Period (Access Retained)**
A private warning from the Code of Conduct Team, with clarity of violation, consequences of continued behavior. Additionally:
* Request to avoid interaction on community messaging platforms (public forums, Our, commenting on issues).
* This includes avoiding any interactions in any Umbraco channels, spaces/offices, as well as external channels like social media (e.g. Twitter, Facebook, LinkedIn). For example, 'following/liking/retweeting' would be considered a violation of these terms, and consequence would escalate according to this ladder.
* Require they do not interact with others in the report, or those who they suspect are involved in the report.
* Suggestions for 'out of office' type of message on platforms, to reduce curiosity, or suspicion among those not involved.
**Level 4: Temporary Ban (Access Revoked)**
Private communication of ban from the Code of Conduct Team, with clarity of violation, consequences of continued behavior. Additionally:
* 3-6 months imposed break.
* All accounts deactivated, or blocked during this time (Our, HQ Slack if applicable).
* Require to avoid interaction on community messaging platforms (public forums, Our, commenting on issues).
* This includes avoiding any interactions in any Umbraco channels, spaces/offices, as well as external channels like social media (e.g. Twitter, Facebook, LinkedIn). For example, 'following/liking/retweeting' would be considered a violation of these terms, and consequence would escalate according to this ladder.
* All community leadership roles (e.g. Community Teams, Meetup/festival organizer, Commit right on Github..) suspended. (onboarding/reapplication required outside of this process)
* No attendance at Umbraco events during the ban period.
* Not allowed to enter Umbraco HQ offices during the ban period.
* Permission to use the MVP title, if applicable, is revoked during this ban period.
* The community leaders running events and other initiatives are informed of the ban.
**Level 5: Permanent Ban**
Private communication of ban from the Code of Conduct Team, with clarity of violation, consequences of continued behavior. Additionally:
* All accounts deactivated permanently.
* No attendance at Umbraco events going forward.
* Not allowed to enter Umbraco HQ offices permanently.
* All community leadership roles (e.g. Community Teams, Meetup/festival organizer, Commit right on Github..) permanently suspended.
* Permission to use the MVP title, if applicable, revoked.
* The community leaders running events and other initiatives are informed of the ban.
Sources:
* [Mozilla Code of Conduct - Enforcement Consequence Ladder](https://github.com/mozilla/inclusion/blob/master/code-of-conduct-enforcement/consequence-ladder.md)
* [Drupal Conflict Resolution Policy and Process](https://www.drupal.org/conflict-resolution)
* [Django Code of Conduct - Enforcement Manual](https://www.djangoproject.com/conduct/enforcement-manual/)
+6 -5
View File
@@ -102,10 +102,11 @@ That said, the Umbraco development team likes to follow the hints that ReSharper
The Core Contributors team consists of one member of Umbraco HQ, [Sebastiaan](https://github.com/nul800sebastiaan), who gets assistance from the following community members who have comitted to volunteering their free time:
- [Anders Bjerner](https://github.com/abjerner)
- [Emma Burstow](https://github.com/emmaburstow)
- [Poornima Nayar](https://github.com/poornimanayar)
- [Kenn Jacobsen](https://twitter.com/KennJacobsen_DK)
- [Nathan Woulfe](https://github.com/nathanwoulfe)
- [Joe Glombek](https://github.com/glombek)
- [Laura Weatherhead](https://github.com/lssweatherhead)
- [Michael Latouche](https://github.com/mikecp)
- [Owain Williams](https://github.com/OwainWilliams)
These wonderful people aim to provide you with a first reply to your PR, review and test out your changes and on occasions, they might ask more questions. If they are happy with your work, they'll let Umbraco HQ know by approving the PR. Hq will have final sign-off and will check the work again before it is merged.
@@ -128,7 +129,7 @@ In order to build the Umbraco source code locally, first make sure you have the
* npm v6.4.1+ (installed with Node.js)
* [Git command line](https://git-scm.com/download/)
The easiest way to get started is to open `src\umbraco.sln` in Visual Studio 2017 (version 15.9.7 or higher, [the community edition is free](https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15) for you to use to contribute to Open Source projects). In Visual Studio, find the Task Runner Explorer (in the View menu under Other Windows) and run the build task under the gulpfile.
The easiest way to get started is to open `src\umbraco.sln` in Visual Studio 2019 (version 16.3 or higher, [the community edition is free](https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15) for you to use to contribute to Open Source projects). In Visual Studio, find the Task Runner Explorer (in the View menu under Other Windows) and run the build task under the gulpfile.
Alternatively, you can run `build.ps1` from the Powershell command line, which will build both the backoffice (also known as "Belle") and the Umbraco core. You can then easily start debugging from Visual Studio, or if you need to debug Belle you can run `gulp dev` in `src\Umbraco.Web.UI.Client`. See [this page](BUILD.md) for more details.
@@ -1,9 +0,0 @@
---
name: ⁉️ Support Question
about: Having trouble with Umbraco? -> https://our.umbraco.com
---
This issue tracker is NOT meant for support questions. If you have a question,
please join us on the forum at https://our.umbraco.com.
Thanks!
@@ -1,9 +0,0 @@
---
name: 📖 Documentation Issue
about: See https://github.com/umbraco/UmbracoDocs/issues for documentation issues
---
The Umbraco documentation has its own dedicated repository. Please open your
documentation-related issue at https://github.com/umbraco/UmbracoDocs/issues
Thanks!
@@ -1,31 +0,0 @@
---
name: 🔐 Security Issue
about: Discovered a Security Issue in Umbraco?
---
⚠️ PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, SEE BELOW.
If you have found a security issue in Umbraco, please send the details to
security@umbraco.com and don't disclose it publicly until we can provide a fix for
it. If you wish, we'll credit you for finding verified issues, when we release
the patched version.
❗ Please read more about how to report security issues on https://umbraco.com/security
A note on "Self XSS"
--------------------
Umbraco is a CMS, that allows users to edit content on a website. As such,
all _authenticated users_ can:
- Edit content, and (depending on the field types) insert HTML and CSS in that
content, with a variety of allowed attributes.
- Depending on the user level: Edit template files, and insert C#, HTML, CSS and
javascript in so on.
- Upload files to the site, which will become publicly available.
We see these functionalities as _features_, and not as security issues. Please
report the mentioned items only if they can be performed by non-authorized
users, or other exploitable vulnerabilities.
Thanks!
+11
View File
@@ -0,0 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: ⁉️ Support Question
url: https://our.umbraco.com
about: This issue tracker is NOT meant for support questions. If you have a question, please join us on the forum.
- name: 📖 Documentation Issue
url: https://github.com/umbraco/UmbracoDocs/issues
about: Documentation issues should be reported on the Umbraco documentation repository.
- name: 🔐 Security Issue
url: https://umbraco.com/about-us/trust-center/security-and-umbraco/how-to-report-a-vulnerability-in-umbraco/
about: Discovered a Security Issue in Umbraco?
-1
View File
@@ -37,4 +37,3 @@ Besides "Our", we all support each other also via Twitter: [Umbraco HQ](https://
## Contributing
Umbraco is contribution-focused and community-driven. If you want to contribute back to the Umbraco source code, please check out our [guide to contributing](CONTRIBUTING.md).
+12 -4
View File
@@ -2,11 +2,9 @@ name: "Code scanning - action"
on:
push:
branches: [v8/contrib]
branches: [v8/contrib,v8/dev,v8/bug,v8/feature]
pull_request:
# The branches below must be a subset of the branches above
# SJ: Don't run on PR branches for now
# branches: [v8/contrib]
schedule:
- cron: '0 7 * * 2'
@@ -44,10 +42,20 @@ jobs:
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
- name: configure Pagefile
uses: al-cheb/configure-pagefile-action@v1.2
with:
minimum-size: 8GB
maximum-size: 32GB
- run: |
echo "Run Umbraco-CMS build"
pwsh -command .\build\build.ps1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
with:
config-file: ./.github/codeql-config.yml
+14
View File
@@ -0,0 +1,14 @@
name: "CodeQL config"
on:
push:
branches: [v8/contrib,v8/dev]
paths-ignore:
- node_modules
- Umbraco.TestData
- Umbraco.Tests
- Umbraco.Tests.AcceptanceTest
- Umbraco.Tests.Benchmarks
- bin
- build.tmp
paths:
- src
+35 -6
View File
@@ -163,15 +163,44 @@ build/hooks/
build/temp/
# eof
/src/Umbraco.Web.UI.Client/TESTS-*.xml
/src/ApiDocs/api/*
/src/Umbraco.Web.UI.Client/package-lock.json
# Acceptance tests
cypress.env.json
/src/Umbraco.Tests.AcceptanceTest/cypress/support/chainable.ts
/src/Umbraco.Tests.AcceptanceTest/package-lock.json
/src/Umbraco.Tests.AcceptanceTest/cypress/videos/
/src/Umbraco.Tests.AcceptanceTest/cypress/screenshots/
src/Umbraco.Web.UI/Umbraco/telemetrics-id.umb
# eof
/src/Umbraco.Web.UI.Client/TESTS-*.xml
/src/ApiDocs/api/*
/src/Umbraco.Web.UI.Client/package-lock.json
/src/Umbraco.Web.UI.NetCore/wwwroot/Media/*
/src/Umbraco.Web.UI.NetCore/wwwroot/is-cache/*
/src/Umbraco.Tests.Integration/App_Data/*
/src/Umbraco.Tests.Integration/TEMP/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/assets/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/js/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/lib/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/views/*
/src/Umbraco.Web.UI.NetCore/wwwroot/App_Data/TEMP/*
/src/Umbraco.Web.UI.NetCore/App_Data/Logs/*
/src/Umbraco.Web.UI.NetCore/App_Data/TEMP/TypesCache/*
/src/Umbraco.Web.UI.NetCore/App_Data/TEMP/*
/src/Umbraco.Web.UI.NetCore/App_Data/Smidge/Cache/*
/src/Umbraco.Web.UI.NetCore/umbraco/logs
src/Umbraco.Tests.Integration/umbraco/Data/
src/Umbraco.Tests.Integration/umbraco/logs/
src/Umbraco.Tests.Integration/Views/
src/Umbraco.Tests/TEMP/
/src/Umbraco.Web.UI.NetCore/Umbraco/Data/*
/src/Umbraco.Web.UI/config/umbracoSettings.config
/src/Umbraco.Web.UI.NetCore/Umbraco/models/*
src/Umbraco.Tests.UnitTests/umbraco/Data/TEMP/
/src/Umbraco.Web.UI.NetCore/appsettings.Local.json
src/Umbraco.Tests.Integration/DatabaseContextTests.sdf
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Package references and additional files which are consumed by all projects -->
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" IsImplicitlyDefined="true" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)linting\stylecop.json" />
</ItemGroup>
<Choose>
<When Condition="$([System.Text.RegularExpressions.Regex]::IsMatch($(MSBuildProjectFile), 'Tests'))">
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)linting\codeanalysis.tests.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)linting\codeanalysis.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Package versions for package references across all projects -->
<ItemGroup>
<!--Global Dependencies-->
<PackageReference Update="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<!--Shared config files that have to exist at root level to work properly.-->
<ConfigFilesToCopy Include="$(MSBuildThisFileDirectory)linting\.editorconfig" />
</ItemGroup>
<!--Ensures our config files are up to date.-->
<!--TODO Copy files to root once solution is split up into src/tests folder-->
<Target Name="CopyFiles" BeforeTargets="Build">
<Copy SourceFiles="@(ConfigFilesToCopy)"
SkipUnchangedFiles = "true"
DestinationFolder="$(MSBuildThisFileDirectory)src" />
</Target>
</Project>
+8 -4
View File
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!--
<!--
this is Umbraco's NuGet configuration,
content of this file is merged with the system-wide configuration,
at %APPDATA%\NuGet\NuGet.config
-->
<packageSources>
<add key="UmbracoCoreMyGet" value="https://www.myget.org/F/umbracocore/api/v3/index.json" />
</packageSources>
<packageSources>
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
<add key="UmbracoCoreMyGet" value="https://www.myget.org/F/umbracocore/api/v3/index.json" />
<add key="ExamineAzurePipelines" value="https://shazwazza.pkgs.visualstudio.com/Examine/_packaging/Examine-Beta/nuget/v3/index.json" />
<add key="SmidgeAppVeyor" value="https://ci.appveyor.com/nuget/smidge" />
</packageSources>
</configuration>
-61
View File
@@ -1,61 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>UmbracoCms.Core</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the core assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.</description>
<summary>Contains the core assemblies needed to run Umbraco Cms</summary>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<dependencies>
<group targetFramework="net472">
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="LightInject" version="[5.4.0,5.999999)" />
<dependency id="LightInject.Annotation" version="[1.1.0,1.999999)" />
<dependency id="LightInject.Web" version="[2.0.0,2.999999)" />
<dependency id="Microsoft.AspNet.Identity.Core" version="[2.2.2,2.999999)" />
<dependency id="Microsoft.AspNet.WebApi.Client" version="[5.2.7,5.999999)" />
<dependency id="Microsoft.Owin" version="[4.0.1,4.999999)" />
<dependency id="MiniProfiler" version="[4.0.138,4.999999)" />
<dependency id="Newtonsoft.Json" version="[12.0.1,12.999999)" />
<dependency id="Semver" version="[2.0.4,2.999999)" />
<dependency id="Serilog" version="[2.8.0,2.999999)" />
<dependency id="Serilog.Enrichers.Process" version="[2.0.1,2.999999)" />
<dependency id="Serilog.Enrichers.Thread" version="[3.0.0,3.999999)" />
<dependency id="Serilog.Filters.Expressions" version="[2.0.0,2.999999)" />
<dependency id="Serilog.Formatting.Compact" version="[1.0.0,1.999999)" />
<dependency id="Serilog.Formatting.Compact.Reader" version="[1.0.3,1.999999)" />
<dependency id="Serilog.Settings.AppSettings" version="[2.2.2,2.999999)" />
<dependency id="Serilog.Sinks.File" version="[4.0.0,4.999999)" />
<dependency id="Serilog.Sinks.Map" version="[1.0.0,1.999999)" />
<dependency id="Serilog.Sinks.Async" version="[1.3.0,1.999999)" />
<dependency id="Umbraco.SqlServerCE" version="[4.0.0.1,4.999999)" />
<dependency id="NPoco" version="[3.9.4,3.999999)" />
</group>
</dependencies>
</metadata>
<files>
<!-- libs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Core.dll" target="lib\net472\Umbraco.Core.dll" />
<!-- docs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Core.xml" target="lib\net472\Umbraco.Core.xml" />
<!-- symbols -->
<file src="$BuildTmp$\bin\Umbraco.Core.pdb" target="lib\net472\Umbraco.Core.pdb" />
</files>
</package>
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>Umbraco.Cms.Examine.Lucene</id>
<version>9.0.0</version>
<title>Umbraco CMS Examine Binaries</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<license type="expression">MIT</license>
<projectUrl>https://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the Examine assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET Core project.</description>
<summary>Contains dll files required to run Examine.</summary>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Umbraco.Cms.Core" version="[$version$]" />
<dependency id="Umbraco.Cms.Infrastructure" version="[$version$]" />
<dependency id="Newtonsoft.Json" version="[12.0.3,12.999999)" />
<dependency id="NPoco" version="[4.0.2,4.999999)" />
<dependency id="System.Configuration.ConfigurationManager" version="[5.0.0,5.999999)" />
</group>
</dependencies>
</metadata>
<files>
<!-- Umbraco.Examine.Lucene HACK remove this when Examine lucene is a real netstandard dependency -->
<file src="$BuildTmp$\bin\Examine.Lucene.dll" target="lib\netstandard2.0\Examine.Lucene.dll" />
<file src="$BuildTmp$\bin\Lucene.Net.dll" target="lib\netstandard2.0\Lucene.Net.dll" />
<!-- Libs -->
<file src="$BuildTmp$\bin\Umbraco.Examine.Lucene.dll" target="lib\net472\Umbraco.Examine.Lucene.dll" />
<file src="$BuildTmp$\bin\Umbraco.Examine.Lucene.dll" target="lib\netstandard2.0\Umbraco.Examine.Lucene.dll" />
<!-- Docs -->
<file src="$BuildTmp$\bin\Umbraco.Examine.Lucene.xml" target="lib\net472\Umbraco.Examine.Lucene.xml" />
<file src="$BuildTmp$\bin\Umbraco.Examine.Lucene.xml" target="lib\netstandard2.0\Umbraco.Examine.Lucene.xml" />
<!-- Symbols -->
<file src="$BuildTmp$\bin\Umbraco.Examine.Lucene.pdb" target="lib\net472\Umbraco.Examine.Lucene.pdb" />
<file src="$BuildTmp$\bin\Umbraco.Examine.Lucene.pdb" target="lib\netstandard2.0\Umbraco.Examine.Lucene.pdb" />
</files>
</package>
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>Umbraco.Cms.SqlCe</id>
<version>9.0.0</version>
<title>Umbraco Cms Sql Ce Add-on</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<license type="expression">MIT</license>
<projectUrl>https://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the SQL CE assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET Core project.</description>
<summary>Contains the SQL CE assemblies needed to run Umbraco Cms</summary>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<dependencies>
<group targetFramework="netstandard2.0">
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="Umbraco.Cms.Core" version="[$version$]" />
<dependency id="Umbraco.SqlServerCE" version="[4.0.0.1,4.999999)" /> <!-- Hack it is only available in framework, but we need it on netstandard -->
</group>
</dependencies>
</metadata>
<files>
<!-- libs -->
<file src="$BuildTmp$\SqlCe\Umbraco.Persistence.SqlCe.dll" target="lib\netstandard2.0\Umbraco.Persistence.SqlCe.dll" />
<file src="$BuildTmp$\SqlCe\System.Data.SqlServerCe.dll" target="lib\netstandard2.0\System.Data.SqlServerCe.dll" /> <!-- Hack because the file from the package is only added to net472 projects -->
<!-- docs -->
<file src="$BuildTmp$\SqlCe\Umbraco.Persistence.SqlCe.xml" target="lib\netstandard2.0\Umbraco.Persistence.SqlCe.xml" />
<!-- symbols -->
<file src="$BuildTmp$\SqlCe\Umbraco.Persistence.SqlCe.pdb" target="lib\netstandard2.0\Umbraco.Persistence.SqlCe.pdb" />
</files>
</package>
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>Umbraco.Cms.StaticAssets</id>
<version>9.0.0</version>
<title>Umbraco Cms Static Assets</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<license type="expression">MIT</license>
<projectUrl>https://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the static assets that is required to run Umbraco CMS.</description>
<summary>Contains the static assets that is required to run Umbraco CMS.</summary>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<dependencies>
</dependencies>
</metadata>
<files>
<!-- Content -->
<file src="$BuildTmp$\WebApp\wwwroot\umbraco\**\*.*" target="content\wwwroot\umbraco" />
<file src="$BuildTmp$\WebApp\umbraco\**\*.*" target="content\umbraco" />
<!-- Readme -->
<file src="tools\Readme.txt" target="Readme.txt" />
<file src="tools\ReadmeUpgrade.txt" target="ReadmeUpgrade.txt" />
<!-- UmbracoCms props and targets used to copy the content into the solution -->
<file src="build\**" target="build\" />
</files>
</package>
-69
View File
@@ -1,69 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>UmbracoCms.Web</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the web assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.</description>
<summary>Contains the core assemblies needed to run Umbraco Cms</summary>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<dependencies>
<group targetFramework="net472">
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="UmbracoCms.Core" version="[$version$]" />
<dependency id="ClientDependency" version="[1.9.9,1.999999)" />
<dependency id="ClientDependency-Mvc5" version="[1.9.3,1.999999)" />
<dependency id="CSharpTest.Net.Collections" version="[14.906.1403.1082,14.999999)" />
<dependency id="Examine" version="[1.0.2,1.999999)" />
<dependency id="HtmlAgilityPack" version="[1.8.14,1.999999)" />
<dependency id="ImageProcessor" version="[2.7.0.100,2.999999)" />
<dependency id="LightInject.Mvc" version="[2.0.0,2.999999)" />
<dependency id="LightInject.WebApi" version="[2.0.0,2.999999)" />
<dependency id="Markdown" version="[2.2.1,2.999999)" />
<dependency id="Microsoft.AspNet.Identity.Owin" version="[2.2.2,2.999999)" />
<dependency id="Microsoft.AspNet.Mvc" version="[5.2.7,5.999999)" />
<dependency id="Microsoft.AspNet.SignalR.Core" version="[2.4.0,2.999999)" />
<dependency id="Microsoft.AspNet.WebApi" version="[5.2.7,5.999999)" />
<dependency id="Microsoft.Owin.Host.SystemWeb" version="[4.0.1,4.999999)" />
<dependency id="Microsoft.Owin.Security.Cookies" version="[4.0.1,4.999999)" />
<dependency id="Microsoft.Owin.Security.OAuth" version="[4.0.1,4.999999)" />
<dependency id="System.Threading.Tasks.Dataflow" version="[4.9.0,4.999999)" />
<dependency id="HtmlSanitizer" version="[5.0.376,5.999999)" />
</group>
</dependencies>
</metadata>
<files>
<!-- libs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.dll" target="lib\net472\Umbraco.Web.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.dll" target="lib\net472\Umbraco.Web.UI.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.dll" target="lib\net472\Umbraco.Examine.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.ModelsBuilder.Embedded.dll" target="lib\net472\Umbraco.ModelsBuilder.Embedded.dll" />
<!-- docs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.xml" target="lib\net472\Umbraco.Web.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.xml" target="lib\net472\Umbraco.Web.UI.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.xml" target="lib\net472\Umbraco.Examine.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.ModelsBuilder.Embedded.xml" target="lib\net472\Umbraco.ModelsBuilder.Embedded.xml" />
<!-- symbols -->
<file src="$BuildTmp$\bin\Umbraco.Web.pdb" target="lib\net472\Umbraco.Web.pdb" />
<file src="$BuildTmp$\bin\Umbraco.Examine.pdb" target="lib\net472\Umbraco.Examine.pdb" />
<file src="$BuildTmp$\bin\Umbraco.ModelsBuilder.Embedded.pdb" target="lib\net472\Umbraco.ModelsBuilder.Embedded.pdb" />
</files>
</package>
+15 -50
View File
@@ -1,68 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>UmbracoCms</id>
<version>8.0.0</version>
<id>Umbraco.Cms</id>
<version>9.0.0</version>
<title>Umbraco Cms</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<license type="expression">MIT</license>
<projectUrl>https://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Installs Umbraco Cms in your Visual Studio ASP.NET project</description>
<summary>Installs Umbraco Cms in your Visual Studio ASP.NET project</summary>
<description>Installs Umbraco Cms in your Visual Studio ASP.NET Core project</description>
<summary>Installs Umbraco Cms in your Visual Studio ASP.NET Core project</summary>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<dependencies>
<group targetFramework="net472">
<dependency id="UmbracoCms.Web" version="[$version$]" />
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="Microsoft.AspNet.SignalR.Core" version="[2.4.0, 2.999999)" />
<dependency id="ImageProcessor.Web" version="[4.10.0.100,4.999999)" />
<dependency id="ImageProcessor.Web.Config" version="[2.5.0.100,2.999999)" />
<dependency id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="[2.0.1,2.999999)" />
<group targetFramework="net5.0">
<dependency id="Umbraco.Cms.Web.Website" version="[$version$]" />
<dependency id="Umbraco.Cms.Web.BackOffice" version="[$version$]" />
<dependency id="Umbraco.Cms.StaticAssets" version="[$version$]" />
</group>
</dependencies>
<!--
We can't use content files, as the files need to be copied into the solution, links/shortcuts to the files
are not good enough
-->
<contentFiles />
</metadata>
<files>
<!-- files -->
<file src="$BuildTmp$\Configs\**" target="Content\Config" exclude="$BuildTmp$\Configs\Web.config.transform" />
<file src="$BuildTmp$\WebApp\Views\**" target="Content\Views" exclude="$BuildTmp$\WebApp\Views\Web.config" />
<file src="$BuildTmp$\WebApp\Global.asax" target="Content\Global.asax" />
<file src="$BuildTmp$\WebApp\config\BackOfficeTours\**" target="Content\Config\BackOfficeTours" />
<file src="$BuildTmp$\WebApp\Media\Web.config" target="Content\Media\Web.config" />
<!-- these files are copied by install.ps1 -->
<file src="$BuildTmp$\WebApp\Web.config" target="UmbracoFiles\Web.config" />
<file src="$BuildTmp$\WebApp\umbraco\**" target="UmbracoFiles\umbraco" />
<file src="$BuildTmp$\WebApp\config\splashes\**" target="UmbracoFiles\Config\splashes" />
<!-- tools -->
<!-- beware! install.ps1 not supported by PackageReference -->
<file src="tools\install.ps1" target="tools\install.ps1" />
<file src="tools\Readme.txt" target="tools\Readme.txt" />
<file src="tools\ReadmeUpgrade.txt" target="tools\ReadmeUpgrade.txt" />
<!-- config transforms -->
<!-- beware! config transforms not supported by PackageReference -->
<file src="tools\Web.config.install.xdt" target="Content\Web.config.install.xdt" />
<file src="tools\serilog.config.install.xdt" target="Content\config\serilog.config.install.xdt" />
<file src="tools\ClientDependency.config.install.xdt" target="Content\config\ClientDependency.config.install.xdt" />
<file src="tools\umbracoSettings.config.install.xdt" target="Content\config\umbracoSettings.config.install.xdt" />
<file src="tools\Views.Web.config.install.xdt" target="Views\Web.config.install.xdt" /> <!-- FIXME: Content\ !! and then... transform?! -->
<!-- UmbracoCms props and targets -->
<file src="build\**" target="build" />
</files>
</package>
@@ -0,0 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefaultItemExcludes>$(DefaultItemExcludes);wwwroot\is-cache\**;wwwroot\ms-cache\**</DefaultItemExcludes>
</PropertyGroup>
</Project>
@@ -0,0 +1,38 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ContentFilesPath>$(MSBuildThisFileDirectory)..\content\**\*.*</ContentFilesPath>
</PropertyGroup>
<Target Name="CopyUmbracoAssets" BeforeTargets="Build">
<ItemGroup>
<ContentFiles Include="$(ContentFilesPath)" />
</ItemGroup>
<Message Text="Copying Umbraco content files: $(ContentFilesPath) - #@(ContentFiles->Count()) files" Importance="high" />
<Copy
SourceFiles="@(ContentFiles)"
DestinationFiles="@(ContentFiles->'$(MSBuildProjectDirectory)\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
<Target Name="ClearUmbracoAssets" BeforeTargets="Clean">
<ItemGroup>
<UmbracoConfigPackageDir Include="$(MSBuildProjectDirectory)\umbraco\config\" />
<UmbracoPartialViewMacrosPackageDir Include="$(MSBuildProjectDirectory)\umbraco\PartialViewMacros\" />
<UmbracoUmbracoBackOfficeMacrosDir Include="$(MSBuildProjectDirectory)\umbraco\UmbracoBackOffice\" />
<UmbracoUmbracoInstallDir Include="$(MSBuildProjectDirectory)\umbraco\UmbracoInstall\" />
<UmbracoUmbracoWebsiteMacrosDir Include="$(MSBuildProjectDirectory)\umbraco\UmbracoWebsite\" />
<WwwrootUmbracoPackageDir Include="$(MSBuildProjectDirectory)\wwwroot\umbraco\" />
</ItemGroup>
<Message Text="Clear old umbraco data" Importance="high" />
<RemoveDir Directories="@(UmbracoConfigPackageDir)" />
<RemoveDir Directories="@(UmbracoPartialViewMacrosPackageDir)" />
<RemoveDir Directories="@(UmbracoUmbracoBackOfficeMacrosDir)" />
<RemoveDir Directories="@(UmbracoUmbracoInstallDir)" />
<RemoveDir Directories="@(UmbracoUmbracoWebsiteMacrosDir)" />
<RemoveDir Directories="@(WwwrootUmbracoPackageDir)" />
</Target>
</Project>
-13
View File
@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CopyAllFilesToSingleFolderForPackageDependsOn>
AddUmbracoFilesToOutput;
$(CopyAllFilesToSingleFolderForPackageDependsOn);
</CopyAllFilesToSingleFolderForPackageDependsOn>
<CopyAllFilesToSingleFolderForMsdeployDependsOn>
AddUmbracoFilesToOutput;
$(CopyAllFilesToSingleFolderForPackageDependsOn);
</CopyAllFilesToSingleFolderForMsdeployDependsOn>
</PropertyGroup>
</Project>
-58
View File
@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="CopyUmbracoFilesToWebRootForDeploy" AfterTargets="CopyAllFilesToSingleFolderForMsdeploy">
<PropertyGroup>
<UmbracoFilesFolder>$(MSBuildThisFileDirectory)..\UmbracoFiles\</UmbracoFilesFolder>
</PropertyGroup>
<ItemGroup>
<UmbracoFiles Include="$(UmbracoFilesFolder)**\*" />
</ItemGroup>
<Copy SourceFiles="%(UmbracoFiles.FullPath)" DestinationFiles="$(_PackageTempDir)\%(RecursiveDir)%(Filename)%(Extension)" Condition="!Exists('%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="CopyUmbracoFilesToWebRoot" BeforeTargets="AfterBuild">
<!-- This copies the files listed in `AddUmbracoFilesToOutput` to the webroot during NuGet install and should -->
<!-- not be altered to support automated builds, use `CopyUmbracoFilesToWebRootForDeploy` for that instead -->
<PropertyGroup>
<UmbracoFilesFolder>$(MSBuildThisFileDirectory)..\UmbracoFiles\</UmbracoFilesFolder>
</PropertyGroup>
<ItemGroup>
<UmbracoFiles Include="$(UmbracoFilesFolder)**\*" />
</ItemGroup>
<Copy SourceFiles="%(UmbracoFiles.FullPath)" DestinationFiles="%(RecursiveDir)%(Filename)%(Extension)" Condition="!Exists('%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
<Target Name="AddUmbracoFilesToOutput">
<!-- With help from: http://blog.samstephens.co.nz/2010-10-18/msbuild-including-extra-files-multiple-builds/ -->
<ItemGroup>
<CustomFilesToInclude Include=".\App_Browsers\**\*">
<Dir>App_Browsers</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\App_Code\**\*">
<Dir>App_Code</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\App_Plugins\**\*">
<Dir>App_Plugins</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\bin\amd64\**\*">
<Dir>bin\amd64</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\bin\x86\**\*">
<Dir>bin\x86</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\Config\Splashes\**\*">
<Dir>Config\Splashes</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\data\**\*">
<Dir>data</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\umbraco\**\*">
<Dir>umbraco</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\Global.asax">
<Dir>.</Dir>
</CustomFilesToInclude>
<FilesForPackagingFromProject Include="@(CustomFilesToInclude)">
<DestinationRelativePath>%(CustomFilesToInclude.Dir)\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
</ItemGroup>
</Target>
</Project>
+1 -1
View File
@@ -11,7 +11,7 @@ Y88 88Y 888 888 888 888 d88P 888 888 888 Y88b. Y88..88P
Don't forget to build!
We've done our best to transform your configuration files but in case something is not quite right: we recommmend you look in source control for the previous version so you can find the original files before they were transformed.
We've done our best to transform your configuration files but in case something is not quite right: we recommend you look in source control for the previous version so you can find the original files before they were transformed.
This NuGet package includes build targets that extend the creation of a deploy package, which is generated by
Publishing from Visual Studio. The targets will only work once Publishing is configured, so if you don't use
@@ -2,7 +2,7 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">>
<appSettings>
<add key="serilog:using:File" value="Umbraco.Core" xdt:Transform="SetAttributes(value)" xdt:Locator="Match(key)"/>
<add key="serilog:using:File" value="Umbraco.Infrastructure" xdt:Transform="SetAttributes(value)" xdt:Locator="Match(key)"/>
<add key="serilog:write-to:File.shared" xdt:Transform="Remove" xdt:Locator="Match(key)"/>
</appSettings>
+529
View File
@@ -0,0 +1,529 @@
variables:
buildConfiguration: Release
SA_PASSWORD: UmbracoIntegration123!
resources:
containers:
- container: mssql
image: 'mcr.microsoft.com/mssql/server:2017-latest'
env:
ACCEPT_EULA: 'Y'
SA_PASSWORD: $(SA_PASSWORD)
MSSQL_PID: Developer
ports:
- '1433:1433'
options: '--name mssql'
stages:
- stage: Unit_Tests
displayName: Unit Tests
dependsOn: []
jobs:
- job: Linux_Unit_Tests
displayName: Linux
pool:
vmImage: ubuntu-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: '**/*.Tests.UnitTests.csproj'
- job: MacOS_Unit_Tests
displayName: Mac OS
pool:
vmImage: macOS-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: '**/*.Tests.UnitTests.csproj'
- job: Windows_Unit_Tests
displayName: Windows
pool:
vmImage: windows-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: '**/*.Tests.UnitTests.csproj'
- stage: Integration_Tests
displayName: Integration Tests
dependsOn: []
jobs:
- job: Linux_Integration_Tests
services:
mssql: mssql
timeoutInMinutes: 120
displayName: Linux
pool:
vmImage: ubuntu-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: '**/Umbraco.Tests.Integration.csproj'
env:
UmbracoIntegrationTestConnectionString: 'Server=localhost,1433;User Id=sa;Password=$(SA_PASSWORD);'
- job: Windows_Integration_Tests
timeoutInMinutes: 120
displayName: Windows
pool:
vmImage: windows-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- powershell: sqllocaldb start mssqllocaldb
displayName: Start MSSQL LocalDb
- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: '**\Umbraco.Tests.Integration.csproj'
- stage: Acceptance_Tests
displayName: Acceptance Tests
dependsOn: []
variables:
- name: Umbraco__CMS__Unattended__InstallUnattended
value: true
- name: Umbraco__CMS__Unattended__UnattendedUserName
value: Cypress Test
- name: Umbraco__CMS__Unattended__UnattendedUserEmail
value: cypress@umbraco.com
- name: Umbraco__CMS__Unattended__UnattendedUserPassword
value: UmbracoAcceptance123!
jobs:
- job: Windows_Acceptance_tests
variables:
- name: UmbracoDatabaseServer
value: (LocalDB)\MSSQLLocalDB
- name: UmbracoDatabaseName
value: Cypress
- name: ConnectionStrings__umbracoDbDSN
value: Server=$(UmbracoDatabaseServer);Database=$(UmbracoDatabaseName);Integrated Security=true;
displayName: Windows
pool:
vmImage: windows-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- powershell: sqllocaldb start mssqllocaldb
displayName: Start MSSQL LocalDb
- powershell: Invoke-Sqlcmd -Query "CREATE DATABASE $env:UmbracoDatabaseName" -ServerInstance $env:UmbracoDatabaseServer
displayName: Create database
# - task: DotNetCoreCLI@2
# displayName: dotnet build (Netcore)
# inputs:
# command: build
# projects: '**/Umbraco.Web.UI.Netcore.csproj'
- task: NodeTool@0
displayName: Use Node 11.x
inputs:
versionSpec: 11.x
- task: Npm@1
displayName: npm install (Client)
inputs:
workingDir: src\Umbraco.Web.UI.Client
verbose: false
- task: gulp@0
displayName: gulp build
inputs:
gulpFile: src\Umbraco.Web.UI.Client\gulpfile.js
targets: build
workingDirectory: src\Umbraco.Web.UI.Client
- powershell: Start-Process -FilePath "dotnet" -ArgumentList "run", "-p", "src\Umbraco.Web.UI.Netcore\Umbraco.Web.UI.Netcore.csproj"
displayName: dotnet run (Netcore)
# - powershell: dotnet run --no-build -p .\src\Umbraco.Web.UI.NetCore\Umbraco.Web.UI.NetCore.csproj
# displayName: dotnet run (Netcore)
- task: PowerShell@1
displayName: Generate Cypress.env.json
inputs:
scriptType: inlineScript
inlineScript: >
@{ username = $env:Umbraco__CMS__Unattended__UnattendedUserEmail; password = $env:Umbraco__CMS__Unattended__UnattendedUserPassword } | ConvertTo-Json | Set-Content -Path "src\Umbraco.Tests.AcceptanceTest\cypress.env.json"
- task: Npm@1
name: PrepareTask
displayName: npm install (AcceptanceTest)
inputs:
workingDir: 'src\Umbraco.Tests.AcceptanceTest'
- task: Npm@1
displayName: Run Cypress (Desktop)
condition: always()
continueOnError: true
inputs:
workingDir: src\Umbraco.Tests.AcceptanceTest
command: 'custom'
customCommand: 'run test -- --reporter junit --reporter-options "mochaFile=results/test-output-D-[hash].xml,toConsole=true" --config="viewportHeight=1600,viewportWidth=2560,screenshotsFolder=cypress/artifacts/desktop/screenshots,videosFolder=cypress/artifacts/desktop/videos,videoUploadOnPasses=false"'
- task: PublishTestResults@2
condition: always()
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: 'src/Umbraco.Tests.AcceptanceTest/results/test-output-D-*.xml'
mergeTestResults: true
testRunTitle: "Test results Desktop"
# - task: Npm@1
# displayName: Run Cypress (Tablet portrait)
# condition: always()
# inputs:
# workingDir: src\Umbraco.Tests.AcceptanceTest
# command: 'custom'
# customCommand: 'run test -- --config="viewportHeight=1366,viewportWidth=1024,screenshotsFolder=cypress/artifacts/tablet/screenshots,videosFolder=cypress/artifacts/tablet/videos,videoUploadOnPasses=false"'
#
# - task: Npm@1
# displayName: Run Cypress (Mobile protrait)
# condition: always()
# inputs:
# workingDir: src\Umbraco.Tests.AcceptanceTest
# command: 'custom'
# customCommand: 'run test -- --config="viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos,videoUploadOnPasses=false"'
- task: PublishPipelineArtifact@1
displayName: "Publish test artifacts"
condition: failed()
inputs:
targetPath: '$(Build.SourcesDirectory)/src/Umbraco.Tests.AcceptanceTest/cypress/artifacts'
artifact: 'Test artifacts - Windows'
- job: Linux_Acceptance_tests
displayName: Linux
variables:
- name: UmbracoDatabaseServer
value: localhost
- name: UmbracoDatabaseName
value: Cypress
- name: ConnectionStrings__umbracoDbDSN
value: Server=localhost,1433;Database=$(UmbracoDatabaseName);User Id=sa;Password=$(SA_PASSWORD);
services:
mssql: mssql
pool:
vmImage: ubuntu-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: Bash@3
displayName: Create database
inputs:
targetType: 'inline'
script: 'sqlcmd -S . -U sa -P $SA_PASSWORD -Q "CREATE DATABASE $DBNAME"'
env:
DBNAME: $(UmbracoDatabaseName)
SA_PASSWORD: $(SA_PASSWORD)
- task: NodeTool@0
displayName: Use Node 11.x
inputs:
versionSpec: 11.x
- task: Npm@1
displayName: npm install (Client)
inputs:
workingDir: src/Umbraco.Web.UI.Client
verbose: false
- task: gulp@0
displayName: gulp build
inputs:
gulpFile: src/Umbraco.Web.UI.Client/gulpfile.js
targets: build
workingDirectory: src/Umbraco.Web.UI.Client
- task: Bash@3
displayName: dotnet run (Netcore)
inputs:
targetType: 'inline'
script: 'nohup dotnet run -p ./src/Umbraco.Web.UI.NetCore/Umbraco.Web.UI.NetCore.csproj &'
- task: Bash@3
displayName: Generate Cypress.env.json
inputs:
targetType: 'inline'
script: 'echo "{ \"username\": \"$USERNAME\", \"password\": \"$PASSWORD\" }" > "src/Umbraco.Tests.AcceptanceTest/cypress.env.json"'
env:
USERNAME: $(Umbraco__CMS__Unattended__UnattendedUserEmail)
PASSWORD: $(Umbraco__CMS__Unattended__UnattendedUserPassword)
- task: Npm@1
name: PrepareTask
displayName: npm install (AcceptanceTest)
inputs:
workingDir: 'src/Umbraco.Tests.AcceptanceTest'
- task: Npm@1
displayName: Run Cypress (Desktop)
condition: always()
continueOnError: true
inputs:
workingDir: src/Umbraco.Tests.AcceptanceTest
command: 'custom'
customCommand: 'run test -- --reporter junit --reporter-options "mochaFile=results/test-output-D-[hash].xml,toConsole=true" --config="viewportHeight=1600,viewportWidth=2560,screenshotsFolder=cypress/artifacts/desktop/screenshots,videosFolder=cypress/artifacts/desktop/videos,videoUploadOnPasses=false"'
- task: PublishTestResults@2
condition: always()
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: 'src/Umbraco.Tests.AcceptanceTest/results/test-output-D-*.xml'
mergeTestResults: true
testRunTitle: "Test results Desktop"
# - task: Npm@1
# displayName: Run Cypress (Tablet portrait)
# condition: always()
# inputs:
# workingDir: src/Umbraco.Tests.AcceptanceTest
# command: 'custom'
# customCommand: 'run test -- --config="viewportHeight=1366,viewportWidth=1024,screenshotsFolder=cypress/artifacts/tablet/screenshots,videosFolder=cypress/artifacts/tablet/videos,videoUploadOnPasses=false"'
#
# - task: Npm@1
# displayName: Run Cypress (Mobile protrait)
# condition: always()
# inputs:
# workingDir: src/Umbraco.Tests.AcceptanceTest
# command: 'custom'
# customCommand: 'run test -- --config="viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos,videoUploadOnPasses=false"'
- task: PublishPipelineArtifact@1
displayName: "Publish test artifacts"
condition: failed()
inputs:
targetPath: '$(Build.SourcesDirectory)/src/Umbraco.Tests.AcceptanceTest/cypress/artifacts'
artifact: 'Test artifacts - Linux'
- stage: Artifacts
dependsOn: []
jobs:
- job: Build_Artifacts
displayName: Build Artifacts
pool:
vmImage: windows-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: NuGetToolInstaller@1
displayName: Use NuGet Latest
- task: NuGetCommand@2
displayName: Restore NuGet Packages
inputs:
restoreSolution: '*\src\umbraco.sln'
feedsToUse: config
- task: PowerShell@1
displayName: Update Version
condition: 'eq(variables[''Umbraco.IsReleaseBuild''], ''false'')'
inputs:
scriptType: inlineScript
inlineScript: >
Write-Host "Working folder: $pwd"
$ubuild = build/build.ps1 -get -continue
$version = $ubuild.GetUmbracoVersion()
if ($version.Comment -ne "")
{
# 8.0.0-beta.33.1234
$continuous = "$($version.Semver).$(Build.BuildNumber)"
}
else
{
# 8.0.0-alpha.1234
$continuous = "$($version.Release)-alpha.$(Build.BuildNumber)"
}
$ubuild.SetUmbracoVersion($continuous)
#Update the version in templates also
$templatePath =
'build/templates/UmbracoProject/.template.config/template.json'
$a = Get-Content $templatePath -raw | ConvertFrom-Json
$a.symbols.version.defaultValue = $continuous
$a | ConvertTo-Json -depth 32| set-content $templatePath
$templatePath =
'build/templates/UmbracoPackage/.template.config/template.json'
$a = Get-Content $templatePath -raw | ConvertFrom-Json
$a.symbols.version.defaultValue = $continuous
$a | ConvertTo-Json -depth 32| set-content $templatePath
Write-Host "Building: $continuous"
- task: PowerShell@1
displayName: Prepare Build
inputs:
scriptType: inlineScript
inlineScript: |
Write-Host "Working folder: $pwd"
$ubuild = build\build.ps1 -get
$ubuild.PrepareBuild("vso")
- task: NodeTool@0
displayName: Use Node 11.x
inputs:
versionSpec: 11.x
- task: Npm@1
displayName: npm install
inputs:
workingDir: src\Umbraco.Web.UI.Client
verbose: false
- task: gulp@0
displayName: gulp build
inputs:
gulpFile: src\Umbraco.Web.UI.Client\gulpfile.js
targets: build
workingDirectory: src\Umbraco.Web.UI.Client
publishJUnitResults: true
testResultsFiles: '**\TESTS-*.xml'
- task: PowerShell@1
displayName: Prepare Packages & Zip
inputs:
scriptType: inlineScript
inlineScript: |
Write-Host "Working folder: $pwd"
$ubuild = build\build.ps1 -get -continue
$ubuild.CompileUmbraco()
$ubuild.PreparePackages()
$ubuild.PackageZip()
- task: CopyFiles@2
displayName: Copy Zip Files to Staging
inputs:
SourceFolder: build.out
Contents: '*.zip'
TargetFolder: $(build.artifactstagingdirectory)
CleanTargetFolder: true
- task: PublishBuildArtifacts@1
displayName: Publish Zip Files
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: zips
- task: PowerShell@1
displayName: Verify & Package NuGet
inputs:
scriptType: inlineScript
inlineScript: |
Write-Host "Working folder: $pwd"
$ubuild = build\build.ps1 -get -continue
$ubuild.VerifyNuGet()
$ubuild.PackageNuGet()
- task: CopyFiles@2
displayName: Copy NuPkg Files to Staging
inputs:
SourceFolder: build.out
Contents: '*.nupkg'
TargetFolder: $(build.artifactstagingdirectory)
CleanTargetFolder: true
- task: PublishBuildArtifacts@1
displayName: Publish NuPkg Files
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: nupkg
- task: CopyFiles@2
displayName: Copy Log Files to Staging
inputs:
SourceFolder: build.tmp
Contents: '*.log'
TargetFolder: $(build.artifactstagingdirectory)
CleanTargetFolder: true
condition: succeededOrFailed()
- task: PublishBuildArtifacts@1
displayName: Publish Log Files
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: logs
condition: succeededOrFailed()
- stage: Artifacts_Docs
displayName: 'Static Code Documentation'
dependsOn: []
condition: 'ne(variables[''Umbraco.IsReleaseBuild''], ''false'')'
jobs:
- job: Generate_Docs_CSharp
timeoutInMinutes: 60
displayName: Generate C# Docs
pool:
vmImage: windows-latest
steps:
- task: UseDotNet@2
displayName: Use .Net Core sdk 5.x
inputs:
version: 5.x
- task: PowerShell@2
displayName: 'Prep build tool - C# Docs'
inputs:
targetType: inline
script: |
choco install docfx -y
if ($lastexitcode -ne 0){
throw ("Error installing DocFX")
}
docfx metadata --loglevel Verbose "$(Build.SourcesDirectory)\src\ApiDocs\docfx.json"
if ($lastexitcode -ne 0){
throw ("Error generating docs.")
}
docfx build --loglevel Verbose "$(Build.SourcesDirectory)\src\ApiDocs\docfx.json"
if ($lastexitcode -ne 0){
throw ("Error generating docs.")
}
errorActionPreference: continue
workingDirectory: build
- task: ArchiveFiles@2
displayName: 'Zip C# Docs'
inputs:
rootFolderOrFile: $(Build.SourcesDirectory)\src\ApiDocs\_site
includeRootFolder: false
archiveType: zip
archiveFile: $(Build.ArtifactStagingDirectory)\docs\csharp-docs.zip
replaceExistingArchive: true
- task: PublishPipelineArtifact@1
displayName: Publish to artifacts - C# Docs
inputs:
targetPath: $(Build.ArtifactStagingDirectory)\docs\csharp-docs.zip
artifact: docs-cs
publishLocation: pipeline
- job: Generate_Docs_JS
timeoutInMinutes: 60
displayName: Generate JS Docs
pool:
vmImage: windows-latest
steps:
- task: PowerShell@2
displayName: Prep build tool - JS Docs
inputs:
targetType: inline
script: |
$uenv=./build.ps1 -get -doc
$uenv.SandboxNode()
$uenv.CompileBelle()
$uenv.PrepareAngularDocs()
$uenv.RestoreNode()
errorActionPreference: continue
workingDirectory: build
- task: PublishPipelineArtifact@1
displayName: Publish to artifacts - JS Docs
inputs:
targetPath: $(Build.Repository.LocalPath)\build.out\
artifact: docs
publishLocation: pipeline
+2 -1
View File
@@ -23,7 +23,7 @@
$cache = 4
$nuget = "$scriptTemp\nuget.exe"
# ensure the correct NuGet-source is used. This one is used by Umbraco
$nugetsourceUmbraco = "https://www.myget.org/F/umbracocore/api/v3/index.json"
$nugetsourceUmbraco = "https://www.myget.org/F/umbracoprereleases/api/v3/index.json"
if (-not $local)
{
$source = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
@@ -34,6 +34,7 @@
if (-not (test-path $nuget))
{
Write-Host "Download NuGet..."
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest $source -OutFile $nuget
if (-not $?) { throw "Failed to download NuGet." }
}
+104 -74
View File
@@ -51,12 +51,12 @@
{
param ( $semver )
$release = "" + $semver.Major + "." + $semver.Minor + "." + $semver.Patch
Write-Host "Update IIS Express port in csproj"
$updater = New-Object "Umbraco.Build.ExpressPortUpdater"
$csproj = "$($this.SolutionRoot)\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj"
$updater.Update($csproj, $release)
$port = "" + $semver.Major + $semver.Minor + ("" + $semver.Patch).PadLeft(2, '0')
Write-Host "Update port in launchSettings.json to $port"
$filePath = "$($this.SolutionRoot)\src\Umbraco.Web.UI.NetCore\Properties\launchSettings.json"
$this.ReplaceFileText($filePath, `
"http://localhost:(\d+)?", `
"http://localhost:$port")
})
$ubuild.DefineMethod("SandboxNode",
@@ -126,7 +126,7 @@
Write-Output "### gulp build for version $($this.Version.Release)" >> $log 2>&1
npm run build --buildversion=$this.Version.Release >> $log 2>&1
# We can ignore this warning, we need to update to node 12 at some point - https://github.com/jsdom/jsdom/issues/2939
$indexes = [System.Collections.ArrayList]::new()
$index = 0;
@@ -141,7 +141,7 @@
# Loop through the list of indexes and remove the errors that we expect and feel confident we can ignore
$error.Remove($error[$_])
}
if (-not $?) { throw "Failed to build" } # that one is expected to work
} finally {
Pop-Location
@@ -168,7 +168,7 @@
$buildConfiguration = "Release"
$src = "$($this.SolutionRoot)\src"
$log = "$($this.BuildTemp)\msbuild.umbraco.log"
$log = "$($this.BuildTemp)\build.umbraco.log"
if ($this.BuildEnv.VisualStudio -eq $null)
{
@@ -178,23 +178,35 @@
Write-Host "Compile Umbraco"
Write-Host "Logging to $log"
# beware of the weird double \\ at the end of paths
# see http://edgylogic.com/blog/powershell-and-external-commands-done-right/
&$this.BuildEnv.VisualStudio.MsBuild "$src\Umbraco.Web.UI\Umbraco.Web.UI.csproj" `
/p:WarningLevel=0 `
/p:Configuration=$buildConfiguration `
/p:Platform=AnyCPU `
/p:UseWPP_CopyWebApplication=True `
/p:PipelineDependsOnBuild=False `
/p:OutDir="$($this.BuildTemp)\bin\\" `
/p:WebProjectOutputDir="$($this.BuildTemp)\WebApp\\" `
/p:Verbosity=minimal `
/t:Clean`;Rebuild `
/tv:"$($this.BuildEnv.VisualStudio.ToolsVersion)" `
/p:UmbracoBuild=True `
& dotnet build "$src\Umbraco.Web.UI.NetCore\Umbraco.Web.UI.NetCore.csproj" `
--configuration $buildConfiguration `
--output "$($this.BuildTemp)\bin\\" `
> $log
if (-not $?) { throw "Failed to compile Umbraco.Web.UI." }
# get files into WebApp\bin
& dotnet publish "$src\Umbraco.Web.UI.NetCore\Umbraco.Web.UI.NetCore.csproj" `
--configuration Release --output "$($this.BuildTemp)\WebApp\bin\\" `
> $log
& dotnet publish "$src\Umbraco.Persistence.SqlCe\Umbraco.Persistence.SqlCe.csproj" `
--configuration Release --output "$($this.BuildTemp)\SqlCe\" `
> $log
# remove extra files
$webAppBin = "$($this.BuildTemp)\WebApp\bin"
$excludeDirs = @("$($webAppBin)\refs","$($webAppBin)\runtimes","$($webAppBin)\Umbraco","$($webAppBin)\wwwroot")
$excludeFiles = @("$($webAppBin)\appsettings.*","$($webAppBin)\*.deps.json","$($webAppBin)\*.exe","$($webAppBin)\*.config","$($webAppBin)\*.runtimeconfig.json")
$this.RemoveDirectory($excludeDirs)
$this.RemoveFile($excludeFiles)
# copy rest of the files into WebApp
$this.CopyFiles("$($this.SolutionRoot)\src\Umbraco.Web.UI.NetCore\Umbraco", "*", "$($this.BuildTemp)\WebApp\umbraco")
$excludeUmbracoDirs = @("$($this.BuildTemp)\WebApp\umbraco\lib")
$this.RemoveDirectory($excludeUmbracoDirs)
$this.CopyFiles("$($this.SolutionRoot)\src\Umbraco.Web.UI.NetCore\Views", "*", "$($this.BuildTemp)\WebApp\Views")
Copy-Item "$($this.SolutionRoot)\src\Umbraco.Web.UI.NetCore\appsettings.json" "$($this.BuildTemp)\WebApp"
if (-not $?) { throw "Failed to compile Umbraco.Web.UI.NetCore." }
# /p:UmbracoBuild tells the csproj that we are building from PS, not VS
})
@@ -215,7 +227,7 @@
Write-Host "Create packaging directory"
mkdir "$($this.BuildTemp)\tests\Packaging" > $null
}
$this.CopyFiles("$($this.SolutionRoot)\src\Umbraco.Tests\Packaging\Packages", "*", "$($this.BuildTemp)\tests\Packaging\Packages")
#$this.CopyFiles("$($this.SolutionRoot)\src\Umbraco.Tests\Packaging\Packages", "*", "$($this.BuildTemp)\tests\Packaging\Packages")
# required for package install tests
if (-not (Test-Path -Path "$($this.BuildTemp)\tests\bin" ))
@@ -253,6 +265,9 @@
/p:UmbracoBuild=True `
> $log
# copy Umbraco.Persistence.SqlCe files into WebApp
Copy-Item "$($this.BuildTemp)\tests\Umbraco.Persistence.SqlCe.*" "$($this.BuildTemp)\WebApp\bin"
if (-not $?) { throw "Failed to compile tests." }
# /p:UmbracoBuild tells the csproj that we are building from PS
@@ -265,11 +280,12 @@
$src = "$($this.SolutionRoot)\src"
$tmp = "$($this.BuildTemp)"
$out = "$($this.BuildOutput)"
$templates = "$($this.SolutionRoot)\build\templates"
$buildConfiguration = "Release"
# restore web.config
$this.TempRestoreFile("$src\Umbraco.Web.UI\web.config")
#$this.TempRestoreFile("$src\Umbraco.Web.UI\web.config")
# cleanup build
Write-Host "Clean build"
@@ -282,9 +298,8 @@
# create directories
Write-Host "Create directories"
mkdir "$tmp\Configs" > $null
mkdir "$tmp\Configs\Lang" > $null
mkdir "$tmp\WebApp\App_Data" > $null
mkdir "$tmp\Templates" > $null
#mkdir "$tmp\WebApp\Media" > $null
#mkdir "$tmp\WebApp\Views" > $null
@@ -292,16 +307,8 @@
Write-Host "Copy xml documentation"
Copy-Item -force "$tmp\bin\*.xml" "$tmp\WebApp\bin"
Write-Host "Copy transformed configs and langs"
# note: exclude imageprocessor/*.config as imageprocessor pkg installs them
$this.CopyFiles("$tmp\WebApp\config", "*.config", "$tmp\Configs", `
{ -not $_.RelativeName.StartsWith("imageprocessor") })
$this.CopyFiles("$tmp\WebApp\config", "*.js", "$tmp\Configs")
$this.CopyFiles("$tmp\WebApp\config\lang", "*.xml", "$tmp\Configs\Lang")
$this.CopyFile("$tmp\WebApp\web.config", "$tmp\Configs\web.config.transform")
Write-Host "Copy transformed web.config"
$this.CopyFile("$src\Umbraco.Web.UI\web.$buildConfiguration.Config.transformed", "$tmp\WebApp\web.config")
# Write-Host "Copy transformed web.config"
# $this.CopyFile("$src\Umbraco.Web.UI\web.$buildConfiguration.Config.transformed", "$tmp\WebApp\web.config")
# offset the modified timestamps on all umbraco dlls, as WebResources
# break if date is in the future, which, due to timezone offsets can happen.
@@ -318,21 +325,35 @@
{
$nugetPackages = [System.Environment]::ExpandEnvironmentVariables("%userprofile%\.nuget\packages")
}
$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x86\native", "*.*", "$tmp\bin\x86")
$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x64\native", "*.*", "$tmp\bin\amd64")
$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x86\native", "*.*", "$tmp\WebApp\bin\x86")
$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x64\native", "*.*", "$tmp\WebApp\bin\amd64")
#$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x86\native", "*.*", "$tmp\bin\x86")
#$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x64\native", "*.*", "$tmp\bin\amd64")
#$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x86\native", "*.*", "$tmp\WebApp\bin\x86")
#$this.CopyFiles("$nugetPackages\umbraco.sqlserverce\4.0.0.1\runtimes\win-x64\native", "*.*", "$tmp\WebApp\bin\amd64")
# copy Belle
Write-Host "Copy Belle"
$this.CopyFiles("$src\Umbraco.Web.UI\umbraco\assets", "*", "$tmp\WebApp\umbraco\assets")
$this.CopyFiles("$src\Umbraco.Web.UI\umbraco\js", "*", "$tmp\WebApp\umbraco\js")
$this.CopyFiles("$src\Umbraco.Web.UI\umbraco\lib", "*", "$tmp\WebApp\umbraco\lib")
$this.CopyFiles("$src\Umbraco.Web.UI\umbraco\views", "*", "$tmp\WebApp\umbraco\views")
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore\wwwroot\umbraco\assets", "*", "$tmp\WebApp\wwwroot\umbraco\assets")
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore\wwwroot\umbraco\js", "*", "$tmp\WebApp\wwwroot\umbraco\js")
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore\wwwroot\umbraco\lib", "*", "$tmp\WebApp\wwwroot\umbraco\lib")
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore\wwwroot\umbraco\views", "*", "$tmp\WebApp\wwwroot\umbraco\views")
# Prepare templates
Write-Host "Copy template files"
$this.CopyFiles("$templates", "*", "$tmp\Templates")
Write-Host "Copy files for dotnet templates"
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore", "Program.cs", "$tmp\Templates\UmbracoProject")
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore", "Startup.cs", "$tmp\Templates\UmbracoProject")
$this.CopyFiles("$src\Umbraco.Web.UI.NetCore\Views", "*", "$tmp\Templates\UmbracoProject\Views")
$this.RemoveDirectory("$tmp\Templates\UmbracoProject\bin")
})
$ubuild.DefineMethod("PackageZip",
{
Write-Host "Create Zip packages"
$src = "$($this.SolutionRoot)\src"
@@ -365,6 +386,7 @@
$env:UMBRACO_RELEASE=$this.Version.Release
$env:UMBRACO_COMMENT=$this.Version.Comment
$env:UMBRACO_BUILD=$this.Version.Build
$env:UMBRACO_TMP="$($this.SolutionRoot)\build.tmp"
if ($args -and $args[0] -eq "vso")
{
@@ -381,16 +403,6 @@
}
})
$ubuild.DefineMethod("PrepareNuGet",
{
Write-Host "Prepare NuGet"
# add Web.config transform files to the NuGet package
Write-Host "Add web.config transforms to NuGet package"
mv "$($this.BuildTemp)\WebApp\Views\Web.config" "$($this.BuildTemp)\WebApp\Views\Web.config.transform"
})
$nugetsourceUmbraco = "https://api.nuget.org/v3/index.json"
$ubuild.DefineMethod("RestoreNuGet",
@@ -398,27 +410,22 @@
Write-Host "Restore NuGet"
Write-Host "Logging to $($this.BuildTemp)\nuget.restore.log"
$params = "-Source", $nugetsourceUmbraco
&$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\Umbraco.sln" > "$($this.BuildTemp)\nuget.restore.log" @params
&$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\umbraco-netcore-only.sln" > "$($this.BuildTemp)\nuget.restore.log" @params
if (-not $?) { throw "Failed to restore NuGet packages." }
})
$ubuild.DefineMethod("PackageNuGet",
{
$nuspecs = "$($this.SolutionRoot)\build\NuSpecs"
$templates = "$($this.BuildTemp)\Templates"
Write-Host "Create NuGet packages"
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Core.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmscore.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Core." }
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Web.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmsweb.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Web." }
&dotnet pack "$($this.SolutionRoot)\src\umbraco-netcore-only.sln" `
--output "$($this.BuildOutput)" `
--verbosity detailed `
-c Release `
-p:PackageVersion="$($this.Version.Semver.ToString())" > "$($this.BuildTemp)\pack.umbraco.log"
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
@@ -426,6 +433,31 @@
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cms.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms." }
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Examine.Lucene.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed `
-outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.examine.lucene.log"
if (-not $?) { throw "Failed to pack Nuget UmbracoCms.Lucene.nuspec"}
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.SqlCe.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmssqlce.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.SqlCe." }
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.StaticAssets.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmsstaticassets.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.StaticAssets." }
&$this.BuildEnv.NuGet Pack "$templates\Umbraco.Templates.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.templates.log"
if (-not $?) { throw "Failed to pack NuGet Umbraco.Templates." }
# run hook
if ($this.HasMethod("PostPackageNuGet"))
{
@@ -438,8 +470,8 @@
$ubuild.DefineMethod("VerifyNuGet",
{
$this.VerifyNuGetConsistency(
("UmbracoCms", "UmbracoCms.Core", "UmbracoCms.Web"),
("Umbraco.Core", "Umbraco.Web", "Umbraco.Web.UI", "Umbraco.Examine"))
("UmbracoCms"),
("Umbraco.Core", "Umbraco.Infrastructure", "Umbraco.Web.UI.NetCore", "Umbraco.Examine.Lucene", "Umbraco.PublishedCache.NuCache", "Umbraco.Web.Common", "Umbraco.Web.Website", "Umbraco.Web.BackOffice", "Umbraco.Persistence.SqlCe"))
if ($this.OnError()) { return }
})
@@ -476,7 +508,7 @@
$src = "$($this.SolutionRoot)\src"
$out = $this.BuildOutput
# Check if the solution has been built
# Check if the solution has been built
if (!(Test-Path "$src\Umbraco.Web.UI.Client\node_modules")) {throw "Umbraco needs to be built before generating the Angular Docs"}
"Moving to Umbraco.Web.UI.Docs folder"
@@ -487,7 +519,7 @@
& npx gulp docs
Pop-Location
# change baseUrl
$BaseUrl = "https://our.umbraco.com/apidocs/v8/ui/"
$IndexPath = "./api/index.html"
@@ -520,8 +552,6 @@
if ($this.OnError()) { return }
$this.VerifyNuGet()
if ($this.OnError()) { return }
$this.PrepareNuGet()
if ($this.OnError()) { return }
$this.PackageNuGet()
if ($this.OnError()) { return }
$this.PrepareAzureGallery()
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="4.1.0">
<id>Umbraco.Templates</id>
<version>1.0.0</version>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<license type="expression">MIT</license>
<projectUrl>https://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Umbraco Cms templates for .NET Core Template Engine available through the dotnet CLI's new command</description>
<language>en-US</language>
<tags>umbraco</tags>
<repository type="git" url="https://github.com/umbraco/umbraco-cms" />
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
</package>
@@ -0,0 +1,6 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,13 @@
{
"$schema": "http://json.schemastore.org/vs-2017.3.host",
"order" : 0,
"icon": "icon.png",
"description": {
"id": "UmbracoPackage",
"text": "Umbraco Package - An empty Umbraco CMS package (Plugin)"
},
"symbolInfo": [
]
}
@@ -0,0 +1,59 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Umbraco HQ",
"description": "An empty Umbraco Package/Plugin ready to get started",
"classifications": [ "Web", "CMS", "Umbraco", "Package", "Plugin"],
"groupIdentity": "Umbraco.Templates.UmbracoPackage",
"identity": "Umbraco.Templates.UmbracoPackage.CSharp",
"name": "Umbraco Package",
"shortName": "umbracopackage",
"defaultName": "UmbracoPackage1",
"preferNameDirectory": true,
"tags": {
"language": "C#",
"type": "project"
},
"primaryOutputs": [
{
"path": "UmbracoPackage.csproj"
}
],
"sourceName": "UmbracoPackage",
"preferNameDirectory": true,
"symbols": {
"version": {
"type": "parameter",
"datatype": "string",
"defaultValue": "9.0.0-beta001",
"description": "The version of Umbraco to load using NuGet",
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
},
"namespaceReplacer": {
"type": "generated",
"generator": "coalesce",
"parameters": {
"sourceVariableName": "name",
"defaultValue": "UmbracoPackage",
"fallbackVariableName": "name"
},
"replaces":"UmbracoPackage"
},
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "net5.0",
"description": "Target net5.0"
},
{
"choice": "net6.0",
"description": "Target net6.0"
}
],
"replaces": "net5.0",
"defaultValue": "net5.0"
}
}
}
@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<ContentTargetFolders>.</ContentTargetFolders>
<Product>UmbracoPackage</Product>
<PackageId>UmbracoPackage</PackageId>
<Title>UmbracoPackage</Title>
<Description>...</Description>
<Product>...</Product>
<PackageTags>umbraco plugin package</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Umbraco.Cms.Web.Website" Version="UMBRACO_VERSION_FROM_TEMPLATE"/>
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="UMBRACO_VERSION_FROM_TEMPLATE"/>
</ItemGroup>
<ItemGroup>
<Content Include="App_Plugins\UmbracoPackage\**\*.*">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
<None Include="build\**\*.*">
<Pack>True</Pack>
<PackagePath>build</PackagePath>
</None>
</ItemGroup>
</Project>
@@ -0,0 +1,27 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<UmbracoPackageContentFilesPath>$(MSBuildThisFileDirectory)..\App_Plugins\UmbracoPackage\**\*.*</UmbracoPackageContentFilesPath>
</PropertyGroup>
<Target Name="CopyUmbracoPackageAssets" BeforeTargets="Build">
<ItemGroup>
<UmbracoPackageContentFiles Include="$(UmbracoPackageContentFilesPath)" />
</ItemGroup>
<Message Text="Copying UmbracoPackage files: $(UmbracoPackageContentFilesPath) - #@(UmbracoPackageContentFiles->Count()) files" Importance="high" />
<Copy
SourceFiles="@(UmbracoPackageContentFiles)"
DestinationFiles="@(UmbracoPackageContentFiles->'$(MSBuildProjectDirectory)\App_Plugins\UmbracoPackage\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
<Target Name="ClearUmbracoPackageAssets" BeforeTargets="Clean">
<ItemGroup>
<UmbracoPackageDir Include="$(MSBuildProjectDirectory)\App_Plugins\UmbracoPackage\" />
</ItemGroup>
<Message Text="Clear old UmbracoPackage data" Importance="high" />
<RemoveDir Directories="@(UmbracoPackageDir)" />
</Target>
</Project>
@@ -0,0 +1,39 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"PackageTestSiteName": {
"longName": "PackageTestSiteName",
"shortName": "p"
},
"UseSqlCe": {
"longName": "SqlCe",
"shortName": "ce"
},
"SkipRestore": {
"longName": "no-restore",
"shortName": ""
},
"FriendlyName": {
"longName": "friendly-name",
"shortName": ""
},
"Email": {
"longName": "email",
"shortName": ""
},
"Password": {
"longName": "password",
"shortName": ""
},
"ConnectionString":{
"longName": "connection-string",
"shortName": ""
}
},
"usageExamples": [
"dotnet new umbraco -n MyNewProject",
"dotnet new umbraco -n MyNewProjectWithCE -ce",
"dotnet new umbraco -n MyNewProject --no-restore",
"dotnet new umbraco -n MyNewProject --friendly-name "Friendly User" --email user@email.com --password password1234 --connection-string "Server=ConnectionStringHere""
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,60 @@
{
"$schema": "http://json.schemastore.org/vs-2017.3.host",
"order" : 0,
"icon": "icon.png",
"description": {
"id": "UmbracoProject",
"text": "Umbraco Web Application - An empty Umbraco CMS web application"
},
"symbolInfo": [
{
"id": "UseSqlCe",
"name": {
"text": "Use Sql Compact Edition (SqlCE)"
},
"isVisible": "true"
},
{
"id": "SkipRestore",
"name": {
"text": "Skips the automatic NuGet restore of the project on create"
},
"isVisible": "true"
},
{
"id": "PackageTestSiteName",
"name": {
"text": "Optional: Specify the name of a package that this should be a test site for"
},
"isVisible": "true"
},
{
"id": "FriendlyName",
"name": {
"text": "Optional: The friendly name of the user for Umbraco login when using Unattended install"
},
"isVisible": "true"
},
{
"id": "Email",
"name": {
"text": "Optional: Email to use for Umbraco login when using Unattended install"
},
"isVisible": "true"
},
{
"id": "Password",
"name": {
"text": "Optional: Password to use for Umbraco login when using Unattended install"
},
"isVisible": "true"
},
{
"id": "ConnectionString",
"name": {
"text": "Optional: Database connection string when using Unattended install"
},
"isVisible": "true"
}
]
}
@@ -0,0 +1,140 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Umbraco HQ",
"description": "An empty Umbraco Project ready to get started",
"classifications": [ "Web", "CMS", "Umbraco"],
"groupIdentity": "Umbraco.Templates.UmbracoProject",
"identity": "Umbraco.Templates.UmbracoProject.CSharp",
"name": "Umbraco Project",
"shortName": "umbraco",
"defaultName": "UmbracoProject1",
"preferNameDirectory": true,
"tags": {
"language": "C#",
"type": "project"
},
"primaryOutputs": [
{
"path": "UmbracoProject.csproj"
}
],
"postActions": [
{
"condition": "(!SkipRestore)",
"description": "Restore NuGet packages required by this project",
"manualInstructions": [{
"text": "Run 'dotnet restore'"
}],
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
"continueOnError": true
}
],
"sourceName": "UmbracoProject",
"symbols": {
"version": {
"type": "parameter",
"datatype": "string",
"defaultValue": "9.0.0-beta001",
"description": "The version of Umbraco to load using NuGet",
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
},
"namespaceReplacer": {
"type": "generated",
"generator": "coalesce",
"parameters": {
"sourceVariableName": "name",
"defaultValue": "UmbracoProject",
"fallbackVariableName": "name"
},
"replaces":"Umbraco.Cms.Web.UI.NetCore"
},
"PackageTestSiteName": {
"type": "parameter",
"datatype":"text",
"defaultValue": "",
"replaces":"PackageTestSiteName",
"description": "The name of the package this should be a test site for (Default: '')"
},
"UseSqlCe":{
"type": "parameter",
"datatype":"bool",
"defaultValue": "false",
"description": "Adds the required dependencies to use SqlCE (Windows only) (Default: false)"
},
"Framework": {
"type": "parameter",
"description": "The target framework for the project",
"datatype": "choice",
"choices": [
{
"choice": "net5.0",
"description": "Target net5.0"
},
{
"choice": "net6.0",
"description": "Target net6.0"
}
],
"replaces": "net5.0",
"defaultValue": "net5.0"
},
"SkipRestore": {
"type": "parameter",
"datatype": "bool",
"description": "If specified, skips the automatic restore of the project on create",
"defaultValue": "false"
},
"HttpPort": {
"type": "generated",
"generator": "port",
"replaces": "HTTP_PORT_FROM_TEMPLATE",
"parameters": {
"high": 65535,
"low": 1024,
"fallback": 5000
}
},
"HttpsPort": {
"type": "generated",
"generator": "port",
"replaces": "HTTPS_PORT_FROM_TEMPLATE",
"parameters": {
"low": 44300,
"high": 44399,
"fallback": 5001
}
},
"FriendlyName":{
"type": "parameter",
"datatype":"text",
"description": "The friendly name of the user for Umbraco login when using Unattended install (Without installer wizard UI)",
"replaces": "FRIENDLY_NAME_FROM_TEMPLATE",
"defaultValue": ""
},
"Email":{
"type": "parameter",
"datatype":"text",
"description": "Email to use for Umbraco login when using Unattended install (Without installer wizard UI)",
"replaces": "EMAIL_FROM_TEMPLATE",
"defaultValue": ""
},
"Password":{
"type": "parameter",
"datatype":"text",
"description": "Password to use for Umbraco login when using Unattended install (Without installer wizard UI)",
"replaces": "PASSWORD_FROM_TEMPLATE",
"defaultValue": ""
},
"ConnectionString":{
"type": "parameter",
"datatype":"text",
"description": "Database connection string when using Unattended install (Without installer wizard UI)",
"replaces": "CONNECTION_FROM_TEMPLATE",
"defaultValue": ""
},
"UsingUnattenedInstall":{
"type": "computed",
"value": "(FriendlyName != \"\" && Email != \"\" && Password != \"\" && ConnectionString != \"\")"
}
}
}
@@ -0,0 +1,26 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:HTTP_PORT_FROM_TEMPLATE",
"sslPort": HTTPS_PORT_FROM_TEMPLATE
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Umbraco.Web.UI.NetCore": {
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:HTTPS_PORT_FROM_TEMPLATE;http://localhost:HTTP_PORT_FROM_TEMPLATE"
}
}
}
@@ -0,0 +1,54 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Umbraco.Cms" Version="UMBRACO_VERSION_FROM_TEMPLATE" />
<PackageReference Include="Umbraco.Cms.SqlCe" Version="UMBRACO_VERSION_FROM_TEMPLATE" Condition="'$(UseSqlCe)' == 'true'" />
<PackageReference Include="Umbraco.SqlServerCE" Version="4.0.0.1" Condition="'$(UseSqlCe)' == 'true'" />
</ItemGroup>
<Import Project="..\PackageTestSiteName\build\PackageTestSiteName.targets" Condition="'$(PackageTestSiteName)' != ''"/>
<ItemGroup Condition="'$(PackageTestSiteName)' != ''">
<ProjectReference Include="..\PackageTestSiteName\PackageTestSiteName.csproj"/>
</ItemGroup>
<ItemGroup>
<Compile Remove="umbraco\Data\**" />
<Compile Remove="umbraco\logs\**" />
<Compile Remove="umbraco\MediaCache\**" />
<Compile Remove="umbraco\models\**" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Remove="umbraco\Data\**" />
<EmbeddedResource Remove="umbraco\logs\**" />
<EmbeddedResource Remove="umbraco\MediaCache\**" />
<EmbeddedResource Remove="umbraco\models\**" />
</ItemGroup>
<ItemGroup>
<None Remove="umbraco\models\**" />
<None Remove="umbraco\Data\**" />
<None Remove="umbraco\logs\**" />
<None Remove="umbraco\MediaCache\**" />
<None Include="config\**\*.*">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</None>
<None Include="umbraco\**\*.*">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Remove="umbraco\Data\**" />
<Content Remove="umbraco\logs\**" />
<Content Remove="umbraco\MediaCache\**" />
<Content Remove="umbraco\models\**" />
</ItemGroup>
<!--Set this to true ModelsBuilder mode is not PureLive -->
<PropertyGroup>
<RazorCompileOnBuild>false</RazorCompileOnBuild>
</PropertyGroup>
</Project>
@@ -0,0 +1,4 @@
@using Umbraco.Web.UI.NetCore
@using Umbraco.Extensions
@using Umbraco.Web.PublishedModels
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@@ -0,0 +1,50 @@
{
"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console"
}
]
}
}
]
},
//#if (UsingUnattenedInstall)
"ConnectionStrings": {
"umbracoDbDSN": "CONNECTION_FROM_TEMPLATE"
},
//#endif
"Umbraco": {
"CMS": {
//#if (UsingUnattenedInstall)
"Unattended": {
"InstallUnattended": true,
"UnattendedUserName": "FRIENDLY_NAME_FROM_TEMPLATE",
"UnattendedUserEmail": "EMAIL_FROM_TEMPLATE",
"UnattendedUserPassword": "PASSWORD_FROM_TEMPLATE"
},
//#endif
"Global": {
"Smtp": {
"From": "your@email.here",
"Host": "localhost",
"Port": 25
}
},
"Hosting": {
"Debug": true
},
"RuntimeMinification": {
"useInMemoryCache": true,
"cacheBuster": "Timestamp"
}
}
}
}
@@ -0,0 +1,22 @@
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"System": "Warning"
}
}
},
"ConnectionStrings": {
"umbracoDbDSN": ""
},
"Umbraco": {
"CMS": {
"Hosting": {
"Debug": false
}
}
}
}
+447
View File
@@ -0,0 +1,447 @@
# Version: 1.6.2 (Using https://semver.org/)
# Updated: 2020-11-02
# See https://github.com/RehanSaeed/EditorConfig/releases for release notes.
# See https://github.com/RehanSaeed/EditorConfig for updates to this file.
# See http://EditorConfig.org for more information about .editorconfig files.
##########################################
# Common Settings
##########################################
# This file is the top-most EditorConfig file
root = true
# All Files
[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
##########################################
# File Extension Settings
##########################################
# Visual Studio Solution Files
[*.sln]
indent_style = tab
# Visual Studio XML Project Files
[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# XML Configuration Files
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
indent_size = 2
# JSON Files
[*.{json,json5,webmanifest}]
indent_size = 2
# YAML Files
[*.{yml,yaml}]
indent_size = 2
# Markdown Files
[*.md]
trim_trailing_whitespace = false
# Web Files
[*.{htm,html,js,jsm,ts,tsx,css,sass,scss,less,svg,vue}]
indent_size = 2
# Batch Files
[*.{cmd,bat}]
end_of_line = crlf
# Bash Files
[*.sh]
end_of_line = lf
# Makefiles
[Makefile]
indent_style = tab
##########################################
# File Header (Uncomment to support file headers)
# https://docs.microsoft.com/visualstudio/ide/reference/add-file-header
##########################################
# [*.{cs,csx,cake,vb,vbx}]
file_header_template = Copyright (c) Umbraco.\nSee LICENSE for more details.
# SA1636: File header copyright text should match
# Justification: .editorconfig supports file headers. If this is changed to a value other than "none", a stylecop.json file will need to added to the project.
# dotnet_diagnostic.SA1636.severity = none
##########################################
# .NET Language Conventions
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions
##########################################
# .NET Code Style Settings
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#net-code-style-settings
[*.{cs,csx,cake,vb,vbx}]
# "this." and "Me." qualifiers
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#this-and-me
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
# Language keywords instead of framework type names for type references
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#language-keywords
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning
# Modifier preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#normalize-modifiers
dotnet_style_require_accessibility_modifiers = always:warning
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:warning
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:warning
dotnet_style_readonly_field = true:warning
# Parentheses preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#parentheses-preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:suggestion
# Expression-level preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-level-preferences
dotnet_style_object_initializer = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_prefer_inferred_tuple_names = true:warning
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = false:suggestion
dotnet_style_prefer_conditional_expression_over_return = false:suggestion
dotnet_style_prefer_compound_assignment = true:warning
# Null-checking preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#null-checking-preferences
dotnet_style_coalesce_expression = true:warning
dotnet_style_null_propagation = true:warning
# Parameter preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#parameter-preferences
dotnet_code_quality_unused_parameters = all:warning
# More style options (Undocumented)
# https://github.com/MicrosoftDocs/visualstudio-docs/issues/3641
dotnet_style_operator_placement_when_wrapping = end_of_line
# https://github.com/dotnet/roslyn/pull/40070
dotnet_style_prefer_simplified_interpolation = true:warning
# C# Code Style Settings
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#c-code-style-settings
[*.{cs,csx,cake}]
# Implicit and explicit types
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#implicit-and-explicit-types
csharp_style_var_for_built_in_types = never
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = false:warning
# Expression-bodied members
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-bodied-members
csharp_style_expression_bodied_methods = true:warning
csharp_style_expression_bodied_constructors = true:warning
csharp_style_expression_bodied_operators = true:warning
csharp_style_expression_bodied_properties = true:warning
csharp_style_expression_bodied_indexers = true:warning
csharp_style_expression_bodied_accessors = true:warning
csharp_style_expression_bodied_lambdas = true:warning
csharp_style_expression_bodied_local_functions = true:warning
# Pattern matching
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#pattern-matching
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning
# Inlined variable declarations
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#inlined-variable-declarations
csharp_style_inlined_variable_declaration = true:warning
# Expression-level preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-level-preferences
csharp_prefer_simple_default_expression = true:warning
# "Null" checking preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#c-null-checking-preferences
csharp_style_throw_expression = true:warning
csharp_style_conditional_delegate_call = true:warning
# Code block preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#code-block-preferences
csharp_prefer_braces = true:warning
# Unused value preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#unused-value-preferences
csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
# Index and range preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#index-and-range-preferences
csharp_style_prefer_index_operator = true:warning
csharp_style_prefer_range_operator = true:warning
# Miscellaneous preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#miscellaneous-preferences
csharp_style_deconstructed_variable_declaration = true:warning
csharp_style_pattern_local_over_anonymous_function = true:warning
csharp_using_directive_placement = outside_namespace:warning
csharp_prefer_static_local_function = true:warning
csharp_prefer_simple_using_statement = true:suggestion
##########################################
# .NET Formatting Conventions
# https://docs.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference#formatting-conventions
##########################################
# Organize usings
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#organize-using-directives
dotnet_sort_system_directives_first = true
# Newline options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#new-line-options
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true
# Indentation options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#indentation-options
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = no_change
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents_when_block = false
# Spacing options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#spacing-options
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_after_comma = true
csharp_space_before_comma = false
csharp_space_after_dot = false
csharp_space_before_dot = false
csharp_space_after_semicolon_in_for_statement = true
csharp_space_before_semicolon_in_for_statement = false
csharp_space_around_declaration_statements = false
csharp_space_before_open_square_brackets = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_square_brackets = false
# Wrapping options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#wrap-options
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
##########################################
# .NET Naming Conventions
# https://docs.microsoft.com/visualstudio/ide/editorconfig-naming-conventions
##########################################
[*.{cs,csx,cake,vb,vbx}]
##########################################
# Styles
##########################################
# camel_case_style - Define the camelCase style
dotnet_naming_style.camel_case_style.capitalization = camel_case
# pascal_case_style - Define the PascalCase style
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# first_upper_style - The first character must start with an upper-case character
dotnet_naming_style.first_upper_style.capitalization = first_word_upper
# prefix_interface_with_i_style - Interfaces must be PascalCase and the first character of an interface must be an 'I'
dotnet_naming_style.prefix_interface_with_i_style.capitalization = pascal_case
dotnet_naming_style.prefix_interface_with_i_style.required_prefix = I
# prefix_type_parameters_with_t_style - Generic Type Parameters must be PascalCase and the first character must be a 'T'
dotnet_naming_style.prefix_type_parameters_with_t_style.capitalization = pascal_case
dotnet_naming_style.prefix_type_parameters_with_t_style.required_prefix = T
# disallowed_style - Anything that has this style applied is marked as disallowed
dotnet_naming_style.disallowed_style.capitalization = pascal_case
dotnet_naming_style.disallowed_style.required_prefix = ____RULE_VIOLATION____
dotnet_naming_style.disallowed_style.required_suffix = ____RULE_VIOLATION____
# internal_error_style - This style should never occur... if it does, it indicates a bug in file or in the parser using the file
dotnet_naming_style.internal_error_style.capitalization = pascal_case
dotnet_naming_style.internal_error_style.required_prefix = ____INTERNAL_ERROR____
dotnet_naming_style.internal_error_style.required_suffix = ____INTERNAL_ERROR____
##########################################
# .NET Design Guideline Field Naming Rules
# Naming rules for fields follow the .NET Framework design guidelines
# https://docs.microsoft.com/dotnet/standard/design-guidelines/index
##########################################
# All public/protected/protected_internal constant fields must be PascalCase
# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.public_protected_constant_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.public_protected_constant_fields_group.required_modifiers = const
dotnet_naming_symbols.public_protected_constant_fields_group.applicable_kinds = field
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.symbols = public_protected_constant_fields_group
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.severity = warning
# All public/protected/protected_internal static readonly fields must be PascalCase
# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.public_protected_static_readonly_fields_group.required_modifiers = static, readonly
dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_kinds = field
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.symbols = public_protected_static_readonly_fields_group
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.severity = warning
# No other public/protected/protected_internal fields are allowed
# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.other_public_protected_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.other_public_protected_fields_group.applicable_kinds = field
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.symbols = other_public_protected_fields_group
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.style = disallowed_style
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.severity = error
##########################################
# StyleCop Field Naming Rules
# Naming rules for fields follow the StyleCop analyzers
# This does not override any rules using disallowed_style above
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
##########################################
# All constant fields must be PascalCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1303.md
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private
dotnet_naming_symbols.stylecop_constant_fields_group.required_modifiers = const
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.symbols = stylecop_constant_fields_group
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.severity = warning
# All static readonly fields must be PascalCase
# Ajusted to ignore private fields.
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1311.md
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected
dotnet_naming_symbols.stylecop_static_readonly_fields_group.required_modifiers = static, readonly
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.symbols = stylecop_static_readonly_fields_group
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.severity = warning
# No non-private instance fields are allowed
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1401.md
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_kinds = field
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.symbols = stylecop_fields_must_be_private_group
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.style = disallowed_style
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.severity = error
# Local variables must be camelCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1312.md
dotnet_naming_symbols.stylecop_local_fields_group.applicable_accessibilities = local
dotnet_naming_symbols.stylecop_local_fields_group.applicable_kinds = local
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.symbols = stylecop_local_fields_group
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.style = camel_case_style
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.severity = silent
# This rule should never fire. However, it's included for at least two purposes:
# First, it helps to understand, reason about, and root-case certain types of issues, such as bugs in .editorconfig parsers.
# Second, it helps to raise immediate awareness if a new field type is added (as occurred recently in C#).
dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_accessibilities = *
dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_kinds = field
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.symbols = sanity_check_uncovered_field_case_group
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.style = internal_error_style
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.severity = error
##########################################
# Other Naming Rules
##########################################
# All of the following must be PascalCase:
# - Namespaces
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-namespaces
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
# - Classes and Enumerations
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
# - Delegates
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces#names-of-common-types
# - Constructors, Properties, Events, Methods
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-type-members
dotnet_naming_symbols.element_group.applicable_kinds = namespace, class, enum, struct, delegate, event, method, property
dotnet_naming_rule.element_rule.symbols = element_group
dotnet_naming_rule.element_rule.style = pascal_case_style
dotnet_naming_rule.element_rule.severity = warning
# Interfaces use PascalCase and are prefixed with uppercase 'I'
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
dotnet_naming_symbols.interface_group.applicable_kinds = interface
dotnet_naming_rule.interface_rule.symbols = interface_group
dotnet_naming_rule.interface_rule.style = prefix_interface_with_i_style
dotnet_naming_rule.interface_rule.severity = warning
# Generics Type Parameters use PascalCase and are prefixed with uppercase 'T'
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
dotnet_naming_symbols.type_parameter_group.applicable_kinds = type_parameter
dotnet_naming_rule.type_parameter_rule.symbols = type_parameter_group
dotnet_naming_rule.type_parameter_rule.style = prefix_type_parameters_with_t_style
dotnet_naming_rule.type_parameter_rule.severity = warning
# Function parameters use camelCase
# https://docs.microsoft.com/dotnet/standard/design-guidelines/naming-parameters
dotnet_naming_symbols.parameters_group.applicable_kinds = parameter
dotnet_naming_rule.parameters_rule.symbols = parameters_group
dotnet_naming_rule.parameters_rule.style = camel_case_style
dotnet_naming_rule.parameters_rule.severity = warning
# Private static fields use camelCase and start with s_
dotnet_naming_symbols.private_static_field_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_field_symbols.required_modifiers = static, shared
dotnet_naming_symbols.private_static_field_symbols.applicable_kinds = field
dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.symbols = private_static_field_symbols
dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.style = camel_case_and_prefix_with_s_underscore_style
dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.severity = warning
dotnet_naming_style.camel_case_and_prefix_with_s_underscore_style.required_prefix = s_
dotnet_naming_style.camel_case_and_prefix_with_s_underscore_style.capitalization = camel_case
# Instance fields use camelCase and are prefixed with '_'
dotnet_naming_symbols.private_field_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_field_symbols.applicable_kinds = field
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.symbols = private_field_symbols
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.style = camel_case_and_prefix_with_underscore_style
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.severity = warning
dotnet_naming_style.camel_case_and_prefix_with_underscore_style.required_prefix = _
dotnet_naming_style.camel_case_and_prefix_with_underscore_style.capitalization = camel_case
##########################################
# License
##########################################
# The following applies as to the .editorconfig file ONLY, and is
# included below for reference, per the requirements of the license
# corresponding to this .editorconfig file.
# See: https://github.com/RehanSaeed/EditorConfig
#
# MIT License
#
# Copyright (c) 2017-2019 Muhammad Rehan Saeed
# Copyright (c) 2019 Henry Gabryjelski
#
# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the
# Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject
# to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
##########################################
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="CodeAnalysis" ToolsVersion="16.0">
<Rules AnalyzerId="Roslynator.CSharp.Analyzers" RuleNamespace="Roslynator.CSharp">
<Rule Id="RCS1090" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA1101" Action="None" />
<Rule Id="SA1200" Action="None" />
<Rule Id="SA1308" Action="None" />
<Rule Id="SA1309" Action="None" />
<Rule Id="SA1311" Action="None" />
<Rule Id="SA1402" Action="None" />
<Rule Id="SA1413" Action="None" />
<Rule Id="SA1611" Action="None" />
<Rule Id="SA1615" Action="None" />
<Rule Id="SA1629" Action="None" />
</Rules>
</RuleSet>
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="CodeAnalysis.Tests" ToolsVersion="16.0">
<Include Path="codeanalysis.ruleset" Action="Default" />
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
<Rule Id="CS1591" Action="None" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features">
<Rule Id="IDE0058" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA0001" Action="None" />
<Rule Id="SA1115" Action="None" />
<Rule Id="SA1201" Action="None" />
<Rule Id="SA1202" Action="None" />
<Rule Id="SA1203" Action="None" />
<Rule Id="SA1204" Action="None" />
<Rule Id="SA1310" Action="None" />
<Rule Id="SA1401" Action="None" />
<Rule Id="SA1600" Action="None" />
<Rule Id="SA1601" Action="None" />
<Rule Id="SA1602" Action="None" />
<Rule Id="SA1611" Action="None" />
<Rule Id="SA1618" Action="None" />
<Rule Id="SA1642" Action="None" />
</Rules>
</RuleSet>
+16
View File
@@ -0,0 +1,16 @@
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"orderingRules": {
"usingDirectivesPlacement": "outsideNamespace",
"elementOrder": [
"kind"
]
},
"documentationRules": {
"xmlHeader": false,
"documentInternalElements": false,
"copyrightText": "Copyright (c) Umbraco.\nSee LICENSE for more details."
}
}
}
+447
View File
@@ -0,0 +1,447 @@
# Version: 1.6.2 (Using https://semver.org/)
# Updated: 2020-11-02
# See https://github.com/RehanSaeed/EditorConfig/releases for release notes.
# See https://github.com/RehanSaeed/EditorConfig for updates to this file.
# See http://EditorConfig.org for more information about .editorconfig files.
##########################################
# Common Settings
##########################################
# This file is the top-most EditorConfig file
root = true
# All Files
[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
##########################################
# File Extension Settings
##########################################
# Visual Studio Solution Files
[*.sln]
indent_style = tab
# Visual Studio XML Project Files
[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# XML Configuration Files
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
indent_size = 2
# JSON Files
[*.{json,json5,webmanifest}]
indent_size = 2
# YAML Files
[*.{yml,yaml}]
indent_size = 2
# Markdown Files
[*.md]
trim_trailing_whitespace = false
# Web Files
[*.{htm,html,js,jsm,ts,tsx,css,sass,scss,less,svg,vue}]
indent_size = 2
# Batch Files
[*.{cmd,bat}]
end_of_line = crlf
# Bash Files
[*.sh]
end_of_line = lf
# Makefiles
[Makefile]
indent_style = tab
##########################################
# File Header (Uncomment to support file headers)
# https://docs.microsoft.com/visualstudio/ide/reference/add-file-header
##########################################
# [*.{cs,csx,cake,vb,vbx}]
file_header_template = Copyright (c) Umbraco.\nSee LICENSE for more details.
# SA1636: File header copyright text should match
# Justification: .editorconfig supports file headers. If this is changed to a value other than "none", a stylecop.json file will need to added to the project.
# dotnet_diagnostic.SA1636.severity = none
##########################################
# .NET Language Conventions
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions
##########################################
# .NET Code Style Settings
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#net-code-style-settings
[*.{cs,csx,cake,vb,vbx}]
# "this." and "Me." qualifiers
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#this-and-me
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
# Language keywords instead of framework type names for type references
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#language-keywords
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning
# Modifier preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#normalize-modifiers
dotnet_style_require_accessibility_modifiers = always:warning
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:warning
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:warning
dotnet_style_readonly_field = true:warning
# Parentheses preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#parentheses-preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:suggestion
# Expression-level preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-level-preferences
dotnet_style_object_initializer = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_prefer_inferred_tuple_names = true:warning
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = false:suggestion
dotnet_style_prefer_conditional_expression_over_return = false:suggestion
dotnet_style_prefer_compound_assignment = true:warning
# Null-checking preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#null-checking-preferences
dotnet_style_coalesce_expression = true:warning
dotnet_style_null_propagation = true:warning
# Parameter preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#parameter-preferences
dotnet_code_quality_unused_parameters = all:warning
# More style options (Undocumented)
# https://github.com/MicrosoftDocs/visualstudio-docs/issues/3641
dotnet_style_operator_placement_when_wrapping = end_of_line
# https://github.com/dotnet/roslyn/pull/40070
dotnet_style_prefer_simplified_interpolation = true:warning
# C# Code Style Settings
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#c-code-style-settings
[*.{cs,csx,cake}]
# Implicit and explicit types
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#implicit-and-explicit-types
csharp_style_var_for_built_in_types = never
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = false:warning
# Expression-bodied members
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-bodied-members
csharp_style_expression_bodied_methods = true:warning
csharp_style_expression_bodied_constructors = true:warning
csharp_style_expression_bodied_operators = true:warning
csharp_style_expression_bodied_properties = true:warning
csharp_style_expression_bodied_indexers = true:warning
csharp_style_expression_bodied_accessors = true:warning
csharp_style_expression_bodied_lambdas = true:warning
csharp_style_expression_bodied_local_functions = true:warning
# Pattern matching
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#pattern-matching
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning
# Inlined variable declarations
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#inlined-variable-declarations
csharp_style_inlined_variable_declaration = true:warning
# Expression-level preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-level-preferences
csharp_prefer_simple_default_expression = true:warning
# "Null" checking preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#c-null-checking-preferences
csharp_style_throw_expression = true:warning
csharp_style_conditional_delegate_call = true:warning
# Code block preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#code-block-preferences
csharp_prefer_braces = true:warning
# Unused value preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#unused-value-preferences
csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
# Index and range preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#index-and-range-preferences
csharp_style_prefer_index_operator = true:warning
csharp_style_prefer_range_operator = true:warning
# Miscellaneous preferences
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#miscellaneous-preferences
csharp_style_deconstructed_variable_declaration = true:warning
csharp_style_pattern_local_over_anonymous_function = true:warning
csharp_using_directive_placement = outside_namespace:warning
csharp_prefer_static_local_function = true:warning
csharp_prefer_simple_using_statement = true:suggestion
##########################################
# .NET Formatting Conventions
# https://docs.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference#formatting-conventions
##########################################
# Organize usings
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#organize-using-directives
dotnet_sort_system_directives_first = true
# Newline options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#new-line-options
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true
# Indentation options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#indentation-options
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = no_change
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents_when_block = false
# Spacing options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#spacing-options
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_after_comma = true
csharp_space_before_comma = false
csharp_space_after_dot = false
csharp_space_before_dot = false
csharp_space_after_semicolon_in_for_statement = true
csharp_space_before_semicolon_in_for_statement = false
csharp_space_around_declaration_statements = false
csharp_space_before_open_square_brackets = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_square_brackets = false
# Wrapping options
# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#wrap-options
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
##########################################
# .NET Naming Conventions
# https://docs.microsoft.com/visualstudio/ide/editorconfig-naming-conventions
##########################################
[*.{cs,csx,cake,vb,vbx}]
##########################################
# Styles
##########################################
# camel_case_style - Define the camelCase style
dotnet_naming_style.camel_case_style.capitalization = camel_case
# pascal_case_style - Define the PascalCase style
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# first_upper_style - The first character must start with an upper-case character
dotnet_naming_style.first_upper_style.capitalization = first_word_upper
# prefix_interface_with_i_style - Interfaces must be PascalCase and the first character of an interface must be an 'I'
dotnet_naming_style.prefix_interface_with_i_style.capitalization = pascal_case
dotnet_naming_style.prefix_interface_with_i_style.required_prefix = I
# prefix_type_parameters_with_t_style - Generic Type Parameters must be PascalCase and the first character must be a 'T'
dotnet_naming_style.prefix_type_parameters_with_t_style.capitalization = pascal_case
dotnet_naming_style.prefix_type_parameters_with_t_style.required_prefix = T
# disallowed_style - Anything that has this style applied is marked as disallowed
dotnet_naming_style.disallowed_style.capitalization = pascal_case
dotnet_naming_style.disallowed_style.required_prefix = ____RULE_VIOLATION____
dotnet_naming_style.disallowed_style.required_suffix = ____RULE_VIOLATION____
# internal_error_style - This style should never occur... if it does, it indicates a bug in file or in the parser using the file
dotnet_naming_style.internal_error_style.capitalization = pascal_case
dotnet_naming_style.internal_error_style.required_prefix = ____INTERNAL_ERROR____
dotnet_naming_style.internal_error_style.required_suffix = ____INTERNAL_ERROR____
##########################################
# .NET Design Guideline Field Naming Rules
# Naming rules for fields follow the .NET Framework design guidelines
# https://docs.microsoft.com/dotnet/standard/design-guidelines/index
##########################################
# All public/protected/protected_internal constant fields must be PascalCase
# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.public_protected_constant_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.public_protected_constant_fields_group.required_modifiers = const
dotnet_naming_symbols.public_protected_constant_fields_group.applicable_kinds = field
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.symbols = public_protected_constant_fields_group
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.severity = warning
# All public/protected/protected_internal static readonly fields must be PascalCase
# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.public_protected_static_readonly_fields_group.required_modifiers = static, readonly
dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_kinds = field
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.symbols = public_protected_static_readonly_fields_group
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.severity = warning
# No other public/protected/protected_internal fields are allowed
# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.other_public_protected_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.other_public_protected_fields_group.applicable_kinds = field
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.symbols = other_public_protected_fields_group
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.style = disallowed_style
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.severity = error
##########################################
# StyleCop Field Naming Rules
# Naming rules for fields follow the StyleCop analyzers
# This does not override any rules using disallowed_style above
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
##########################################
# All constant fields must be PascalCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1303.md
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private
dotnet_naming_symbols.stylecop_constant_fields_group.required_modifiers = const
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.symbols = stylecop_constant_fields_group
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.severity = warning
# All static readonly fields must be PascalCase
# Ajusted to ignore private fields.
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1311.md
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected
dotnet_naming_symbols.stylecop_static_readonly_fields_group.required_modifiers = static, readonly
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.symbols = stylecop_static_readonly_fields_group
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.severity = warning
# No non-private instance fields are allowed
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1401.md
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_kinds = field
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.symbols = stylecop_fields_must_be_private_group
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.style = disallowed_style
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.severity = error
# Local variables must be camelCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1312.md
dotnet_naming_symbols.stylecop_local_fields_group.applicable_accessibilities = local
dotnet_naming_symbols.stylecop_local_fields_group.applicable_kinds = local
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.symbols = stylecop_local_fields_group
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.style = camel_case_style
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.severity = silent
# This rule should never fire. However, it's included for at least two purposes:
# First, it helps to understand, reason about, and root-case certain types of issues, such as bugs in .editorconfig parsers.
# Second, it helps to raise immediate awareness if a new field type is added (as occurred recently in C#).
dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_accessibilities = *
dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_kinds = field
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.symbols = sanity_check_uncovered_field_case_group
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.style = internal_error_style
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.severity = error
##########################################
# Other Naming Rules
##########################################
# All of the following must be PascalCase:
# - Namespaces
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-namespaces
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
# - Classes and Enumerations
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
# - Delegates
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces#names-of-common-types
# - Constructors, Properties, Events, Methods
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-type-members
dotnet_naming_symbols.element_group.applicable_kinds = namespace, class, enum, struct, delegate, event, method, property
dotnet_naming_rule.element_rule.symbols = element_group
dotnet_naming_rule.element_rule.style = pascal_case_style
dotnet_naming_rule.element_rule.severity = warning
# Interfaces use PascalCase and are prefixed with uppercase 'I'
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
dotnet_naming_symbols.interface_group.applicable_kinds = interface
dotnet_naming_rule.interface_rule.symbols = interface_group
dotnet_naming_rule.interface_rule.style = prefix_interface_with_i_style
dotnet_naming_rule.interface_rule.severity = warning
# Generics Type Parameters use PascalCase and are prefixed with uppercase 'T'
# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
dotnet_naming_symbols.type_parameter_group.applicable_kinds = type_parameter
dotnet_naming_rule.type_parameter_rule.symbols = type_parameter_group
dotnet_naming_rule.type_parameter_rule.style = prefix_type_parameters_with_t_style
dotnet_naming_rule.type_parameter_rule.severity = warning
# Function parameters use camelCase
# https://docs.microsoft.com/dotnet/standard/design-guidelines/naming-parameters
dotnet_naming_symbols.parameters_group.applicable_kinds = parameter
dotnet_naming_rule.parameters_rule.symbols = parameters_group
dotnet_naming_rule.parameters_rule.style = camel_case_style
dotnet_naming_rule.parameters_rule.severity = warning
# Private static fields use camelCase and start with s_
dotnet_naming_symbols.private_static_field_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_field_symbols.required_modifiers = static, shared
dotnet_naming_symbols.private_static_field_symbols.applicable_kinds = field
dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.symbols = private_static_field_symbols
dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.style = camel_case_and_prefix_with_s_underscore_style
dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.severity = warning
dotnet_naming_style.camel_case_and_prefix_with_s_underscore_style.required_prefix = s_
dotnet_naming_style.camel_case_and_prefix_with_s_underscore_style.capitalization = camel_case
# Instance fields use camelCase and are prefixed with '_'
dotnet_naming_symbols.private_field_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_field_symbols.applicable_kinds = field
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.symbols = private_field_symbols
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.style = camel_case_and_prefix_with_underscore_style
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.severity = warning
dotnet_naming_style.camel_case_and_prefix_with_underscore_style.required_prefix = _
dotnet_naming_style.camel_case_and_prefix_with_underscore_style.capitalization = camel_case
##########################################
# License
##########################################
# The following applies as to the .editorconfig file ONLY, and is
# included below for reference, per the requirements of the license
# corresponding to this .editorconfig file.
# See: https://github.com/RehanSaeed/EditorConfig
#
# MIT License
#
# Copyright (c) 2017-2019 Muhammad Rehan Saeed
# Copyright (c) 2019 Henry Gabryjelski
#
# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the
# Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject
# to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
##########################################
+4 -6
View File
@@ -1,10 +1,8 @@
apiRules:
- include:
uidRegex: ^Umbraco\.Core
- exclude:
uidRegex: ^umbraco\.Web\.org
uidRegex: ^Umbraco\.Cms
- include:
uidRegex: ^Umbraco\.Web
uidRegex: ^Umbraco\.Extensions
- exclude:
hasAttribute:
uid: System.ComponentModel.EditorBrowsableAttribute
@@ -13,6 +11,6 @@ apiRules:
- exclude:
uidRegex: ^umbraco\.
- exclude:
uidRegex: ^CookComputing\.
uidRegex: ^CookComputing\.
- exclude:
uidRegex: ^.*$
uidRegex: ^.*$
+10 -5
View File
@@ -2,15 +2,20 @@
"metadata": [
{
"src": [
{
{
"src": "../",
"files": [
"Umbraco.Core/Umbraco.Core.csproj",
"Umbraco.Web/Umbraco.Web.csproj"
"**/*.csproj",
"**/Umbraco.Infrastructure/**/*.cs"
],
"exclude": [
"**/obj/**",
"**/bin/**"
"**/bin/**",
"**/Umbraco.Web.csproj",
"**/Umbraco.Infrastructure.csproj",
"**/Umbraco.Web.UI.csproj",
"**/Umbraco.Web.UI.Netcore.csproj",
"**/**.Test**/*.csproj"
]
}
],
@@ -53,7 +58,7 @@
"_enableSearch": true,
"_disableContribution": false
},
"dest": "../../build.tmp/_site",
"dest": "_site",
"template": [
"default", "umbracotemplate"
]
+6 -2
View File
@@ -3,5 +3,9 @@
## Quick Links:
### [Umbraco.Core](api/Umbraco.Core.html) docs
### [Umbraco.Web](api/Umbraco.Web.html) docs
### [Core](api/Umbraco.Cms.Core.html) docs
### [Infrastructure](api/Umbraco.Cms.Infrastructure.html) docs
### [Web](api/Umbraco.Cms.Web.Common.html) docs
### [Extensions](api/Umbraco.Extensions.html) docs
+8 -4
View File
@@ -1,5 +1,9 @@
- name: Core
href: api/Umbraco.Cms.Core.html
- name: Infrastructure
href: api/Umbraco.Cms.Infrastructure.html
- name: Web
href: api/Umbraco.Cms.Web.Common.html
- name: Extensions
href: api/Umbraco.Extensions.html
- name: Umbraco.Core Documentation
href: https://our.umbraco.com/apidocs/csharp/api/Umbraco.Core.html
- name: Umbraco.Web Documentation
href: https://our.umbraco.com/apidocs/csharp/api/Umbraco.Web.html
@@ -9,7 +9,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" alt="Our Umbraco"></a>
<a class="navbar-brand" href="{{_rel}}" alt="Our Umbraco"></a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
+21
View File
@@ -0,0 +1,21 @@
<Project>
<PropertyGroup>
<Version>9.0.0</Version>
<AssemblyVersion>9.0.0</AssemblyVersion>
<InformationalVersion>9.0.0-beta001</InformationalVersion>
<FileVersion>9.0.0</FileVersion>
<LangVersion Condition="'$(LangVersion)' == ''">9.0</LangVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<Company>Umbraco CMS</Company>
<Copyright>Copyright © Umbraco 2021</Copyright>
<Authors>Umbraco HQ</Authors>
<PackageProjectUrl>https://umbraco.com/</PackageProjectUrl>
<PackageIconUrl>https://umbraco.com/dist/nuget/logo-small.png</PackageIconUrl>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>umbraco</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/umbraco/umbraco-cms</RepositoryUrl>
</PropertyGroup>
</Project>
-22
View File
@@ -1,22 +0,0 @@
using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64602/what-are-differences-between-assemblyversion-assemblyfileversion-and-assemblyin
// note: do NOT change anything here manually, use the build scripts
// this is the ONLY ONE the CLR cares about for compatibility
// should change ONLY when "hard" breaking compatibility (manual change)
[assembly: AssemblyVersion("8.0.0")]
// these are FYI and changed automatically
[assembly: AssemblyFileVersion("8.8.4")]
[assembly: AssemblyInformationalVersion("8.8.4")]
@@ -1,8 +1,4 @@
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a domain is being assigned to a document
@@ -1,8 +1,4 @@
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is used as a security constraint that grants a user the ability to view nodes in a tree
@@ -1,4 +1,4 @@
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
// TODO: Add this back in when we support this functionality again
///// <summary>
@@ -0,0 +1,41 @@
using System.Collections.Generic;
using System.Linq;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Models.Membership;
using Umbraco.Extensions;
namespace Umbraco.Cms.Core.Actions
{
public class ActionCollection : BuilderCollectionBase<IAction>
{
public ActionCollection(IEnumerable<IAction> items)
: base(items)
{ }
public T GetAction<T>()
where T : IAction
{
return this.OfType<T>().FirstOrDefault();
}
public IEnumerable<IAction> GetByLetters(IEnumerable<string> letters)
{
var actions = this.ToArray(); // no worry: internally, it's already an array
return letters
.Where(x => x.Length == 1)
.Select(x => actions.FirstOrDefault(y => y.Letter == x[0]))
.WhereNotNull()
.ToList();
}
public IReadOnlyList<IAction> FromEntityPermission(EntityPermission entityPermission)
{
var actions = this.ToArray(); // no worry: internally, it's already an array
return entityPermission.AssignedPermissions
.Where(x => x.Length == 1)
.SelectMany(x => actions.Where(y => y.Letter == x[0]))
.WhereNotNull()
.ToList();
}
}
}
@@ -1,14 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core.Composing;
namespace Umbraco.Web.Actions
using Umbraco.Cms.Core.Composing;
namespace Umbraco.Cms.Core.Actions
{
internal class ActionCollectionBuilder : LazyCollectionBuilderBase<ActionCollectionBuilder, ActionCollection, IAction>
public class ActionCollectionBuilder : LazyCollectionBuilderBase<ActionCollectionBuilder, ActionCollection, IAction>
{
protected override ActionCollectionBuilder This => this;
protected override IEnumerable<IAction> CreateItems(IFactory factory)
protected override IEnumerable<IAction> CreateItems(IServiceProvider factory)
{
var items = base.CreateItems(factory).ToList();
@@ -1,13 +1,13 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when copying a document, media, member
/// </summary>
public class ActionCopy : IAction
{
public char Letter => 'O';
public const char ActionLetter = 'O';
public char Letter => ActionLetter;
public string Alias => "copy";
public string Category => Constants.Conventions.PermissionCategories.StructureCategory;
public string Icon => "documents";
@@ -1,8 +1,4 @@
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
public class ActionCreateBlueprintFromContent : IAction
{
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document, media, member is deleted
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked upon creation of a document, media, member
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked upon creation of a document
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document is protected or unprotected
@@ -1,8 +1,4 @@
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document is being published
@@ -1,6 +1,6 @@

namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when the content/media item is to be restored from the recycle bin
@@ -1,13 +1,13 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when rights are changed on a document
/// </summary>
public class ActionRights : IAction
{
public char Letter => 'R';
public const char ActionLetter = 'R';
public char Letter => ActionLetter;
public string Alias => "rights";
public string Category => Constants.Conventions.PermissionCategories.ContentCategory;
public string Icon => "vcard";
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when copying a document is being rolled back
@@ -1,15 +1,13 @@
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when children to a document, media, member is being sorted
/// </summary>
public class ActionSort : IAction
{
public char Letter => 'S';
public const char ActionLetter = 'S';
public char Letter => ActionLetter;
public string Alias => "sort";
public string Category => Constants.Conventions.PermissionCategories.StructureCategory;
public string Icon => "navigation-vertical";
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when children to a document is being sent to published (by an editor without publishrights)
@@ -1,8 +1,4 @@
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
@@ -10,7 +6,9 @@ namespace Umbraco.Web.Actions
/// </summary>
public class ActionUnpublish : IAction
{
public char Letter => 'Z';
public const char ActionLetter = 'Z';
public char Letter => ActionLetter;
public string Alias => "unpublish";
public string Category => Constants.Conventions.PermissionCategories.ContentCategory;
public string Icon => "circle-dotted";
@@ -1,6 +1,4 @@
using Umbraco.Core;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when copying a document or media
@@ -1,6 +1,6 @@
using Umbraco.Core.Composing;
using Umbraco.Cms.Core.Composing;
namespace Umbraco.Web.Actions
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// Defines a back office action that can be permission assigned or subscribed to for notifications
-72
View File
@@ -1,72 +0,0 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Umbraco.Core
{
internal static class AssemblyExtensions
{
/// <summary>
/// Returns the file used to load the assembly
/// </summary>
/// <param name="assembly"></param>
/// <returns></returns>
public static FileInfo GetAssemblyFile(this Assembly assembly)
{
var codeBase = assembly.CodeBase;
var uri = new Uri(codeBase);
var path = uri.LocalPath;
return new FileInfo(path);
}
/// <summary>
/// Returns true if the assembly is the App_Code assembly
/// </summary>
/// <param name="assembly"></param>
/// <returns></returns>
public static bool IsAppCodeAssembly(this Assembly assembly)
{
if (assembly.FullName.StartsWith("App_Code"))
{
try
{
Assembly.Load("App_Code");
return true;
}
catch (FileNotFoundException)
{
//this will occur if it cannot load the assembly
return false;
}
}
return false;
}
/// <summary>
/// Returns true if the assembly is the compiled global asax.
/// </summary>
/// <param name="assembly"></param>
/// <returns></returns>
public static bool IsGlobalAsaxAssembly(this Assembly assembly)
{
//only way I can figure out how to test is by the name
return assembly.FullName.StartsWith("App_global.asax");
}
/// <summary>
/// Returns the file used to load the assembly
/// </summary>
/// <param name="assemblyName"></param>
/// <returns></returns>
public static FileInfo GetAssemblyFile(this AssemblyName assemblyName)
{
var codeBase = assemblyName.CodeBase;
var uri = new Uri(codeBase);
var path = uri.LocalPath;
return new FileInfo(path);
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
using System;
namespace Umbraco.Core
namespace Umbraco.Cms.Core
{
/// <summary>
/// Provides ways to create attempts.
+1 -1
View File
@@ -1,6 +1,6 @@
using System;
namespace Umbraco.Core
namespace Umbraco.Cms.Core
{
/// <summary>
/// Represents the result of an operation attempt.
+1 -1
View File
@@ -1,6 +1,6 @@
using System;
namespace Umbraco.Core
namespace Umbraco.Cms.Core
{
/// <summary>
/// Represents the result of an operation attempt.
-45
View File
@@ -1,45 +0,0 @@
using System;
using System.Reflection;
using System.Web;
using Umbraco.Core;
// no binding redirect for now = de-activate
//[assembly: PreApplicationStartMethod(typeof(BindingRedirects), "Initialize")]
namespace Umbraco.Core
{
/// <summary>
/// Manages any assembly binding redirects that cannot be done via config (i.e. unsigned --> signed assemblies)
/// </summary>
public sealed class BindingRedirects
{
public static void Initialize()
{
// this only gets called when an assembly can't be resolved
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
}
/// <summary>
/// This is used to do an assembly binding redirect via code - normally required due to signature changes in assemblies
/// </summary>
/// <param name="sender"></param>
/// <param name="args"></param>
/// <returns></returns>
private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
// When an assembly can't be resolved. In here we can do magic with the assembly name and try loading another.
// keep here for reference - we don't use AutoMapper
/*
//AutoMapper:
// this is used for loading a signed assembly of AutoMapper (v. 3.1+) without having to recompile old code.
// ensure the assembly is indeed AutoMapper and that the PublicKeyToken is null before trying to Load again
// do NOT just replace this with 'return Assembly', as it will cause an infinite loop -> stackoverflow
if (args.Name.StartsWith("AutoMapper") && args.Name.EndsWith("PublicKeyToken=null"))
return Assembly.Load(args.Name.Replace(", PublicKeyToken=null", ", PublicKeyToken=be96cd2c38ef1005"));
*/
return null;
}
}
}
+4 -8
View File
@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Caching;
using Umbraco.Cms.Core.Cache;
namespace Umbraco.Core.Cache
namespace Umbraco.Extensions
{
/// <summary>
/// Extensions for strongly typed access
@@ -15,11 +15,9 @@ namespace Umbraco.Core.Cache
Func<T> getCacheItem,
TimeSpan? timeout,
bool isSliding = false,
CacheItemPriority priority = CacheItemPriority.Normal,
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null)
{
var result = provider.Get(cacheKey, () => getCacheItem(), timeout, isSliding, priority, removedCallback, dependentFiles);
var result = provider.Get(cacheKey, () => getCacheItem(), timeout, isSliding, dependentFiles);
return result == null ? default(T) : result.TryConvertTo<T>().Result;
}
@@ -28,11 +26,9 @@ namespace Umbraco.Core.Cache
Func<T> getCacheItem,
TimeSpan? timeout = null,
bool isSliding = false,
CacheItemPriority priority = CacheItemPriority.Normal,
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null)
{
provider.Insert(cacheKey, () => getCacheItem(), timeout, isSliding, priority, removedCallback, dependentFiles);
provider.Insert(cacheKey, () => getCacheItem(), timeout, isSliding, dependentFiles);
}
public static IEnumerable<T> GetCacheItemsByKeySearch<T>(this IAppCache provider, string keyStartsWith)
+11 -21
View File
@@ -1,36 +1,18 @@
using System;
using System.Web;
namespace Umbraco.Core.Cache
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// Represents the application caches.
/// </summary>
public class AppCaches
{
/// <summary>
/// Initializes a new instance of the <see cref="AppCaches"/> for use in a web application.
/// </summary>
public AppCaches()
: this(HttpRuntime.Cache)
{ }
/// <summary>
/// Initializes a new instance of the <see cref="AppCaches"/> for use in a web application.
/// </summary>
public AppCaches(System.Web.Caching.Cache cache)
: this(
new WebCachingAppCache(cache),
new HttpRequestAppCache(),
new IsolatedCaches(t => new ObjectCacheAppCache()))
{ }
/// <summary>
/// Initializes a new instance of the <see cref="AppCaches"/> with cache providers.
/// </summary>
public AppCaches(
IAppPolicyCache runtimeCache,
IAppCache requestCache,
IRequestCache requestCache,
IsolatedCaches isolatedCaches)
{
RuntimeCache = runtimeCache ?? throw new ArgumentNullException(nameof(runtimeCache));
@@ -63,7 +45,7 @@ namespace Umbraco.Core.Cache
/// <para>The per-request caches works on top of the current HttpContext items.</para>
/// <para>Outside a web environment, the behavior of that cache is unspecified.</para>
/// </remarks>
public IAppCache RequestCache { get; }
public IRequestCache RequestCache { get; }
/// <summary>
/// Gets the runtime cache.
@@ -82,5 +64,13 @@ namespace Umbraco.Core.Cache
/// search through all keys on a global scale.</para>
/// </remarks>
public IsolatedCaches IsolatedCaches { get; }
public static AppCaches Create(IRequestCache requestCache)
{
return new AppCaches(
new DeepCloneAppCache(new ObjectCacheAppCache()),
requestCache,
new IsolatedCaches(type => new DeepCloneAppCache(new ObjectCacheAppCache())));
}
}
}
@@ -1,7 +1,7 @@
using System;
using System.Collections.Concurrent;
namespace Umbraco.Core.Cache
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// Provides a base class for implementing a dictionary of <see cref="IAppPolicyCache"/>.
@@ -17,24 +17,24 @@ namespace Umbraco.Core.Cache
/// <param name="cacheFactory"></param>
protected AppPolicedCacheDictionary(Func<TKey, IAppPolicyCache> cacheFactory)
{
CacheFactory = cacheFactory;
_cacheFactory = cacheFactory;
}
/// <summary>
/// Gets the internal cache factory, for tests only!
/// </summary>
internal readonly Func<TKey, IAppPolicyCache> CacheFactory;
private readonly Func<TKey, IAppPolicyCache> _cacheFactory;
/// <summary>
/// Gets or creates a cache.
/// </summary>
public IAppPolicyCache GetOrCreate(TKey key)
=> _caches.GetOrAdd(key, k => CacheFactory(k));
=> _caches.GetOrAdd(key, k => _cacheFactory(k));
/// <summary>
/// Tries to get a cache.
/// </summary>
public Attempt<IAppPolicyCache> Get(TKey key)
protected Attempt<IAppPolicyCache> Get(TKey key)
=> _caches.TryGetValue(key, out var cache) ? Attempt.Succeed(cache) : Attempt.Fail<IAppPolicyCache>();
/// <summary>
@@ -56,7 +56,7 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Clears a cache.
/// </summary>
public void ClearCache(TKey key)
protected void ClearCache(TKey key)
{
if (_caches.TryGetValue(key, out var cache))
cache.Clear();
@@ -71,4 +71,4 @@ namespace Umbraco.Core.Cache
cache.Clear();
}
}
}
}
@@ -0,0 +1,45 @@
using System;
using Umbraco.Cms.Core.Events;
namespace Umbraco.Cms.Core.Cache
{
public sealed class ApplicationCacheRefresher : CacheRefresherBase<ApplicationCacheRefresherNotification>
{
public ApplicationCacheRefresher(AppCaches appCaches, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
: base(appCaches, eventAggregator, factory)
{
}
#region Define
public static readonly Guid UniqueId = Guid.Parse("B15F34A1-BC1D-4F8B-8369-3222728AB4C8");
public override Guid RefresherUniqueId => UniqueId;
public override string Name => "Application Cache Refresher";
#endregion
#region Refresher
public override void RefreshAll()
{
AppCaches.RuntimeCache.Clear(CacheKeys.ApplicationsCacheKey);
base.RefreshAll();
}
public override void Refresh(int id)
{
Remove(id);
base.Refresh(id);
}
public override void Remove(int id)
{
AppCaches.RuntimeCache.Clear(CacheKeys.ApplicationsCacheKey);
base.Remove(id);
}
#endregion
}
}
@@ -0,0 +1,11 @@
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Cms.Core.Cache
{
public class ApplicationCacheRefresherNotification : CacheRefresherNotification
{
public ApplicationCacheRefresherNotification(object messageObject, MessageType messageType) : base(messageObject, messageType)
{
}
}
}
+11 -1
View File
@@ -1,4 +1,4 @@
namespace Umbraco.Core.Cache
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// Constants storing cache keys used in caching
@@ -12,5 +12,15 @@
public const string MacroContentCacheKey = "macroContent_"; // used in MacroRenderers
public const string MacroFromAliasCacheKey = "macroFromAlias_";
public const string UserGroupGetByAliasCacheKeyPrefix = "UserGroupRepository_GetByAlias_";
public const string UserAllContentStartNodesPrefix = "AllContentStartNodes";
public const string UserAllMediaStartNodesPrefix = "AllMediaStartNodes";
public const string UserMediaStartNodePathsPrefix = "MediaStartNodePaths";
public const string UserContentStartNodePathsPrefix = "ContentStartNodePaths";
public const string ContentRecycleBinCacheKey = "recycleBin_content";
public const string MediaRecycleBinCacheKey = "recycleBin_media";
}
}
+28 -27
View File
@@ -1,42 +1,31 @@
using System;
using Umbraco.Core.Events;
using Umbraco.Core.Models.Entities;
using Umbraco.Core.Sync;
using System;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models.Entities;
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Core.Cache
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// A base class for cache refreshers that handles events.
/// </summary>
/// <typeparam name="TInstanceType">The actual cache refresher type.</typeparam>
/// <remarks>The actual cache refresher type is used for strongly typed events.</remarks>
public abstract class CacheRefresherBase<TInstanceType> : ICacheRefresher
where TInstanceType : class, ICacheRefresher
public abstract class CacheRefresherBase<TNotification> : ICacheRefresher
where TNotification : CacheRefresherNotification
{
/// <summary>
/// Initializes a new instance of the <see cref="CacheRefresherBase{TInstanceType}"/>.
/// </summary>
/// <param name="appCaches">A cache helper.</param>
protected CacheRefresherBase(AppCaches appCaches)
protected CacheRefresherBase(AppCaches appCaches, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
{
AppCaches = appCaches;
EventAggregator = eventAggregator;
NotificationFactory = factory;
}
/// <summary>
/// Triggers when the cache is updated on the server.
/// </summary>
/// <remarks>
/// Triggers on each server configured for an Umbraco project whenever a cache refresher is updated.
/// </remarks>
public static event TypedEventHandler<TInstanceType, CacheRefresherEventArgs> CacheUpdated;
#region Define
/// <summary>
/// Gets the typed 'this' for events.
/// </summary>
protected abstract TInstanceType This { get; }
/// <summary>
/// Gets the unique identifier of the refresher.
/// </summary>
@@ -47,6 +36,11 @@ namespace Umbraco.Core.Cache
/// </summary>
public abstract string Name { get; }
/// <summary>
/// Gets the <see cref="TNotificationFactory"/> for <see cref="TNotification"/>
/// </summary>
protected ICacheRefresherNotificationFactory NotificationFactory { get; }
#endregion
#region Refresher
@@ -56,7 +50,12 @@ namespace Umbraco.Core.Cache
/// </summary>
public virtual void RefreshAll()
{
OnCacheUpdated(This, new CacheRefresherEventArgs(null, MessageType.RefreshAll));
// NOTE: We pass in string.Empty here because if we pass in NULL this causes problems with
// the underlying ActivatorUtilities.CreateInstance which doesn't seem to support passing in
// null to an 'object' parameter and we end up with "A suitable constructor for type 'ZYZ' could not be located."
// In this case, all cache refreshers should be checking for the type first before checking for a msg value
// so this shouldn't cause any issues.
OnCacheUpdated(NotificationFactory.Create<TNotification>(string.Empty, MessageType.RefreshAll));
}
/// <summary>
@@ -65,7 +64,7 @@ namespace Umbraco.Core.Cache
/// <param name="id">The entity's identifier.</param>
public virtual void Refresh(int id)
{
OnCacheUpdated(This, new CacheRefresherEventArgs(id, MessageType.RefreshById));
OnCacheUpdated(NotificationFactory.Create<TNotification>(id, MessageType.RefreshById));
}
/// <summary>
@@ -74,7 +73,7 @@ namespace Umbraco.Core.Cache
/// <param name="id">The entity's identifier.</param>
public virtual void Refresh(Guid id)
{
OnCacheUpdated(This, new CacheRefresherEventArgs(id, MessageType.RefreshById));
OnCacheUpdated(NotificationFactory.Create<TNotification>(id, MessageType.RefreshById));
}
/// <summary>
@@ -83,7 +82,7 @@ namespace Umbraco.Core.Cache
/// <param name="id">The entity's identifier.</param>
public virtual void Remove(int id)
{
OnCacheUpdated(This, new CacheRefresherEventArgs(id, MessageType.RemoveById));
OnCacheUpdated(NotificationFactory.Create<TNotification>(id, MessageType.RemoveById));
}
#endregion
@@ -95,6 +94,8 @@ namespace Umbraco.Core.Cache
/// </summary>
protected AppCaches AppCaches { get; }
protected IEventAggregator EventAggregator { get; }
/// <summary>
/// Clears the cache for all repository entities of a specified type.
/// </summary>
@@ -110,9 +111,9 @@ namespace Umbraco.Core.Cache
/// </summary>
/// <param name="sender">The event sender.</param>
/// <param name="args">The event arguments.</param>
protected static void OnCacheUpdated(TInstanceType sender, CacheRefresherEventArgs args)
protected void OnCacheUpdated(CacheRefresherNotification notification)
{
CacheUpdated?.Invoke(sender, args);
EventAggregator.Publish(notification);
}
#endregion
@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core.Composing;
using Umbraco.Cms.Core.Composing;
namespace Umbraco.Core.Cache
namespace Umbraco.Cms.Core.Cache
{
public class CacheRefresherCollection : BuilderCollectionBase<ICacheRefresher>
{
@@ -1,6 +1,6 @@
using Umbraco.Core.Composing;
using Umbraco.Cms.Core.Composing;
namespace Umbraco.Core.Cache
namespace Umbraco.Cms.Core.Cache
{
public class CacheRefresherCollectionBuilder : LazyCollectionBuilderBase<CacheRefresherCollectionBuilder, CacheRefresherCollection, ICacheRefresher>
{
@@ -1,19 +0,0 @@
using System;
using Umbraco.Core.Sync;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Event args for cache refresher updates
/// </summary>
public class CacheRefresherEventArgs : EventArgs
{
public CacheRefresherEventArgs(object msgObject, MessageType type)
{
MessageType = type;
MessageObject = msgObject;
}
public object MessageObject { get; private set; }
public MessageType MessageType { get; private set; }
}
}
@@ -0,0 +1,22 @@
using System;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Sync;
using Umbraco.Extensions;
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// Base class for cache refresher notifications
/// </summary>
public abstract class CacheRefresherNotification : INotification
{
public CacheRefresherNotification(object messageObject, MessageType messageType)
{
MessageObject = messageObject ?? throw new ArgumentNullException(nameof(messageObject));
MessageType = messageType;
}
public object MessageObject { get; }
public MessageType MessageType { get; }
}
}
@@ -0,0 +1,23 @@
using System;
using Umbraco.Extensions;
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Cms.Core.Cache
{
/// <summary>
/// A <see cref="ICacheRefresherNotificationFactory"/> that uses ActivatorUtilities to create the <see cref="CacheRefresherNotification"/> instances
/// </summary>
public sealed class CacheRefresherNotificationFactory : ICacheRefresherNotificationFactory
{
private readonly IServiceProvider _serviceProvider;
public CacheRefresherNotificationFactory(IServiceProvider serviceProvider) => _serviceProvider = serviceProvider;
/// <summary>
/// Create a <see cref="CacheRefresherNotification"/> using ActivatorUtilities
/// </summary>
/// <typeparam name="TNotification">The <see cref="CacheRefresherNotification"/> to create</typeparam>
public TNotification Create<TNotification>(object msgObject, MessageType type) where TNotification : CacheRefresherNotification
=> _serviceProvider.CreateInstance<TNotification>(new object[] { msgObject, type });
}
}
@@ -1,38 +1,40 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Configuration;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Persistence.Repositories.Implement;
using Umbraco.Core.Services;
using Umbraco.Core.Services.Changes;
using Umbraco.Web.Composing;
using Umbraco.Web.PublishedCache;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Persistence.Repositories;
using Umbraco.Cms.Core.PublishedCache;
using Umbraco.Cms.Core.Serialization;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Core.Services.Changes;
using Umbraco.Extensions;
namespace Umbraco.Web.Cache
namespace Umbraco.Cms.Core.Cache
{
public sealed class ContentCacheRefresher : PayloadCacheRefresherBase<ContentCacheRefresher, ContentCacheRefresher.JsonPayload>
public sealed class ContentCacheRefresher : PayloadCacheRefresherBase<ContentCacheRefresherNotification, ContentCacheRefresher.JsonPayload>
{
private readonly IPublishedSnapshotService _publishedSnapshotService;
private readonly IdkMap _idkMap;
private readonly IIdKeyMap _idKeyMap;
private readonly IDomainService _domainService;
public ContentCacheRefresher(AppCaches appCaches, IPublishedSnapshotService publishedSnapshotService, IdkMap idkMap, IDomainService domainService)
: base(appCaches)
public ContentCacheRefresher(
AppCaches appCaches,
IJsonSerializer serializer,
IPublishedSnapshotService publishedSnapshotService,
IIdKeyMap idKeyMap,
IDomainService domainService,
IEventAggregator eventAggregator,
ICacheRefresherNotificationFactory factory)
: base(appCaches, serializer, eventAggregator, factory)
{
_publishedSnapshotService = publishedSnapshotService;
_idkMap = idkMap;
_idKeyMap = idKeyMap;
_domainService = domainService;
}
#region Define
protected override ContentCacheRefresher This => this;
public static readonly Guid UniqueId = Guid.Parse("900A4FBE-DF3C-41E6-BB77-BE896CD158EA");
public override Guid RefresherUniqueId => UniqueId;
@@ -46,6 +48,7 @@ namespace Umbraco.Web.Cache
public override void Refresh(JsonPayload[] payloads)
{
AppCaches.RuntimeCache.ClearOfType<PublicAccessEntry>();
AppCaches.RuntimeCache.ClearByKey(CacheKeys.ContentRecycleBinCacheKey);
var idsRemoved = new HashSet<int>();
var isolatedCache = AppCaches.IsolatedCaches.GetOrCreate<IContent>();
@@ -53,11 +56,11 @@ namespace Umbraco.Web.Cache
foreach (var payload in payloads.Where(x => x.Id != default))
{
//By INT Id
isolatedCache.Clear(RepositoryCacheKeys.GetKey<IContent>(payload.Id));
isolatedCache.Clear(RepositoryCacheKeys.GetKey<IContent, int>(payload.Id));
//By GUID Key
isolatedCache.Clear(RepositoryCacheKeys.GetKey<IContent>(payload.Key));
isolatedCache.Clear(RepositoryCacheKeys.GetKey<IContent, Guid?>(payload.Key));
_idkMap.ClearCache(payload.Id);
_idKeyMap.ClearCache(payload.Id);
// remove those that are in the branch
if (payload.ChangeTypes.HasTypesAny(TreeChangeTypes.RefreshBranch | TreeChangeTypes.Remove))
@@ -140,14 +143,6 @@ namespace Umbraco.Web.Cache
public class JsonPayload
{
[Obsolete("Use the constructor specifying a GUID instead, using this constructor will result in not refreshing all caches")]
public JsonPayload(int id, TreeChangeTypes changeTypes)
{
Id = id;
ChangeTypes = changeTypes;
}
[JsonConstructor]
public JsonPayload(int id, Guid? key, TreeChangeTypes changeTypes)
{
Id = id;
@@ -0,0 +1,11 @@
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Cms.Core.Cache
{
public class ContentCacheRefresherNotification : CacheRefresherNotification
{
public ContentCacheRefresherNotification(object messageObject, MessageType messageType) : base(messageObject, messageType)
{
}
}
}

Some files were not shown because too many files have changed in this diff Show More