Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 5474381

Browse files
committed
Version 2.0.7.2
1 parent 00172b5 commit 5474381

File tree

5 files changed

+31
-15
lines changed

5 files changed

+31
-15
lines changed

KeeOneDriveSync.plgx

125 Bytes
Binary file not shown.

KoenZomers.KeePass.OneDriveSync/Forms/OneDriveConfigForm.Designer.cs

Lines changed: 20 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

KoenZomers.KeePass.OneDriveSync/Forms/OneDriveConfigForm.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public OneDriveConfigForm()
2727
{
2828
InitializeComponent();
2929

30-
_resetStatusTimer = new Timer {Enabled = false, Interval = 5000 };
30+
_resetStatusTimer = new Timer {Enabled = false, Interval = 10000 };
3131
_resetStatusTimer.Tick += (sender, args) => { _resetStatusTimer.Enabled = false; UpdateStatus(_defaultStatus); };
3232
}
3333

@@ -61,6 +61,7 @@ private void LoadConfigurations()
6161
configurationItem.ToolTipText = doesDatabaseExistLocally ? "Database has been found" : isRemoteDatabase ? "Database is a remote database which is not supported" : "Database has not been found";
6262
configurationItem.SubItems.Add(new ListViewItem.ListViewSubItem { Name = "OneDrive", Text = configuration.Value.DoNotSync ? "Not synced" : configuration.Value.OneDriveName });
6363
configurationItem.SubItems.Add(new ListViewItem.ListViewSubItem { Name = "CloudStorage", Text = configuration.Value.CloudStorageType.HasValue ? configuration.Value.CloudStorageType.Value.ToString() : configuration.Value.DoNotSync ? "Not in cloud" : CloudStorageType.OneDriveConsumer.ToString() });
64+
configurationItem.SubItems.Add(new ListViewItem.ListViewSubItem { Name = "LastSynced", Text = configuration.Value.LastCheckedAt.HasValue ? configuration.Value.LastCheckedAt.Value.ToString("ddd d MMMM yyyy HH:mm:ss") : "Never" });
6465
ConfigurationListView.Items.Add(configurationItem);
6566
}
6667

@@ -172,7 +173,10 @@ private async Task SyncNow()
172173

173174
UpdateStatus(string.Format("Synchronizing database {0}", configuration.Value.KeePassDatabase.Name));
174175
await KeePassDatabase.SyncDatabase(selectedItem.Text, UpdateStatus, true, configuration.Value);
175-
}
176+
177+
// Update the Last Synced column
178+
selectedItem.SubItems[3].Text = configuration.Value.LastCheckedAt.HasValue ? configuration.Value.LastCheckedAt.Value.ToString("ddd d MMMM yyyy HH:mm:ss") : "Never";
179+
}
176180
}
177181

178182
private async void ConfigurationListViewContextItemSyncNow_Click(object sender, EventArgs e)

KoenZomers.KeePass.OneDriveSync/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("2.0.7.1")]
34+
[assembly: AssemblyVersion("2.0.7.2")]

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Download the PLGX and place it inside your KeePass\Plugins folder. Typically thi
1717

1818
## Latest Version
1919

20+
Version 2.0.7.2 - July 19, 2019
21+
22+
- Added column to the overview with all your KeePassOneDriveSync configurations which shows the date and time at which the sync last checked if there were updates and if so, synced them. This allows you to easily see at one glance if your local KeePass databases are up to date.
23+
2024
Version 2.0.7.1 - July 7, 2019
2125

2226
- Resolved an issue with using the Open from OneDrive option as reported in [issue 100](https://github.com/KoenZomers/KeePassOneDriveSync/issues/100)

0 commit comments

Comments
 (0)