AppCenter to AppInsights migration. (#562)

* Remove AppCenter usage and libraries.

* Remove redundant pacakges and add the app insights sink.

* Diagnostic id support and manipulating telemetries.

* Handling of appdomain unhandled exceptions.

* Remove unused package identity package from mail project.

* Fixing printing.
This commit is contained in:
Burak Kaan Köse
2025-02-16 01:44:41 +01:00
committed by GitHub
parent f0e513bf0d
commit c1336428dc
27 changed files with 160 additions and 134 deletions

View File

@@ -26,10 +26,6 @@
<PackageReference Include="morelinq" />
<PackageReference Include="Nito.AsyncEx.Tasks" />
<PackageReference Include="NodaTime" />
<PackageReference Include="Serilog" />
<PackageReference Include="Serilog.Exceptions" />
<PackageReference Include="Serilog.Sinks.Debug" />
<PackageReference Include="Serilog.Sinks.File" />
<PackageReference Include="SkiaSharp" />
<PackageReference Include="SqlKata" />
<PackageReference Include="System.Text.Encoding.CodePages" />

View File

@@ -1,42 +0,0 @@
namespace Wino.Core
{
/// <summary>
/// Error codes for Wino application.
/// Pretty outdated.
/// </summary>
public static class WinoErrors
{
public const string AccountStructureRender = nameof(AccountStructureRender);
public const string MimeRendering = nameof(MimeRendering);
public const string MailRendering = nameof(MailRendering);
public const string FolderOperationExecution = nameof(FolderOperationExecution);
public const string StartupAccountExtendFail = nameof(StartupAccountExtendFail);
public const string AccountNavigateInboxFail = nameof(AccountNavigateInboxFail);
public const string AccountCreation = nameof(AccountCreation);
public const string OutlookIntegratorFolderSync = nameof(OutlookIntegratorFolderSync);
public const string GoogleSynchronizerAccountSync = nameof(GoogleSynchronizerAccountSync);
public const string ImapFolderSync = nameof(ImapFolderSync);
public const string RendererCommandMailOperation = nameof(RendererCommandMailOperation);
public const string MailListingMailOperation = nameof(MailListingMailOperation);
public const string AutoMarkAsRead = nameof(AutoMarkAsRead);
public const string MailListGetItem = nameof(MailListGetItem);
public const string MailListCollectionUpdate = nameof(MailListCollectionUpdate);
public const string MailListRefreshFolder = nameof(MailListRefreshFolder);
public const string ProcessorTaskFailed = nameof(ProcessorTaskFailed);
public const string SearchFailed = nameof(SearchFailed);
public const string BatchExecutionFailed = nameof(BatchExecutionFailed);
public const string SingleBatchExecutionFailedGoogle = nameof(SingleBatchExecutionFailedGoogle);
public const string SynchronizationWorkerException = nameof(SynchronizationWorkerException);
public const string StoreRatingSubmission = nameof(StoreRatingSubmission);
public const string OpenAttachment = nameof(OpenAttachment);
public const string SaveAttachment = nameof(SaveAttachment);
public const string OutlookMimeSaveFailure = nameof(OutlookMimeSaveFailure);
}
}