2be39d8b9fc668d8c326ccc8a8b40e1ff85bcaeb
3 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
825f791d01 |
Remove the non-controversial, straightforward obsoleted constructs for Umbraco 16 (#18661)
* Removed obsoletes from IConfigManipulator. * Removed obsolete models builder extensions. * Removed the obsolete ContentDashboardSettings. * Removed the obsolete InstallMissingDatabase setting on GlobalSettings. * Removed obsolete NuCache settings. * Removed obsolete RuntimeMinificationSettings. * Removed obsolete health check constant. * Removed obsolete icon constant. * Removed obsolete telemetry constant. * Removed obsolete property and constructor on UmbracoBuilder. * Removed obsolete constructor on AuditNotificationsHandler. * Removed obsolete constructor on HTTP header health checks. * Removed obsolete constructor on MediaFileManager. * Removed obsolete GetDefaultFileContent on ViewHelper. * Remove obsoleted methods on embed providers. * Fix tests. * Removed obsolete constructors on BlockEditorDataConverter. * Removed obsolete SeedCacheDuration property on CacheSettings. * Removed obsolete PublishCulture on ContentRepositoryExtensions. * Removed obsolete MonitorLock. * Removed obsolete synchronous HasSavedValues from IDataTypeUsageService and IDataTypeUsageRepository. * Removed obsolete HasSavedPropertyValues from IPropertyTypeUsageService and IPropertyTypeUsageRepository. * Removed obsolete methods in ITrackedReferencesService and ITrackedReferencesRepository. * Removed obsolete DateValueEditor constructors. * Removed obsolete GetAutomaticRelationTypesAliases. * Removed obsolete constructor on TextOnlyValueEditor. * Removed obsolete constructors on RegexValidator and RequiredValidator. * Removed obsolete constructs on SliderValueConverter and TagsValueConverter. * Removed obsolete GetContentType methods from IPublishedCache. * Removed ContentFinderByIdPath. * Removed obsolete constructor on DefaultMediaUrlProvider. * Removed obsolete constructor on Domain. * Removed obsolete constructor on PublishedRequest. * Removed obsolete methods on CheckPermissions. * Removed obsolete GetUserId from IBackOfficeSecurity. * Removed obsolete methods on LegacyPasswordSecurity. * Removed obsolete constructors on AuditService. * Removed obsolete methods on IContentEditingService. * Remove obsolete constructors and methods on ContentService/IContentService. * Removed obsolete constructor in ContentTypeEditingService. * Removed obsolete constructor in MediaTypeEditingService. * Removed obsolete constructor in MemberTypeEditingService. * Removed obsolete constructor in ContentTypeService. * Removed obsolete constructors in ContentTypeServiceBase. * Removed obsolete constructors and methods in ContentVersionService. * Removed obsolete constructor in DataTypeUsageService. * Removed obsolete constructor in DomainService. * Removed obsolete constructor in FileService. * Removes obsolete AttemptMove from IContentService. * Removes obsolete SetPreventCleanup from IContentVersionService. * Removes obsolete GetReferences from IDataTypeService. * Removed obsolete SetConsentLevel from IMetricsConsentService. * Removed obsolete methods from IPackageDataInstallation. * Removed obsolete methods from IPackagingService. * Removed obsolete methods on ITwoFactorLoginService. Removed obsolete ITemporaryMediaService. * Removed obsolete constructor from MediaService, MemberTypeService and MediaTypeService. * More obsolete constructors. * Removed obsoleted overloads on IPropertyValidationService. * Fixed build for tests. * Removed obsolete constructor for PublicAccessService, UserService and RelationService. * Removed GetDefaultMemberType. * Removed obsolete user group functionality from IUserService. * Removed obsolete extension methods on IUserService. * Removed obsolete method from ITelemetryService. * Removed obsolete UdiParserServiceConnectors. * Removed obsolete method on ICookieManager. * Removed obsolete DynamicContext. * Removed obsolete XmlHelper. * Fixed failing integration tests. * Removed obsoletes in Umbraco.Cms.Api.Common * Removed obsoletes in Umbraco.Cms.Api.Delivery * Removed obsoletes in Umbraco.Cms.Api.Management * Removed obsoletes in Umbraco.Examine.Lucene * Removed obsoletes in Umbraco.Infrastructure * Fix failing delivery API contract integration test. * Made integration tests internal. * Removed obsoletes from web projects. * Fix build. * Removed Twitter OEmbed provider * Removed obsolete constructor on PublishedDataType. * Removed obsolete constructors on PublishedCacheBase. * Removed the obsolete PropertyEditorTagsExtensions. * Removed obsoletion properties on configuration response models (#18697) * Removed obsolete methods from server-side models. * Update client-side types and sdk. * Update client-side files. * Removed obsoletion of Utf8ToAsciiConverter.ToAsciiString overload. (#18694) * Removed obsolete method in UserService. (#18710) * Removed obsoleted group alias keys from being publicly available. (#18682) * Removed unneceessary ApiVersion attribute. * Clean-up obsoletions on MemberService (#18703) * Removed obsoleted method on MemberService, added future obsoletion to interface and updated all callers. * Removed obsoletion on member service method that's not obsolete on the interface. |
||
|
|
93da4371e3 |
V13: Rework attempt pattern to use userkey (#13964)
* Add default super user key to migrations * Start refactoring all interfaces signatures with ids * Refactor datatype service to use userKey pattern instead * Refactor ContentEditingService to use userkeys * Refactor services to userKey * Refactor more services to use userkey instead of id * Refactor RelationService to use userKeys * Refactor template service to use keys instead of ids * Refactor fileservice to use keys instead of ids * Refactor LocalizationService to use keys instead of ids * Refactor PackagingService to use keys instead of ids * Refactor TemplateController to use current user keys * Refactor DataTypeContainerService.cs * Refactor DataTypeService to use keys instead of ids * Fix up tests * Fix up media editing service to use userkey instead of ID * Update service ctor to avoid ambigious ctors * refactor DataTypeService * Refactor DataTypeService to not have a default value for parentKey * Apply suggestions from code review Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> * Update comment * Add suppression file * Add backoffice CompatibilitySuppressions --------- Co-authored-by: Zeegaan <nge@umbraco.dk> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> |
||
|
|
27ca36db53 |
V13: relation type controller (#13856)
* Create RelationTypeControllerBase.cs * Implement ByKey endpoint * Move controllers * Implement ByRelationTypeKeyRelationController * Refactor relation service to use skip/take in interface * change httpget * Implement object types endpoint * Add ObjectTypeViewModelFactory.cs * Change signature to IActionResult * Implement CreateRelationTypeController.cs * Implement CreateRelationTypeController.cs * Add optional key parameter to RelationType * Add optional key to RelationTypeSavingViewModel * Update ProducsResponseType * Implement UpdateRelationTypeController * Update routes * Implement DeleteRelationTypeController * Remove key from UpdatingViewmoDel * Implement UpdatingViewModel factory method * Update relationType factory * Fix paging for object types * Implement CreateAsync * Update create action to use CreateAsync * Implement update async * Add default implementations to avoid breaking changes * actually use userIds * Add ProducesResponseType status 400 to endpoints * Implement new DeleteAsync method * Update OpenApi.json * Add mapping to DI * Update 404 to return proper HTTP status * Add not found to ByKey action * Rename viewmodels to request/response * Update OpenApi.json * All RelationServiceTests.cs * Add allowed object types test * Fix grouping * Implement AllowedRelationObjectTypesService.cs * Refactor view model factory to use new service * Implement non-happy path tests * Implement allowed child/parent object types * refactor test to return proper relationTypeOperationStatus * Add can create relation type with key * Add Id test * formatting * Refactor service to have validation logic in save method * move object types endpoint to own silo * Delete unused using * Update OpenApi.json * Update OpenApi.json * Update tests to user proper child/parent * Implement RelationTypeBaseModel * Update OpenApi.json * Use array instead of enumerable * Rename view model factory to presentation factory * Rename GetPagedByRelationTypeKey * Rename IRelationViewModelFactory * Rename IRelationTypeViewModelFactory * Update error description * Update OpenApi.json * Update OpenApi.json --------- Co-authored-by: Zeegaan <nge@umbraco.dk> Co-authored-by: Nikolaj <nikolajlauridsen@protonmail.ch> |