Coder Social home page Coder Social logo

rookiestyle / earlyupdatecheck Goto Github PK

View Code? Open in Web Editor NEW
61.0 3.0 12.0 627 KB

Perform KeePass update check BEFORE opening a database and automatically update plugins

License: GNU General Public License v3.0

C# 99.47% Batchfile 0.53%
keepass keepass2 keepass-plugin plugin

earlyupdatecheck's Introduction

EarlyUpdateCheck

Version Releasedate Downloads
License: GPL v3

Keepass performs its update check only after all initialization is done and - if configured - the most recently used database has been opened.

EarlyUpdateCheck helps to run this checks for updates of KeePass and installed plugins BEFORE a database is opened.
Additionally, it offers a handy one click update mode for all of my plugins integrated in KeePass' update check and also supports updating KeePass itself. This will invoke Windows UAC if required to copy the downloaded files into KeePass' plugin folder. Details can be found in the configuration settings.

EarlyUpdateCheck can update other author's plugins as well. Please have a look at the wiki for details.

EarlyUpdateCheck will trigger KeePass' built-in update check only if all of the following criteria are met

  • Check for update at KeePass startup is active
  • Remember and automatically open last used database on start is active
  • Start minimized and locked is not active

Table of Contents

Configuration

EarlyUpdateCheck integrates into KeePass' options form. Options

The upper part defines whether the update check shall start even before a database is opened. In this case, the update check is triggered as early as possible. As the update check runs in a separate thread, it is still possible that you opened a database while the update check is still running.

To avoid this, check Update check in foregound. KeePass will then wait for the update check to be finished. In case of network issues you may have this update check continue in background.
Checking

One-Click plugin update

The lower part of the options screen allow you to update my plugins in a very easy way. If an update for any of my plugins is available, the Update check form will show an additional column. Select all plugins you wish to update and click Start Update.
Update

Once the plugins have been updated, you need to restart KeePass.
Restart

KeePass update

EarlyUpdateCheck can also update KeePass itself.
KeePass is shipped in different variants and each of them requires a specific way of updating.

EarlyUpdateCheck can detect the used installation variant and if it's correct, you only need to confirm and you're ready to go.
KeePass update

When using the portable version, EarlyUpdateCheck will download the new zip package, extract it to a temporary folder and open this folder in explorer.
To finish the update, you need to close KeePass and copy the downloaded files to your current KeePass folder.

For the other two cases, EarlyUpdateCheck will download the required file. You can decide to open the folder containing the downloaded file or you can start the installation immediately.
Don't forget to close KeePass in the latter case.

Anytime, please ensure to have a working backup strategy.

Translations

My plugins are provided with English language built-in and allow usage of translation files. These translation files need to be placed in a folder called Translations inside your plugin folder. If a text is missing in the translation file, it is backfilled with English text. You're welcome to add additional translation files by creating a pull request as described in the wiki.

Naming convention for translation files: <plugin name>.<language identifier>.language.xml
Example: EarlyUpdateCheck.de.language.xml

The language identifier in the filename must match the language identifier inside the KeePass language that you can select using View -> Change language...
This identifier is shown there as well.

Download & updates

Please follow these links to download the plugin file itself.

If you're interested in any of the available translations in addition, please download them from the Translations folder.

In addition to the manual way of downloading the plugin, you can use EarlyUpdateCheck to update both the plugin and its translations automatically.
See the one click plugin update wiki for more details.

Requirements

  • KeePass: 2.38

earlyupdatecheck's People

Contributors

4-floss-free-libre-open-source-software avatar 576440127 avatar foomin10 avatar hauk92 avatar havokdan avatar internauta92 avatar jalorodri avatar marcelser avatar pomeloy avatar rookiestyle avatar vstory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

earlyupdatecheck's Issues

KeePass not closeable when updating KeePass

Overview

When KeePass itself is updating you cannot close KeePass.

Steps to Reproduce

  1. select "Setuip" as installation type
  2. use "Check for Updates" or wait for an automatic-check when a KeePass update is available
  3. select to update KeePass
  4. In the Popup it says "You have to close KeePass" but you cannot do this as KeePass is blocked from any input as long as the PopUp is showing. So clicking "Yes" actually fails. So the only workaround is to choose "No" and then first close KeePass manually and run setup.exe

