Commit graph

12 commits

Author SHA1 Message Date
Floris Bos
ebaf2ef6a1 qml advanced options: do not render HTML when displaying username
QML text labels by default support a small subset of HTML
formatting (e.g. <b> and <a href>)
Disable this.

Closes #564
2023-03-10 15:50:27 +01:00
Floris Bos
ebc6edc0c3 Advanced settings: use current username instead of Pi as default
Instead of using 'pi' as default, try to get the username of
the current user from the OS.

May not always work. (e.g. some Windows users may not have
setup a username themselves, but may be using a default user
created by the PC vendor).

Closes #497
2022-11-15 01:10:46 +01:00
Floris Bos
c3237625bf Fix behavior on pressing "X" in advanced options dialog
In the "advanced settings" dialog, if "X" instead of
"apply settings" is clicked, it is seen as "cancel" and
no settings are applied.

If there do are saved settings, make sure to ask the
user on pressing "write" if they do want the saved settings
applied, instead of applying no settings.
2022-11-14 21:41:51 +01:00
Floris Bos
9d4665dbca Advanced settings: fix escaping single quotes
Ref #486
2022-10-15 15:21:39 +02:00
Floris Bos
ce0b02b823 Prevent user from entering invalid characters in hostname field
Implemented as "validator" which will cause that if an user
presses a key that is not allowed, it will not register.
Saves having to add an error message that would need to be
translated to different languages.

Closes #474
2022-08-18 20:07:26 +02:00
Floris Bos
2c00c64aba Revert "Add new regulatory-domain parameter to cloud-init files"
Existing Ubuntu version does not like new regulatory-domain
parameter being present.
This reverts commit 31252bf1c4.
2022-08-18 15:21:09 +02:00
Floris Bos
4961990ce0 Allow outsourcing custom settings to script 2022-07-31 16:02:10 +02:00
Floris Bos
31252bf1c4 Add new regulatory-domain parameter to cloud-init files
Seems to have been added to netplan: https://github.com/canonical/netplan/pull/281
2022-07-31 15:06:03 +02:00
Floris Bos
a46fd2d1fa Fix persistent public key setting
Closes #464
2022-07-26 23:20:42 +02:00
Floris Bos
8d943ce2bd Remove overscan/piwiz supression options
- Remove overscan and piwiz supression option
- Change wifi -> wireless LAN
- Bump version
2022-03-24 20:06:14 +01:00
Floris Bos
6edd14f044 Embedded: fix password mask character 2022-02-23 16:47:04 +01:00
Floris Bos
033ff07abf Move source files to /src 2022-02-14 10:07:15 +01:00
Renamed from OptionsPopup.qml (Browse further)