-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Added change passphrase dialog #1659
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Chirag Aggarwal <[email protected]>
I was thinking that we could use a common widget (a self-implemented one) for all password entries in vorta. Can you implement such thing? |
@real-yfprojects I am assuming password marking, visibility toggle and validation etc in the widget. Should I subclass QLineEdit? |
No, I wouldn't do that you can subclass QWidget and add a layout with the widgets. |
Okay I'll open a new PR for widget after closing this. |
Signed-off-by: Chirag Aggarwal <[email protected]>
I've added 2 new tests but currently the test repo doesn't have encryption so it would run mock command on non-encrypted repo. I can add another repo but it doesn't seem necessary since in GUI button is disabled. |
Co-authored-by: yfprojects <[email protected]>
Co-authored-by: yfprojects <[email protected]>
Signed-off-by: Chirag Aggarwal <[email protected]>
Signed-off-by: jetchirag <[email protected]>
Signed-off-by: jetchirag <[email protected]>
Co-authored-by: yfprojects <[email protected]>
Signed-off-by: Chirag Aggarwal <[email protected]>
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This can now be updated to use the new widgets you implemented @jetchirag |
Signed-off-by: Chirag Aggarwal <[email protected]>
Signed-off-by: Chirag Aggarwal <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost ready to be merged!
Currently the dialog has Vorta
as a window title. This should be something like Change Encryption Passphrase
. I think we no longer need the 'title' label then.
Signed-off-by: Chirag Aggarwal <[email protected]>
Done ✅ |
Just noticed merge conflict. Will solve them. |
# def validate(self): | ||
# """Check encryption type""" | ||
# if self.profile.repo.encryption.startswith('repokey'): | ||
# return True | ||
# self.errorText.setText(translate('utils', 'Encryption type must be repokey.')) | ||
# return False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dead code, Is this still needed?
Description
A way to change the password I provided when the repo were created.
Related Issue
Fixes #303
How Has This Been Tested?
Manually tested with local repos. Pending more extensive testing.
Types of changes
Checklist:
I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.