Expected Behavior

The plugin should either not block KeePass from beeing closed or even better close KeePass. For this the Plugin should tell something like "Choose 'Yes' for closing KeePass automatically (warning unsaved data maybe lost) or 'No' to open download directory"

Actual Behavior

The plugin blocks the possibility to close down KeePass so the 'Yes' option is not working.

Context

OS: Windows 11
KeePass Version: 2.5.31
Plugin Version: 4.2.1

One-click update reporting success even when the download fails

Overview

One-click update reports a successful update even when no file was downloaded or replaced.

XML entry:

<UpdateInfoExtern>
	<PluginName>KeePassRPC</PluginName>
	<PluginURL>https://keepass.info/plugins.html#keepassrpc</PluginURL>
	<PluginUpdateURL>https://github.com/kee-org/keepassrpc/releases/download/v{MAJOR}.{MINOR}.{BUILD}/KeePassRPC.plgx</PluginUpdateURL>
	<UpdateMode>PlgxDirect</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>

The download fails because there is no {BUILD} in the current version.
Using https://github.com/kee-org/keepassrpc/releases/latest/download/KeePassRPC.plgx works as normal.

Context

OS: Windows 10
KeePass Version: Current
Plugin Version: Current
Debug_EarlyUpdateCheck_20210305T144335Z.zip

A couple of plugins to add to external update file

Hi,

I'm not very familiar with pull requests but here are a couple of plugins you could add to native support:

<UpdateInfoExtern>
	<PluginName>AutoTypeSearch</PluginName>
	<PluginURL>https://keepass.info/plugins.html#atsearch</PluginURL>
	<PluginUpdateURL>https://sourceforge.net/projects/autotypesearch/files/latest/download</PluginUpdateURL>
	<UpdateMode>ZipExtractPlgx</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>
<UpdateInfoExtern>
	<PluginName>AutoTypeSplitter</PluginName>
	<PluginURL>https://keepass.info/plugins.html#atsplit</PluginURL>
	<PluginUpdateURL>https://github.com/xatupal/AutoTypeSplitter/releases/download/v{major}.{minor}/AutoTypeSplitter.plgx</PluginUpdateURL>
	<UpdateMode>PlgxDirect</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>
<UpdateInfoExtern>
	<PluginName>CheckPasswordBox</PluginName>
	<PluginURL>https://keepass.info/plugins.html#chkpwbox</PluginURL>
	<PluginUpdateURL>https://sourceforge.net/projects/checkpasswordbox/files/latest/download</PluginUpdateURL>
	<UpdateMode>ZipExtractPlgx</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>
<UpdateInfoExtern>
	<PluginName>Custom Icon Dashboarder</PluginName>
	<PluginURL>https://keepass.info/plugins.html#icondashb</PluginURL>
	<PluginUpdateURL>https://github.com/incognito1234/KeePass-Custom-Icon-Dashboarder/releases/download/v{major}.{minor}.{build}/CustomIconDashboarder.plgx</PluginUpdateURL>
	<UpdateMode>PlgxDirect</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>
<UpdateInfoExtern>
	<PluginName>Fields Admin Console</PluginName>
	<PluginURL>https://keepass.info/plugins.html#kpfieldsadmin</PluginURL>
	<PluginUpdateURL>https://sourceforge.net/projects/kpfieldsadminconsole/files/latest/download</PluginUpdateURL>
	<UpdateMode>PlgxDirect</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>
<UpdateInfoExtern>
	<PluginName>PasswordAgeColumn</PluginName>
	<PluginURL>https://github.com/tiuub/PasswordAgeColumn</PluginURL>
	<PluginUpdateURL>https://github.com/tiuub/PasswordAgeColumn/releases/download/v{major}.{minor}/PasswordAgeColumn.plgx</PluginUpdateURL>
	<UpdateMode>PlgxDirect</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>

I have not tested all of them as no updates have been released yet but they should work.

Update did not upgrade some plgx

Overview

Overview

