Bjarke Berg
dbfedf31bd
Merge remote-tracking branch 'origin/v12/dev' into v14/dev
2023-05-31 09:46:59 +02:00
Nikolaj Geisle
6bcec26db3
V10: Implement varying blocklist indexing ( #14287 )
...
* Implement available culture in Interface and base classes
* Add available cultures
* DI localizationService and use it
* Make the new method have default implementation to avoid breaking change
* Create implementations for old method
* Pass available cultures
* Pass localization service
* Create new method that takes available cultures
* Add ILocalizationService to DI
* implement missing method
* Add database for schema test
* Fixed issue with indexes not added correctly to nested types..
---------
Co-authored-by: Zeegaan <nge@umbraco.dk >
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2023-05-25 08:40:10 +02:00
Kenn Jacobsen
714cf374f0
Management API: Property editor temporary file handling ( #14244 )
...
* Use new temporary files handling for property editors
* Add compat suppressions
* Add missing compat suppressions
* Don't discard valid file upload values
* Rename cuid and puid to contentKey and propertyTypeKey
* Update src/Umbraco.Infrastructure/PropertyEditors/MediaPicker3PropertyEditor.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fetch user async + remove unnecessary dependency
---------
Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch >
2023-05-24 12:31:19 +02:00
Kenn Jacobsen
d98f635eed
Fix DataValueEditor configuration handling + update naming to be more explicit ( #14104 )
2023-04-25 15:32:29 +02:00
Callum Whyte
5ef43cb4f0
Rename StaticServiceProvider namespace Umbraco.Cms.Core.DependencyInjection ( #13239 )
2022-11-29 12:22:57 +01:00
Kenn Jacobsen
44122c6509
Performance improvement: Reusable data editors ( #12921 )
...
* Introduce opt-in option for reusable data editors
* Verified RTE as reusable
* Make attribute property naming more explicit + update comments
* Test file upload and image cropper
* Add unit tests
2022-08-31 11:03:34 +02:00
Zeegaan
ac5f2270ac
Set SupportsReadOnly in all our PropertyEditors
2022-06-22 15:45:13 +02:00
Nikolaj Geisle
f4e333c178
V10: fix build warnings infrastructure ( #12369 )
...
* Run code cleanup
* Run dotnet format
* Start manual fixes
* Manual fixing of warnings
* Fix nullability in columnalias
* Fix tests
* Fix up after merge
* Start updating after review
* Update editorconfig to contain new static & const rules
* Fix up editorconfig to not contain duplicate rules
* Fix up static member names
* Fix up according to review
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.DistributedCache.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.Repositories.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/ExamineUmbracoIndexingHandler.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Examine/PublishedContentIndexPopulator.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Extensions/InstanceIdentifiableExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/HostedServices/RecurringHostedServiceBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Macros/MacroTagParser.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Migrations/Expressions/Alter/Table/IAlterTableColumnOptionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Migrations/Upgrade/V_10_0_0/AddMemberPropertiesAsColumns.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/ModelsBuilder/Building/TextBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Dtos/ExternalLoginDto.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/AccessMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/AuditEntryMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/MediaMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/MemberMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyGroupMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/PropertyTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Mappers/RelationTypeMapper.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/NPocoMapperCollectionBuilder.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Querying/ExpressionVisitorBase.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix [..] to substring
* Fix after merge with 10/dev
* Fox ContentValueSetValidator.cs
* Update LoggerConfigExtensions
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2022-06-02 08:18:31 +02:00
Nikolaj Geisle
cf2b9a0f21
V10: Move core services to core project ( #12314 )
...
* Move AuditService to core project
* Move two factor login service to core
* Move ServerRegistrationService to core
* Move BasicAuthService to Core project
* Move IdKeyMap to core project
* Added CacheInstructionService to the infrastructure namespace
* Move DataTypeService to core namespace
* Update CacheInstructionService.cs to use CoreScopeProvider
* Move core editors to core
* Move more Property editors and configuration
* Remove obsoleted constructors in internal classes
* Update PropertyEditors to use new ctors
* Fix propertyEditors to use new ctors
* Use the right property editor constructors
* add DI in the property method
* Update grid to use new ctor
* Fix non-assignment of variable
* Apply suggestions from code review
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix suggestions from code review
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Kevin Jump <kevin@thejumps.co.uk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
2022-04-29 11:52:58 +02:00
Nikolaj Geisle
b6402c4cc8
Fix build errors after merge
2022-04-05 09:46:47 +02:00
Nikolaj Geisle
a6128bfe8e
Merge branch 'v10/dev' into v10/feature/nullable-reference-types-in-Umbraco.Web.Backoffice
...
# Conflicts:
# src/Umbraco.Core/Cache/MacroCacheRefresher.cs
# src/Umbraco.Core/Services/MacroService.cs
# src/Umbraco.Core/StaticApplicationLogging.cs
# src/Umbraco.Infrastructure/Migrations/Install/DatabaseDataCreator.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TrackedReferencesRepository.cs
# src/Umbraco.Infrastructure/PropertyEditors/GridPropertyEditor.cs
# src/Umbraco.Infrastructure/Security/UmbracoPasswordHasher.cs
# src/Umbraco.Web.BackOffice/Controllers/ImagesController.cs
2022-04-05 08:51:08 +02:00
Elitsa Marinovska
92480b8446
Changes in the editors so we can track the items
2022-03-10 16:29:56 +01:00
Nikolaj Geisle
3a2c53412c
Fix last errors
2022-02-28 14:37:15 +01:00
Nikolaj Geisle
915e68e72e
Fix last build errors
2022-02-28 13:14:02 +01:00
Nikolaj Geisle
a8cf6ee127
More work on nullable references
2022-02-22 13:35:32 +01:00
Nikolaj Geisle
224341a533
Merge remote-tracking branch 'origin/v10/dev' into v10/feature/nullable-reference-types-in-Umbraco-Core
...
# Conflicts:
# src/Umbraco.Core/Configuration/Models/SecuritySettings.cs
# src/Umbraco.Core/Events/DeleteEventArgs.cs
# src/Umbraco.Core/Events/IEventDispatcher.cs
# src/Umbraco.Core/Events/PassThroughEventDispatcher.cs
# src/Umbraco.Core/Events/QueuingEventDispatcherBase.cs
# src/Umbraco.Core/IO/MediaFileManager.cs
# src/Umbraco.Core/Models/Mapping/MemberTabsAndPropertiesMapper.cs
# src/Umbraco.Core/PropertyEditors/DataValueEditor.cs
# src/Umbraco.Core/Routing/DefaultUrlProvider.cs
2022-02-15 09:29:58 +01:00
Nikolaj Geisle
58f6226942
Fix Unit & Integration tests
2022-02-11 14:27:04 +01:00
Ronald Barendse
4d4aff4c67
Apply changes from #11805 and #11806 to v9 ( #11904 )
...
* Apply changes from #11805 and #11806 to v9
* Update documentation and cleanup code styling
2022-01-26 12:22:05 +01:00
Mole
39f7102312
Use IHtmlSanitizer in RichTextValueEditor
2022-01-24 09:30:23 +01:00
Bjarke Berg
52a3e285a9
Merge remote-tracking branch 'origin/v8/dev' into v9/dev
...
# Conflicts:
# src/Umbraco.Core/Composing/CompositionExtensions/Services.cs
# src/Umbraco.Core/Constants-AppSettings.cs
# src/Umbraco.Core/Dashboards/ContentDashboardSettings.cs
# src/Umbraco.Core/Dashboards/IContentDashboardSettings.cs
# src/Umbraco.Core/Manifest/ManifestParser.cs
# src/Umbraco.Core/Manifest/PackageManifest.cs
# src/Umbraco.Core/Migrations/Install/DatabaseDataCreator.cs
# src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
# src/Umbraco.Core/Models/PropertyTagsExtensions.cs
# src/Umbraco.Core/PropertyEditors/ComplexPropertyEditorContentEventHandler.cs
# src/Umbraco.Core/PropertyEditors/ConfigurationEditor.cs
# src/Umbraco.Core/PropertyEditors/DataValueEditor.cs
# src/Umbraco.Core/PropertyEditors/ValueConverters/ImageCropperValue.cs
# src/Umbraco.Core/Serialization/JsonToStringConverter.cs
# src/Umbraco.Core/Sync/ApplicationUrlHelper.cs
# src/Umbraco.Core/Telemetry/ITelemetryService.cs
# src/Umbraco.Core/Telemetry/Models/PackageTelemetry.cs
# src/Umbraco.Core/Telemetry/Models/TelemetryReportData.cs
# src/Umbraco.Core/Telemetry/TelemetryService.cs
# src/Umbraco.Tests/Manifest/ManifestParserTests.cs
# src/Umbraco.Tests/PropertyEditors/BlockEditorComponentTests.cs
# src/Umbraco.Tests/PropertyEditors/ImageCropperTest.cs
# src/Umbraco.Tests/PropertyEditors/NestedContentPropertyComponentTests.cs
# src/Umbraco.Tests/Web/Controllers/AuthenticationControllerTests.cs
# src/Umbraco.Tests/Web/Controllers/UsersControllerTests.cs
# src/Umbraco.Web.UI.Client/src/common/resources/entity.resource.js
# src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/web.Template.config
# src/Umbraco.Web/BatchedDatabaseServerMessenger.cs
# src/Umbraco.Web/Cache/DistributedCacheBinder.cs
# src/Umbraco.Web/Compose/BlockEditorComponent.cs
# src/Umbraco.Web/Compose/NestedContentPropertyComponent.cs
# src/Umbraco.Web/Editors/AuthenticationController.cs
# src/Umbraco.Web/Editors/ContentTypeController.cs
# src/Umbraco.Web/Editors/DashboardController.cs
# src/Umbraco.Web/Editors/EntityController.cs
# src/Umbraco.Web/Editors/UsersController.cs
# src/Umbraco.Web/PropertyEditors/BlockEditorPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/ColorPickerConfigurationEditor.cs
# src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/ImageCropperPropertyValueEditor.cs
# src/Umbraco.Web/PropertyEditors/MediaPicker3PropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/MultiUrlPickerValueEditor.cs
# src/Umbraco.Web/PropertyEditors/MultipleTextStringPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/MultipleValueEditor.cs
# src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs
# src/Umbraco.Web/Telemetry/ReportSiteTask.cs
# src/Umbraco.Web/Telemetry/TelemetryComponent.cs
# src/Umbraco.Web/Trees/ContentTreeController.cs
# src/Umbraco.Web/Umbraco.Web.csproj
# src/Umbraco.Web/WebApi/EnableDetailedErrorsAttribute.cs
2022-01-21 12:40:18 +01:00
Bjarke Berg
2ec92057c5
Started using nullable reference types..
2021-12-16 13:44:20 +01:00
Bjarke Berg
65b20572b7
V9: Resolve virtual view paths from DataEditorAttribute in DataValueEditor ( #10279 )
...
* https://github.com/umbraco/Umbraco-CMS/issues/10265
Resolve virtual view paths from DataEditorAttribute in DataValueEditor + Introduced an IDataValueEditorFactory, so we don't need to inject nested dependencies every time we introduce a new dependency in DataValueEditor..
* Cleanup + xml doc
2021-05-18 12:40:24 +02:00
Mole
b17c3158c0
Align namespaces in PropertyEditors to Umbraco.Cms.Core.*
2021-02-15 10:42:35 +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
511a04a62c
Align namespaces in Examine folder.
2021-02-12 10:57:50 +01:00
Mole
dd488a15f4
Move extension methods in core project to Umbraco.Extensions
2021-02-09 13:21:17 +01:00
Mole
216fb87c79
Rename Umbraco.Core namespace to Umbraco.Cms.Core
2021-02-09 10:22:42 +01:00
Bjarke Berg
fb18317c0f
Moved lots of property editors into core
2020-12-04 19:01:52 +01:00
Bjarke Berg
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
Mole
578e8c4f9e
Use MS ILogger for DataEditor
2020-09-18 14:37:19 +02:00
Andy Butland
b67c3dfa04
Moved IImageUrlGenerator and implementation into more appropriate enamespace
2020-03-24 09:37:46 +01:00
elitsa
42db16b430
Moving the last few Property Editors to Infrastructure proj
2020-02-25 16:06:14 +01:00