25 Commits (5d0a5c035dbb40dc8e9f7c95684d323674e4bdeb)

Author SHA1 Message Date
Andrius Štikonas 490c14d93d QLatin1Literal->QLatin1String. 6 years ago
Adriaan de Groot 090aee9196 Modules: adjust to split-out utils/Variant.h
- Most modules only needed the variant support, not the "whole"
   CalamaresUtils header.
 - While here improve ordering of headers as well.
6 years ago
Adriaan de Groot 6071489788 [libcalamaresui] Provide default implementations of next() and back()
- These methods are used for multi-page view-steps, which are rare.
   For all the others, just drop the empty implementation and defer
   to the base class.
6 years ago
Adriaan de Groot 08565b5f17 [libcalamaresui] Remove the signal done() from ViewStep
- The signal is emitted, generally from next(), but not actually used.
6 years ago
Adriaan de Groot dd8e53dc22 Copyright: update copyright lines on files touched in 2018
Contributions from:
  Adriaan de Groot <groot@kde.org>
  Gabriel Craciunescu <crazy@frugalware.org>
  AlmAck <gluca86@gmail.com>
  Andrius Štikonas <andrius@stikonas.eu>
  Caio Carvalho <caiojcarvalho@gmail.com>
  Raul Rodrigo Segura <raurodse@gmail.com>
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 3315df5df1 [modules] Use new convenience logging methods across the board 7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 7 years ago
Gabriel Craciunescu 3749beb4e5 modules/users: warn when fallback groups is used
- Warn here since it may not be what the Distributor want.
  Having wrong groups may result in broken permissions for
  created user.
- explain what defaultGroups is for in users.conf
8 years ago
Adriaan de Groot 13807ceabf Licensing: add self
- to all the files I've touched recently
 - to (very incomplete) AUTHORS list

Licensing: add license info to top-level CMakeLists.txt
8 years ago
Adriaan de Groot d839f8e0b3 Passwords: introduce password-checking
- Introduce a map 'passwordRequirements' in users.conf,
   which is a list of named requirements. There are only
   two settings right now, min and max length, but
   additional checks can easily be added in UsersPage.cpp
   by defining additional lambda's to check the given
   password string.
 - Add PasswordCheck instances as needed, with functions
   to check acceptability and to produce messages on rejection.
 - Documentation in the users.conf file itself.

 - In passing, refactor setting of pixmaps on labels.

FIXES #790
8 years ago
Teo Mrnjavac 22470ba4af Disallow next if the root password is not reused or provided.
CAL-344 #close
9 years ago
demmm f267410dbb different names 9 years ago
demmm c89bd1db23 implement https://calamares.io/bugs/browse/CAL-341 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.
10 years ago
Teo Mrnjavac 0bd64163a5 PluginFactory in Users module. 10 years ago
Teo Mrnjavac 4ae55d0108 Allow setting the default for autologin/no autologin. 10 years ago
Teo Mrnjavac 46e90ccda2 Add setRootPassword option to the Users module.
If set to true, the user must set a root password. Otherwise, the
user won't be asked and a root password will not be set.
10 years ago
Teo Mrnjavac 171248ad4f Add isBackEnabled checks to all ViewSteps. 10 years ago
Teo Mrnjavac 0738af04ca Reimplement onActivate in UsersViewStep for focus handling. 11 years ago
Teo Mrnjavac 10ca85338d Yet another Qt 5.4 fix. 11 years ago
Teo Mrnjavac 9e84581354 Only add wheel to sudoers if a wheel group is defined in conf. 11 years ago
Teo Mrnjavac ad68ce0187 Make default groups, users group and autologin group configurable. 11 years ago
Teo Mrnjavac b111027d57 Add SetPasswordJob in Users module, hook it all up. 11 years ago
Teo Mrnjavac fb32432548 UI for users viewmodule. 11 years ago