Commit Graph

8431 Commits

Author SHA1 Message Date
Adriaan de Groot
16cb360a69 [libcalamares] Don't write out pragmas by hand, use Qt helpers 2024-10-22 21:24:23 +02:00
Adriaan de Groot
f4d62f0f41 [locale] Repair tests
It is unclear how this could have worked previously:
the only code path through currentLocationStatus()
checks the pointer, also.
2024-10-22 21:14:38 +02:00
Adriaan de Groot
c68c3632cc [users] Expand tests and repair newly-acceptable cases 2024-10-22 17:41:57 +02:00
Adriaan de Groot
4ac0529d1c [users] Explain new permissions possibilities in config 2024-10-22 17:41:57 +02:00
Adriaan de Groot
c9e9043e9d [users] Expand configuration-parsing for home-permissions 2024-10-22 17:40:08 +02:00
Adriaan de Groot
206dfce409 [libcalamares] Add an "rwx" mode for permissions (and tests) 2024-10-22 17:35:13 +02:00
Adriaan de Groot
d1dece4473 [libcalamares] Expand file-permissions to allow leading 'o' 2024-10-22 17:31:30 +02:00
Adriaan de Groot
7842d03ef6 [libcalamares] Add an "integer-like" predicate for variants 2024-10-22 17:31:30 +02:00
Adriaan de Groot
69e3e493de [users] Avoid compiler warning on FreeBSD (where umask is unused) 2024-10-22 17:31:30 +02:00
Aaron Rainbolt
fe124b0e1e
[partition] Only apply preCheckEncryption to the encrypt widget once 2024-10-02 11:17:34 -05:00
Aaron Rainbolt
cc96e65787
[partition] Always update EncryptWidget's m_state when updateState is called 2024-09-25 18:02:16 -05:00
Adriaan de Groot
cbe39e1324 [users] Repair example configuration 2024-09-23 23:42:27 +02:00
Adriaan de Groot
09a3f58800 [users] Add unit-test for new parsing and configuration options 2024-09-23 21:53:50 +02:00
Adriaan de Groot
e80437c9b9 [libcalamares] Make permissions-parsing public API 2024-09-23 21:53:50 +02:00
Adriaan de Groot
8c8bb7a3df [users] Pass the home permissions to useradd 2024-09-23 21:53:50 +02:00
Adriaan de Groot
aa938285a4 [users] Read home_permissions setting from config 2024-09-23 21:53:50 +02:00
Adriaan de Groot
f5c425345b [users] Add a *permissions* setting for overriding useradd 2024-09-11 18:01:31 +02:00
Adriaan de Groot
e57aab2008 [libcalamares] Split out file-mode parsing to a separate function 2024-09-11 18:01:26 +02:00
Adriaan de Groot
032fca834e [libcalamaresui] Adjust waiting widget to style
This follows Dark / Light mode, but also adjusts the spinner
when the style is changed while Calamares is running.
2024-09-08 10:33:38 -04:00
Adriaan de Groot
ff23fabfe0 [welcome] Use system theme color instead of hard-coded black 2024-09-08 08:38:29 -04:00
Adriaan de Groot
c14ffa08e2 [umount] Minor tweaks in wording and code 2024-09-08 06:52:56 -04:00
dalto
f38502d5ad [umount] Also unmount the root filesystem 2024-09-07 12:02:13 -05:00
Adriaan de Groot
cde6acd224 [keyboard] Send DBus signal to KWin for new keyboard layout 2024-09-07 11:20:33 -04:00
Adriaan de Groot
6498f9e0d1 [keyboard] Rewrite KWin config file 2024-09-07 10:50:35 -04:00
Adriaan de Groot
5414e51245 [keyboard] Add kwin-specific configuration flag
Running `kwin_wayland --locale1` makes KWin listen to locale1
for keyboard updates, but not everybody has that. Introduce a
KWin-specific configuration flag that will (re)write the
KWin configuration.
2024-09-07 09:25:45 -04:00
Adriaan de Groot
4fea2920d7 [keyboard] Rename functions, simplify logic
The timer can be connected to one slot, which just
checks what kinds of configuration are enabled.
Then update all the ones that make sense in a live system.
2024-09-07 06:57:07 -04:00
Adriaan de Groot
783881edaa [keyboard] Rename confusing overloaded function 2024-09-07 06:41:15 -04:00
Adriaan de Groot
dc3c08a012 [keyboard] Remove unnecessary inline 2024-09-07 06:41:15 -04:00
Adriaan de Groot
f0c8e02901 [keyboard] Remove misplaced <br/> from user-visible message 2024-09-06 14:32:20 +02:00
Adriaan de Groot
d72df37333 [locale] Fully replace message of timezone.
Since we need to break translations anyway (it was missing a "."),
do the right thing with the zone-name.
2024-09-06 14:24:15 +02:00
Adriaan de Groot
0ad97beed5 [locale] Use human-readable naming for messages 2024-09-06 13:57:15 +02:00
Adriaan de Groot
c51fa0e2f1 [libcalamares] Document the methods of TimeZone 2024-09-06 13:46:09 +02:00
Adriaan de Groot
7987cc5727 [partition] Repair test of partition layout
There are asserts in KPMCore that are triggered when
creating a partition with no (table) parent.
2024-08-13 22:00:50 +02:00
Adriaan de Groot
237e3f7066
Merge pull request #2357 from AnInternetTroll/user/luca/xbps-log
packages: add debug logging to xbps
2024-08-12 23:14:30 +02:00
Luca Matei Pintilie
19430fac56
packages: add debug logging to xbps 2024-07-28 15:34:04 +02:00
Adriaan de Groot
5f9b7890c3 [partition] Add a summary message about swapfile 2024-07-24 23:20:43 +02:00
Adriaan de Groot
51c39cdbee [partition] Improve jobDescriptions()
- make the dox match what the function does
- reduce calls to job->description()
2024-07-23 22:37:29 +02:00
Adriaan de Groot
3e885cda19 [libcalamares] Looks like Qt 6.7 supports Interlingue 2024-07-20 23:35:38 +02:00
Adriaan de Groot
3a6f604232 [netinstall] Remove unnecessary $id from schema
The base-URI of the schema is already set; references
that are relative and contain only a fragment (e.g. start with `#`)
resolve against the base-URI, so that's within this document.
Since we already have `definitions` as a key, `#/definitions`
references that sub-schema. We don't need the `$id` settings in
each sub-schema, which messes up the base-URI; it should have been
an `$anchor`, maybe, but isn't necessary after all.
2024-07-20 23:29:00 +02:00
Adriaan de Groot
13ccb51010 [initcpiocfg] Repair schema file 2024-07-20 22:45:00 +02:00
Adriaan de Groot
ec5272ad65 [libcalamares] Prepare for ie (Interlingue) support in Qt 2024-07-20 22:32:46 +02:00
Adriaan de Groot
456bb1b3eb [libcalamares] Mark CommandLine as public, expand API a little 2024-07-07 00:00:11 +02:00
Adriaan de Groot
80ef430185 [shellprocess] Expand example and repair test
- Adding another example command broke the test which checks
  the number of entries in the example script.