Steps to Reproduce

  1. Press update button
  2. accept UAC prompt
  3. find "C:\Program Files (x86)\KeePass Password Safe 2\Plugins\PasswordChangeAssistant.plgx" not updated

Expected Behavior

plgx file replaced with new version. Find new Version after restart KeePass.

Actual Behavior

Nothing happens? But prompts to update again after next update check.

While it worked great for updating your other Plugin ColoredPassword, the updater did not update this plugin:

  • PasswordChangeAssistant
  • PEDCalc
  • KeePass Sync For Google Drive

Context

OS: win11
KeePass Version: 2.49
Plugin Version: 3.5

EarlyUpdateCheck and Master Key on secure desktop

Overview

If "Enter Master Key on secure desktop" is enabled, EarlyUpdateCheck hangs on checking for updates while Master Key secure desktop is never shown, even if I hear the "blip" of Windows secure desktop.
This happens only sometimes, I'd say at the first opening of the day? Then maybe is caching something which skips initial check?

Steps to Reproduce

  1. Enable "Enter Master Key on secure desktop" in Options->Security->Advanced
  2. Close KeePass
  3. Reopen KeePass
  4. I have the EarlyUpdateCheck window on secure screen but not asking me for database password

image

Context

OS: Windows 10 21H2
KeePass Version: 2.50
Plugin Version: 4.1.2

Wrong check of translation file versions

If the version of a translation file is >= 10, only the very last digit is returned.

E. g. <TranslationVersion>10</TranslationVersion> is identified as version 0.
This results in the request to update Translation files during KeePass start

Updating KeePass Sync For Google Drive leaves two files

Overview

Updating KeePass Sync For Google Drive leaves both the old plugin file and an unrenamed new one.

Steps to Reproduce

  1. Have KeePass installed to "C:\Program Files (x86)\KeePass Password Safe 2"
  2. Install KeePass Sync for Google Drive 4.0.3-beta in the default plugin folder and rename it to "KeePassSyncForDrive.plgx".
  3. Update the plugin with EarlyUpdateCheck using the alternative update method confirming all prompts.

Expected Behavior

After a restart of KeePass KeePassSyncForDrive.plgx is present in the in the plugin folder and updated to version 4.0.5-beta.

Actual Behavior

Both the old file KeePassSyncForDrive.plgx (4.0.3) and the new not renamed keepasssyncfordrive-4.0.5-beta.plgx are in the plugins folder.

Context

OS: Windows 10 x64
KeePass Version: 2.47
Plugin Version: 3.1.2
Debug_EarlyUpdateCheck_20210202T115025Z.zip

Support multiple item extraction from zip files.

Summary

Support all items in a zip file to be extracted.
Support certain items within a zip file to be extracted.

Some zip files contain multiple items, including an entire folder. Currently, there is no command to extract these items.

Added value

Users would be able to update more plugins with EarlyUpdateCheck, the Ketarin of KeePass plugins! 😄

Example

  • IOProtocolExt extracts a folder "IOProtocolExt_WinSCP," a "IOProtocolExt.plgx" and "IOProtocolExt.dll" file, as well as a "IOProtocolExt_ReadMe.html" file (OK, probably less important!), all to the plugins folder. Download
  • KeePassNatMsg extracts a folder, "KeePassNatMsg," with 3 dll files in it, where the entire folder is placed in the plugins folder. Download

Plugin do not work correctly when running KeePass using Mono

Hello,
I am using Keepass on a debian based Linux (Raspian) with mono.
Then I start Keepass with your plugin the first time a day, the plugin is looking for Updates
But while/after searching for Updates,

searching

KeePass crashes with this error message

Bildschirmfoto vom 2021-10-08 12-13-55
:

插件更新

keepass便携式,插件文件夹已经更名成Plugins,不再是Portable,导致插件更新功能无法正常使用,希望作者更新一下

The KeePass portable version's plugin folder has been renamed to "Plugins," no longer "Portable," which has caused the plugin update feature to malfunction. I hope the author can update it.

image_17
image_18

Unsupported Plugin KeePass Pronounceable Password Generator 🧩

Overview

