8123 Commits (cd8c3089cbfa1f2b4d3a1ef85189f0fc162596a1)
 

Author SHA1 Message Date
Adriaan de Groot cd8c3089cb [users] Fix build: renamed moc file 6 years ago
Adriaan de Groot 89d495d5fb [users] Rename file to match its purpose 6 years ago
Adriaan de Groot 5b4f9d0b98 [users] Adjust tests for changed API 6 years ago
Adriaan de Groot f1772a7eae [users] Create groups in a separate job 6 years ago
Adriaan de Groot 03541470d5 [users] Handle system-group creating specially 6 years ago
Adriaan de Groot fa1d314b13 [users] Refactor group-creation into separate Job 6 years ago
Adriaan de Groot 3d289f345a [users] Refactor users functionality to a static lib
- this makes it less fragile to share all the functionality
  with usersq, since it ends up in the library which is shared
  between the modules.
6 years ago
Adriaan de Groot 6560ef00a1 [usersq] Fix build of usersq after refactor elsewhere 6 years ago
Adriaan de Groot 29e6934672 [users] Factor out Sudo creation into separate job 6 years ago
Adriaan de Groot 328a5bbbfb [users] Don't allow continuing with an empty login name
The status for an empty login name is '' (empty), for ok -- this is
so that there is no complaint about it. But it's not ok to
continue with an empty name.
6 years ago
Adriaan de Groot 2911c789f9 [users] Fix up tests for login status
- an empty login name is "ok" even if it isn't -- there's no
  warning message in that case
6 years ago
Adriaan de Groot 89e279c96a [users] Set auto- and sudo-groups correctly
- Was updating GS only, not internals
- restructure all to update internals, then GS, then emit change signals
6 years ago
Adriaan de Groot f726634c2f [users] Fix tests for setting shell
- The EXPECT_FAIL value "Abort" stops the test (I wanted 'if this
  unexpectedly passes, raise an error' -- should have read the
  documentation more closely).
- Set the shell in the config object, not just in GS.
6 years ago
Adriaan de Groot 6b2d7f6a42 [users] Protect against JobQueue or GS being NULL
- Avoid SIGSEGV in tests, make sure JobQueue exists, GS optional
6 years ago
Adriaan de Groot 788a233319 [users] Introduce a test for Config getters and setters 6 years ago
Adriaan de Groot 58f10739e1 [users] Show progress during the module
- add a status member so the different steps can show progress
  as the user is created and configured. The progress values
  are hard-coded guesses as to how much work is done for each step.
- while here, reduce the scope of the global storage variable
6 years ago
Adriaan de Groot ef70b2c32e [users] Run CreateUserJob off of the Config object
- don't pass in copies or bits of the Config, hand over the whole Config
- don't pluck some parts of the Config from Global Storage
6 years ago
Adriaan de Groot 02e9872a99 [users] Handle detailed groups list
Groups can be specified with must_exist and/or system set,
so they fill in the groups list more carefully.
6 years ago
Adriaan de Groot a86374386b [users] Add test for new notation for groups-with-details 6 years ago
Adriaan de Groot 07027c2430 [users] Test distinguishes system groups from user groups 6 years ago
Adriaan de Groot ff9abdfc08 [users] The fallback groups are all **system** groups 6 years ago
Adriaan de Groot b20c80a28c [users] Introduce class-scoped aliases for true and false for the bools
This is somewhat experimental and weird; the idea is that bool
arguments are a lot easier to understand if there are proper
names attached, rather than "true" and "false".
6 years ago
Adriaan de Groot ceeab7087c [users] Fix implementation so existing tests pass 6 years ago
Adriaan de Groot e46d9f735d [users] Adjust tests to changed groups-list 6 years ago
Adriaan de Groot d3135898fd [users] More fine-grained group descriptions
Describe groups with more detail:
 - groups can be system groups (low GID) or not
 - groups may be pre-configured (e.g. come from the unpackfs stage)
