Adriaan de Groot
18626901d3
[locale] Improve regional variant lookup
2022-06-19 14:49:46 +02:00
Adriaan de Groot
40d8e1e0f6
[locale] Expand tests for matching-valencia locales
2022-06-19 14:39:12 +02:00
Adriaan de Groot
b8b7b10bfd
[locale] Be more chatty when loading locales
2022-06-19 14:17:12 +02:00
Adriaan de Groot
b7dcf55d4c
[locale] Add debug while mapping language+country
2022-06-19 11:51:38 +02:00
Adriaan de Groot
7f7e4aa1ae
[locale] Expand tests to language-matching
2022-06-18 12:33:02 +02:00
Adriaan de Groot
79db04dc2e
[locale] Defer to the locale-service idea of LANG
...
- Using QLocale().name() loses some special locales that
Calamares understands but Qt does not (e.g. sr@latn, ca@valencia)
so do it in two steps.
2022-06-18 11:48:50 +02:00
Adriaan de Groot
2478570deb
[libcalamares, keyboard] Use convenience for getting current locale
2022-06-18 00:40:26 +02:00
Adriaan de Groot
700f2a6af3
[fstab] Warn when the mount options end up weird
...
Cherry-picked from 3.3, but only half of it applies.
2022-06-12 14:50:51 +02:00
Adriaan de Groot
fb910d7c41
[fstab] Fix schema for new tmpOptions settings
2022-05-29 17:04:24 +02:00
Adriaan de Groot
55f1df9563
[users] Just don't test restore-to-previous, too flaky
2022-05-29 17:00:37 +02:00
Adriaan de Groot
00898b18d6
[welcomeq] Remove about-calamares button from default QML
2022-05-29 15:38:06 +02:00
Adriaan de Groot
84186babab
[welcome] Remove the about-calamares button from the (widgets) UI
2022-05-29 15:34:19 +02:00
Adriaan de Groot
18363ca183
[welcome] Move about-calamares box to Calamares (main)
2022-05-29 15:31:25 +02:00
Adriaan de Groot
6e8d820737
[partition] Missing space
2022-05-28 13:43:45 +02:00
Adriaan de Groot
135fce77c1
i18n: update english
2022-05-27 12:39:58 +02:00
Adriaan de Groot
af813ac95b
[fstab] Don't import (unused) subprocess
2022-05-24 16:51:36 +02:00
Adriaan de Groot
bb395db9f4
Merge branch 'release-3.2.58.2' into calamares
2022-05-24 16:48:05 +02:00
Adriaan de Groot
ff7ceb2e2b
[fstab] Replace two-step attribute-setting with one step
2022-05-24 15:56:34 +02:00
Adriaan de Groot
f4e5e08aa8
[fstab] Be more careful in setting up btrfs swap
...
- do not use subprocess module in Python bits,
- do +C (no-CoW) after turning compression off
2022-05-24 15:18:50 +02:00
abalfoort
63ee982d36
[fstab] Configure tmp on tmpfs
...
Adds a new option / configuration keys to `fstab.conf` to
configure how /tmp is created. The example shows how /tmp
is made *tmpfs* on an SSD, or on not-SSD, is just-a-directory.
FIXES #1818
2022-05-24 13:26:07 +02:00
abalfoort
4e5078c950
[fstab] Fix unencrypted root check
...
There are more ways (than not having a keyfile) for the root
partition to be unencrypted. Check it based on the settings
in the partition data.
2022-05-24 13:25:28 +02:00
abalfoort
badb1d4706
[luksbootkeyfile] Handle key-slots-are-full
2022-05-24 13:07:17 +02:00
Adriaan de Groot
fd53c090f4
[partition] Massage coding style
...
- some long-missing (unrelated to recent PR) braces
- remove some redundant comments
2022-05-24 12:58:02 +02:00
Adriaan de Groot
6de880c95d
[partition] No need for temporary variable
2022-05-24 12:58:02 +02:00
Adriaan de Groot
de03a92a8f
[partition] Move LUKS helpers code-documentation
2022-05-24 12:58:02 +02:00
abalfoort
2a7cbd2520
[partition] update LuksDevice to savePassphrase and enum
2022-05-24 12:58:02 +02:00
Adriaan de Groot
7e4fc3e4c7
[welcome] Use about-message from Config
...
- for QML, this is the easiest way to factor out the message
(no convenient access to free functions, unless I bung the
message into e.g. Branding where I don't think it fits
very well).
2022-05-23 17:11:45 +02:00
Adriaan de Groot
f9f18e5d3b
[welcome] Use welcome message from Config object
2022-05-23 17:00:56 +02:00
Adriaan de Groot
4a852facb3
[welcome] Use generated about string
2022-05-23 16:57:51 +02:00
Adriaan de Groot
f8345a09a2
[netinstall] Add disambiguation to labels
2022-05-23 15:41:45 +02:00
Adriaan de Groot
cc7fe7fff7
[users] Adjust failure expectations (today, for an openSUSE development host)
2022-05-20 22:50:23 +02:00
Adriaan de Groot
0a4e6804c6
[partition] Move encryption state-calculation to state()
...
Previously, state() just returned a stored state, which changed
via updateState(). However, when updateState() started taking
visibility-of-the-widget into account, it became possible to
de-sync the *apparent* state of the encryption widget, from the
stored one:
- make an encryption widget, which is not visible
- show it.
Now the stored-state takes visibility into account that is
different (hidden, so we end up with a state of Unconfirmed)
from the apparent value (shown and unchecked).
Move the calculation to state() instead, so whenever queried,
it checks the current checks-and-visibility values. Restore
the previously-reverted bit for accepting LUKS partitions.
SEE #1935
SEE #1953
2022-05-20 18:10:24 +02:00
Adriaan de Groot
900700b9bc
[partition] Partial revert reuse-luks merge
...
- a hidden checkbox should not be handled the same as a checkbox
that is checked; if there is a setting that can be checked or
unchecked, it can only be checked when visible.
FIXES #1953
2022-05-20 13:49:32 +02:00
Adriaan de Groot
e7f6ead038
[partition] When changing encryption-widget visibility, re-check next
2022-05-20 12:02:25 +02:00
Adriaan de Groot
51e3ac0ded
[partition] Polish up debugging when checking for next-enabled
...
- Improve the messages a bit
- Remove useless variable (it is checking that the switch(choice)
statement covers all the cases; let's leave that to the compiler)
2022-05-20 11:56:08 +02:00
Adriaan de Groot
17814410e9
[users] always-forbidden-names should be set in the Config constructor
2022-05-18 14:40:35 +02:00
Adriaan de Groot
cebafcf869
[users] Make test more expressive
2022-05-18 14:37:02 +02:00
Adriaan de Groot
7d5a4eafa2
[partition] Support KPMCore3 API (no testPassphrase in FS::luks)
2022-05-18 14:06:00 +02:00
Adriaan de Groot
874a0c1f38
CI: apply coding style globally again
2022-05-18 12:44:55 +02:00
Adriaan de Groot
8fea6f71ab
[partition] Apply coding style
2022-05-18 12:26:19 +02:00
Adriaan de Groot
62f3055e5a
[netinstall] Implement a special "blank" item
...
- If the name of an item is empty, treat it as a
"separator line", do not paint it like a regular
item. The branches of the tree just pass it by.
2022-05-18 00:25:04 +02:00
Adriaan de Groot
9e2728bcb7
[netinstall] Polish up SPDX headers
2022-05-17 14:40:36 +02:00
Adriaan de Groot
6bf710bed3
[netinstall] Introduce a custom class for the Tree Widget
2022-05-17 14:38:44 +02:00
Adriaan de Groot
9d6bb2ee2a
Merge pull request #1952 from abalfoort/#1935
...
#1935 - Reuse luks partitions
2022-05-17 10:35:51 +02:00
Adriaan de Groot
a63c474d93
Merge pull request #1948 from dalto8/zfsencryption
...
[partition] Don't offer whole disk encryption when zfs is selected
2022-05-17 10:31:48 +02:00
abalfoort
f67df577db
Fix compilation warning
2022-05-16 15:08:11 +02:00
abalfoort
25a6a5ee53
Fix crypttab
2022-05-16 15:06:59 +02:00
abalfoort
cd4b8d4179
Reuse luks partitions
2022-05-16 15:06:33 +02:00
dalto
31c8123677
[partition] Remove no longer needed setChecked() in the encryption widget
2022-05-14 10:38:27 -05:00
Adriaan de Groot
d318778f53
Merge pull request #1949 from dalto8/removeemits
...
Remove unneeded emits
2022-05-14 17:24:48 +02:00