4603 Commits (8988e05f886568f918b3e23de80c00a3facab37a)

Author SHA1 Message Date
Adriaan de Groot 5cb0ee6cc5 [welcome] Simplify code
- Kevin Kofler pointed out there was a redundant else-if
 - Only use size for comparison if it's valid
5 years ago
Adriaan de Groot 7029c427f1
Merge pull request #1275 from bill-auger/patch-createusers-logging
housekeeping - logging for CreateUser Job
5 years ago
Adriaan de Groot 1a13704c71 [grubcfg] HOTFIX typo in function call 5 years ago
Adriaan de Groot 8b4bd52a26 [machineid][hostinfo] Reduce warnings
- stray ;
 - clang-tidy had re-ordered the moc-warnings.h header, needs to go
   **before** the .moc so split into its own group
5 years ago
Adriaan de Groot bd5b63b02e [summary][calamares] Chase deprecations in Qt (QWidget::background()) 5 years ago
Adriaan de Groot a70b7ad89e [welcome] Chase deprecations in Qt (screen geometry) 5 years ago
Adriaan de Groot c2ebfbf6ae [users] Remove unused parameter (reduces warnings) 5 years ago
Adriaan de Groot 3c1b0e6730 [libcalamares] Reduce warnings with Clang 9 (yaml.h) 5 years ago
Adriaan de Groot ac75c63001 [libcalamares] Reduce warnings with Clang 9 (Boost::Python)
- The boost headers fall foul of tons of Clang warnings, so introduce
   a mechanism like moc-headers for turning off most of those warnings.
5 years ago
bill-auger 344445b437 housekeeping - logging for CreateUser Job 5 years ago
Adriaan de Groot 2e22bdd7dc i18n: update the english translation files for once 5 years ago
Adriaan de Groot b4e9ec7eb1 [hostinfo] There is no config file for this module
- the empty config file would fail in tests
 - move the documentation part of it to CMakeLists.txt
5 years ago
Adriaan de Groot 2a45765b93 [license] Next depends not just on the checked box
- Toggling the checkbox could disable the next button
   because only the checked-state was used, instead of
   the next-is-enabled-if-everything-is-optional member variable.

FIXES #1271
5 years ago
Adriaan de Groot ec605adf3f [license] Tidy code
- Move retranslation to a separate slot to allow it to be
   formatted nicely.
 - Use calculated m_allLicensesOptional in retranslation.
 - Untangle determining if all licenses are optional; std::none_of
   returns true on an empty list.
5 years ago
Adriaan de Groot 6dfcbd757b [welcome] Remove superfluous call to QColor::value() 5 years ago
Adriaan de Groot 7fd218d7bf [partition] Chase deprecations in Qt 5 years ago
Adriaan de Groot ad868033f3 [locale] Chase deprecations in Qt 5 years ago
Adriaan de Groot fc7ea80d99 [calamares] Do not attempt to center Calamares window
- this isn't really a Calamares thing to decide, and anyway centering
   on the desktop is kind of weird in multi-monitor setups and the
   DesktopWidget is deprecated as well.
5 years ago
Adriaan de Groot 2fefa53301
Merge pull request #1274 from bill-auger/patch-requirements-fail-bgcolor
replace hard-coded bg color of requirements failure notice with relative tint
5 years ago
Adriaan de Groot 30857b59ef
Merge pull request #1273 from bill-auger/patch-packagechooser-typos
[packagechooser] fix typos in packagechooser.conf
5 years ago
Adriaan de Groot 1c853f2348
Merge pull request #1266 from bill-auger/patch-8
housekeeping - calamares style (those lambdas are always a thing)
5 years ago
Adriaan de Groot 13b90dec57 [luksbootkeyfile] Typo
- Spotted by akspatole, no user-visible change

