Commit Graph

1220 Commits

Author SHA1 Message Date
Teo Mrnjavac
36aa8f736a Wrap choice items in a ScrollArea. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
0a72f22a34 WIP: go to next page on next if erase selected. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
32fd12d501 Add label to PCM state preview. 2015-12-30 17:27:02 +01:00
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.
2015-12-30 17:27:02 +01:00
Teo Mrnjavac
2e9e1782cf Remove EraseDiskPage from PartitionViewStep. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
9167a34f2e Kill EraseDiskPage, add PartitionActions. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
6de8158bec It is a good idea to initialize pointer members in the ctor. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
eeceed91eb Refactor ChoicePage workflow, use rescanned state for Preview widget. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
d9421f586f Sync layout with PartitionPage. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
c031ed677f String fix. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
8858ea7854 Show preview widget for unknown disklabels or no disklabel. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
7adaa65795 Move preview up. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
26c2c08c47 Constant for unknown disklabel color. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
fadfc67015 Split up ChoicePage loading, support preview and disk chooser. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
9a67f6372c Continue asynchronously loading PartitionViewStep after config load. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
3ba058d5b7 Add compact mode default. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
201cba6c77 UIfy ChoicePage. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
e58fe43a03 Try out GUI options for having a preview in the choice phase. 2015-12-30 17:27:02 +01:00
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.
2015-11-29 11:10:01 +01:00
Teo Mrnjavac
33ab4ee663 Enable Restart Now checkBox if required. 2015-11-06 14:58:27 +01:00
Teo Mrnjavac
c1ea86c48e Add new users to a group with the same name. 2015-10-16 16:47:23 +02:00
Teo Mrnjavac
bbd8fe6203 Allow reusing the user password as root password. 2015-10-16 14:26:26 +02:00
Teo Mrnjavac
cb83e22ded Make sure the FullName is not empty. 2015-10-15 13:24:27 +02:00
Teo Mrnjavac
baa3553db5 Add CalamaresUtils::obscure. 2015-09-25 15:24:59 +02:00
Teo Mrnjavac
5f54a56513 PMUtils is now KPMHelpers. Also fixup after PartUtils refactor. 2015-09-18 15:41:07 +02:00
Teo Mrnjavac
95e87391a4 Refactor Osprober and resizability logic out ot PartitionViewStep. 2015-09-18 15:39:49 +02:00
Teo Mrnjavac
c5f9397d18 Keep UUID when clearing swap.
CAL-156 #comment I've just pushed a fix attempt for this, please test.
2015-09-17 15:16:24 +02:00
Teo Mrnjavac
4b57749945 Use PluginFactory in License module. 2015-09-15 17:21:19 +02:00
Philip
43438b633c [services] fix target_env adjustment 2015-09-15 16:51:15 +02:00
Teo Mrnjavac
1c5f9ce320 Add sample custom instance configuration file to WebView module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
c824172f37 Refactor Summary page to use new workflow to get operations list. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
007ad9abae Add debug information as a tooltip to ViewStepItem if running with -d 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
490875cdb4 There is no prepare phase any more. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
5e87e01374 Refactor view module workflow in ViewManager. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
2a0eb9e481 Fix debug window. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
461ef79170 ViewStep should know their own instance keys. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
fb44fb97b6 Massive refactor of module loading, configuration, startup, management. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
c74c67805e Remember to update CMakeLists. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
834299f785 There are no Phases any more, just a ModuleAction for a module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
9cb4e60b31 Namespace fixage. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
9042616a8a Refactor configuration file loading to allow multiple instances. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
9facef63c6 PluginFactory in InteractiveTerminal module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
e120f2a74c PluginFactory in Locale module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
90b156f97f PluginFactory in Keyboard module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
7e6c626a0b PluginFactory in Partition module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
316909303c PluginFactory in Summary module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
0bd64163a5 PluginFactory in Users module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
bc9c451f33 PluginFactory in WebView module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
420c2cf7c4 PluginFactory in Welcome module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
d91f00f334 PluginFactory in Finished module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
4f84e9ad14 InstallationViewStep is now ExecutionViewStep.
It also uses JobQueue directly.
2015-09-15 16:48:42 +02:00
Teo Mrnjavac
f836019f49 Add Calamares::PluginFactory to allow multiple instances of a Qt Plugin. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
6ec2b07ca7 Install icon 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
3b56c5c9e8 Use safe QTimer::singleShot connection. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
49c03bbf2c interactiveterminal ViewModule, based on the Konsole KPart. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
05292241c4 Let's just try ways to escape or not escape until something sticks. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
daee5b7148 Escape the encrypted password after calling crypt with the right salt. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
1534b0a27c Try to fix dontChroot command execution. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
a4ea7e65a2 Try running no-chroot commands in env rather than sh -c. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
8573bebc58 Escape relevant password hash characters. 2015-09-15 16:48:41 +02:00
Rohan Garg
ca393d0a44 Set the default rootMountPoint when not chroot'ing 2015-09-15 16:48:41 +02:00
Rohan Garg
18218b250e Adjust /etc/timezone if it exists 2015-09-15 16:48:41 +02:00
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
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
7212aaec74 Fix the last fix. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
d8818e0280 Fix non-chroot target env call. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
42e465aa10 CalamaresUtils::System is now a class. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
0803d86c40 Don't duplicate code. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
2e3751ffa7 If dont-chroot is set, don't chroot target env calls. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
10ce42f35c Use target_env calls in Python modules. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
bf885d65db chroot calls are now generic "target env" calls. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
4f2eddd146 Exclude read-only devices from partitioning backend scan. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
26715d4281 Correct name of libparted backend. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
e8de570acb Build against partresizerwidget and related in KPMcore. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
adc23b99b6 Move CalaPM init into PMUtils. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
c2eef9ac30 The Humongous Include Fixage For KPMcore Headers. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
a49c339dcd Fixup tests directory because we don't have a project statement. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
93352cf4be Set up linking against kpmcore. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
80ff27a804 Remove partitionmanager submodule. 2015-09-15 16:48:40 +02:00
demmm
2372e45a8a better spaced layout, most will use less then 3 2015-09-14 18:51:42 -04:00
demmm
031ff75630 Update License screenshot 2015-09-14 11:36:33 -04:00
Teo Mrnjavac
69b35da6bf Fix up README.md. 2015-09-14 16:51:04 +02:00
demmm
c1ee36946c New License module, based on KaOS license module.
See README.md for details.
2015-09-14 16:51:04 +02:00
Teo Mrnjavac
8064736580 Add clearLayout to CalamaresUtilsGui. 2015-09-14 16:51:04 +02:00
Bhushan Shah
f15320f4f4 Add example disable service 2015-08-31 20:22:02 +05:30
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
2015-08-31 17:58:51 +05:30
Teo Mrnjavac
44d2c602e3 Do not build modules listed in SKIP_MODULES. 2015-08-28 17:38:36 +02:00
Teo Mrnjavac
de8e713b31 Update defaults. 2015-08-19 12:51:40 +02:00
Teo Mrnjavac
4ae55d0108 Allow setting the default for autologin/no autologin. 2015-08-19 12:51:06 +02:00
Rohan Garg
f75f6b51cb Fix copyrights and make it so that one can go back when using webview 2015-08-17 09:46:14 +02:00
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.
2015-08-17 09:46:05 +02:00
Teo Mrnjavac
a2a6d2f243 Update submodule. 2015-07-29 13:15:47 +02:00
Teo Mrnjavac
4b8a85f66f Update submodule. 2015-07-23 15:46:17 +02:00
Teo Mrnjavac
866ca49bdc Update partitionmanager submodule. 2015-07-23 10:50:35 +02:00
Teo Mrnjavac
1a39d2a6e1 Always provide this as context for a signal connection with a lambda. 2015-07-15 17:49:25 +02:00
Teo Mrnjavac
b75b13b466 Make sure to update GlobalStorage on every timezone change. 2015-07-15 17:48:59 +02:00
Teo Mrnjavac
45aac4ea78 Reset filesystem combo box to current filesystem if going back to "Keep" 2015-07-15 13:35:07 +02:00
Teo Mrnjavac
49f470b503 Update non-mountable list in CreatePartitionDialog. 2015-07-15 13:26:13 +02:00
Teo Mrnjavac
2ec2b4ab86 Disallow mounting non-mountable filesystem types. 2015-07-15 13:25:52 +02:00
Teo Mrnjavac
9bc77fe386 Minimum width. 2015-07-15 13:02:42 +02:00
Teo Mrnjavac
9f2086a648 Allow changing the filesystem type when editing a partition. 2015-07-15 12:51:35 +02:00