changelog for version 1.11

This commit is contained in:
Philipp Crocoll
2024-02-06 09:40:54 +01:00
parent e38e7df221
commit 54eb1baee2
2 changed files with 37 additions and 10 deletions

View File

@@ -27,6 +27,7 @@ namespace keepass2android
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(ctx, Android.Resource.Style.ThemeHoloLightDialog)); AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(ctx, Android.Resource.Style.ThemeHoloLightDialog));
builder.SetTitle(ctx.GetString(Resource.String.ChangeLog_title)); builder.SetTitle(ctx.GetString(Resource.String.ChangeLog_title));
List<string> changeLog = new List<string>{ List<string> changeLog = new List<string>{
BuildChangelogString(ctx, new List<int>{Resource.Array.ChangeLog_1_11,Resource.Array.ChangeLog_1_11_net}, "1.11"),
BuildChangelogString(ctx, Resource.Array.ChangeLog_1_10, "1.10"), BuildChangelogString(ctx, Resource.Array.ChangeLog_1_10, "1.10"),
BuildChangelogString(ctx, Resource.Array.ChangeLog_1_09e, "1.09e"), BuildChangelogString(ctx, Resource.Array.ChangeLog_1_09e, "1.09e"),
BuildChangelogString(ctx, Resource.Array.ChangeLog_1_09d, "1.09d"), BuildChangelogString(ctx, Resource.Array.ChangeLog_1_09d, "1.09d"),
@@ -122,21 +123,32 @@ namespace keepass2android
} }
private static string BuildChangelogString(Context ctx, int changeLogResId, string version) private static string BuildChangelogString(Context ctx, int changeLogResId, string version)
{ {
string result = "Version " + version + "\n"; return BuildChangelogString(ctx, new List<int>() { changeLogResId }, version);
}
private static string BuildChangelogString(Context ctx, List<int> changeLogResIds, string version)
{
string result = "Version " + version + "\n";
string previous = ""; string previous = "";
foreach (var item in ctx.Resources.GetStringArray(changeLogResId)) foreach (var changeLogResId in changeLogResIds)
{ {
if (item == previous) //there was some trouble with crowdin translations, remove duplicates foreach (var item in ctx.Resources.GetStringArray(changeLogResId))
continue; {
result += " * " + item + "\n"; if (item == previous) //there was some trouble with crowdin translations, remove duplicates
previous = item; continue;
result += " * " + item + "\n";
previous = item;
}
} }
return result;
return result;
} }
private const string HtmlStart = @"<html> private const string HtmlStart = @"<html>
<head> <head>
<style type='text/css'> <style type='text/css'>
a { color:#000000 } a { color:#000000 }

View File

@@ -727,6 +727,21 @@
<string name="CloseDbAfterFailedAttempts">Close database after three failed biometric unlock attempts.</string> <string name="CloseDbAfterFailedAttempts">Close database after three failed biometric unlock attempts.</string>
<string name="WarnFingerprintInvalidated">Warning! Biometric authentication can be invalidated by Android, e.g. after adding a new fingerprint in your device settings. Make sure you always know how to unlock with your master password!</string> <string name="WarnFingerprintInvalidated">Warning! Biometric authentication can be invalidated by Android, e.g. after adding a new fingerprint in your device settings. Make sure you always know how to unlock with your master password!</string>
<string-array name="ChangeLog_1_11">
<item>Added floating action buttons for search and TOTP overview (if TOTP entries are present).</item>
<item>Improved display of TOTP fields by adding a timeout indicator and showing it more prominently.</item>
<item>TOTP can now be seen from the group view.</item>
<item>Copy text value to clipboard on long-press in entry view.</item>
<item>Make TOTP more easily accessible on the built-in keyboard.</item>
<item>Show entry notification when autofilling a TOTP entry. This allows to copy the TOTP to clipboard. See preferences to configure the behavior.</item>
<item>Updated TOTP implementation to resolve compatibility issues with KeePass2 and TrayTOTP</item>
<item>Minor improvements</item>
</string-array>
<string-array name="ChangeLog_1_11_net">
<item>Update pCloud SDK to provide access to shared folders</item>
</string-array>
<string-array name="ChangeLog_1_10"> <string-array name="ChangeLog_1_10">
<item>Add support for notification permissions on Android 13+</item> <item>Add support for notification permissions on Android 13+</item>
<item>Improve the FTP and SFTP implementation</item> <item>Improve the FTP and SFTP implementation</item>