Commit Graph

3804 Commits

Author SHA1 Message Date
Adriaan de Groot
57e5e9582f Refactor password-errors-indication (again)
- set message and status icon in one go
 - only check until an error is found
 - Mark TODO for passwordRequirements
2017-09-21 02:46:10 -04:00
Adriaan de Groot
ab67b7d2f1 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
2017-09-21 02:45:56 -04:00
Adriaan de Groot
decf83d403 Replace scandir with listdir, simplify loop
FIXES: ??
2017-09-21 02:45:23 -04:00
Philip
1e00813341 [branding] don't use minor version 2017-09-16 14:02:13 -04:00
Gabriel C
eaea0e93ce CreateUserJob: do not force any autologin group
There is no need to force folks haing a random group
 bc that is a Distro think. SDDM/GDM works just fine without
 having a group for the user to autologin.
 Just setup a group in users.conf .. is why we have a configuration
 option for that.
2017-09-14 08:15:51 -04:00
Adriaan de Groot
fa6728b47c FS: use untranslated name to identify filesystem
Resolves issue where 'linuxswap' is translated to 'Linux-Swap',
for instance. FileSystem::name() provides a translated name,
not an untranslated one.

This should move to KPMCore.

FIXES #797
2017-09-14 08:15:00 -04:00
Philip
174800b262 Revert "[modules] work on #797 and #796"
This reverts commit 80b1a7e0b6.
2017-09-14 08:13:40 -04:00
Philip
ca4dd17139 Revert "[modules] work on #797 and #796"
This reverts commit fcc23b98d2.
2017-09-14 08:12:56 -04:00
Philip
c53e3c2c54 Revert "[fstab] work on #797 and #796"
This reverts commit 084a7ea651.
2017-09-14 08:12:21 -04:00
Philip
a199da7aac Revert "[fstab] work on #797 and #796"
This reverts commit bfcfcf7ee3.
2017-09-14 08:11:51 -04:00
Philip
db4bbde6a1 Revert "[modules] work on #797 and #796"
This reverts commit 80a1286833.
2017-09-14 08:11:19 -04:00
Philip
6560494bff Revert "[modules] work on #797 and #796"
This reverts commit daff029024.
2017-09-14 08:10:34 -04:00
Philip
daff029024 [modules] work on #797 and #796
- this is a workaround and might need to be reverted.
2017-09-12 10:23:43 -04:00
Philip
80a1286833 [modules] work on #797 and #796 2017-09-12 09:16:20 -04:00
Philip
bfcfcf7ee3 [fstab] work on #797 and #796 2017-09-12 08:22:19 -04:00
Philip
084a7ea651 [fstab] work on #797 and #796 2017-09-12 07:48:29 -04:00
Philip
39d73e1882 [fstab] fix btrfs with LUKS and systemd
- see also #730
- credit goes to @abucodonosor
2017-09-12 07:10:59 -04:00
Philip
fcc23b98d2 [modules] work on #797 and #796 2017-09-12 06:34:02 -04:00
Adriaan de Groot
3450f0b963 PEP8: Just don't do it 2017-09-12 05:50:59 -04:00
Philip
80b1a7e0b6 [modules] work on #797 and #796 2017-09-12 05:33:32 -04:00
Philip
ff08c8ae83 [luksopenswaphookcfg] work on #797 and #796 2017-09-12 05:10:41 -04:00
Philip
6c00ce7e30 [luksbootkeyfile] work on #797 and #796 2017-09-12 05:08:56 -04:00
Philip
82c0321122 [initcpiocfg] work on #797 and #796 2017-09-12 05:07:35 -04:00
Philip
402d891aaa [bootloader] work on #797 and #796 2017-09-12 05:06:26 -04:00
Philip
c4405eafa3 [grubcfg] work on #797 and #796 2017-09-12 05:03:04 -04:00
Philip
d0db22342b [fstab] work on #797 and #796 2017-09-12 05:00:37 -04:00
Philip
5f85b41740 [locale] default to the states 2017-09-10 22:31:14 +01:00
Philip
dfd60d46f9 [Merge] with upstream 2017-09-07 11:07:26 +01:00
Adriaan de Groot
9b8a194e39 A mounted partition cannot be resized or replaced
- add check for isMounted()
 - a device with a mounted partition cannot be (entirely) erased

