orange-hex / solpm Goto Github PK
View Code? Open in Web Editor NEWSolar Password Manager
License: MIT License
Solar Password Manager
License: MIT License
Entry property of EntryViewModel is automatically binded to SelectedEntry property of the VaultViewModel which causes it to update instantly during editing, making it impossible to cancel the changes made to the entry.
VaultViewModel's edit command was supposed to pass a copy of the selected entry to EntryViewModel where it's Entry property would've gotten assigned the value of the selected entry and would return either nothing on cancel or the edited entry on save.
The EditEntry command can be viewed here:
https://github.com/JoiNNewtany/SolPM/blob/4ebc19c0536712b0bdcf7bb5f0c50147a6330721/SolPM.Core/ViewModels/VaultViewModel.cs#L291-L326
The EntryViewModel's save and cancel commands can be viewed here:
https://github.com/JoiNNewtany/SolPM/blob/4ebc19c0536712b0bdcf7bb5f0c50147a6330721/SolPM.Core/ViewModels/EntryViewModel.cs#L83-L92
A temporary workaround has been found to fix the issue.
Any help would be appreciated.
Before the vault is written to a file its contents need to be encrypted.
The problem is, however, that encryption requires the user's password and asking the user for the password every time they save the vault isn't the best solution.
I have implemented a temporary workaround for this issue in 5e9553c
Any help with this would be very appreciated.
Whenever the last character in any text control is erased, it doesn't update the binding resulting in the bound property keeping the last character. This breaks some data validation rules.
Whenever a data validation error occurs, the graphical element does not show any indication of it happening.
This may happen due to SecurePassword property being bound using a custom behavior. (SecurePasswordBindingBehavior.cs)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.