6 years ago
Adriaan de Groot 5895f3fb71 Merge branch 'issue-1528' into calamares
- don't blank out the text in the progress bar if the job provides no
  message -- just leave the last message shown. FIXES #1527
  (There's no point in having more than one copy of those initcpio*
  modules, so just use the prettyName()).
- when a job starts, look for status, then description, then name so
  that **something** is shown as text in the progress bar.
- give *shellprocess* the possibility to change its own labels
  through translations in the config file. #FIXES #1528
6 years ago
Adriaan de Groot 6221c6497a [shellprocess] Allow customizing the name of the job 6 years ago
Adriaan de Groot 21598ef4b3 [libcalamaresui] Update progress message only if it is non-empty
This improves the situation for jobs that do not provide
a status: their blank status does not overwrite the status
bar, and since (previous commit) the description or name
is used to start the job if the status is empty, at least
**something** is displayed.

SEE #1528
6 years ago
Adriaan de Groot 86fd014bbd [libcalamares] Fallback from status -> description -> name for progress 6 years ago
Adriaan de Groot 2f83d85e29 [libcalamares] Explain process failure in debug log a bit better 6 years ago
Adriaan de Groot 9c457f9449 [shellprocess] Improve documentation and examples 6 years ago
Adriaan de Groot a955791766 Apply coding style globally again 6 years ago
Adriaan de Groot cff24bdd79 Changes: mention partiton PRs from GP 6 years ago
Adriaan de Groot 1df4239c02
Merge pull request #1436 from gportay/osprober-strip-extra-file-after-at-sign
[partition] Strip extra file after the at sign
6 years ago
Adriaan de Groot 6aa8ba119e
Merge pull request #1415 from gportay/partition-table-type-settings
[partition] Partition table type settings
6 years ago
Gaël PORTAY 2b1e516ec1 [partition] Strip extra file after the at sign
- os-proper may return an extra file after the device:
  /dev/sda1:Ubuntu 19.10 (19.10):Ubuntu:linux
  /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
6 years ago
Gaël PORTAY 2bbbb68838 [partition] Add setting for requiredPartitionTableType 6 years ago
Gaël PORTAY 70f8beb931 [partition] Add setting for defaultPartitionTableType 6 years ago
Adriaan de Groot 9486ee6fbf
Merge pull request #1524 from gportay/partition-message-user-if-no-option-available
[partition] Message user if no option available
6 years ago
Adriaan de Groot 464da39f60 Changes: post-release housekeeping 6 years ago
Adriaan de Groot 9ce08beead [libcalamares] Fix build
- The API definitions are just the symbols to define; these
  are variously added through add_definitions() (needs -D)
  or target_add_definitions() (doesn't).
6 years ago
Adriaan de Groot 40aa0fcaba CMake: add a helper module for finding KPMcore
I think we had this (kind of) module a long time ago and it was
removed for over-complicating things; re-introduce one now that
KPMcore is used in 3 different places and all would benefit
from consistent API handling / defines.
6 years ago
Adriaan de Groot db537535ee [partition] Support KPMCore 3.3 in tests 6 years ago
Adriaan de Groot f28d28a455 [partition] Ignore KPMCore 4 beta versions 6 years ago
Adriaan de Groot 58d0e4b491 Changes: mention 1-cpu problem 6 years ago
Adriaan de Groot f8e375cc9d Changes: pre-release housekeeping 6 years ago
Adriaan de Groot ffece5ffb9 Changes: Credits and documentation for changes this cycle 6 years ago
Adriaan de Groot 88b1d36009 Merge branch 'issues-1166' into calamares
FIXES #1166
6 years ago
Adriaan de Groot 26e8a6bcb5 Changes: explain the swapfile settings (and how limited they are) 6 years ago
Adriaan de Groot faa496be4a
Merge pull request #1522 from kadler15/issue-1521
[preservefiles] Fix global storage JSON dump
6 years ago