Adriaan de Groot
287047fe1a
[users] Tidy up job creation -- leave it to Config
2021-03-14 23:52:12 +01:00
Adriaan de Groot
98d42719e1
Merge pull request #1622 from Chrysostomus/btrfs-subvol
...
[fstab][mount] Create and mount btrfs subvolumes in generalized manner
2021-03-14 23:38:30 +01:00
Adriaan de Groot
cdbc5a7b4b
Merge pull request #1652 from Conan-Kudo/rm-urpmi
...
[packages] Drop urpmi support
2021-03-14 17:41:10 +01:00
Adriaan de Groot
cc310a04b8
[users] Fix schema to match actual field names
2021-03-14 16:32:02 +01:00
Calamares CI
3fafeaf09a
i18n: [dummypythonqt] Automatic merge of Transifex translations
2021-03-14 16:17:09 +01:00
Adriaan de Groot
8c7e214376
[users] Make the example config usable
...
Although the example configurations shouldn't really be used
as a sample of how to configure **your** Calamares for your
distro, many distro's do just copy the examples. So leave
traces of the OEM-configuration settings in the example,
and give the standard configuration a 'nothing changed'
set of presets.
2021-03-14 16:07:04 +01:00
Adriaan de Groot
caf18321df
[users] Adjust UI to is-field-editable based on presets
2021-03-14 14:20:10 +01:00
Adriaan de Groot
7bae625f46
[users] Pick up UI changes based on the values from Config
2021-03-14 14:14:29 +01:00
Adriaan de Groot
b4a21d7aca
[libcalamares] Add macro CONFIG_PREVENT_EDITING to handle uneditable fields
...
Boilerplate code for avoiding accidental setting of an internal
field when the UI is editable and the underlying data isn't.
2021-03-14 13:30:26 +01:00
Adriaan de Groot
3ea796d009
[users] 'undo' changes to values if the UI is wonky
...
- you can still call set*(), eg. from the UI, when the field is
not editable. Although the code previously ignored the change,
this would lead to a mismatch between what the UI is showing
(the changed value) and what the Config has (old value).
Emit a changed-signal (notify) with the old value so that the
UI is changed *back* as soon as possible.
2021-03-14 12:27:59 +01:00
Adriaan de Groot
9fcf9b5fa8
[users] Pick up values from Config object on startup
...
- Previously, we 'knew' that the values in Config were empty,
so didn't have to set them from the Config when building
the (widget) page
2021-03-14 12:14:33 +01:00
Adriaan de Groot
941cc9c48b
[users] Match presets to the actual name of fields
2021-03-14 12:14:33 +01:00
Adriaan de Groot
2e90a8d829
[libcalamares] Report preset mis-configurations
...
- warn about fields applied twice (program error)
- warn about fields not used (configuration error)
- add operator<< for "clean" looking preset application
2021-03-14 12:14:33 +01:00
Adriaan de Groot
d8dff3dc65
[libcalamares] Replace loadPresets() with an applicative style
...
Build up the list of known presets by what the Config-object
expects, not by what the Config file provides. This allows
early detection of mis-matched configurations.
Presets can only apply to Q_PROPERTY properties, and the
preset must match the property name.
2021-03-14 12:14:33 +01:00
Adriaan de Groot
448e478b6d
[users] Use base Config and its Preset-handling
2021-03-12 13:54:06 +01:00
Adriaan de Groot
381a4f9b53
[users] Add preset to users module Config
2021-03-12 13:25:16 +01:00
Neal Gompa
d39f2b8c3e
[packages] Drop urpmi support
...
This code is essentially untested and unused, as OpenMandriva has been
using DNF for three years now.
Reference: https://www.openmandriva.org/en/news/article/switching-to-rpmv4
2021-03-11 06:32:49 -05:00
Adriaan de Groot
cb67c79203
Merge pull request #1651 from demmm/calamares
...
[finishedq] add license for svg file
2021-03-09 20:35:22 +01:00
demmm
a7b46a02eb
[finishedq] add license for svg file
2021-03-09 19:45:32 +01:00
Adriaan de Groot
98524708cc
[partition] Chase namespace change for Units
2021-03-09 19:45:12 +01:00
Adriaan de Groot
ea63f48c31
[libcalamares] Put the units in a nested namespace
...
- this makes it much easier to use the literal suffixes
by using the namespace rather than individual operators.
2021-03-09 18:21:58 +01:00
Adriaan de Groot
430b3b0722
REUSE: tag the schema file (badly, missing an email address)
2021-03-09 13:55:20 +01:00
Adriaan de Groot
44602d0237
[finishedq] CMake: missing keyword
2021-03-06 15:33:15 +01:00
Adriaan de Groot
83e6476be8
[finishedq] Tighten up requirements
2021-03-06 15:23:23 +01:00
Adriaan de Groot
e9384deb5d
[finishedq] Document the meaningful settings of the config file
2021-03-06 15:20:24 +01:00
Adriaan de Groot
bd775a16e2
[finished] Add a restart-anyway API to Config
...
It's possible to ignore the "user setting" for restart-now
and call doRestart(true) directly. This is intended for
use with specific UIs that make that choice clear for the user.
Hook up both [finished] and [finishedq] to the "traditional"
restart-if-the-box-is-ticked logic although the example
QML doesn't expose that box.
2021-03-06 13:51:45 +01:00
Adriaan de Groot
aa004503c5
[finished] Expand Config object's repertoire of notification-API
2021-03-06 13:38:02 +01:00
Adriaan de Groot
19874ebc3a
[finished] Document doRestart() better
...
- move all the 'really want restart' logic to restartNowWanted()
2021-03-05 23:19:56 +01:00
Adriaan de Groot
f94853eb28
[finishedq] Always restart if possible
2021-03-05 23:17:57 +01:00
Adriaan de Groot
075a28a06d
[finished] Log the doRestart() attempt
2021-03-05 22:59:53 +01:00
Adriaan de Groot
0d7c1ec130
[finishedq] Port QML back to using Config object
2021-03-05 22:59:04 +01:00
Adriaan de Groot
5b376b41bf
[finishedq] Chase business logic in Config object
2021-03-05 22:40:38 +01:00
Adriaan de Groot
3ad3a9adfc
[finished] Move the business logic to the Configt object
2021-03-05 22:27:24 +01:00
demmm
7acc8bcec3
[finishedq] adding QML finished module
...
module builds & runs, config connections are not registering
no errors
finishedq.qml is offering a different option though, running commands directly in qml
plasma-framework executer is used for that
2021-02-27 22:04:30 +01:00
Adriaan de Groot
d3acc39d2d
Merge branch 'qml-finished' into calamares
2021-02-23 16:17:14 +01:00
Adriaan de Groot
a4682db987
[finished] Tidy up notification-at-end (and allow failed notifications)
2021-02-23 16:05:48 +01:00
Adriaan de Groot
5af614daf7
[finished] Allow positive and negative notifications at end.
2021-02-23 15:59:40 +01:00
Adriaan de Groot
ec4b6752d6
[finished] Move notification to Config
2021-02-23 15:54:19 +01:00
Adriaan de Groot
76a2791b12
[finished] Clean up includes
2021-02-23 15:42:14 +01:00
Adriaan de Groot
7d024cf72b
[finished] Move restart handling to Config
2021-02-23 15:36:44 +01:00
Adriaan de Groot
9d6d8ecaea
[finished] Heavy refactor
...
- move most of the business logic to Config
- make retranslate of the page more robust (e.g. changing language
after failure would restore the un-failed message)
There's still some bits left.
2021-02-23 15:03:16 +01:00
Adriaan de Groot
288fe5b274
[finished] Rename and document following coding style
2021-02-23 12:50:52 +01:00
Adriaan de Groot
40961f21a7
Merge pull request #1624 from benne-dee/schema-netinstall
...
[netinstall] Schema for groups in netinstall.schema.yaml
2021-02-23 12:31:47 +01:00
benne-dee
f0aa515c8b
[netinstall] Schema validates also groups file
2021-02-22 22:17:06 +05:30
Adriaan de Groot
9c8194402b
[keyboard] Add ASCII mapping for Greek
...
FIXES #1642
2021-02-19 14:33:38 +01:00
Adriaan de Groot
6bf82e9c65
[welcome] Update .conf documentation
...
- fix typo
- don't suggest google as internetCheckUrl
- mark TODOs for #1384
2021-02-16 16:32:34 +01:00
Chrysostomus
16eff98a06
Don't use f-strings yet.
2021-02-07 15:39:38 +02:00
Chrysostomus
0c92a36a53
Remove unnecessary comment
2021-02-07 15:29:30 +02:00
Chrysostomus
6d55005da0
Mount subvolumes to correct mountpoints
2021-02-07 00:16:26 +02:00
Chrysostomus
b16bd6bb23
Fix name error
2021-02-06 20:03:30 +02:00