Version info missing for Plugin "KeePass Pronounceable Password Generator"

Is it not supported, due to missing version information? Does it need to be removed?

Steps to Reproduce

  1. Started update check with version v1.0.4
  2. I see Pronounceable
  3. but latest should be v1.0.4b
    https://sourceforge.net/projects/pronouncepwgen/files/pronouncepwgen/1.0.4b/

Expected Behavior

allow update to v1.0.4b

Actual Behavior

shows question Marks

Context

OS: win11
KeePass Version: 2.49
Plugin Version: 3.5

Problem updating KeeNatMsg plugin

Overview

Good morning, briefly, my problem is the following, when I went to update the KeeNatMsg plugin, it updated to the binary version and not the pglx one, this meant that KeePass would not open after trying to restart the application, I had to delete the version downloaded by plugin and update manually to be able to run Keepass.

Steps to Reproduce

  1. Use KeePass 2 with KeeNatMsg plugin, pglx version of plugin;
  2. Update the plugin;
  3. KeePass no longer opens when trying to restart.

Expected Behavior

Expectation was to successfully update and reopen the app successfully.

Actual Behavior

KeePass does not open.

Context

OS: Windows 10 x64
KeePass Version: 2.53.1
Plugin Version: 2.15 to 2.16

One-click plugin update not available during startup

Information about plugins that can be updated is not available during KeePass startup.

In this case, KeePass shows the UpdateCheckForm but no Start update is shown.
Subsequent update checks work as intended

Plugin version: 3.2

Support updating DLL Plugins

Summary

There is no way for my plugin to download the newest version in only one step. You also need to manually replace your ... files ... as dll ... and you can't delete dll files while they are loaded.

You can NOT delete a used DLL plugin file or overwrite it.

Added value

There is a workaround for the loaded DLL file auto updating.

Example

But you can actually rename it to let's say RuleBuilder.dll.bak and download new RuleBuilder.dll at the same location. Next KeePass startup, the updated version will be loaded. ;) RuleBuilder.dll.bak can be deleted next start, as the file should be ignored by KeePass, not recognized as Plugin.

Also, moving the loaded DLL is possible. So you could move any loaded Plugin to be updated into a /PendingDelete directory, append .bak to filename (to make sure it will not be loaded again) and on every EarlyUpdateCheck startup, delete or empty that directory if present.

This could be useful for upgrading any DLL based Plugins, I guess.

Add the ability to update ExternalPluginUpdates.xml

Summary

One-click updating ExternalPluginUpdates.xml to add new (or fix) one-click updatable plugins would be very nice!
Specifying the source of ExternalPluginUpdates.xml would also be a nice feature (possibly in ExternalPluginUpdates.xml itself).

New third-party plugins added - KeePass WinHello, KPEntry Templates, KP SimpleBackup

    NOTE - this runs and does not appear to complain, however I am not sure I have applied the 
    {MAJOR}.{MINOR}.{BUILD} notation correctly.  
    
    Use KPSimpleBackup as an example: the releases are stored in folders named like /v1.4.0/  and the plgx file's 
    name also includes the version numbering.  For example:  
    `https://github.com/marvinweber/KPSimpleBackup/releases/download/v1.4.0/KPSimpleBackup-v1.4.0.zip`.       
    
    I decided to include MAJOR}.{MINOR}.{BUILD} in the URL, and also in the plgx file name.  Does EarlyUpdateCheck
    support this?  

    Thank you, @RookieStyle, for the plugins you make - they are excellent, and much appreciated!
<?xml version="1.0" encoding="utf-8"?>
<UpdateInfoExternList>
	<Version>12</Version>

<!--  KPEntry Templates by Mitch Capper -->	
<UpdateInfoExtern>
		<PluginName>Entry Templates for KeePass</PluginName>
		<PluginURL>https://keepass.info/plugins.html#kpentrytemplates</PluginURL>
		<PluginUpdateURL>https://github.com/mitchcapper/KPEntryTemplates/releases/download/{MAJOR}.{MINOR}/KPEntryTemplates.plgx</PluginUpdateURL>
		<UpdateMode>PlgxDirect</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
	</UpdateInfoExtern>

