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
dalto
152f99fb07
Remove useless emits
2022-05-13 17:24:07 -05:00
dalto
42841a217c
[partition] Don't offer whole disk encryption when zfs is selected
2022-05-13 16:24:15 -05:00
demmm
7937cd625d
[localeq]Map.qml needed fixes
...
esri has several bugs, not showing for all locations, zooming on Americas broken
use osm as default, set preferred, so esri can be fallback
remove Label section for mouse movement, showing coordinates not really useful,
issue with mouse grabbing is back with it
2022-05-13 13:17:19 +02:00
Adriaan de Groot
52e2c8c262
[libcalamares] Use stronger type, rather than comment
2022-05-10 00:30:35 +02:00
Adriaan de Groot
a9df841770
CMake: fix Python3-executable uses
2022-05-10 00:07:41 +02:00
Adriaan de Groot
7096ee760e
[libcalamaresui] Remove unused image-transformation function
2022-05-10 00:07:41 +02:00
Adriaan de Groot
880c367d64
[libcalamaresui] Remove under-used function
2022-05-10 00:07:41 +02:00
Adriaan de Groot
704e250664
[libcalamaresui] Remove under-used function
...
- there was one consumer of this function, and it was over-engineered
for what was needed (removing a list of widgets). Just drop it.
2022-05-10 00:07:41 +02:00
Adriaan de Groot
928b46f18e
[libcalamaresui] Use namespace Calamares::Widgets
2022-05-10 00:07:41 +02:00
Adriaan de Groot
9196f696ea
[users] Ensure the basic forbidden-names are always forbidden by the constructor
2022-05-09 15:25:14 +02:00
Adriaan de Groot
824d706a20
[users] Fix tests
...
- in 3.3, the legacy values are ignored, so all the old-style
tests behave as if nothing is set at all.
- Some tests used old-style settings, adapt to newer ones.
2022-05-09 15:24:43 +02:00
Adriaan de Groot
f4e9b3689d
[users] Remove legacy settings
2022-05-09 15:06:21 +02:00
Adriaan de Groot
bbeba5c9ab
Merge branch 'calamares' into work-3.3
2022-05-09 15:03:41 +02:00
Adriaan de Groot
d0db56e964
[users] Simplify code: use contains() instead of a for-loop
2022-05-09 14:58:46 +02:00
Adriaan de Groot
ef9bf2650c
[users] Allow a configurable list of forbidden names
...
- forbidden login names
- forbidden host names
2022-05-09 14:51:13 +02:00
Adriaan de Groot
7473462125
[users] Introduce forbidden_names settings
2022-05-09 14:51:13 +02:00
Adriaan de Groot
40c5ef1c35
[users] Add new structured setting to example file
2022-05-09 14:33:39 +02:00
Adriaan de Groot
fe04ae3ac1
[users] Introduce new structure for users-settings
2022-05-09 14:33:39 +02:00
Adriaan de Groot
1bf5206bd7
[users] Apply code-style to test-code
2022-05-09 14:33:39 +02:00
dalto
85c67113b7
[mount] Update schema to use arrays
2022-05-09 06:50:33 -05:00
Adriaan de Groot
3bc3b352d8
[displaymanager] Add LF after last line of greetd configuration
...
FIXES #1937
2022-05-06 11:47:44 +02:00
Adriaan de Groot
21aa608ce2
Merge branch 'calamares' into work-3.3
2022-05-05 23:35:53 +02:00
Adriaan de Groot
091eb9683b
[libcalamares] Give Occitan a native name
2022-05-05 15:23:54 +02:00
Adriaan de Groot
4be25e2f70
[libcalamares] Special-case the regions through the lookup-table as well
2022-05-05 15:20:29 +02:00
Adriaan de Groot
2de7736291
[libcalamares] Replace locale special-cases by a table
...
Replace the function with a table-driven approach,
since that is somewhat easier to extend to more
languages.
2022-05-05 14:42:12 +02:00
Lt-Henry
a8857e51f4
Improving special-case language detection
2022-05-05 11:12:29 +02:00
Adriaan de Groot
4713f0be42
Merge branch 'calamares' into work-3.3
2022-05-04 11:59:46 +02:00
Adriaan de Groot
8407d39109
[welcome] Remove superfluous moc include (automoc handles this)
2022-05-04 11:39:58 +02:00
Adriaan de Groot
1f7b2a3d2d
[libcalamares] Remove CommandList destructor
...
The destructor was just the default one, but declaring it
blocks the default copy constructor.
2022-05-04 11:38:42 +02:00
Adriaan de Groot
a7cf1b18ce
[webview] reduce #defines
2022-05-04 11:31:25 +02:00
Adriaan de Groot
f26ff07046
[webview] Fix build
...
Some QPainter enum values were deprecated in 5.14, and since we
require 5.15 now, we hit some old code paths with now-deprecated
values; this only shows up when actually enforcing deprecations.
2022-05-04 11:25:05 +02:00
Adriaan de Groot
8aa8597ab0
[welcome] Start up in more-specific system language
...
Because of the way Qt interprets the environment variable
LANG, using `sr@latin` or `sr@latn` or `ca@valencia` would
get you `sr` or `ca`, respectively, which isn't an exact
match. Now that Translation has special-handling for
those values of LANG, match with the ID first.
This allows starting Calamares in Serbian (Latin script)
or Catalan (Valencia) for locales that need it. (Qt doesn't
recognize ca@valencia as a variant, since that's a region-
based locale, not country- or script-based)
2022-05-04 10:49:57 +02:00
Adriaan de Groot
792c4914b0
[libcalamares] Compare translation IDs, extend find()
...
Allow naive comparison of translation IDs (e.g. "ca@valencia"
against other IDs) and make it easier to find one.
2022-05-04 10:35:43 +02:00
Adriaan de Groot
5307976179
[libcalamares] Special-case startup for some languages
2022-05-04 10:10:35 +02:00
Adriaan de Groot
1c3817ad65
[welcome] Fix displayed (user-visible) copyright years
2022-05-04 00:54:01 +02:00
Adriaan de Groot
a7d3630e42
[libcalamaresui] Improve naming, resolve TODO
2022-05-04 00:51:50 +02:00
Adriaan de Groot
992d2d3be0
[displaymanager] kdm is no longer relevant
2022-05-04 00:24:43 +02:00
Adriaan de Groot
ee1232b10a
Merge branch 'calamares' into work-3.3
2022-05-04 00:18:44 +02:00
Adriaan de Groot
1ef2fff03e
[displaymanager] For greetd, write the desktop file name
...
See #1937
2022-05-03 11:41:53 +02:00
demmm
ade0fc7e19
[usersq] add close button to all inline messages
2022-04-27 12:59:02 +02:00
demmm
b80fde365b
[localeq] Offline.qml, setting line height needed
2022-04-27 12:55:18 +02:00
demmm
01cec2e361
[keybaordq] setting line height needed
2022-04-27 12:52:42 +02:00
Adriaan de Groot
f302bd8854
Merge branch 'calamares' into work-3.3
2022-04-27 10:44:42 +02:00
Adriaan de Groot
5bff26e1e0
[partition] Display partition label and path if set
...
Setting labels (e.g. in manual partitioning) landed some time
ago, but the progress display still shows a raw device path.
Make it more expressive.
FIXES #449
FIXES #540
2022-04-25 16:06:24 +02:00
Adriaan de Groot
eefe65ad0e
CMake: chase changed linking in libcalamares
2022-04-25 15:34:39 +02:00
Adriaan de Groot
d7459e2bfe
CMake: modernize optional parts of libcalamares
2022-04-25 15:23:27 +02:00
Adriaan de Groot
585d06494e
CMake: fix linking with modern Python and Boost
2022-04-25 14:47:18 +02:00
Adriaan de Groot
e15e57600e
Merge branch 'pr-1632' into work-3.3
...
- merge in recent *calamares* branch
FIXES #1632 (PR from Anubhav)
FIXES #1886
FIXES #1456
FIXES #517
2022-04-25 13:50:42 +02:00
Adriaan de Groot
d02afa20b8
[partition] Factor out creating-bootloader-panel
...
- this makes createBootloaderComboBox obsolete, since that was
an implementation detail for creating the panel.
- add the panel also when doing an alongside install.
- credits to Anubhav, whose PR started this code.
2022-04-25 12:17:10 +02:00
Adriaan de Groot
d70d1ebfcd
[partition] Always offer a 'no bootloader' item
...
- this branch is importing parts of a PR from Anubhav, so add
relevant SPDX tag as well.
2022-04-25 12:17:10 +02:00
Adriaan de Groot
eb5be9cd34
[bootloader] Allow skipping an EFI bootloader, too
...
- while here, remove C-style if()
2022-04-25 11:11:40 +02:00
Adriaan de Groot
287e89e760
Merge pull request #1932 from vlinkz/packagesq_label
...
[packagechooserq]: allow changing step name
2022-04-23 21:19:24 +02:00
Victor Fuentes
1aee8401db
[packagechooserq]: allow changing step name
2022-04-23 13:51:02 -04:00
Adriaan de Groot
70911b9275
[luksbootkeyfile] Flesh out the tests some more
2022-04-23 14:51:15 +02:00
Adriaan de Groot
4613386863
[luksbootkeyfile] fix test for empty mount point
2022-04-23 14:33:25 +02:00
Adriaan de Groot
4466e360e1
[luksbootkeyfile] Start adding tests
2022-04-23 14:29:10 +02:00
Adriaan de Groot
1752dd573b
[luksbootkeyfile] Modernize and refactor C++ finding-a-partition
2022-04-23 14:07:00 +02:00
Adriaan de Groot
19af46faea
[luksbootkeyfile] Apply coding style
2022-04-23 13:35:06 +02:00
Adriaan de Groot
9374daca64
Merge pull request #1931 from abalfoort/unencrypted-boot
...
Support unencrypted `/boot`
2022-04-23 13:29:14 +02:00
abalfoort
fae515c3a2
Improve todo comment
2022-04-23 13:21:27 +02:00
abalfoort
5d1b024237
Implement comments
...
- Unencrypted /boot check moved to generate_crypttab_line_info.
- has_luks in class FstabGenerator changed to luks_mapper_name.
2022-04-23 12:44:39 +02:00
Adriaan de Groot
a3bd0d8091
Docs: update GS key overviews
2022-04-22 12:46:19 +02:00
Adriaan de Groot
03f755d168
Merge branch 'calamares' into work-3.3
2022-04-22 11:17:59 +02:00
abalfoort
dcbb83ebe5
Replace tabs with 4 spaces
2022-04-21 17:13:50 +02:00
Adriaan de Groot
807dee54fd
[locale]: fix display of timezone for Dhaka
...
FIXES #1929
2022-04-21 17:12:02 +02:00
abalfoort
73d09977fc
Support unencrypted boot partition
2022-04-21 16:39:07 +02:00
Adriaan de Groot
47016765b3
[welcome] Fill backgrounds of failed requirements
2022-04-20 17:04:24 +02:00
Adriaan de Groot
217e4ab4f7
[welcome] Start improving the tooltips for missing requirements
2022-04-20 16:36:18 +02:00
Adriaan de Groot
b129cb0786
[libcalamares] Match roles from model to Qt standard roles
2022-04-20 16:25:28 +02:00
Adriaan de Groot
e102e2630e
[welcome] Rip out the "details" dialog for requirements
...
- The dialog gave very little extra information
- The text descriptions from the dialog are already available
as tooltips in the existing list view.
2022-04-20 16:19:34 +02:00
Adriaan de Groot
7650795f48
[welcome] Give the result-display somre more space
2022-04-20 16:16:20 +02:00
Adriaan de Groot
e5036da084
[welcome] Draw an icon for requirement-status
2022-04-20 16:03:42 +02:00
Adriaan de Groot
07f4ec529b
[libcalamares] Clean up requirements model API
...
- don't need friends
- made modify-the-model API public where it makes sense
- improve naming
2022-04-20 15:39:53 +02:00
Adriaan de Groot
0b2af86ec9
[welcome] Remove compensating-for-model-reset code
...
The model was emptied-and-refilled when re-checked, which
meant we needed to have some special handling when messages
changed to avoid re-creating widgets. Since we use a model
view now, we don't need the extra machinery.
2022-04-20 15:15:06 +02:00
Adriaan de Groot
8b917ace4d
[welcome] Replace widgets in dialog with model+listview
...
While here, remove unused vars and functions, tidy code.
2022-04-20 15:09:54 +02:00
Adriaan de Groot
ab1c78ca23
[welcome] Allow delegate to pick the text role to display
2022-04-20 13:29:19 +02:00
Adriaan de Groot
3679bb45f0
[welcome] Give the countdown a tooltip
2022-04-20 13:16:10 +02:00
Adriaan de Groot
15b4660d3e
[welcome] Rip out rest of ResultWidget
...
- this breaks the dialog showing details, but we'll switch
that to the delegate as well.
2022-04-20 13:12:02 +02:00
Adriaan de Groot
e457d099d8
[welcome] Replace manual widgets-creation by a listview with model
2022-04-20 12:00:21 +02:00
Adriaan de Groot
7686b89cd6
[welcome] Very basic model delegate for results / requirements
2022-04-20 12:00:21 +02:00
Adriaan de Groot
e757639669
[calamares] A progresstree isn't a tree
2022-04-20 12:00:21 +02:00
Adriaan de Groot
7b22546b14
[calamares] Don't need a method for painting, reduce API
2022-04-20 12:00:21 +02:00
Adriaan de Groot
7db14cb5cf
[libcalamaresui] Fix build for ::ceil
2022-04-20 12:00:21 +02:00
Adriaan de Groot
33b4fd3a20
[localecfg] It's ok to have a missing /etc/locale.gen for reading
2022-04-19 08:25:34 +02:00
Adriaan de Groot
87ff7ae0da
[libcalamaresui] Use Qt max, min, bound
2022-04-16 12:51:11 +02:00
Adriaan de Groot
58306de28a
[libcalamaresui] Private static methods can be hidden
2022-04-16 12:48:12 +02:00
Adriaan de Groot
56c27c4255
[libcalamaresui] Warnings--
2022-04-16 12:45:58 +02:00
Adriaan de Groot
18fef8dfe5
[libcalamaresui] Apply coding style
2022-04-16 12:39:21 +02:00
Adriaan de Groot
7e5df42fc0
Merge branch 'issue-1924' into work-3.3
...
This is a rather clunky implementation of re-check requirements.
"Clunky" because the UI parts are re-created each time, rather
than fishing from a model of checked (or unchecked) requirements.
The Widgets parts should be updated to use a full model, rather
than the recreate-list-of-Widgets implementation they have now.
Unrelated changes pull in a bunch of improvements to the
waiting spinner widget.
2022-04-16 12:34:40 +02:00
Adriaan de Groot
e11a0ee448
[libcalamaresui] Use delegating-constructor, drop initialize()
2022-04-16 12:25:28 +02:00
Adriaan de Groot
18f8633dd9
[libcalamaresui] Also modern-style initialize center and disable flags
...
- All constructors explicitly initialize these, so there's no
real change here.
2022-04-16 12:20:02 +02:00
Adriaan de Groot
497422e72c
[libcalamaresui] Don't disable parent while waiting
2022-04-16 12:18:49 +02:00
Adriaan de Groot
78a8993f38
[libcalamaresui] Move to more modern-style initializations
2022-04-16 12:11:52 +02:00
Adriaan de Groot
1f7dd2fcd5
[libcalamaresui] Convenience API
2022-04-16 12:02:56 +02:00
Adriaan de Groot
2ccd59e90b
[libcalamaresui] Move waitingspinnerwidget.* into calamaresui
...
Although this is 3rd-party code, it now diverges -- by merging the
stale PR from upstream, and from adding features of our own --
enough that we should not pretend that it is the original 3rdparty
code.
Chase a couple of include paths that called this from 3rdparty/
2022-04-16 11:59:31 +02:00
Adriaan de Groot
3bd610a838
[libcalamaresui] Port Countdown to spinner widget alone
2022-04-16 11:53:03 +02:00