Commit Graph

6720 Commits (a72d59d23bbcd28dae59e90eb271d415526e5e08)

Author SHA1 Message Date
Adriaan de Groot 33fec86ef6 [welcome] Improve logging of requirements-checking
- less chatty when 0-results come in
- compress the welcome debug to one output chunk
Adriaan de Groot f8afb15c4c [libcalamaresui] Improve logging for QML modules
- mention which instance produces warnings
- tag additional debugging from the same method with Logger::SubEntry
Adriaan de Groot 6556f96442 Merge branch 'calamares' into issue-1579
Bring the branch up-to-date with the past few releases,
so it can be merged more easily once complete.
Adriaan de Groot 416c2c9689 [usersq] Reflect editable in the QML
- if presets prevent a field from being editable, don't allow
  the user to edit the field
- while here, mention the changes in usersq
Adriaan de Groot 44ac33845d Merge branch 'fix-usersq' into calamares
Adriaan de Groot 46f7e6c131 Merge branch 'hotfix-38' into calamares
Adriaan de Groot 8348bd2bb7 [usersq] Call setters for checkboxes
Adriaan de Groot d2c0c8d638 [users] Grab hostname from config on creation
Adriaan de Groot b17e01edff [usersq] Call setters to move values back from QML to the C++ side
Adriaan de Groot b96ad4b166 [usersq] Hook up QML fields and the Config object
For properties, we can bind directly to the Config properties
for loginName, fullName, and also to checkbox-style (bool)
properties and passwords.
Adriaan de Groot e60f8bcd06 [usersq] Tidy job creation and unnecessary code
Adriaan de Groot 4ffa79d4cf [users] In code, consistently [aA]utoLogin as name
There was a mix of autologin and autoLogin, leading to confusion
in the code. QML is sensitive to this, so go to one consistent name.
(Although the names of the settings in the `.conf` file are
different again)
Adriaan de Groot 287047fe1a [users] Tidy up job creation -- leave it to Config
Adriaan de Groot 98d42719e1
Merge pull request from Chrysostomus/btrfs-subvol
[fstab][mount] Create and mount btrfs subvolumes in generalized manner
Adriaan de Groot 1998405dbb [libcalamaresui] Fix up test for logfile
- this test would fail if the logfile already exists for
  any reason (including "I just ran the test")
- remove the file before expecting an empty logfile
- improve messages; a missing logfile is not a "things cannot
  work" situation, it's a warning
Adriaan de Groot cdbc5a7b4b
Merge pull request from Conan-Kudo/rm-urpmi
[packages] Drop urpmi support
Adriaan de Groot cc310a04b8 [users] Fix schema to match actual field names
Calamares CI 3fafeaf09a i18n: [dummypythonqt] Automatic merge of Transifex translations
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.
Adriaan de Groot caf18321df [users] Adjust UI to is-field-editable based on presets
Adriaan de Groot 7bae625f46 [users] Pick up UI changes based on the values from Config
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.
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.
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
Adriaan de Groot 941cc9c48b [users] Match presets to the actual name of fields
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
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.
Adriaan de Groot 8b10a9cfc2 [libcalamares] Add isEditable() check
This adds support for checking whether a field is editable;
Config objects should reject changes if the field is not
editable. There is an "unlock" setting to override the
check, although this is currently always locked.
Adriaan de Groot 448e478b6d [users] Use base Config and its Preset-handling
Adriaan de Groot 0be5e04c2e [libcalamares] Add a base class for Config-objects
This is an optional (until 3.3) base class, which can handle
Presets consistently for configurations.
Adriaan de Groot 381a4f9b53 [users] Add preset to users module Config
Adriaan de Groot d9f2f5e988 [libcalamares] Start a 'presets' configuration datastructure
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
Adriaan de Groot cb67c79203
Merge pull request from demmm/calamares
[finishedq] add license for svg file
demmm a7b46a02eb [finishedq] add license for svg file
Adriaan de Groot 98524708cc [partition] Chase namespace change for Units
Adriaan de Groot 9f17d3fd12 [libcalamaresui] Paste the last 16KiB of the log file
- If Calamares is run more than once, reading the log file
  can get you older / not relevant log messages. Get the tail
  end instead.
