Create sub folder, delete folder, storage settings, some ui adjustments on threads.
This commit is contained in:
@@ -19,6 +19,8 @@ public enum FolderSynchronizerOperation
|
||||
RenameFolder,
|
||||
EmptyFolder,
|
||||
MarkFolderRead,
|
||||
DeleteFolder,
|
||||
CreateSubFolder,
|
||||
}
|
||||
|
||||
public enum CalendarSynchronizerOperation
|
||||
|
||||
@@ -32,5 +32,6 @@ public enum WinoPage
|
||||
CalendarSettingsPage,
|
||||
CalendarAccountSettingsPage,
|
||||
EventDetailsPage,
|
||||
SignatureAndEncryptionPage
|
||||
SignatureAndEncryptionPage,
|
||||
StoragePage
|
||||
}
|
||||
|
||||
@@ -170,4 +170,9 @@ public interface IMailService
|
||||
/// <param name="folderId">Folder ID.</param>
|
||||
/// <param name="count">Number of recent mails to return.</param>
|
||||
Task<IEnumerable<string>> GetRecentMailIdsForFolderAsync(Guid folderId, int count);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all mail copies for the account created before the given UTC date.
|
||||
/// </summary>
|
||||
Task<List<MailCopy>> GetMailCopiesBeforeDateAsync(Guid accountId, DateTime cutoffDateUtc);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Wino.Core.Domain.Interfaces;
|
||||
|
||||
public interface IMimeStorageService
|
||||
{
|
||||
Task<string> GetMimeRootPathAsync();
|
||||
Task<Dictionary<Guid, long>> GetAccountsMimeStorageSizesAsync(IEnumerable<Guid> accountIds);
|
||||
Task DeleteAccountMimeStorageAsync(Guid accountId);
|
||||
Task<int> DeleteAccountMimeStorageOlderThanAsync(Guid accountId, DateTime cutoffDateUtc);
|
||||
}
|
||||
@@ -739,6 +739,33 @@
|
||||
"SettingsStartupItem_Title": "Startup Item",
|
||||
"SettingsStore_Description": "Show some love ❤️",
|
||||
"SettingsStore_Title": "Rate in Store",
|
||||
"SettingsStorage_Title": "Storage",
|
||||
"SettingsStorage_Description": "Scan and manage MIME cache stored in your local data folder.",
|
||||
"SettingsStorage_ScanFolder": "Scan local data folder",
|
||||
"SettingsStorage_NoLocalMimeDataFound": "No local MIME data found.",
|
||||
"SettingsStorage_NoAccountsFound": "No accounts found.",
|
||||
"SettingsStorage_TotalUsage": "Total local MIME usage: {0}",
|
||||
"SettingsStorage_AccountUsageDescription": "{0} used in local MIME cache",
|
||||
"SettingsStorage_DeleteAll_Title": "Delete all MIME content",
|
||||
"SettingsStorage_DeleteAll_Description": "Delete this account's entire MIME cache folder.",
|
||||
"SettingsStorage_DeleteAll_Button": "Delete all",
|
||||
"SettingsStorage_DeleteAll_Confirm_Title": "Delete all MIME content",
|
||||
"SettingsStorage_DeleteAll_Confirm_Message": "Delete all local MIME data for {0}?",
|
||||
"SettingsStorage_DeleteAll_Success": "All MIME content was deleted.",
|
||||
"SettingsStorage_DeleteOld_Title": "Delete old MIME content",
|
||||
"SettingsStorage_DeleteOld_Description": "Delete MIME files based on mail creation date in local database.",
|
||||
"SettingsStorage_DeleteOld_1Month": "> 1 month",
|
||||
"SettingsStorage_DeleteOld_3Months": "> 3 months",
|
||||
"SettingsStorage_DeleteOld_6Months": "> 6 months",
|
||||
"SettingsStorage_DeleteOld_1Year": "> 1 year",
|
||||
"SettingsStorage_DeleteOld_Confirm_Title": "Delete old MIME content",
|
||||
"SettingsStorage_DeleteOld_Confirm_Message": "Delete local MIME data older than {0} for {1}?",
|
||||
"SettingsStorage_DeleteOld_Success": "Deleted {0} MIME folder(s) older than {1}.",
|
||||
"SettingsStorage_1Month": "1 month",
|
||||
"SettingsStorage_3Months": "3 months",
|
||||
"SettingsStorage_6Months": "6 months",
|
||||
"SettingsStorage_1Year": "1 year",
|
||||
"SettingsStorage_Months": "{0} months",
|
||||
"SettingsTaskbarBadge_Description": "Include unread mail count in taskbar icon.",
|
||||
"SettingsTaskbarBadge_Title": "Taskbar Badge",
|
||||
"SettingsThreads_Description": "Organize messages into conversation threads.",
|
||||
|
||||
Reference in New Issue
Block a user