- Add a second line of output to the example command, so it makes
  more sense to log it line-by-line.
2024-07-03 23:05:30 +02:00
Adriaan de Groot
e08bd744a8 [users] Repair test after switch to yescrypt 2024-07-03 23:02:37 +02:00
Tj
bee487653a Adjust last usable sector for GPT 2024-07-02 22:54:54 +01:00
Adriaan de Groot
9800edf94e [partition] Translate bootloader location combo box
If you switch languages, and then go to the partition
page, and pick "manual", the combo-box entries would
not be translated until **after** you do something
(e.g. edit a partition).

Now they are re-translated when the language changes.
2024-07-02 23:35:54 +02:00
Adriaan de Groot
8aec50d185 [partition] Ensure bootloader path is saved after manual edit 2024-07-02 23:30:43 +02:00
Adriaan de Groot
e52b220a69 [partition] Repair translation of labels
There was an accumulation of connected slots when the
current device changed (CALAMARES_RETRANSLATE **adds** one).
Instead, extract the translated messages and carry the
necessary information (number of entries, and if just one,
its name) in the ChoicePage object.

Although you can't effectively change the translation /
current language while looking at the ChoicePage, it is
best to be future-proof.
2024-07-02 23:27:11 +02:00
Adriaan de Groot
6ded13a917 [partition] Simplify selectedDevice() 2024-07-02 23:27:11 +02:00
Adriaan de Groot
bf466e0ea4 Changes: document shellprocess verbosity.
FIXES #2155
2024-06-30 23:37:00 +02:00