Added backups of all data, restorable on another computer (#1008)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
j-erlerandThorsten Sommer authored and GitHub committed 2026-10-15 16:42:02 +02:00
1 parent ab45580473
commit 936043319c
144 files changed
+10417 -424

No files matched your search

@@ -116,6 +116,16 @@ public sealed class Data
/// </remarks>
public List<string> AppliedEnterpriseAssistantActivations { get; set; } = [];
/// <summary>
/// Whether AI Studio already stored the chats and the settings once more, so that every path below
/// the data directory in them is relative.
/// </summary>
/// <remarks>
/// Compatibility shim, see documentation/compatibility-shims/2026-10-relative-data-paths.md.
/// Remove after 2027-04-14.
/// </remarks>
public bool StoredDataPathsAreRelative { get; set; }
/// <summary>
/// The next provider number to use.
/// </summary>
@@ -219,6 +219,24 @@ public sealed class DataApp(Expression<Func<Data, DataApp>>? configSelection = n
/// </summary>
public bool AllowUserToSharePlugins { get; set; } = ManagedConfiguration.Register(configSelection, n => n.AllowUserToSharePlugins, true);
/// <summary>
/// Should the user be allowed to back up the data of AI Studio into a file?
/// </summary>
/// <remarks>
/// A backup holds chats and other confidential content in a single file, which can leave the
/// computer on any stick or cloud drive. Secrets never go into it.
/// </remarks>
public bool AllowUserToBackUpData { get; set; } = ManagedConfiguration.Register(configSelection, n => n.AllowUserToBackUpData, true);
/// <summary>
/// Should the user be allowed to restore the data of AI Studio from a backup file, or to add the chats of one?
/// </summary>
/// <remarks>
/// A backup brings along everything its chats and settings name, including the locations of
/// attached documents and of local data sources, which are read again afterward.
/// </remarks>
public bool AllowUserToRestoreData { get; set; } = ManagedConfiguration.Register(configSelection, n => n.AllowUserToRestoreData, true);
/// <summary>
/// Should administration settings be visible in the UI?
/// </summary>