Menu

SetExpireIn Method Visibility

2022-03-04
2022-03-07
  • Jose Quintero

    Jose Quintero - 2022-03-04

    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
    • venday

      venday - 2022-03-07

      That's a small detail. Programmers are great

       
    • venday

      venday - 2022-03-07

      The item selection box should have time to select whether it is expected to be sorted in ascending or descending order

       
  • Dominik Reichl

    Dominik Reichl - 2022-03-04

    I've made the PwEntryForm.SetExpireIn method public now (for KeePass 2.51).

    Best regards,
    Dominik

     
    👍
    1
  • Jose Quintero

    Jose Quintero - 2022-03-05

    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
  • Dominik Reichl

    Dominik Reichl - 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

     
    • Jose Quintero

      Jose Quintero - 2022-03-07

      Yes, that would be great. Thank you so much.

       
  • Dominik Reichl

    Dominik Reichl - 2022-03-07

    Ok, I've added KeePassDPG in the 'Passphrase Generators' group:
    https://keepass.info/plugins.html#ppgen

    Thanks again and best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB