Convert Tourdata into a more generic concept (#15923)
* Added UserData and migrated tours data into it * Remove tourdata from user * Removed tour definition/manipulation classes Fixed a userData error typo * Removed toursettings * Update openapi spec * V13: Align database schemas of migrated and new database (#15934) * Drop default constraint umbracoCacheInstruction table * Align umbracoContentVersion table * Update indexes on external login table * Align node table * Make relation type index unique * Remove user-group default constraint * Re-order methods * Make webhook url not nullable * Cleanup * Cleanup * Update OpenApi.json * Update src/Umbraco.Cms.Api.Management/Controllers/UserData/UserDataControllerBase.cs * Remove tour settings from schema * Add cancelation tokens * Dont inject, but take as parameter * Remove some from injection * Update schema --------- Co-authored-by: Sven Geusens <sge@umbraco.dk> Co-authored-by: Mole <nikolajlauridsen@protonmail.ch> Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com> Co-authored-by: Zeegaan <skrivdetud@gmail.com>
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
// Copyright (c) Umbraco.
|
||||
// See LICENSE for more details.
|
||||
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Umbraco.Cms.Core.Configuration.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Typed configuration options for tour settings.
|
||||
/// </summary>
|
||||
[UmbracoOptions(Constants.Configuration.ConfigTours)]
|
||||
public class TourSettings
|
||||
{
|
||||
internal const bool StaticEnableTours = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether back-office tours are enabled.
|
||||
/// </summary>
|
||||
[DefaultValue(StaticEnableTours)]
|
||||
public bool EnableTours { get; set; } = StaticEnableTours;
|
||||
}
|
||||
Reference in New Issue
Block a user