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
[mobile] support non-numeric passwords #14
[mobile] support non-numeric passwords #14
Conversation
Allow to always hide the built-in qtvirtualkeyboard to support using a different keyboard. Related: https://gitlab.com/postmarketOS/postmarketos-ondev/-/issues/47
Prepare to add a config option to allow non-numeric passwords, by giving the existing default_pin screen the more generic name user_pass. Adjust the title of the screen too. "default" in the file name was referring to configuring the default user's PIN/password as opposed to the SSH user. However, I think replacing it with "user" makes it more intuitive.
Change "cannot be typed in at boot time" to "can possibly not be typed in after installation" and explain that the same check is now used for the user password too.
Fix the condition in the while loop, so that it can actually continue with the "continue" keyword. Without this patch, having the sshd feature disabled would result in the fsType feature getting displayed, even if it was disabled.
Apply patches from the following MR, as they are required by postmarketos-ondev 0.5.0. I wrote most of the upstream mobile module code and I'm confident that they will get merged with either no or little changes: calamares/calamares-extensions#14
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.
In general, LGTM; you're the mobile-QML person after all. Two comments on possible code-style improvements.
Make it more readable as for-loop.
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.
Thanks for the quick review, @adriaandegroot!
@adriaandegroot: how about tagging a new release of calamares-extensions? :) EDIT: this PR is part of latest release 1.1.2 already, however, a new release would be good to have 718f73c. Thanks for adjusting the code btw! |
@ollieparanoid There's a 1.2.1 now. |
Thank you very much @adriaandegroot! |
Interface Sxmo does not require a numeric password, so let's add an option that allows to disable the numeric password. Also there is work being done to allow non-numeric passwords in Phosh (phosh!801).
While at it, add an option to disable the built-in virtual keyboard and fix a bug I found while developing this, navNextFeature wasn't able to skip more than one disabled feature at the same time.
Find details in the commit messages.
CC: @adriaandegroot, @Undef-a