<!-- KeePass Windows Hello by sirAndros -->	
	<UpdateInfoExtern>
		<PluginName>KeePassWinHello</PluginName>
		<PluginURL>https://github.com/sirAndros/KeePassWinHello/</PluginURL>
		<PluginUpdateURL>https://github.com/sirAndros/KeePassWinHello/releases/download/v{MAJOR}.{MINOR}/KeePassWinHelloPlugin.plgx</PluginUpdateURL>
		<UpdateMode>PlgxDirect</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
	</UpdateInfoExtern>

<!--  KPSimple Backup by Marvin Weber  -->
	<UpdateInfoExtern>
		<PluginName>KPSimpleBackup</PluginName>
		<PluginURL>https://github.com/marvinweber/KPSimpleBackup/</PluginURL>
		<PluginUpdateURL>https://github.com/marvinweber/KPSimpleBackup/releases/download/v{MAJOR}.{MINOR}.{BUILD}/KPSimpleBackup-v{major}.{minor}.{build}.zip</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>True</AllowVersionStripping>
	</UpdateInfoExtern>

</UpdateInfoExternList>


WebAutoType Update Check Failed

Overview

An error occurred while checking the version of the WebAutoType plugin.

Steps to Reproduce

  1. Open KeePass.
  2. Click Help → Check for Updates.
  3. In the Update Check window, see an error for WebAutoType “Update check failed. Version information file cannot be downloaded.”

1-1607006798

Expected Behavior

Plugin updates should be checked with no errors.

Actual Behavior

Error for WebAutoType “Update check failed. Version information file cannot be downloaded.”

Here is my ExternalPluginUpdates.xml:

<?xml version="1.0" encoding="utf-8"?>
<UpdateInfoExternList>
  <UpdateInfoExtern>
    <PluginName>KeePassQuickUnlock</PluginName>
    <PluginURL>https://github.com/JanisEst/KeePassQuickUnlock/releases</PluginURL>
    <PluginUpdateURL>https://github.com/JanisEst/KeePassQuickUnlock/releases/latest/download/KeePassQuickUnlock.plgx</PluginUpdateURL>
    <UpdateMode>PlgxDirect</UpdateMode>
    <AllowVersionStripping>True</AllowVersionStripping>
  </UpdateInfoExtern>
  <UpdateInfoExtern>
    <PluginName>Yet Another Favicon Downloader</PluginName>
    <PluginURL>https://github.com/navossoc/KeePass-Yet-Another-Favicon-Downloader/releases</PluginURL>
    <PluginUpdateURL>https://github.com/navossoc/KeePass-Yet-Another-Favicon-Downloader/releases/latest/download/YetAnotherFaviconDownloader.plgx</PluginUpdateURL>
    <UpdateMode>PlgxDirect</UpdateMode>
    <AllowVersionStripping>True</AllowVersionStripping>
  </UpdateInfoExtern>
  <UpdateInfoExtern>
    <PluginName>TCATO Placeholder</PluginName>
    <PluginURL>http://niki.hammler.net/wiki/KeePass#TCATO_Placeholder</PluginURL>
    <PluginUpdateURL>http://niki.hammler.net/w/images/d/de/TCATO_Placeholder_v{MAJOR}{.MINOR}{.BUILD}.zip</PluginUpdateURL>
    <UpdateMode>ZipExtractPlgx</UpdateMode>
    <AllowVersionStripping>True</AllowVersionStripping>
  </UpdateInfoExtern>
  <UpdateInfoExtern>
    <PluginName>WebAutoType</PluginName>
    <PluginURL>https://sourceforge.net/projects/webautotype/</PluginURL>
    <PluginUpdateURL>https://sourceforge.net/projects/webautotype/files/latest/download</PluginUpdateURL>
    <UpdateMode>ZipExtractPlgx</UpdateMode>
    <AllowVersionStripping>True</AllowVersionStripping>
  </UpdateInfoExtern>
</UpdateInfoExternList>

Context

OS: Windows 10 x64
KeePass Version: 2.46
Plugin Version: 3.1.1

Debug_EarlyUpdateCheck_20201203T141435Z.zip

