Would it be possible to change the visibility of PwEntryForm.SetExpireIn to public? I have a plugin which adds custom options to the password expiration dropdown on the entry form and this method would be really handy in setting the values in the UI. I looked into setting Expires and ExpiryTime in EntryRef but this does not set the values in the UI. I can only see the changes after the entry is saved. The desired behavior is the same as if the user was clicking on one of the standard expiration time entries. Currently I'm having to access this method via reflection and it works but it feels wrong.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would it be possible to change the visibility of PwEntryForm.SetExpireIn to public? I have a plugin which adds custom options to the password expiration dropdown on the entry form and this method would be really handy in setting the values in the UI. I looked into setting Expires and ExpiryTime in EntryRef but this does not set the values in the UI. I can only see the changes after the entry is saved. The desired behavior is the same as if the user was clicking on one of the standard expiration time entries. Currently I'm having to access this method via reflection and it works but it feels wrong.
That's a small detail. Programmers are great
The item selection box should have time to select whether it is expected to be sorted in ascending or descending order
I've made the
PwEntryForm.SetExpireInmethod public now (for KeePass 2.51).Best regards,
Dominik
Thank you so much. This works for me. This is the link to my plugin for your review. https://github.com/Mascavidrio/KeePassCPEO
Last edit: Paul 2022-03-06
Great plugin, thanks for developing it! I've added KeePassCPEO to the plugins page:
https://keepass.info/plugins.html#kpcpeo
Do you wish your KeePassDPG plugin to be listed, too?
Thanks and best regards,
Dominik
Yes, that would be great. Thank you so much.
Ok, I've added KeePassDPG in the 'Passphrase Generators' group:
https://keepass.info/plugins.html#ppgen
Thanks again and best regards,
Dominik