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.
5 years ago
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).
5 years ago
Adriaan de Groot
44602d0237
[finishedq] CMake: missing keyword
5 years ago
Adriaan de Groot
83e6476be8
[finishedq] Tighten up requirements
5 years ago
Adriaan de Groot
e9384deb5d
[finishedq] Document the meaningful settings of the config file
5 years ago
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.
5 years ago
Adriaan de Groot
aa004503c5
[finished] Expand Config object's repertoire of notification-API
5 years ago
Adriaan de Groot
f8258f671b
[calamares] Navigation getting the wrong side
5 years ago
Adriaan de Groot
6f15b69917
Merge branch 'qml-resizing' into calamares
...
Make panel sizes consistent, so the QML-navigation can be used better.
6 years ago
Adriaan de Groot
19874ebc3a
[finished] Document doRestart() better
...
- move all the 'really want restart' logic to restartNowWanted()
6 years ago
Adriaan de Groot
f94853eb28
[finishedq] Always restart if possible
6 years ago
Adriaan de Groot
075a28a06d
[finished] Log the doRestart() attempt
6 years ago
Adriaan de Groot
0d7c1ec130
[finishedq] Port QML back to using Config object
6 years ago
Adriaan de Groot
5b376b41bf
[finishedq] Chase business logic in Config object
6 years ago
Adriaan de Groot
3ad3a9adfc
[finished] Move the business logic to the Configt object
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
Adriaan de Groot
1739d8f15f
Merge pull request #1647 from demmm/calamares
...
[finishedq] adding QML finished module
6 years ago
Adriaan de Groot
6a1e46d7f6
[libcalamaresui] Add properties to ViewManager to expose Settings
6 years ago
Adriaan de Groot
849da3f322
[libcalamaresui] The ViewManager is a UI component for QML, not core
6 years ago
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).
6 years ago
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
6 years ago
Adriaan de Groot
cc3017be53
Merge pull request #1619 from deprov447/Upload_Install_Log
...
[libcalamaresui] Implementing LogUpload functionality from branding
6 years ago
Adriaan de Groot
24e129a413
Merge branch 'issue-1634' into calamares
...
FIXES #1634
6 years ago
Adriaan de Groot
d3acc39d2d
Merge branch 'qml-finished' into calamares
6 years ago
Adriaan de Groot
a4682db987
[finished] Tidy up notification-at-end (and allow failed notifications)
6 years ago
Adriaan de Groot
5af614daf7
[finished] Allow positive and negative notifications at end.
6 years ago
Adriaan de Groot
ec4b6752d6
[finished] Move notification to Config
6 years ago
Adriaan de Groot
76a2791b12
[finished] Clean up includes
6 years ago
Adriaan de Groot
7d024cf72b
[finished] Move restart handling to Config
6 years ago
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.
6 years ago
Adriaan de Groot
288fe5b274
[finished] Rename and document following coding style
6 years ago
Adriaan de Groot
40961f21a7
Merge pull request #1624 from benne-dee/schema-netinstall
...
[netinstall] Schema for groups in netinstall.schema.yaml
6 years ago
benne-dee
f0aa515c8b
[netinstall] Schema validates also groups file
6 years ago
Adriaan de Groot
9c8194402b
[keyboard] Add ASCII mapping for Greek
...
FIXES #1642
6 years ago
Adriaan de Groot
cdbf45b5d3
[libcalamaresui] Remove unused include
6 years ago
Adriaan de Groot
3a4dcb6913
[libcalamaresui] Give slideshow (ExecutionViewStep) widgets names
6 years ago
Adriaan de Groot
7e6c3a2309
[libcalamaresui] Give the slideshow-widgets a name
...
- this is the *working* part of the slideshow, not its background
6 years ago
Adriaan de Groot
49f4e7b8e1
[calamares] Make the widget-tree more informative, mention class name
6 years ago
Adriaan de Groot
6bf82e9c65
[welcome] Update .conf documentation
...
- fix typo
- don't suggest google as internetCheckUrl
- mark TODOs for #1384
6 years ago
Anubhav Choudhary
9738851261
YAML list for uploadServer key
6 years ago
Anubhav Choudhary
7057081bdf
QUrl for serverURL + renames
6 years ago
Adriaan de Groot
e49f0cf3ba
[libcalamares] Document NamedEnum in much more detail
6 years ago
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.
6 years ago
Adriaan de Groot
ca1ae6fd1d
[netinstall] Support retranslation in the Config object
6 years ago
Adriaan de Groot
335ccbc149
[netinstall] Move other translation parts to Config
6 years ago
Adriaan de Groot
cf7391696e
[netinstall] Continue moving settings to the Config object
6 years ago
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 #1634
6 years ago
Chrysostomus
16eff98a06
Don't use f-strings yet.
6 years ago
Chrysostomus
0c92a36a53
Remove unnecessary comment
6 years ago
Chrysostomus
6d55005da0
Mount subvolumes to correct mountpoints
6 years ago
Chrysostomus
b16bd6bb23
Fix name error
6 years ago
Chrysostomus
67aedd5582
Move comments closer to where they are used
6 years ago
Chrysostomus
16bf7925a2
Adjust comments
6 years ago
Chrysostomus
1896a38ccc
Fix a typo
6 years ago
Chrysostomus
1e0295dc65
Fix name error
6 years ago
Adriaan de Groot
84240683f5
[finished] Apply coding style
6 years ago
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
6 years ago
Adriaan de Groot
c82b802f4e
[libcalamares] Typo in documentation
6 years ago
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.
6 years ago
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.
6 years ago
Adriaan de Groot
144b51f00e
[partition] Use automount control
...
FIXES #1604
(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)
6 years ago
Adriaan de Groot
17f73b1294
[partition] Test automount job in a queue
6 years ago
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
6 years ago
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
6 years ago
Adriaan de Groot
c98a330bf9
[libcalamares] Store DBus reply value, drop debug-logging
6 years ago
Adriaan de Groot
aae815cf3b
[partition] Add trivial test for automount management job
6 years ago
Chrysostomus
fcf6e2fb25
fix typos
6 years ago
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.
6 years ago
Adriaan de Groot
f3752e200a
[libcalamaresui] Display first 6, last 2 lines of long error messages, preserve newlines
6 years ago
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 #1613
6 years ago
Adriaan de Groot
eafb8149b3
[libcalamares] Test some degenerate truncation cases
6 years ago
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.
6 years ago
Adriaan de Groot
caff0176b1
[libcalamares] Need <memory> for unique_ptr
...
FIXES #1631
6 years ago
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)
6 years ago
Adriaan de Groot
7ab9c63903
[libcalamares] Extend test with some degenerate cases
6 years ago
Adriaan de Groot
5c402ffd66
[libcalamares] Truncate to a character count as well
6 years ago
Adriaan de Groot
1542bad224
[libcalamares] Truncate strings without trailing newline properly
6 years ago
Adriaan de Groot
8e3ed3c933
[libcalamares] Remove redundant variable, use NEWLINE instead of character-literal
6 years ago
Adriaan de Groot
3623e9aefc
[libcalamares] Extend tests of string-truncation
6 years ago
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.
6 years ago
Adriaan de Groot
db5f3bc309
Merge branch 'issue-1613' into calamares
6 years ago
Adriaan de Groot
319a720d1b
[libcalamares Expand tests
6 years ago
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
6 years ago
Adriaan de Groot
3be360e433
[libcalamares] Add tests to string truncation
...
- check that basic manipulations succeed
- trailing-lines selection fails, though
6 years ago
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.
6 years ago
benne-dee
f8385d2cb8
Fix https in URL
6 years ago
benne-dee
13181a52ee
Define schema for groups in netinstall.schema.yaml
6 years ago
Chrysostomus
8c0c84f162
Create all fstab entries one way instead of having special handling
6 years ago
benne-dee
938edf5bd6
Create shellprocess.schema.yaml
6 years ago
Chrysostomus
14fbbd92dc
Get configured subvolumes from the global storage
6 years ago
Chrysostomus
092374d08c
Add modified list to global storage
6 years ago
Chrysostomus
f53f43ad03
Remove some unnecessary bits
6 years ago
Chrysostomus
4b6718b354
Further generalize subvolume handling
6 years ago
Chrysostomus
942221c764
Generalize subvolume handling
6 years ago
Chrysostomus
945effb048
Amend subvolumes to include path
6 years ago
Chrysostomus
b5cfa5109e
Add schema definition
6 years ago
Chrysostomus
4ab30569c2
Add default configuration
6 years ago
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.
6 years ago
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.
6 years ago
Adriaan de Groot
c1064c5e08
Merge pull request #1597 from Chrysostomus/btrfs-swap
...
[fstab][mount] Btrfs swapfile handling
6 years ago
Anubhav Choudhary
b4078f3634
Changed branding keynames + minor fixes
6 years ago
Anubhav Choudhary
186c065b4c
PasteURL sent to clipboard
6 years ago
Anubhav Choudhary
a2c930a714
Code-formatted and Copyright-text added
6 years ago
Anubhav Choudhary
ff66e4b3d5
Redirecting logUpload vars to pasteUtility
6 years ago
Anubhav Choudhary
f6cb879929
branding.desc updated
6 years ago
Adriaan de Groot
9a4c599e22
[libcalamares] Tidy logging a little for Python errors
6 years ago
Adriaan de Groot
6978ce3cb4
[partition] Collect more kpmcore 4.2 code
6 years ago
Adriaan de Groot
520f08bbba
[partition] Fix build with legacy kpmcore
6 years ago
Adriaan de Groot
31bf38977e
[partition] Refactor partition-labeling
6 years ago
Adriaan de Groot
3ade1fd84a
Merge branch 'add-automount-control' into calamares
6 years ago
Adriaan de Groot
b709ba7a5b
Merge pull request #1590 from deprov447/Back/Next_buttons_at_installation
...
Navigation buttons hideability during installation
6 years ago
Adriaan de Groot
9482935034
Merge pull request #1572 from gportay/partition-output-more-things-in-overiew
...
[partition] output more things in overiew
6 years ago
Adriaan de Groot
478af25cec
Merge pull request #1571 from gportay/unpackfs-skip-overlay-extended-attributes
...
[unpackfs] Skip overlay extended attributes
6 years ago
Anubhav Choudhary
0ff32784d1
hooked backAndNextVisible signal to nonQML navigation
6 years ago
Anubhav Choudhary
a9539018e9
[fixed] backAndNextVisbility logic
6 years ago
Gaël PORTAY
af5c57a713
[partition] Output filesystem features in overview
6 years ago
Gaël PORTAY
c045af1975
[partition] Output GPT entries in overview
6 years ago
Gaël PORTAY
bf9c9a64f1
[libcalamares] Introduce new function getPartitionTable
6 years ago
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.
6 years ago
Adriaan de Groot
a3eae323f1
[libcalamares] Rename test-executable: avoid clashes with 'cala<tab>'
6 years ago
Adriaan de Groot
d74bdbcfd0
[libcalamares] coding-style, logging in calautomount
6 years ago
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.
6 years ago
Adriaan de Groot
1c4bf58fb4
[libcalamares] automount-manipulation test-program
6 years ago
Adriaan de Groot
f0a33a235c
[libcalamares] Make automountDisable() more flexible
6 years ago
Adriaan de Groot
9e6bddf31a
[partition] Add new AutoMount-manipulating helpers
6 years ago
Adriaan de Groot
1c285f011b
[libcalamares] Export partition-syncer symbols
6 years ago
Adriaan de Groot
c963d8905f
[netinstall] Merge the two descriptions of *immutable*
6 years ago
Chrysostomus
271122865f
define global storage
6 years ago
Adriaan de Groot
2ccd5a2043
Docs: explain about loadmodule
...
The Python-specific `testmodule.py` was replaced by the more
general `loadmodule`.
FIXES #1596
6 years ago
Anubhav Choudhary
e3a41571f0
Spacing added
6 years ago
Chrysostomus
727f7859b7
Mount @swap to /swap when needed
6 years ago
Chrysostomus
b180cbd47d
Generate a subvolume for swap if swapfile is used
6 years ago
Chrysostomus
97eb32bf5c
Correct the path of swapfile on btrfs
6 years ago
Chrysostomus
80a538665e
Generate entry for subvolume @swap
6 years ago
Chrysostomus
3f0612b4ad
Use different location for swapfile on btrfs root
6 years ago
Anubhav Choudhary
0f2320bd47
Initializing bools in settings.h
6 years ago
Anubhav Choudhary
03d1fe434c
Navigation button hideability added
6 years ago
Chrysostomus
59cfdcccdf
Use variable instead of a function
6 years ago
Chrysostomus
0ed0d37693
Don't use plymouth-encrypt if there is keyfile in use, because it is buggy and asks for password even when it is not needed
6 years ago
Adriaan de Groot
06c6ea04c0
[users] Make status message consistent (no .)
6 years ago
Calamares CI
3c14d7092a
i18n: [dummypythonqt] Automatic merge of Transifex translations
6 years ago
Adriaan de Groot
a93e96da7c
[branding] Restore dropped https
6 years ago
Anubhav Choudhary
e8238ca713
Name added in copyright section
6 years ago
Anubhav Choudhary
a4c759355b
[Fix] WelcomePage links
...
"Generic support" and "Known Issues" links fixed
6 years ago
Adriaan de Groot
f4133a97db
[libcalamares] Make test a bit more verbose (before failing)
6 years ago
Adriaan de Groot
fa7d2bda16
[libcalamares] Misplaced space in a test-filename
6 years ago