4491 Commits (b6077ce9bcd425cfc2f58268833abf9aeb68703d)
 

Author SHA1 Message Date
Adriaan de Groot 45b95e1b65 PythonQt: default to enabled
- This just causes it to be enabled and used when present
   by default, rather than disabled by default (even when present).
7 years ago
Adriaan de Groot d3e57e9c9f [shellprocess] Expand tests
These tests run (shell) commands as part of the test; this may be
a security problem, although I've tried to do things safely.
7 years ago
Adriaan de Groot 87b9c42158 [shellprocess] Don't crash test
- May need to create a JobQueue before doing anything internal
 - May need to create global settings
 - Chroot always needs rootMountPath internally
7 years ago
Adriaan de Groot 8b00a03423 [shellprocess] Test command-substitution 7 years ago
Adriaan de Groot b5d900c1c6 [libcalamares] Allow a @@USER@@ replacement in commands
- Following example in preservefiles module, allow @@USER@@
   in commands (e.g. to do something specific in the home-dir
   of the new user).
7 years ago
Adriaan de Groot b7890d865f [preservefiles] Save GS, munge destination
- using `from: config` now writes a JSON file
 - using @@ROOT@@ and @@USER@@ in dest does a sensible
   substitution.
7 years ago
Adriaan de Groot ac287a0ac5 [libcalamares] Add a save() method to global storage
- This is a quick way to dump GS to JSON, which is useful
   for the preservefiles module #928
 - Also useful for, e.g., #466
7 years ago
Adriaan de Groot dae84d3bb1 [users] Improve explanation of other steps of adding a user 7 years ago
Adriaan de Groot 745dc9ad00 Merge branch 'fix-shell'
This introduces configuration to allow switching between the
behavior noted in #964, and the desired behavior from PR #955.

For the Manjaro Openbox edition, this means they should add:
```
userShell:
```
To users.conf, while others will see the return of the previous
behavior of passing -s /bin/bash.

FIXES #964
7 years ago
Adriaan de Groot 01ff1efc5d [users] Improve explanation when useradd fails 7 years ago
Adriaan de Groot 0d24c1db6c [users] Introduce userShell setting
- Add a *userShell* key, which can be left out (default, backwards-
   compatible) to retain the old /bin/bash behavior, or explicitly
   set to empty to defer to useradd-configuration, or explicitly
   set to something non-empty to use that shell.
7 years ago
Adriaan de Groot ed15edabf9 [users] Document passwordRequirements and code 7 years ago
Adriaan de Groot 3a59574128 [users] Factor out command-line to useradd
- This is prep-work for #964, which was caused by #955
 - Original assumption was that distro's would have a working
   useradd configuration; @abucodonosor already pointed out that
   this was probably not the case, but I ignored that.
7 years ago
Adriaan de Groot 6aa5be192b [netinstall] Drop unused includes 7 years ago
Calamares CI 42d64f0630 i18n: [python] Automatic merge of Transifex translations 7 years ago
Calamares CI a79e62ac6b i18n: [dummypythonqt] Automatic merge of Transifex translations 7 years ago
Calamares CI a43b87c636 i18n: [calamares] Automatic merge of Transifex translations 7 years ago
Adriaan de Groot 3133e759d0
Merge pull request #958 from bill-auger/patch-2
avoid pinging hard-coded server for netinstall.yaml
7 years ago
Adriaan de Groot a9306eb5be
Merge pull request #963 from bill-auger/patch-3
move thisModule->isLoaded assert to after its warning message
7 years ago
bill auger b6673f6324 move thisModule->isLoaded assert to after it's warning message 7 years ago
bill auger d7b1811e56 avoid pinging hard-coded server for netinstall.yaml
groupsUrl is optional and should be commented out by default
also this URL is 404
also only chakra would ever want to ping the chakra server anyways
7 years ago
Adriaan de Groot fb94c227f6 Merge branch 'netinstall' 7 years ago
Adriaan de Groot ba85fc760a [netinstall] Remove data-indirection
- There is no need to move data around between two parts of the
   same module via global storage.
7 years ago
Adriaan de Groot 3160bd7a54 [netinstall] Simplify getting configuration
- Use convenience methods for getting bools and strings from
   the configuration map. Ignore empty groupsUrls.