Trying to update KeeAnywhere makes EarlyUpdateCrash

Hi,

Recently, KeeAnywhere was updated from 2.0.3 to 2.1.0 and it was correctly detected by EarlyUpdateCheck but when I choose to updated it I see briefly for 2-3 seconds the progress bar but then EarlyUpdatecheck and whole Keepass closes without any error message whatsoever.

How can I find out what the problem is because it's quite annoying having to update it manually again now knowing what the problem is.

Plugin URL not clickable on Mono

Overview

The plugin options show a link to the plugin's homepage.
This is a clickable link on Windows and plain text on Mono.

Expected Behavior

Should be a clickable link on Mono as well

Actual Behavior

No clickable link

Updating KeePassNatMsg via ZipExtractAll leads to silent KeePass crashes

Overview

Updating KeePassNatMsg via ZipExtractAll leads to silent KeePass crashes and wrong files/folders in the "\KeePass Password Safe 2\Plugins" folder.

Steps to Reproduce

  1. Intall an old version of KeePassNatMsg
  2. Update via one-click plugin update
  3. Restart KeePass

Expected Behavior

All plugin files are updated and KeePass (re)starts.

Actual Behavior

KeePass silently crashes and will not launch until manually deleting the files in the plugin folder.

Folder and files before update:

C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\KeePassNatMsg.dll
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\Mono.Posix.dll
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\Newtonsoft.Json.dll

Folders and files after update:

C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\KeePassNatMsg
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\KeePassNatMsg.dll (new)
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\Mono.Posix.dll (old)
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\Newtonsoft.Json.dll (old)
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\KeePassNatMsg\KeePassNatMsg.dll (old)
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\KeePassNatMsg\Mono.Posix.dll (old)
C:\Program Files (x86)\KeePass Password Safe 2\Plugins\KeePassNatMsg\KeePassNatMsg\Newtonsoft.Json.dll (old)

Context

OS: Windows 10
KeePass Version: Current
Plugin Version: Current
XML entry:

<UpdateInfoExtern>
	<PluginName>KeePassNatMsg</PluginName>
	<PluginURL>https://keepass.info/plugins.html#keepassnatmsg</PluginURL>
	<PluginUpdateURL>https://github.com/smorks/keepassnatmsg/releases/latest/download/KeePassNatMsg-v{MAJOR}.{MINOR}.{BUILD}-binaries.zip</PluginUpdateURL>
	<UpdateMode>ZipExtractAll</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>

Debug_EarlyUpdateCheck_20210305T141142Z.zip

Translation: <language>

Language: GERMAN
[*] Update existing translation
Instead of "Übesetzung" on Early Update Check-Tab of KeePass-Options-Tab for "Plugin Optionen", in third Section, titled "Immer Übersetzung für aktive Sprache aktualisieren", it should read "Übersetzung" (Letter "r" missing after "Übe...").

Alternative method not showing UAC

Hello,
I have an issue updating some plugins (in this case KeePassOTP) with EarlyUpdateCheck.

If I select KeePassOTP and then click UpdatePlugins, I have this message:
image

Choosing yes, no UAC window is shown and I'm unable to close the EarlyUpdateCheck window, I have to kill KeePass from TaskManager.

Not sure if it's related, I'm using "Master Key on secure desktop" function, but EarlyUpdateCheck has the same behaviour even when run from Help -> Check for updates

Using Windows 11 22H2 Build 22621.819

Add KeeAgent to xml

Hi,
successfully added KeeAgent to the xml file. Could you please update it?

Thank you very much!

    <UpdateInfoExtern>
        <PluginName>KeeAgent</PluginName>
        <PluginURL>https://github.com/dlech/KeeAgent/</PluginURL>
        <PluginUpdateURL>https://github.com/dlech/KeeAgent/releases/latest/download/KeeAgent_v{MAJOR}.{MINOR}.{BUILD}.zip</PluginUpdateURL>
        <UpdateMode>ZipExtractPlgx</UpdateMode>
        <AllowVersionStripping>False</AllowVersionStripping>
    </UpdateInfoExtern>