Adriaan de Groot 980e5e13f8 Merge branch 'fixup-log-upload' into calamares
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.
Adriaan de Groot a1ed303820 [libcalamaresui] Add test for Paste
This tests only the termbin ("fiche") paste by sending it
a derpy fixed string. Prints the resulting URL, doesn't
verify in particular.

It'd be rude to run this test too often.
Adriaan de Groot 44ec8a7c0b [libcalamaresui] Improve testability
- mark functions with STATICTEST so they can be compiled into a test
- move logfile-reading so we can call the pastebin-upload functions
  with an arbitrary payload.
Adriaan de Groot 846d6abaa8 [libcalamaresui] Move message- and clipboard handling
- The Paste API promises just a (string) URL back, not
  a whole message, so return just the URL from the
  abstract API and the concrete (fiche) implementation.
- Set clipboard contents from the UI
- Build (translated) message in the UI code
Adriaan de Groot 81badc36f4 [libcalamaresui] Implement abstract doLogUpload() API
This is a "do the right thing" function, which then calls
the implementation-specific code for each type.
Adriaan de Groot 1ff854f05d [libcalamaresui] Push upload to a more abstract API
- have a namespace Paste with just one entry point, which will handle
  untangling type &c.

This doesn't compile, but indicates the direction to take the API
Adriaan de Groot efec12d001 [libcalamares] Read structured upload-server info
- Use just type and url, since port can be specified in
  a URL. Note that we only use host and port, not the
  scheme (or the path, for that matter).
- Factor out understanding the *uploadServer* key to a function.
Adriaan de Groot bce6f3f1b7 [libcalamaresui] Adjust paste code to desired API
Still doesn't compile because consumers are not ready.
Adriaan de Groot 3c6683bd98 [libcalamaresui] Rip out untyped data about upload server
This doesn't compile, but indicates the **type** information
desired about the (a) upload server.
Adriaan de Groot f72436aa0a [libcalamaresui] Drop RE-wrangling, compare hosts instead to detect valid paste URL
Adriaan de Groot 8af5fb5da5 [libcalamaresui] Simplify getting URL response
- get a QByteArray rather than going through a char[] buffer
- bytes-read is not important since the RE can only match if
  there **are** that many characters.
Adriaan de Groot 1bf95eacb0 [libcalamaresui] Tidy the logging some more
Adriaan de Groot 260862fabc [libcalamaresui] Move the format-string closer to where it is used
Adriaan de Groot 844831751d [libcalamaresui] Factor out the reading of the log file
- this will be needed for other pastebins, too
Adriaan de Groot 92e36558fa [libcalamaresui] Remove unnecessary shadowing in lambda
Adriaan de Groot bc2435eb7d [libcalamaresui] Apply coding style
Adriaan de Groot fc8830ae4a [libcalamaresui] Tidy logging
Adriaan de Groot 1ebb807624 [calamares] Drop #warning about KDSAG
- it might not be very current, and it's *probably* better to
  use dbus-activation / kf5dbus, but let's not call it
  deprecated until very sure that the dbus version does the
  right thing.
