Mole
999a83995e
V10: Add external login provider count to detailed telemetry ( #14282 )
...
* Add backoffice external login provider count to telemetry
* Update translation
* Fix integration test
2023-05-24 11:48:56 +02:00
Sebastiaan Janssen
6bc999bca4
Unit tests need updating now that the WriterId is properly being set after merging #12843
...
(cherry picked from commit a88d0c0ec9 )
2023-03-28 10:28:33 +02:00
Kenn Jacobsen
a390ad1c3c
UmbracoPath should no longer be configurable ( #13032 )
...
* UmbracoPath should no longer be configurable
* Remove UmbracoPath configuration from all tests
2022-09-20 13:19:18 +02:00
Mads Rasmussen
31279b96cf
Merge branch 'v10/dev' into v10/feature/variant-permissions
2022-08-03 11:22:35 +02:00
Sebastiaan Janssen
e626fca243
Merge branch 'v10/dev' into v10/contrib
...
# Conflicts:
# src/Umbraco.Core/Actions/ActionAssignDomain.cs
# src/Umbraco.Core/Actions/ActionCopy.cs
# src/Umbraco.Core/Actions/ActionCreateBlueprintFromContent.cs
# src/Umbraco.Core/Actions/ActionDelete.cs
# src/Umbraco.Core/Actions/ActionMove.cs
# src/Umbraco.Core/Actions/ActionNew.cs
# src/Umbraco.Core/Actions/ActionNotify.cs
# src/Umbraco.Core/Actions/ActionProtect.cs
# src/Umbraco.Core/Actions/ActionRestore.cs
# src/Umbraco.Core/Actions/ActionRights.cs
# src/Umbraco.Core/Actions/ActionRollback.cs
# src/Umbraco.Core/Actions/ActionSort.cs
# src/Umbraco.Core/Actions/ActionToPublish.cs
# src/Umbraco.Core/Actions/ActionUnpublish.cs
# src/Umbraco.Core/Actions/ActionUpdate.cs
# src/Umbraco.Core/Constants-Telemetry.cs
# src/Umbraco.Core/DependencyInjection/ServiceCollectionExtensions.cs
# src/Umbraco.Core/DependencyInjection/UmbracoBuilder.CollectionBuilders.cs
# src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Collections.cs
# src/Umbraco.Core/Models/Trees/ActionMenuItem.cs
# src/Umbraco.Core/Models/Trees/CreateChildEntity.cs
# src/Umbraco.Core/Models/Trees/ExportMember.cs
# src/Umbraco.Core/Models/Trees/MenuItem.cs
# src/Umbraco.Core/Models/Trees/RefreshNode.cs
# src/Umbraco.Core/Persistence/Repositories/IRedirectUrlRepository.cs
# src/Umbraco.Core/PropertyEditors/NestedContentConfiguration.cs
# src/Umbraco.Core/Routing/ContentFinderByRedirectUrl.cs
# src/Umbraco.Core/Services/IFileService.cs
# src/Umbraco.Core/Services/IRedirectUrlService.cs
# src/Umbraco.Core/Services/RedirectUrlService.cs
# src/Umbraco.Core/Trees/MenuItemList.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberRepository.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RedirectUrlRepository.cs
# src/Umbraco.Infrastructure/Telemetry/Providers/SystemInformationTelemetryProvider.cs
# src/Umbraco.Web.BackOffice/Controllers/CodeFileController.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentController.cs
# src/Umbraco.Web.BackOffice/Controllers/DictionaryController.cs
# src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
# src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentBlueprintTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/DataTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/DictionaryTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/FileSystemTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MacrosTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MemberGroupTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MemberTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/MemberTypeAndGroupTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/RelationTypeTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/TemplatesTreeController.cs
# src/Umbraco.Web.UI.Client/src/less/navs.less
# templates/UmbracoProject/.gitignore
# tests/Umbraco.Tests.Integration/Umbraco.Core/Telemetry/TelemetryServiceTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Services/UserDataServiceTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Telemetry/SystemInformationTelemetryProviderTests.cs
2022-07-11 15:04:46 +02:00
Erik-Jan Westendorp
173c1c8c8f
Add Current Server Role to system information ( #12630 )
...
* Add Current Server Rule to system information
* Update Unit Tests, Mock IServerRoleAccessor
* Add CurrentServerRole to UnitTest
* adds trailing commas
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2022-07-04 09:54:27 +10:00
Nikolaj Geisle
7770f65faa
Move tests
2022-06-21 11:06:18 +02:00
Nikolaj Geisle
9d912ea98a
Add integration tests
2022-06-21 11:04:57 +02:00
Nikolaj Geisle
c283cc498f
Start work on integration tests
2022-06-21 08:45:33 +02:00
Nikolaj Geisle
7aeb400fce
V10: fix build warnings in test projects ( #12509 )
...
* Run code cleanup
* Dotnet format benchmarks project
* Fix up Test.Common
* Run dotnet format + manual cleanup
* Run code cleanup for unit tests
* Run dotnet format
* Fix up errors
* Manual cleanup of Unit test project
* Update tests/Umbraco.Tests.Benchmarks/HexStringBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/TestDbMeta.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Benchmarks/TypeFinderBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Umbraco.Core/Events/EventAggregatorTests.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix according to review
* Fix after merge
* Fix errors
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-06-21 08:09:38 +02:00
Paul Johnson
95aa143db0
v10 make migration from v9 less painful WRT IScope ( #12293 )
...
* Restore IEventDispatcher
* Fix breaking changes WRT IScopeProvider and IScope
* Update internal usage.
* Update src/Umbraco.Core/Services/UserService.cs
* Better obsolete message
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2022-04-26 10:22:37 +01:00
Bjarke Berg
b19dab5f3a
Fix merge issues
2022-04-20 15:42:27 +02:00
Bjarke Berg
23a49161d6
Merge remote-tracking branch 'origin/v9/dev' into v10/dev
...
# Conflicts:
# build/build.ps1
# build/templates/UmbracoPackage/.template.config/template.json
# build/templates/UmbracoProject/.template.config/dotnetcli.host.json
# build/templates/UmbracoProject/.template.config/ide.host.json
# build/templates/UmbracoProject/.template.config/template.json
# src/Umbraco.Core/Constants-System.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Services.cs
# src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
# src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
# umbraco-netcore-only.sln
2022-04-20 11:09:28 +02:00
Nikolaj Geisle
c07ffb68fc
v9: Implement telemetry levels ( #12267 )
...
* Add initial classes
* Add TelemetryProviders
* Add new NodeCountService.cs and NodeTelemetryProvider
* Add data contract attribute to UsageInformation
Otherwise it wont serialize correctly
* Implement more providers
* Fix builders and propertyEditorTelemetry
* Add MediaTelemetryProvider
* Add MediaTelemetryProvider
* Fix doubling of media telemetry
* Move contentCount from NodeCountTelemetryProvider and move to ContentTelemetryProvider
* Revert ContentTelemetryProvider changes
* Add detailed information to TelemetryService
* Add integration tests
* Add more tests and todos for tests
* Fix stylecop warnings
* Use yield return instead of instantiating local list
* Implement Macro test
* Inject interface instead of implementation in TelemetryService
* Fix TelemetryServiceTests.cs
* Implement media tests
* Implement propertyTypeTests
* Implement constants instead of hardcoded strings
* Add SystemInformationTelemetryProvider
* Use SystemInformationTableDataProvider in UserDataService
* Implement more properties
* Add UsageInformation
* Replace UserDataService with SystemInformationTelemetryProvider
* Undo changes to UserDataService and obsolete it
* Remove ISystemInformationTableDataProvider
* Register SystemInformationTelemetryProvider as telemetry provider
* Use constants for telemetry names
* Make UserDataServiceTests test SystemInformationTelemetryProvider instead
* Update UserDataServiceTests to cover new data
* Add unit tests
* Add integration test testing expected data is returned
* Implement Analytics dashboard
* Improve assertion message
* Add text and styling to analyticspage
* Rename consent to analytic
* implement save button for consent level
* Implement save button
* Fix system information test
* Add TelemetryResource
* Move telemetry providers to infrastructure
* Add database provider to system information
* Set startvalue for slider
* Fix unit tests
* Implement MetricsConsentService using KeyValueService
* Return void hen setting the telemetry level
* fix startposition when not reloading
* Add a couple tests
* Update src/Umbraco.Core/Services/MetricsConsentService.cs
* Rename ConsentLevel.cs
* Use direct Enum instead of parsing
* rename consent resource
* add lazy database
* refactor slider
* Implement ng-if and propers pips
* Make classes internal
* Fix slider not loading when navigating to tab
* Add telemetry level check to TelemetryService.cs
* Add Consent for analytics text
* Fix build errors for unit tests
* Fix TelemetryServiceTests
* revert package-lock.json
* Fix integration test
* Update slider
* Update TelemetryService.cs
* Apply suggestions from code review
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch >
2022-04-19 15:06:10 +02:00
Paul Johnson
a1e562cab6
Switch ConfigureServices back to protected.
...
Downstream users may wish to subclass and add their application specific
services.
2022-02-12 11:57:28 +00:00
Paul Johnson
c1fddd98be
Additional refactoring I have been meaning to get around to for a while.
2022-02-11 20:39:57 +00:00
Paul Johnson
76cda7fd0c
Fix issue running UmbracoTestServerTestBase tests with debugger attached
...
Ensure ConfigureWebServer called before ConfigureServices for tests that
make use of WebApplicationFactory.
Still not apparent why tests would pass if debugger isn't attached?
2022-02-11 16:52:57 +00:00
Paul Johnson
235918ecfc
Merge branch 'v9/dev' into v10/feature/merge-v9-dev
...
# Conflicts:
# build/templates/UmbracoPackage/.template.config/template.json
# build/templates/UmbracoProject/.template.config/template.json
# src/Directory.Build.props
# src/Umbraco.Core/Actions/ActionAssignDomain.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Services.cs
# src/Umbraco.Web.BackOffice/Controllers/AuthenticationController.cs
# src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilderExtensions.cs
# src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs
2022-01-18 11:37:43 +00:00
Paul Johnson
a952d17e74
Make using scoped services in notification handlers less painful. ( #11733 )
...
* Add failing test to demo issue with handlers + scoped dependencies.
* Make using scoped services in notification handlers less painful.
* Update comments for accuracy.
2022-01-10 15:31:46 +00:00
Bjarke Berg
78dc2d5721
Merge remote-tracking branch 'origin/v9/dev' into v10/dev
...
# Conflicts:
# build/azure-pipelines.yml
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
# src/Umbraco.Core/Routing/UrlProviderExtensions.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseSchemaCreator.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
# src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
# src/Umbraco.PublishedCache.NuCache/DataSource/BTree.ContentDataSerializer.cs
# src/Umbraco.PublishedCache.NuCache/Persistence/NuCacheContentRepository.cs
# src/Umbraco.Web.UI.Client/package-lock.json
# tests/Umbraco.Tests.AcceptanceTest/package-lock.json
# tests/Umbraco.Tests.AcceptanceTest/package.json
# tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
2021-11-22 19:43:20 +01:00
Paul Johnson
d147d7d412
Make PublishedContentQueryAccessor usable ( #11601 )
...
* Make PublishedContentQueryAccessor usable
Closes #11319
* Make xmldocs for IPublishedContentQueryAccessor more helpful.
2021-11-15 14:23:02 +01:00
Paul Johnson
f214d58f0b
Merge branch 'v9/dev' into v10/dev
2021-10-18 08:20:52 +01:00
Paul Johnson
00133e880d
Move test projects from src/ to tests/ ( #11357 )
...
* Update gitignore
* Move csproj
* Update project references
* Update solutions
* Update build scripts
* Tests used to share editorconfig with projects in src
* Fix broken tests.
* Stop copying around .editorconfig
merged root one with linting
* csharp_style_expression_bodied -> suggestion
* Move StyleCop rulesets to matching directories and update shared build properties
* Remove legacy build files, update NuGet.cofig and solution files
* Restore myget source
* Clean up .gitignore
* Update .gitignore
* Move new test classes to tests after merge
* Gitignore + nuget config
* Move new test
Co-authored-by: Ronald Barendse <ronald@barend.se >
2021-10-18 08:14:04 +01:00