feat: replace LiteDB with Sqlite

- Replace LiteDB database engine with Sqlite
  Note: old databases will not be deleted
- Message duplication detection improvements
- Tolerate parse errors in release builds, log them
This commit is contained in:
Dean Sheather
2024-04-19 16:57:19 +10:00
parent d7573f7bf6
commit bb6c6b0034
36 changed files with 1421 additions and 906 deletions
+9 -27
View File
@@ -1463,6 +1463,15 @@ namespace ChatTwo.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to An error occurred while loading chat history. Please see plugin logs for more information to report this issue..
/// </summary>
internal static string LoadMessages_Error {
get {
return ResourceManager.GetString("LoadMessages_Error", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0} is performing a database migration..
/// </summary>
@@ -2237,33 +2246,6 @@ namespace ChatTwo.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Allow multiple clients to run {0} at the same time, sharing the same database..
/// </summary>
internal static string Options_SharedMode_Description {
get {
return ResourceManager.GetString("Options_SharedMode_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enable multi-client mode.
/// </summary>
internal static string Options_SharedMode_Name {
get {
return ResourceManager.GetString("Options_SharedMode_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This option is not recommended. No support will be offered if you enable this option. This option will hurt the performance of {0}..
/// </summary>
internal static string Options_SharedMode_Warning {
get {
return ResourceManager.GetString("Options_SharedMode_Warning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show the Novice Network join button next to the settings button if logged in as a mentor..
/// </summary>