FIXES #639
2017-09-07 11:02:50 +01:00
Adriaan de Groot
d348633b14 Reduce Qt runtime warnings.
- deleteLater() doesn't like nullptr (produces a warning, but is harmless)
 - reparenting across threads doesn't work, comment on that but leave
   it in, since this may be relevant for memory management.
2017-09-07 11:02:40 +01:00
Adriaan de Groot
83e6dfc81e Swap + LUKS configuration.
Based on patches from crazy@frugalware.org and V3n3RiX.

(presumably) FIXES #730
2017-09-07 11:02:09 +01:00
Adriaan de Groot
c0daa69dc8 i18n: delete magically duplicating comment 2017-09-07 05:46:51 -04:00
Adriaan de Groot
d86ea76af2 Bump RC down to 0 for release 2017-09-07 05:46:34 -04:00
Calamares CI
c42d702452 [python] Automatic merge of Transifex translations 2017-09-07 05:45:03 -04:00
Calamares CI
5b97d2367a [dummypythonqt] Automatic merge of Transifex translations 2017-09-07 05:45:03 -04:00
Calamares CI
9603e57ab5 [desktop] Automatic merge of Transifex translations 2017-09-07 05:45:02 -04:00
Calamares CI
34c386851e [core] Automatic merge of Transifex translations 2017-09-07 05:45:02 -04:00
Adriaan de Groot
f63b44c984 i18n: smash things back from unspecified charset to UTF-8 2017-09-07 05:43:50 -04:00
Adriaan de Groot
15c2a96640 i18n: drop comment which is messing up TX merge 2017-09-07 05:38:10 -04:00
Adriaan de Groot
3e5916157f A mounted partition cannot be resized or replaced
- add check for isMounted()
 - a device with a mounted partition cannot be (entirely) erased

FIXES #639
2017-09-07 04:55:44 -04:00
Adriaan de Groot
851379628c Reduce Qt runtime warnings.
- deleteLater() doesn't like nullptr (produces a warning, but is harmless)
 - reparenting across threads doesn't work, comment on that but leave
   it in, since this may be relevant for memory management.
2017-09-07 04:24:08 -04:00
Adriaan de Groot
cec7132d2c Swap + LUKS configuration.
Based on patches from crazy@frugalware.org and V3n3RiX.

(presumably) FIXES #730
2017-09-07 03:43:42 -04:00
Adriaan de Groot
362b5f44a2 YAML: refactor YAML-exception reporting
- both NetInstall (group data) and Locale (GeoIP) use network
   data returned as a source of YAML data. Try to explain
   parsing errors for both.

FIXES #786
2017-09-06 18:15:57 +01:00
Adriaan de Groot
c85ecce1e7 YAML-NetInstall: log data errors.
When NetInstall receives YAML data, handle parser errors more gracefully:
show line and column, but because it's network data (not in a local file),
do some work to print out the actual data received.

FIXES #786
2017-09-06 18:15:43 +01:00
Adriaan de Groot
a9e1f48c51 YAML: on error, report filename along with location 2017-09-06 18:15:32 +01:00
Adriaan de Groot
154aa4b0bd Remove overly-verbose debugging 2017-09-06 18:15:20 +01:00
Adriaan de Groot
cc26fc085a Merge pull request #787 from stikonas/master
kpmcore now requires passing sector size to FileSystem.
2017-09-06 07:54:06 -04:00
Adriaan de Groot
7e25909e18 YAML: refactor YAML-exception reporting
- both NetInstall (group data) and Locale (GeoIP) use network
   data returned as a source of YAML data. Try to explain
   parsing errors for both.

FIXES #786
2017-09-06 07:51:22 -04:00
Andrius Štikonas
252006ea25 kpmcore now requires passing sector size to FileSystem. 2017-09-06 12:24:51 +01:00
Adriaan de Groot
09decf8e06 YAML-NetInstall: log data errors.
When NetInstall receives YAML data, handle parser errors more gracefully:
show line and column, but because it's network data (not in a local file),
do some work to print out the actual data received.

FIXES #786
2017-09-06 05:47:11 -04:00