* add jwt expiry * start of 0.9 api impl * some stuff idk * some more impl * some cleanup * remove grouppair, add configuration, rework some pair drawing stuff * do some stuff * rework some ui * I don't even know anymore * add cancellationtoken * token bla * ui fixes etc * probably individual adding/removing now working fully as expected * add working report popup * I guess it's more syncshell shit or so * popup shit idk * work out most of the syncshell bullshit I guess * delete some old crap * are we actually getting closer to the end * update pair info stuff * more fixes/adjustments, idk * refactor some things * some rework * some more cleanup * cleanup * make menu buttons w i d e * better icon text buttons * add all syncshell folder and ordering fixes --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
49 lines
2.6 KiB
C#
49 lines
2.6 KiB
C#
using MareSynchronos.MareConfiguration.Models;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace MareSynchronos.MareConfiguration.Configurations;
|
|
|
|
[Serializable]
|
|
public class MareConfig : IMareConfiguration
|
|
{
|
|
public bool AcceptedAgreement { get; set; } = false;
|
|
public string CacheFolder { get; set; } = string.Empty;
|
|
public bool DisableOptionalPluginWarnings { get; set; } = false;
|
|
public bool EnableDtrEntry { get; set; } = false;
|
|
public bool EnableRightClickMenus { get; set; } = true;
|
|
public NotificationLocation ErrorNotification { get; set; } = NotificationLocation.Both;
|
|
public string ExportFolder { get; set; } = string.Empty;
|
|
public bool FileScanPaused { get; set; } = false;
|
|
public NotificationLocation InfoNotification { get; set; } = NotificationLocation.Toast;
|
|
public bool InitialScanComplete { get; set; } = false;
|
|
public LogLevel LogLevel { get; set; } = LogLevel.Information;
|
|
public bool LogPerformance { get; set; } = false;
|
|
public double MaxLocalCacheInGiB { get; set; } = 20;
|
|
public bool OpenGposeImportOnGposeStart { get; set; } = false;
|
|
public bool OpenPopupOnAdd { get; set; } = true;
|
|
public int ParallelDownloads { get; set; } = 10;
|
|
public bool PreferNotesOverNamesForVisible { get; set; } = false;
|
|
public float ProfileDelay { get; set; } = 1.5f;
|
|
public bool ProfilePopoutRight { get; set; } = false;
|
|
public bool ProfilesAllowNsfw { get; set; } = false;
|
|
public bool ProfilesShow { get; set; } = true;
|
|
public bool ShowCharacterNameInsteadOfNotesForVisible { get; set; } = false;
|
|
public bool ShowOfflineUsersSeparately { get; set; } = true;
|
|
public bool GroupUpSyncshells { get; set; } = true;
|
|
public bool ShowOnlineNotifications { get; set; } = false;
|
|
public bool ShowOnlineNotificationsOnlyForIndividualPairs { get; set; } = true;
|
|
public bool ShowOnlineNotificationsOnlyForNamedPairs { get; set; } = false;
|
|
public bool ShowTransferBars { get; set; } = true;
|
|
public bool ShowTransferWindow { get; set; } = false;
|
|
public bool ShowUploading { get; set; } = true;
|
|
public bool ShowUploadingBigText { get; set; } = true;
|
|
public bool ShowVisibleUsersSeparately { get; set; } = true;
|
|
public int TimeSpanBetweenScansInSeconds { get; set; } = 30;
|
|
public int TransferBarsHeight { get; set; } = 12;
|
|
public bool TransferBarsShowText { get; set; } = true;
|
|
public int TransferBarsWidth { get; set; } = 250;
|
|
public bool UseAlternativeFileUpload { get; set; } = false;
|
|
public bool UseCompactor { get; set; } = false;
|
|
public int Version { get; set; } = 1;
|
|
public NotificationLocation WarningNotification { get; set; } = NotificationLocation.Both;
|
|
} |