7 years ago
Adriaan de Groot c1a6ca7629
Merge pull request #957 from bill-auger/patch-1
consistent indentation .. It's not intended as a human-readable file (only something Qt Designer works on) but we may as well be consistent.
7 years ago
Adriaan de Groot 6779a44991 [preservefiles] New module preservefiles
- more flexible way to keep (all kinds of) files from the host
   system, into the target system.
 - WIP: substitutions like in shellprocess (@@ROOT@@, @@HOME@@ probably)
 - WIP: creating a JSON file from global settings
7 years ago
Adriaan de Groot 6c87747a5d [libcalamares] Make it possible to get the logfile name 7 years ago
Adriaan de Groot 5bcd6eaef8 [partition] Reduce warnings by removing unused code 7 years ago
bill auger 4826af97a9 consistent indentation in src/modules/netinstall/page_netinst.ui
this file has 1 space char indentation except for these lines
7 years ago
Adriaan de Groot 4daf5fce10 CMake: drop RC status 7 years ago
Calamares CI 7bdb2ef735 i18n: [python] Automatic merge of Transifex translations 7 years ago
Calamares CI 6b02da9e9e i18n: [dummypythonqt] Automatic merge of Transifex translations 7 years ago
Calamares CI 30fe4ddf24 i18n: [calamares] Automatic merge of Transifex translations 7 years ago
Adriaan de Groot 0c8e45b09a
Merge pull request #955 from fhdk/patch-1
Remove hardcoded shell from user module
7 years ago
Frede H f2677b0879
Update CreateUserJob.cpp
Removal of the hardcoded shell, letting the `/etc/default/useradd` be responsible for the shell.
7 years ago
Adriaan de Groot 733836839a CMake: remove module that duplicates what is in CMake proper 7 years ago
Adriaan de Groot 65d00ccc37 Merge branch 'partition-flags'
Extensive go-over on the partitioning code. #622 is maybe "possibly fixed",
but there's no real indication of what constitutes an invalid combination
of flags.

FIXES #884 FIXES #951 FIXES #953 FIXES #622
7 years ago
Adriaan de Groot c73d6e80f6 [libcalamares] Switch @@ROOT@@ magic around
The substitution of @@ROOT@@ should happen when running in the
host, not in the target, system. Also only complain about it
if @@ROOT@@ is actually used in the commands.

FIXES #954
7 years ago
Calamares CI f6f34bbec3 i18n: [python] Automatic merge of Transifex translations 7 years ago
Calamares CI 6d1f5433b4 i18n: [dummypythonqt] Automatic merge of Transifex translations 7 years ago
Calamares CI 40a4f9e66d i18n: [desktop] Automatic merge of Transifex translations 7 years ago
Calamares CI 9cb6a996c6 i18n: [calamares] Automatic merge of Transifex translations 7 years ago
Adriaan de Groot 90a2e482be [partition] Check for available partition type before creating
- Avoid situation where you make 5 or more primaries in an
   MSDOS partition table.

FIXES #953
7 years ago
Adriaan de Groot bd57f1f2f1 [partition] Fix re-editing a newly created partition
- If there is a partition already (newly) created, then pass that
   to the dialog so that it can use the setings previously applied
   (e.g. mount point and flags).
 - This avoids the case where you create or format a partition,
   then click on it again to edit it and the previous settings are lost.
7 years ago
Adriaan de Groot ca03dad67b [partition] Refactor setting the flags UI
- Setup the lsit of flags consistently, by providing the available
   and to-be-checked flags.
 - In CreatePartitionDialog, assume that ~0 is all the flags.
7 years ago
Adriaan de Groot 4f451eece5 [partition] Refactor getting the checked flags 7 years ago
Adriaan de Groot 950cc9070d [partition] Rename MountPoints to PartitionDialogHelpers
This file is full of helper functions for the partition-editing
dialogs. At first it was just mount-point helper functions,
but there is other functionality that can be refactored.
7 years ago
Adriaan de Groot 336b8c758a [partition] Consider the future flags when checking EFI bootability
- If we're changing the flags to enable EFI boot, then that's
   enough to satisfy the (future) EFI bootability check.
   This is for issue #622 as well. Fixes #884.
7 years ago
Adriaan de Groot 0df304b206 [partition] Preserve desired partition flags
- Use the desired (future) flags, if set, to initialize the
   flags checkboxes. If there are no future flags set, this
   returns active flags as before.
 - This fixes the situation where editing a partition, changing
   flags, then editing it *again* re-starts with the original
   flags instead of the modified flags.
7 years ago
Adriaan de Groot 6739b81c2a [partition] Tell PartitionInfo about desired flags
- When creating a partition, or changing flags, tell
   the PartitionInfo about those desired flags.
7 years ago