Adriaan de Groot 430b3b0722 REUSE: tag the schema file (badly, missing an email address)
Adriaan de Groot 0b8ef49e7e [calamares] Make debug-window available to QML
- Add a toggle() to the debug-window manager, for convenience
- Make the manager available to QML
- Use the debug-window manager (code imported from KaOS)
Adriaan de Groot c00a382aea [calamares] Refactor debug-window handling
Move the management of the (a?) DebugWindow to a separate
class, and hang on to that manager in CalamaresWindow.
This is prep-work towards making it available from QML as well.
Adriaan de Groot 992c673951 [calamares] Document how to hide the Quit button
The Quit button can have its own logic at a QML level for
show/hide. It **ought** to follow the *quitVisible* property,
but can do additional work. Here, document how a distro might
choose to hide the Quit button on the last page (generally,
that's the "finished" page).
Adriaan de Groot 44602d0237 [finishedq] CMake: missing keyword
Adriaan de Groot 83e6476be8 [finishedq] Tighten up requirements
Adriaan de Groot e9384deb5d [finishedq] Document the meaningful settings of the config file
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.
Adriaan de Groot aa004503c5 [finished] Expand Config object's repertoire of notification-API
Adriaan de Groot f8258f671b [calamares] Navigation getting the wrong side
Adriaan de Groot 6f15b69917 Merge branch 'qml-resizing' into calamares
Make panel sizes consistent, so the QML-navigation can be used better.
Adriaan de Groot 19874ebc3a [finished] Document doRestart() better
- move all the 'really want restart' logic to restartNowWanted()
Adriaan de Groot f94853eb28 [finishedq] Always restart if possible
Adriaan de Groot 075a28a06d [finished] Log the doRestart() attempt
Adriaan de Groot 0d7c1ec130 [finishedq] Port QML back to using Config object
Adriaan de Groot 5b376b41bf [finishedq] Chase business logic in Config object
Adriaan de Groot 3ad3a9adfc [finished] Move the business logic to the Configt object
Adriaan de Groot 04145f49f8 [calamares] Factor out size-setting for QML panels
- Either orientation needs to have the same generic size-setting
  code, for both navigation and progress panels.
Adriaan de Groot 82223431fa [calamares] Pass orientation into panel-creation
- Add function for mapping panel sides to an orientation (H/V)
- Pass that into the creation functions

This is prep-work for handling vertical navigation and horizontal
progress reporting cleanly.
Adriaan de Groot 0f50085bb9 [calamares] Refactor sidebar creation
- None of these need to be methods of the main window,
  and it can all be put tidy away as static free functions.
Adriaan de Groot a8463a8763 [calamares] Prefer to expand main panel
- Don't let the navigation items grow if they are QML
  (the Widget ones don't either) so the main panel takes
  most of the space.
Adriaan de Groot ab7f6abf02 [calamares] Decouple debug-window button
- Provide slots and signals for managing the debug-window,
  so it can be used from QML as well.
Adriaan de Groot 1739d8f15f
Merge pull request from demmm/calamares
[finishedq] adding QML finished module
Adriaan de Groot 6a1e46d7f6 [libcalamaresui] Add properties to ViewManager to expose Settings
Adriaan de Groot 849da3f322 [libcalamaresui] The ViewManager is a UI component for QML, not core
Adriaan de Groot c3860849c1 [libcalamaresui] Notify step number when modules are all loaded
- using the QML sidebar would not highlight the first step on startup,
  only after next / prev would the highlight show up. Now, notify
  when all the modules are loaded (and number 0 is active).
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
Adriaan de Groot cc3017be53
Merge pull request from deprov447/Upload_Install_Log
[libcalamaresui] Implementing LogUpload functionality from branding
Adriaan de Groot 24e129a413 Merge branch 'issue-1634' into calamares
FIXES 
Adriaan de Groot d3acc39d2d Merge branch 'qml-finished' into calamares
Adriaan de Groot a4682db987 [finished] Tidy up notification-at-end (and allow failed notifications)
Adriaan de Groot 5af614daf7 [finished] Allow positive and negative notifications at end.
Adriaan de Groot ec4b6752d6 [finished] Move notification to Config
Adriaan de Groot 76a2791b12 [finished] Clean up includes
Adriaan de Groot 7d024cf72b [finished] Move restart handling to Config
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.
Adriaan de Groot 288fe5b274 [finished] Rename and document following coding style
Adriaan de Groot 40961f21a7
Merge pull request from benne-dee/schema-netinstall
[netinstall] Schema for groups in netinstall.schema.yaml
benne-dee f0aa515c8b
[netinstall] Schema validates also groups file
Adriaan de Groot 9c8194402b [keyboard] Add ASCII mapping for Greek
FIXES 
Adriaan de Groot cdbf45b5d3 [libcalamaresui] Remove unused include
Adriaan de Groot 3a4dcb6913 [libcalamaresui] Give slideshow (ExecutionViewStep) widgets names
Adriaan de Groot 7e6c3a2309 [libcalamaresui] Give the slideshow-widgets a name
- this is the *working* part of the slideshow, not its background
Adriaan de Groot 49f4e7b8e1 [calamares] Make the widget-tree more informative, mention class name
Adriaan de Groot 6bf82e9c65 [welcome] Update .conf documentation
- fix typo
- don't suggest google as internetCheckUrl
- mark TODOs for 
Anubhav Choudhary 9738851261 YAML list for uploadServer key
Anubhav Choudhary 7057081bdf QUrl for serverURL + renames
Adriaan de Groot e49f0cf3ba [libcalamares] Document NamedEnum in much more detail
Adriaan de Groot 04f4441182 [netinstall] Build up a list of urls, rather than just one
- the list is unused, and doesn't drive the loading of groups either;
  the existing one-string entry is used.
Adriaan de Groot ca1ae6fd1d [netinstall] Support retranslation in the Config object
Adriaan de Groot 335ccbc149 [netinstall] Move other translation parts to Config
Adriaan de Groot cf7391696e [netinstall] Continue moving settings to the Config object
Adriaan de Groot f045e4f00e [libcalamares] Switch default language in Belarus
*If* the distro has GeoIP enabled and auto-selects the language for
Calamares, then Belarus now selects Russian, rather the Belarusian.
This is based on some personal input, mostly, and Wikipedia census data.

FIXES 
Chrysostomus 16eff98a06 Don't use f-strings yet.
Chrysostomus 0c92a36a53 Remove unnecessary comment
Chrysostomus 6d55005da0 Mount subvolumes to correct mountpoints
Chrysostomus b16bd6bb23 Fix name error
Chrysostomus 67aedd5582 Move comments closer to where they are used
Chrysostomus 16bf7925a2 Adjust comments
Chrysostomus 1896a38ccc Fix a typo
Chrysostomus 1e0295dc65 Fix name error
Adriaan de Groot 84240683f5 [finished] Apply coding style
Adriaan de Groot cb4248e56d [finished] Move config from viewstep to config object
- the configuration is still duplicated in the widget, and
  functionality still needs to move to the Config object
- the ViewStep is cut down to almost nothing
Adriaan de Groot c82b802f4e [libcalamares] Typo in documentation
Adriaan de Groot 4ae3a7af61 [finished] Start Config-ification
- Introduce a Config class with suitable properties for use in QML,
  read configuration; this is unused right now.
Adriaan de Groot b8a9c4c3b7 [users] Be more forgiving in tests
- the host system's /etc/group is being read, and that varies between
  host OS versions; since I was doing today's release on KaOS, the
  test was failing because of arbitrary differences between the
  default groups on each Linux flavor.
Adriaan de Groot 144b51f00e [partition] Use automount control
FIXES 

(Admittedly, this fixes the problem only when there's Plasma Solid automount
present, and not any of the other kinds; but none of those have been reported
yet, and adding them into AutoMount.cpp is opaque to the rest of the
system)
Adriaan de Groot 17f73b1294 [partition] Test automount job in a queue
Adriaan de Groot 38fa1d9567 [libcalamares] Distinguish logging raw, shared and unique pointers
- It shouldn't be necessary to explicitly .get() pointers for
  logging, and it's convenient to know when a pointer is smart.
  * no annotation means raw (e.g. @0x0)
  * S means shared
  * U means unique
Adriaan de Groot c43a6ab866 [partition] Improve logging in automount test
- switch logging in job to VERBOSE because we don't want to be printing
  pointers to the regular session log
- switch logging in test to VERBOSE to actually see the messages from the Job
- hook the test into the build
Adriaan de Groot c98a330bf9 [libcalamares] Store DBus reply value, drop debug-logging
Adriaan de Groot aae815cf3b [partition] Add trivial test for automount management job
Chrysostomus fcf6e2fb25 fix typos
Adriaan de Groot 1704ad5977 [partition] Add a job to handle automount behavior
- while here, nudge CalamaresUtils automount API a little,
  since it doesn't really need an rvalue-ref.
Adriaan de Groot f3752e200a [libcalamaresui] Display first 6, last 2 lines of long error messages, preserve newlines
Adriaan de Groot b9210721e6 Merge branch 'issue-1613' into calamares
The popup now cuts down messages to a manageable length.
Hopefully the part that is preserved, will still show
something meaningful for the user (8 lines of text should
be sufficient for the kind of things we do).

FIXES 
Adriaan de Groot eafb8149b3 [libcalamares] Test some degenerate truncation cases
Adriaan de Groot a383aa974a [users] Need <memory> for unique_ptr
- Although unique_ptr is only used when ICU is enabled, include it
  always because it is likely that we'll use more unique_ptr
  in the implementation at some point.
Adriaan de Groot caff0176b1 [libcalamares] Need <memory> for unique_ptr
FIXES 
Neal Gompa e56bdd019f modules/bootloader: Use the correct names for the shim binaries
Ever since signed shim binaries for multiple architectures became
available, the shim binaries installed in Linux distributions have
been renamed to include the EFI architecture in the binary names.

This started in Fedora, but is now used in openSUSE and Ubuntu too.

Reference for shim binary names comes from shim spec in Fedora:

d8c3c8e392/f/shim.spec (_23-32)
Adriaan de Groot 7ab9c63903 [libcalamares] Extend test with some degenerate cases
Adriaan de Groot 5c402ffd66 [libcalamares] Truncate to a character count as well
Adriaan de Groot 1542bad224 [libcalamares] Truncate strings without trailing newline properly
Adriaan de Groot 8e3ed3c933 [libcalamares] Remove redundant variable, use NEWLINE instead of character-literal
Adriaan de Groot 3623e9aefc [libcalamares] Extend tests of string-truncation
Adriaan de Groot b85e5b52c2 [libcalamaresui] Apply coding style
- Some minor bits snuck in with the string-truncation code
- While here, make UPDATE_BUTTON_PROPERTY more statement-like
  so it doesn't confuse code-formatters.
Adriaan de Groot db5f3bc309 Merge branch 'issue-1613' into calamares
Adriaan de Groot 319a720d1b [libcalamares Expand tests
Adriaan de Groot b144d81979 [libcalamares] Fix up smart-string-truncation
- off-by-one when source ends with a newline
- lastNewLine was being calculated as a left-index into the string,
  then used as a count-from-right
Adriaan de Groot 3be360e433 [libcalamares] Add tests to string truncation
- check that basic manipulations succeed
- trailing-lines selection fails, though
Adriaan de Groot 8cc114bf2c [libcalamares] Move smart-string-truncation to library
Expand the API a little to support first-lines, last-lines,
and something of both. Use strong types to make the names
clear for each.
benne-dee f8385d2cb8
Fix https in URL
benne-dee 13181a52ee
Define schema for groups in netinstall.schema.yaml
Chrysostomus 8c0c84f162 Create all fstab entries one way instead of having special handling
benne-dee 938edf5bd6
Create shellprocess.schema.yaml
Chrysostomus 14fbbd92dc Get configured subvolumes from the global storage
Chrysostomus 092374d08c Add modified list to global storage
Chrysostomus f53f43ad03 Remove some unnecessary bits
Chrysostomus 4b6718b354 Further generalize subvolume handling
Chrysostomus 942221c764 Generalize subvolume handling
Chrysostomus 945effb048 Amend subvolumes to include path
Chrysostomus b5cfa5109e Add schema definition
Chrysostomus 4ab30569c2 Add default configuration
Adriaan de Groot 4f78afe67e [libcalamaresui] Display a reduced amount of details
Cut the error message from down to a maximum of 8 lines
so that the messagebox does not hopelessly overflow.
Adriaan de Groot f0fd47eeb3 [libcalamares] Simplify logging-manipulators
Writing `Logger::NoQuote{}`` has annoyed me for a while, so
switch it to a constant, like SubEntry, so it looks more
like a regular manipulator object.
Adriaan de Groot c1064c5e08
Merge pull request from Chrysostomus/btrfs-swap
[fstab][mount] Btrfs swapfile handling
Anubhav Choudhary b4078f3634 Changed branding keynames + minor fixes
Anubhav Choudhary 186c065b4c PasteURL sent to clipboard
Anubhav Choudhary a2c930a714 Code-formatted and Copyright-text added
Anubhav Choudhary ff66e4b3d5 Redirecting logUpload vars to pasteUtility
Anubhav Choudhary f6cb879929 branding.desc updated
Adriaan de Groot 9a4c599e22 [libcalamares] Tidy logging a little for Python errors
Adriaan de Groot 6978ce3cb4 [partition] Collect more kpmcore 4.2 code
Adriaan de Groot 520f08bbba [partition] Fix build with legacy kpmcore
Adriaan de Groot 31bf38977e [partition] Refactor partition-labeling
Adriaan de Groot 3ade1fd84a Merge branch 'add-automount-control' into calamares
Adriaan de Groot b709ba7a5b
Merge pull request from deprov447/Back/Next_buttons_at_installation
Navigation buttons hideability during installation
Adriaan de Groot 9482935034
Merge pull request from gportay/partition-output-more-things-in-overiew
[partition] output more things in overiew
Adriaan de Groot 478af25cec
Merge pull request from gportay/unpackfs-skip-overlay-extended-attributes
[unpackfs] Skip overlay extended attributes
Anubhav Choudhary 0ff32784d1 hooked backAndNextVisible signal to nonQML navigation
Anubhav Choudhary a9539018e9 [fixed] backAndNextVisbility logic
Gaël PORTAY af5c57a713 [partition] Output filesystem features in overview
Gaël PORTAY c045af1975 [partition] Output GPT entries in overview
Gaël PORTAY bf9c9a64f1 [libcalamares] Introduce new function getPartitionTable
Adriaan de Groot 132ff59d9c [libcalamares] Make running commands less chatty
If there's no output, don't mention it; don't mention failure modes
if the command was successful.
Adriaan de Groot a3eae323f1 [libcalamares] Rename test-executable: avoid clashes with 'cala<tab>'
Adriaan de Groot d74bdbcfd0 [libcalamares] coding-style, logging in calautomount
Adriaan de Groot 3150785ff1 [libcalamares] Use shared_ptr instead of unique_ptr
The value inside a unique_ptr can't be opaque, it needs to be known
at any site where the pointer may be deleted. shared_ptr does not
have that (deletion is part of the shared_ptr object, which is larger
than the unique_ptr) and so can be used for opaque deletions.
Adriaan de Groot 1c4bf58fb4 [libcalamares] automount-manipulation test-program
Adriaan de Groot f0a33a235c [libcalamares] Make automountDisable() more flexible
Adriaan de Groot 9e6bddf31a [partition] Add new AutoMount-manipulating helpers
Adriaan de Groot 1c285f011b [libcalamares] Export partition-syncer symbols
Adriaan de Groot c963d8905f [netinstall] Merge the two descriptions of *immutable*
Chrysostomus 271122865f define global storage
Adriaan de Groot 2ccd5a2043 Docs: explain about loadmodule
The Python-specific `testmodule.py` was replaced by the more
general `loadmodule`.

FIXES 
Anubhav Choudhary e3a41571f0 Spacing added
Chrysostomus 727f7859b7 Mount @swap to /swap when needed
Chrysostomus b180cbd47d Generate a subvolume for swap if swapfile is used
Chrysostomus 97eb32bf5c Correct the path of swapfile on btrfs
Chrysostomus 80a538665e Generate entry for subvolume @swap
Chrysostomus 3f0612b4ad Use different location for swapfile on btrfs root
Anubhav Choudhary 0f2320bd47 Initializing bools in settings.h
Anubhav Choudhary 03d1fe434c Navigation button hideability added
Chrysostomus 59cfdcccdf Use variable instead of a function