Item tracking improvements (#11919)
* Adding TrackedReferencesController * Adding/changing views * Adding/Editing js files * RelationService changes * RelationRepository changes * Adding missing translations * Adding/Modifying tests * Beginning of #9125 migration * Introducing a new component + refactoring based on that * Abstracting + refactoring * Work on content unpublishing * Work on media.delete * Various small changes * Beginning of #9119 migration * Changes on content.delete * Various fixes * Adding new keys used in the listview bulk actions * Adding methods to get the items used in relations from array of ids * Adding the checkLinkedItems function to the trackedReferencesResource * Passing the selected items from a listview to unpublish and delete * Adding umb-tracked-references-listview * Adding umb-tracked-references-listview-table with language column * Fixes for tracked references * Changes in listview unpublish dialog * Changes in listview delete dialog * Removing Variants logic as it is not currently supported * Visual fixes * Closing dialogs on click * Fix wording * Fix breaking changes * Change to a single title "Items in use" instead of 2 different for Content and Media * No need for obsoleting because we can change new controllers * Return ActionResult from actions * V9: Prevent delete or unpublish of items that have references (#12047) * Introducing config settings that prevent delete or unpublish of items referenced by other items * Disable deletion of content items and show a new warning * Disable deletion of media items and show a new warning * Disable deletion of list view items * Disable unpublish and bulk unpublish * Add a new warning * V9: Displaying descendants in use as part of item tracking (#12039) * Replace HasReferencesInDescendants with GetPagedDescendantsInReferences * Display descendants in use on parent's info tab * Add getPagedDescendantsInReferences to trackedReferencesResource * Add lang keys for Descendants in use * Refactoring controller actions * Don't call check descendants usage when it is a new item * rename busfy to busy * always show references * rearrange for scrollbar to appear at the edge of the dialog * use the word referenced instead of used * change fallback texts * Added "IsDependency" to relation types * refactor of umb-tracked-references * rename checkLinkedItems to getPagedReferencedItems * rename check to load, to be consistent with the rest. * Refactored backend . Needs frontend fixes * Cleanup * Use filters * Front-end refactor to match refactored end-points * Fixed bug + warning * Fixed query (more then 2100 descensdants) and optimized it (using nested select instead of inner join). * remove comment * hideNoneDependencies including varying text for the configuration * Hack for SqlCE :( * some final adjustments for item tracking ui * Unbreak change Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com> Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
committed by
GitHub
parent
2ff2ae3f0a
commit
d9d5dc5626
@@ -47,6 +47,7 @@ namespace Umbraco.Cms.Infrastructure.DependencyInjection
|
||||
builder.Services.AddUnique<IPublicAccessRepository, PublicAccessRepository>();
|
||||
builder.Services.AddUnique<IRedirectUrlRepository, RedirectUrlRepository>();
|
||||
builder.Services.AddUnique<IRelationRepository, RelationRepository>();
|
||||
builder.Services.AddUnique<ITrackedReferencesRepository, TrackedReferencesRepository>();
|
||||
builder.Services.AddUnique<IRelationTypeRepository, RelationTypeRepository>();
|
||||
builder.Services.AddUnique<IServerRegistrationRepository, ServerRegistrationRepository>();
|
||||
builder.Services.AddUnique<ITagRepository, TagRepository>();
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace Umbraco.Cms.Infrastructure.DependencyInjection
|
||||
builder.Services.AddUnique<IServerRegistrationService, ServerRegistrationService>();
|
||||
builder.Services.AddUnique<IEntityService, EntityService>();
|
||||
builder.Services.AddUnique<IRelationService, RelationService>();
|
||||
builder.Services.AddUnique<ITrackedReferencesService, TrackedReferencesService>();
|
||||
builder.Services.AddUnique<IMacroService, MacroService>();
|
||||
builder.Services.AddUnique<IMemberTypeService, MemberTypeService>();
|
||||
builder.Services.AddUnique<IMemberGroupService, MemberGroupService>();
|
||||
|
||||
Reference in New Issue
Block a user