Teo Mrnjavac
dfededc4b4
Use revertDevice in ChoicePage, and always use a fresh Device*.
9 years ago
Teo Mrnjavac
0a0a0d58e0
PartitionCoreModule::revertDevice.
9 years ago
Teo Mrnjavac
fe5ab75e82
Whitespace.
9 years ago
Teo Mrnjavac
0bf2389b1a
Add swapDevice to DeviceModel.
9 years ago
Teo Mrnjavac
1d553407b9
And remove swapDevice from BootLoaderModel.
9 years ago
Teo Mrnjavac
cbbaa8b592
swapDevice in BootLoaderModel.
9 years ago
Teo Mrnjavac
b767f0b18f
Select partition to replace from the current DeviceModel.
9 years ago
Teo Mrnjavac
5655b4f1da
Add PartitionPathRole to PartitionModel.
9 years ago
Teo Mrnjavac
2258c806ae
Make the bars/labels views members in ChoicePage.
9 years ago
Teo Mrnjavac
b663ce5f74
Add PartitionPtrRole to PartitionModel.
9 years ago
Teo Mrnjavac
1a4b6b1c9c
Isolate painter in selection square.
9 years ago
Teo Mrnjavac
d164ec4d91
Remove ReplaceWidget.
9 years ago
Teo Mrnjavac
d0ee43172c
Handle selection behavior on current state preview views.
9 years ago
Teo Mrnjavac
7102596729
Add Q_OBJECT macros.
9 years ago
Teo Mrnjavac
0c9d64878a
Only enable selection when it makes sense
9 years ago
Teo Mrnjavac
1c279dac24
Make bars and labels share the selection model.
9 years ago
Teo Mrnjavac
f2093be353
Full selection and hover support in labels view.
9 years ago
Teo Mrnjavac
fd33eb71ba
Add some more string guesswork to labels view, with FS pretty names.
9 years ago
Teo Mrnjavac
df13b3ba08
Add separate FileSystemTypeRole to PM, and output FS PrettyNames.
9 years ago
Teo Mrnjavac
2986625cfd
PrettyName generator for FileSystem::Type.
9 years ago
Teo Mrnjavac
6af901a675
Use BootloaderEntryName from Branding for target root partition id.
9 years ago
Teo Mrnjavac
0c840abdc5
Allow setting a custom new root name in Labels view.
9 years ago
Teo Mrnjavac
e277467ed4
Run osprober after we have a working DeviceModel.
9 years ago
Teo Mrnjavac
fc54b9bf40
Debug spam.
9 years ago
Teo Mrnjavac
87a31a0514
Tweak labels view margin.
9 years ago
Teo Mrnjavac
f736ace996
Update Erase disk string.
9 years ago
Teo Mrnjavac
cda99a2a65
New Alongside strings.
9 years ago
Teo Mrnjavac
37634e1e5a
New Replace strings.
9 years ago
Teo Mrnjavac
d27ac4c041
New Erase disk strings.
9 years ago
Teo Mrnjavac
48d0de2e08
Let's try with no main message.
9 years ago
Teo Mrnjavac
326e566927
String changes.
9 years ago
Teo Mrnjavac
fe4cf3c4ec
Add some spacing between label view item rows.
9 years ago
Teo Mrnjavac
0af434bfc1
Factor out text building for label view items for proper sizeHint.
9 years ago
Teo Mrnjavac
0be736acf7
Improve information in labels view.
9 years ago
Teo Mrnjavac
a75c69805f
Add IsPartitionNewRole to PartitionModel.
9 years ago
Teo Mrnjavac
c765de654c
Add filesystem label role.
9 years ago
Teo Mrnjavac
0224811bf6
Move Osprober to PCM and add Osprober roles to PartitionModel.
9 years ago
Teo Mrnjavac
7b66514bf5
Clean up debug spam.
9 years ago
Teo Mrnjavac
333214f7ca
Finally fix selection.
9 years ago
Teo Mrnjavac
f154a135d8
Test out awful hack to try to make selection work properly.
9 years ago
Teo Mrnjavac
3fc354284a
Improve debug output.
9 years ago
Teo Mrnjavac
8acb70de5c
Use currentIndex instead of selection.
9 years ago
Teo Mrnjavac
99a5ac8e4d
Debug output.
9 years ago
Teo Mrnjavac
7fce08459b
Don't skip extended partition.
9 years ago
Teo Mrnjavac
f64d210496
Enable selection behavior and add debug output to Labels view.
9 years ago
Teo Mrnjavac
fecb50779a
Only paint selection and hover if selectionMode is not NoSelection.
9 years ago
Teo Mrnjavac
2f35aa1258
And selectionModel() better exist...
9 years ago
Teo Mrnjavac
584ca6da18
Rely on selectionModel() instead of currentIndex().
9 years ago
Teo Mrnjavac
517f958616
Magic numbers for view height.
9 years ago
Teo Mrnjavac
df9cec14f7
More arbitrary magic to try to fix all the pixels properly.
9 years ago
Teo Mrnjavac
9b60040bab
Magic numbers.
9 years ago
Teo Mrnjavac
a27a5496b7
Try a statically calculated selection margin.
9 years ago
Teo Mrnjavac
798a491296
Adjust padding.
9 years ago
Teo Mrnjavac
5aa8cd4a9b
Use semitransparent overlay rounded rect for PBV selection.
9 years ago
Teo Mrnjavac
7c80f846f1
Add debug output.
9 years ago
Teo Mrnjavac
c2cb367753
Remember QPersistentModelIndex rather than row for hover effect.
9 years ago
Teo Mrnjavac
36f30b1ede
Support selection and better hover.
9 years ago
Teo Mrnjavac
cc5520edda
Add hover and click support to PartitionBarsView.
9 years ago
Teo Mrnjavac
a9e241d288
Fix strings.
9 years ago
Teo Mrnjavac
1ad6c7e8ac
Use new Labels view.
9 years ago
Teo Mrnjavac
eed8d3b83b
Split out Labels view from Bars view.
...
Both are QAbstractItemViews and can be used on top of a PartitionModel,
together or separately.
9 years ago
Teo Mrnjavac
b65fe87503
PartitionPreview is now PartitionBarsView.
9 years ago
Teo Mrnjavac
3beebf4137
String improvement.
9 years ago
Teo Mrnjavac
37af36499c
Layout fix.
9 years ago
Teo Mrnjavac
78808251b9
Fix sizeHint calculation, useless padding is useless.
9 years ago
Teo Mrnjavac
ccc93d2c64
Better partition label square size.
9 years ago
Teo Mrnjavac
25e388aa29
Add CalamaresUtils::defaultFont()
9 years ago
Teo Mrnjavac
93c515ccef
Add documentation for partition table types.
9 years ago
Teo Mrnjavac
83cbe16918
Fixup preview height.
9 years ago
Teo Mrnjavac
84c254ced2
Use DeviceInfoWidget in ChoicePage.
9 years ago
Teo Mrnjavac
17f1f5f61f
Load those icons.
9 years ago
Teo Mrnjavac
d4117b333c
New icons for DeviceInfoWidget.
9 years ago
Teo Mrnjavac
9d9de792e5
New DeviceInfoWidget to educate the user.
9 years ago
Teo Mrnjavac
4c90a68241
Make choice text refer to the currently selected device.
9 years ago
Teo Mrnjavac
b31ac92d7e
And make it build.
9 years ago
Teo Mrnjavac
3bf1fe716f
Yank out compact mode, refactor layout, fix strings.
9 years ago
Teo Mrnjavac
c6a7c54904
Preview widget height.
9 years ago
Teo Mrnjavac
c717a08d6d
Unbreak
9 years ago
Teo Mrnjavac
abfc009872
Actually apply changes.
9 years ago
Teo Mrnjavac
2320ce9c04
Layout fixes.
9 years ago
Teo Mrnjavac
47b5c6eeb4
Use ReplaceWidget in ChoicePage.
9 years ago
Teo Mrnjavac
26ac809d6e
Don't instantiate ReplacePage in PVS any more.
9 years ago
Teo Mrnjavac
46fcca63c3
Refactor ReplacePage into new ReplaceWidget.
9 years ago
Teo Mrnjavac
351c69c300
Remove obsolete code.
...
CAL-340 #close
9 years ago
Teo Mrnjavac
742b2013f9
Sleep for 3, not 30s.
9 years ago
Teo Mrnjavac
0fa19cca68
Fix the last page fix.
9 years ago
Teo Mrnjavac
51d0d9f9b4
Disable next on last page.
9 years ago
Teo Mrnjavac
22470ba4af
Disallow next if the root password is not reused or provided.
...
CAL-344 #close
9 years ago
Teo Mrnjavac
8a6dcfbe2f
Move ReplacePartition operation to PartitionActions.
9 years ago
demmm
f267410dbb
different names
9 years ago
Teo Mrnjavac
a79575afe8
Create erase button in a separate method.
9 years ago
demmm
c89bd1db23
implement https://calamares.io/bugs/browse/CAL-341
9 years ago
Teo Mrnjavac
e0b1290b8c
Update the bootloader picker when the chosen device changes.
9 years ago
Teo Mrnjavac
a65be8bfda
Add the expanded signal to ExpandableRadioButton.
9 years ago
Teo Mrnjavac
526180dde2
Use ExpandableRadioButton in ChoicePage for Erase on MBR.
9 years ago
Teo Mrnjavac
02c345e3be
Use QGridLayout in ExpandableRadioButton to align widget with label.
9 years ago
Teo Mrnjavac
40ee57bed1
Useless margin is useless.
9 years ago
Teo Mrnjavac
94eda832f6
Build it.
9 years ago
Teo Mrnjavac
32e97c6ef2
Initial commit for ExpandableRadioButton.
...
ExpandableRadioButton extends PrettyRadioButton with an optional
user-provided QWidget at the bottom, which only shows up when the
button is checked.
9 years ago
Teo Mrnjavac
e83fdfbd13
Make PrettyRadioButton inheritable.
9 years ago
Teo Mrnjavac
368d3fe747
Apply partitioning action choice separately from preview, and update.
9 years ago
Teo Mrnjavac
e59418e880
Add crash utility to CalamaresUtils.
9 years ago
Teo Mrnjavac
391b52427a
Properly handle the edge case of a PCM::revert and null deviceModel.
9 years ago
Teo Mrnjavac
9b2f04daf6
Add reverted signal to PCM.
9 years ago
Teo Mrnjavac
36aa8f736a
Wrap choice items in a ScrollArea.
9 years ago
Teo Mrnjavac
0a72f22a34
WIP: go to next page on next if erase selected.
9 years ago
Teo Mrnjavac
32fd12d501
Add label to PCM state preview.
9 years ago
Teo Mrnjavac
65fd43729c
Use PartitionActions in ChoicePage for Erase.
...
Document ChoicePage because it's quite long and confusing.
Add PCM state preview and update it when a choice is selected.
Smaller icons.
Update strings.
9 years ago
Teo Mrnjavac
2e9e1782cf
Remove EraseDiskPage from PartitionViewStep.
9 years ago
Teo Mrnjavac
9167a34f2e
Kill EraseDiskPage, add PartitionActions.
9 years ago
Teo Mrnjavac
6de8158bec
It is a good idea to initialize pointer members in the ctor.
9 years ago
Teo Mrnjavac
eeceed91eb
Refactor ChoicePage workflow, use rescanned state for Preview widget.
9 years ago
Teo Mrnjavac
d9421f586f
Sync layout with PartitionPage.
9 years ago
Teo Mrnjavac
c031ed677f
String fix.
9 years ago
Teo Mrnjavac
8858ea7854
Show preview widget for unknown disklabels or no disklabel.
9 years ago
Teo Mrnjavac
7adaa65795
Move preview up.
9 years ago
Teo Mrnjavac
26c2c08c47
Constant for unknown disklabel color.
9 years ago
Teo Mrnjavac
fadfc67015
Split up ChoicePage loading, support preview and disk chooser.
9 years ago
Teo Mrnjavac
9a67f6372c
Continue asynchronously loading PartitionViewStep after config load.
9 years ago
Teo Mrnjavac
3ba058d5b7
Add compact mode default.
9 years ago
Teo Mrnjavac
201cba6c77
UIfy ChoicePage.
9 years ago
Teo Mrnjavac
e58fe43a03
Try out GUI options for having a preview in the choice phase.
9 years ago
codeworkx
b412937699
don't set default "users" group on home dirs
...
Fixes CAL-345.
Changing group of home dir to the default "users" group might be a security risk
because every user which belongs to the default "users" group
might be able to access private data on home dirs of other users.
9 years ago
Teo Mrnjavac
33ab4ee663
Enable Restart Now checkBox if required.
9 years ago
Teo Mrnjavac
c1ea86c48e
Add new users to a group with the same name.
9 years ago
Teo Mrnjavac
bbd8fe6203
Allow reusing the user password as root password.
9 years ago
Teo Mrnjavac
cb83e22ded
Make sure the FullName is not empty.
9 years ago
Teo Mrnjavac
baa3553db5
Add CalamaresUtils::obscure.
9 years ago
Teo Mrnjavac
5f54a56513
PMUtils is now KPMHelpers. Also fixup after PartUtils refactor.
9 years ago
Teo Mrnjavac
95e87391a4
Refactor Osprober and resizability logic out ot PartitionViewStep.
9 years ago
Teo Mrnjavac
c5f9397d18
Keep UUID when clearing swap.
...
CAL-156 #comment I've just pushed a fix attempt for this, please test.
9 years ago
Teo Mrnjavac
4b57749945
Use PluginFactory in License module.
9 years ago
Philip
43438b633c
[services] fix target_env adjustment
9 years ago
Teo Mrnjavac
1c5f9ce320
Add sample custom instance configuration file to WebView module.
9 years ago
Teo Mrnjavac
c824172f37
Refactor Summary page to use new workflow to get operations list.
9 years ago
Teo Mrnjavac
007ad9abae
Add debug information as a tooltip to ViewStepItem if running with -d
9 years ago
Teo Mrnjavac
490875cdb4
There is no prepare phase any more.
9 years ago
Teo Mrnjavac
5e87e01374
Refactor view module workflow in ViewManager.
9 years ago
Teo Mrnjavac
2a0eb9e481
Fix debug window.
9 years ago
Teo Mrnjavac
461ef79170
ViewStep should know their own instance keys.
9 years ago
Teo Mrnjavac
fb44fb97b6
Massive refactor of module loading, configuration, startup, management.
9 years ago
Teo Mrnjavac
c74c67805e
Remember to update CMakeLists.
9 years ago
Teo Mrnjavac
834299f785
There are no Phases any more, just a ModuleAction for a module.
9 years ago
Teo Mrnjavac
9cb4e60b31
Namespace fixage.
9 years ago
Teo Mrnjavac
9042616a8a
Refactor configuration file loading to allow multiple instances.
9 years ago
Teo Mrnjavac
9facef63c6
PluginFactory in InteractiveTerminal module.
9 years ago
Teo Mrnjavac
e120f2a74c
PluginFactory in Locale module.
9 years ago
Teo Mrnjavac
90b156f97f
PluginFactory in Keyboard module.
9 years ago
Teo Mrnjavac
7e6c626a0b
PluginFactory in Partition module.
9 years ago
Teo Mrnjavac
316909303c
PluginFactory in Summary module.
9 years ago
Teo Mrnjavac
0bd64163a5
PluginFactory in Users module.
9 years ago
Teo Mrnjavac
bc9c451f33
PluginFactory in WebView module.
9 years ago
Teo Mrnjavac
420c2cf7c4
PluginFactory in Welcome module.
9 years ago
Teo Mrnjavac
d91f00f334
PluginFactory in Finished module.
9 years ago
Teo Mrnjavac
4f84e9ad14
InstallationViewStep is now ExecutionViewStep.
...
It also uses JobQueue directly.
9 years ago
Teo Mrnjavac
f836019f49
Add Calamares::PluginFactory to allow multiple instances of a Qt Plugin.
9 years ago
Teo Mrnjavac
6ec2b07ca7
Install icon
9 years ago
Teo Mrnjavac
3b56c5c9e8
Use safe QTimer::singleShot connection.
9 years ago
Teo Mrnjavac
49c03bbf2c
interactiveterminal ViewModule, based on the Konsole KPart.
9 years ago
Teo Mrnjavac
05292241c4
Let's just try ways to escape or not escape until something sticks.
9 years ago
Teo Mrnjavac
daee5b7148
Escape the encrypted password after calling crypt with the right salt.
9 years ago
Teo Mrnjavac
1534b0a27c
Try to fix dontChroot command execution.
9 years ago
Teo Mrnjavac
a4ea7e65a2
Try running no-chroot commands in env rather than sh -c.
9 years ago
Teo Mrnjavac
8573bebc58
Escape relevant password hash characters.
9 years ago
Rohan Garg
ca393d0a44
Set the default rootMountPoint when not chroot'ing
9 years ago
Rohan Garg
18218b250e
Adjust /etc/timezone if it exists
9 years ago
Rohan Garg
a98742c32c
Use timedatectl provided by systemd to set the time on the target
...
Use tools provided by systemd to set the time and fall back to
manually doing it via linking /etc/localtime
9 years ago
Teo Mrnjavac
7212aaec74
Fix the last fix.
9 years ago
Teo Mrnjavac
d8818e0280
Fix non-chroot target env call.
9 years ago
Teo Mrnjavac
42e465aa10
CalamaresUtils::System is now a class.
9 years ago
Teo Mrnjavac
0803d86c40
Don't duplicate code.
9 years ago
Teo Mrnjavac
2e3751ffa7
If dont-chroot is set, don't chroot target env calls.
9 years ago
Teo Mrnjavac
10ce42f35c
Use target_env calls in Python modules.
9 years ago
Teo Mrnjavac
bf885d65db
chroot calls are now generic "target env" calls.
9 years ago
Teo Mrnjavac
4f2eddd146
Exclude read-only devices from partitioning backend scan.
9 years ago
Teo Mrnjavac
26715d4281
Correct name of libparted backend.
9 years ago
Teo Mrnjavac
e8de570acb
Build against partresizerwidget and related in KPMcore.
9 years ago
Teo Mrnjavac
adc23b99b6
Move CalaPM init into PMUtils.
9 years ago
Teo Mrnjavac
c2eef9ac30
The Humongous Include Fixage For KPMcore Headers.
9 years ago
Teo Mrnjavac
a49c339dcd
Fixup tests directory because we don't have a project statement.
9 years ago
Teo Mrnjavac
93352cf4be
Set up linking against kpmcore.
9 years ago
Teo Mrnjavac
80ff27a804
Remove partitionmanager submodule.
9 years ago
demmm
2372e45a8a
better spaced layout, most will use less then 3
9 years ago
demmm
031ff75630
Update License screenshot
9 years ago
Teo Mrnjavac
69b35da6bf
Fix up README.md.
9 years ago
demmm
c1ee36946c
New License module, based on KaOS license module.
...
See README.md for details.
9 years ago
Teo Mrnjavac
8064736580
Add clearLayout to CalamaresUtilsGui.
9 years ago
Bhushan Shah
f15320f4f4
Add example disable service
9 years ago
Bhushan Shah
829ae3e9e4
Allow to disable services
...
There might be some services that are enabled in live environment but
not useful for the installed environment and needs disabling by default
9 years ago
Teo Mrnjavac
44d2c602e3
Do not build modules listed in SKIP_MODULES.
9 years ago
Teo Mrnjavac
de8e713b31
Update defaults.
10 years ago
Teo Mrnjavac
4ae55d0108
Allow setting the default for autologin/no autologin.
10 years ago
Rohan Garg
f75f6b51cb
Fix copyrights and make it so that one can go back when using webview
10 years ago
Rohan Garg
d99ad8fab9
Add a webview module
...
Add a webview module so that calamares can load a webpage.
This is useful when configuring webservices on your device such as
ownCloud.
10 years ago
Teo Mrnjavac
a2a6d2f243
Update submodule.
10 years ago
Teo Mrnjavac
4b8a85f66f
Update submodule.
10 years ago
Teo Mrnjavac
866ca49bdc
Update partitionmanager submodule.
10 years ago
Teo Mrnjavac
1a39d2a6e1
Always provide this as context for a signal connection with a lambda.
10 years ago
Teo Mrnjavac
b75b13b466
Make sure to update GlobalStorage on every timezone change.
10 years ago
Teo Mrnjavac
45aac4ea78
Reset filesystem combo box to current filesystem if going back to "Keep"
10 years ago