FIXES #1277
5 years ago
Adriaan de Groot 42425e4030 [grubcfg] False is case-sensitive in Python 5 years ago
bill-auger cde210e61c formatting in src/modules/packagechooser/packagechooser.conf 5 years ago
bill-auger 2bb338b5f6 fix typos in src/modules/packagechooser/packagechooser.conf 5 years ago
bill-auger ee85f6bfa7 replace hard-coded bg color of requirements failure notice with relative tint 5 years ago
Adriaan de Groot 28687d0d1e Merge remote-tracking branch 'origin/issue-1201'
FIXES #1201
5 years ago
Adriaan de Groot 6a142d9edb Merge branch 'more-password-stuff' 5 years ago
Adriaan de Groot 0d7e19d5e9 [users] Do not log the password in plain text 5 years ago
Adriaan de Groot 445d8501a7 [users] Different disambiguation for pwd-empty check
- all the other checks use "PWQ" as a tag, so use that here too
5 years ago
Adriaan de Groot e11c9a049f [users] Sort the password checks before applying them 5 years ago
Adriaan de Groot dec0cfb7d3 [users] Give password-checks a weight, to sort them later 5 years ago
Adriaan de Groot 2b8d04ffc1 [hostinfo] Add host RAM to GS 5 years ago
Adriaan de Groot 22a9fb89e8 [hostinfo] Document what this module does 5 years ago
Adriaan de Groot dac47d2c3a [hostinfo] Use os-release only if non-empty 5 years ago
Adriaan de Groot 6528ba30c9 [hostinfo] Fix compile and CPU detection. 5 years ago
bill-auger 6c6dcfe1cd housekeeping - calamares style 5 years ago
Adriaan de Groot cec84ee42b [hostinfo] Fix build on FreeBSD (include order)
- while here apply coding style again
5 years ago
Adriaan de Groot 5c7acdeb44 [hostinfo] New module with information about the host, in GS 5 years ago
Adriaan de Groot 67de4af4a4 [grubcfg] Add some test configurations 5 years ago
Adriaan de Groot f727362a90 [grubcfg] Guard against stupid configurations
- Scenario: *keepDistribution* is true, and the existing file contains
   a GRUB_DISTRIBUTION line **followed** by a commented-out GRUB_DISTRIBUTION
   line.
 - In that case, the commented-out line would change the flag back to
   False, and we'd end up writing a second GRUB_DISTRIBUTION line at the end.

Prevent that: the flag can only go to "True" and then stays there.

Editorial: If your grub configuration would have tripped this up, then
you're doing something wrong. Clean up the configuration file first.
5 years ago
Adriaan de Groot 4a0a8083f3 [grubcfg] If we only see #GRUB_DISTRIBUTION, it's not been set
- If we update the line, then GRUB_DISTRIBUTION has been set
 - If we don't update the line (e.g. because of *keepDistribution*)
   then a comment doesn't count as "have seen that line".

This means that if we get to the end of the file, with only commented-
out GRUB_DISTRIBUTION lines, and *keepDistribution* is set, then we'll
still write a distribution line -- because otherwise it's not set at all.
5 years ago
Adriaan de Groot c6c861654d [grubcfg] Update GRUB_DISTRIBUTION as needed
- Previous fix would erase the distribution information (using an
   empty string to flag 'preserve existing GRUB_DISTRIBUTION lines'),
   but that is fragile. A distro might set that, and yet **not**
   set a GRUB_DISTRIBUTION line, in which case it would end up with
   a setup without any GRUB_DISTRIBUTION set.
 - When a GRUB_DISTRIBUTION line is found, **then** check if it should
   update the line or not. This way, we have a suitable distribution
   to write if no GRUB_DISTRIBUTION is found at all.
5 years ago
Adriaan de Groot ac3b50fabb [grubcfg] Only replace a GRUB_DISTRIBUTOR line if wanted 5 years ago
Adriaan de Groot aae7d7dd0a [grubcfg] Update documentation of config file
- add some more general description
 - document new-to-implement *keepDistributor* flag

SEE #1201
5 years ago
Adriaan de Groot b3e7c3f294 [users] Run checks more often
- check password warnings when the page is entered
 - re-check (and translate) on language change
5 years ago
Adriaan de Groot cc66903678 [users] Allow an explicit check for non-emptiness of passwords
- move the explicit checking for non-empty into a specific
   (normal) password check
 - leave only the-two-fields-are-equal outside of the password-
   requirements framework
 - having non-empty is the same as minLength 1, but gives a different
   error message
5 years ago
Calamares CI 5a98a13856 i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 196a358493 [users] Flag password problems even when weak-passwords are ok
- when you allow weak passwords, flag problems as warnings (yellow)
 - when weak passwords aren't allowed, they are fatal errors (red)
5 years ago
Adriaan de Groot a4e3ea2a86 [users] Refactor retranslation
- move retranslation to a method so that code-formatting doesn't
   get confused by it.
5 years ago