Commit Graph

510 Commits

Author SHA1 Message Date
Shannon
8134a35fe0 Moves ContentType, MemberType, MediaType, etc... less casting, less internals 2020-05-20 11:59:41 +10:00
Andy Butland
e561784057 Migrated DictionaryTranslationBuilders into new unit test project and builder format. 2020-04-19 09:39:30 +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
Andy Butland
c38c5c39ce Migrated DeepCloneHelper tests into new unit tests project. 2020-04-18 10:06:53 +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
Andy Butland
a9a8cb7f6f Migrated macro unit tests to new project and builder pattern. 2020-04-13 19:22:31 +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
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
d9f9a166a6 Migrated property, property type and property group tests into new project and builder pattern. 2020-04-04 16:49:01 +02: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
Shannon
d711796c59 Fixing tests 2020-04-03 17:05:50 +11: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
Andy Butland
374147d5e8 Merge branch 'netcore/dev' into netcore/unit-test-migration-member-models 2020-03-31 16:35:09 +02:00
Bjarke Berg
55426515c0 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Infrastructure/Media/ImageProcessorImageUrlGenerator.cs
#	src/Umbraco.Infrastructure/Models/ImageProcessorImageUrlGenerator.cs
#	src/Umbraco.Infrastructure/Models/ImageSharpImageUrlGenerator.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/AspNetCoreComposer.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
2020-03-31 15:36:25 +02:00
Bjarke Berg
ffc6ce6553 AB#8522 - Smidge implementation of the Runtime Minifier 2020-03-30 21:27:35 +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
f48a4b0c72 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office 2020-03-27 21:20:08 +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
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
Shannon
d40b7087f4 Fixes issue with deep cloning Property
main problem was that it was duplicating the _pvalue value when it shouldn't have. The real fix is that the Values property solves all these problems with it's setter but that wasn't being used by the DeepClone engine because that explicitly looks for certain collection types and IReadOnlyCollection wasn't one of them. With that included and PropertyValue marked as IDeepCloneable, it all just works. I've added tests.
2020-03-26 19:56:21 +11:00
Andy Butland
b67c3dfa04 Moved IImageUrlGenerator and implementation into more appropriate enamespace 2020-03-24 09:37:46 +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
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
8c8a9764cd Post merge + Added new SmtpSettingsBuilder 2020-03-18 07:42:35 +01:00
Shannon Deminick
7f8c7e472f Merge pull request #7778 from umbraco/netcore/feature/typefinder-netstandard
Creates a netstandard compliant TypeFinder
2020-03-13 11:11:50 +11:00
Bjarke Berg
c486444eda Cleaned up config for Content settings 2020-03-12 15:30:22 +01: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
Shannon
d3ebdb6198 fixes test 2020-03-09 22:25:58 +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
elitsa
02fbf0f9e7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5168-migrate-macros 2020-02-25 13:44:48 +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
Bjarke Berg
c9b970e872 Using the ServiceContext from the baseclass instead of Current.Services in tests (#7644) 2020-02-24 11:27:02 +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
Benjamin Carleski
4309489174 Make changes for PR suggestions 2020-02-09 11:12:29 -08:00
Benjamin Carleski
408ee452e1 Code cleanup, added unit tests 2020-02-08 11:05:14 -08:00
Bjarke Berg
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
elitsa
c588fc085b Migrating FileUploadPropertyEditor and its PropertyEditor dependencies. Fixing its tests due to the changes 2020-01-14 16:53:20 +01:00
Bjarke Berg
51d0f7da94 AB4234 - Fixes namespaces and removed old unused property on user 2020-01-14 07:47:47 +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