The EarlyUpdateCheck plugin doesn't work any more after I update to KeePass 2.55

Overview

The EarlyUpdateCheck plugin doesn't work any more after I update to KeePass 2.55

Steps to Reproduce

  1. Update KeePass to 2.55
  2. install the EarlyUpdateCheck plugin
  3. open the plugin options

Expected Behavior

It behaves normly when I test on KeePass 2.54
图片
图片
图片
图片

Actual Behavior

The plugin doesn't work.There is no plugin list in the more card. After I delete the ExternalPluginUpdates.xml and EarlyUpdateCheck.zh.language and try to download them again, I can't get them.

KeePass_44EWvm8jqj

KeePass_pHbGloR2W2

Context

OS: Windows 11
KeePass Version:2.54
Plugin Version:4.2.1

Debug_EarlyUpdateCheck_20231013T082425Z.txt

Updates for ExternalPluginUpdates

Good day Rookiestyle

Here are some additions for the ExternalPluginUpdates.xml file.
You may need to verify Dominik's plugins (KeeModifiedBy, OtpKeyProv, and KeeResize), as I was not able to get older versions to test.

<UpdateInfoExtern>
		<PluginName>AutoTypeShow</PluginName>
		<PluginURL>https://sourceforge.net/projects/autotypeshow/</PluginURL>
		<PluginUpdateURL>https://sourceforge.net/projects/autotypeshow/files/latest/download</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
	</UpdateInfoExtern>
	<UpdateInfoExtern>
		<PluginName>EditEntryGroup</PluginName>
		<PluginURL>https://sourceforge.net/projects/editentrygroup/</PluginURL>
		<PluginUpdateURL>https://sourceforge.net/projects/editentrygroup/files/latest/download</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
	</UpdateInfoExtern>
	<UpdateInfoExtern>
		<PluginName>KeeModifiedBy</PluginName>
		<PluginURL>https://keepass.info/plugins.html#keemodifiedby</PluginURL>
		<PluginUpdateURL>https://keepass.info/extensions/v2/keemodifiedby/KeeModifiedBy-{major}{.minor}{.build}.zip</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>True</AllowVersionStripping>
	</UpdateInfoExtern>
	<UpdateInfoExtern>
		<PluginName>OtpKeyProv</PluginName>
		<PluginURL>https://keepass.info/plugins.html#otpkeyprov</PluginURL>
		<PluginUpdateURL>https://keepass.info/extensions/v2/otpkeyprov/OtpKeyProv-{major}{.minor}{.build}.zip</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>True</AllowVersionStripping>
	</UpdateInfoExtern>
	<UpdateInfoExtern>
		<PluginName>TwoFactorQRCodeReader</PluginName>
		<PluginURL>https://sourceforge.net/projects/twofactorqrcodereader/</PluginURL>
		<PluginUpdateURL>https://sourceforge.net/projects/twofactorqrcodereader/files/latest/download</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
	</UpdateInfoExtern>

I'm not sure how to go about KeeResize - this method is only for the plgx file. Whether
or not the other files are necessary (say if you have the full version perhaps), I'm not too clear.
Could use UpdateMode ZipExtractAll otherwise, but then you also get the readme file, which is not desired:

<UpdateInfoExtern>
	<PluginName>KeeResize</PluginName>
	<PluginURL>https://keepass.info/extensions/v2/keeresize/</PluginURL>
	<PluginUpdateURL>https://keepass.info/extensions/v2/keeresize/KeeResize-{major}{.minor}{.build}.zip</PluginUpdateURL>
	<UpdateMode>ZipExtractPlgx</UpdateMode>
	<AllowVersionStripping>True</AllowVersionStripping>
</UpdateInfoExtern>

Another tricky one, which is probably not possible, is NotesSearchPlugin. The download URL contains a hash, so the URL will change.. However, I'm putting it here in case you want to have a look or get ideas for other enhancements to the plugin:

<UpdateInfoExtern>
	<PluginName>NotesSearchPlugin</PluginName>
	<PluginURL>https://besch-it.com/keepass-notes-search-plugin-innerhalb-der-kommentare-suchen-search-within-notes-field/</PluginURL>
	<PluginUpdateURL>https://besch-it.com/sdc_download/923/?key=6y3ck8c6hn2dmdl38d6nd6bnzkihvb</PluginUpdateURL>  <!--  this URL is only for the current version though -->
	<UpdateMode>ZipExtractPlgx</UpdateMode>
	<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>

Kind regards

possibility to go directly to the changelog

hi,
in the update check window, it would be very convenient to be able to go directly to the version changes (or at least on the release page which usually contains a summary).

(I don't know exactly how it works, but as Keepass know where to download the latest version, it should be able to display this page...)

-it could be by clicking on (each) plugin - for the moment this click send to the https://keepass.info/plugins.html page, which makes it duplicate with the link at the bottom...
-or by adding a column on the info of this window with a link or a clickable button...

Merci

Addition of "Title Display" plugin

Summary

Hi Rookiestyle,

I tried to add the plugin "Title Display". It's recognized/listed within your plugin but I don't get update alerts (I downloaded 1.3 and expected an "1.4 is available" alert).

Or did I get something wrong and the whole update checking is relying on KeePass' own update check mechanism (described here) and just not corretly implemented by the dev of the plugin? At least it's not recognized within KeePass...

image

Thanks in advance!

Added value

Update alerts for all others using the plugin

Example

	<UpdateInfoExtern>
		<PluginName>Title Display</PluginName>
		<PluginURL>http://gogogadgetscott.info/keepass/titledisplay/</PluginURL>
		<PluginUpdateURL>http://gogogadgetscott.info/keepass/titledisplay/TitleDisplay-{major}.{minor}.zip</PluginUpdateURL>
		<UpdateMode>ZipExtractPlgx</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
	</UpdateInfoExtern>

Overlapping Problem on KeePasses Options-Page for Plugin "Early Update Check"

Overview

It looks like a Textbox with Path-Info ("C:\Program Files (x86)\KeePass Password Safe 2\Plugins\ExternalPluginUpdates.xml") is overlapping a Link/URL strting (in blue color) with "Date...".

Steps to Reproduce

  1. Start KeePass 2.47 (64-bit), with German Language, with Plugin "Early Update Check"
  2. Go to Page "Extras", select "Options", select Tab "Plugin Options", select thereunder Tab "Early Update Check", select thereunder Tab "Options", switch to Tab "More" ...

Expected Behavior

... where you'll see an "Problem of Overlapping" (sorry, don't know correct expression in english)

Actual Behavior

It does not "behave", there is just one Text overlapping an "Link" I assume!?

Context

OS: Win 10, 64-bit
KeePass Version: 2.47
Plugin Version: 3.4.1

Does not work in version 2.47

Overview

Version 2.47 came out and I realized that the plugin does not work on it when Keepass is installed in "Program Files" and works when installed "Program Files (x86)".

Steps to Reproduce

Install in the folders "Program Files" and try to update any plugin.

Expected Behavior

The update function should appear available, however, in the current state, only the update check is working.

Add KeeTheme

Summary

Add KeeTheme

Added value

<UpdateInfoExtern>
		<PluginName>KeeTheme</PluginName>
		<PluginURL>https://keepass.info/plugins.html#keetheme</PluginURL>
		<PluginUpdateURL>https://github.com/xatupal/KeeTheme/releases/latest/download/KeeTheme.plgx</PluginUpdateURL>               
		<UpdateMode>PlgxDirect</UpdateMode>
		<AllowVersionStripping>False</AllowVersionStripping>
</UpdateInfoExtern>

I was not able to update the file :)
https://github.com/Rookiestyle/EarlyUpdateCheck/blob/master/ExternalPluginUpdates/ExternalPluginUpdates.xml

Add the ability to update .lngx translations files

Summary

Add the ability to update already installed .lngx translations files from https://keepass.info/translations.html
Translations are hosted on sourceforge https://sourceforge.net/projects/keepass/files/Translations%202.x/ but not all translations are updated to the latest version so it should make sense to get the version information from the KeePass site.

Added value

Currently there is no update check or (semi-)auto update for language files, this feature would simplify updating KeePass (translations) for non english users a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.