Adriaan de Groot
c3fdb38097
[libcalamares] Stub of class for TimeZone model management
...
- Intent is to move out of locale module
2019-11-25 20:51:45 +01:00
Adriaan de Groot
906aeec5d3
[locale] Replace #define with a static const
...
- TZ_DATA_FILE is only used in one place
2019-11-25 11:49:41 +01:00
Adriaan de Groot
1df6454cfe
[locale] Tidy up types
...
- use JobList typedef where possible
- remove unused forward type definitions
2019-11-25 10:52:22 +01:00
Adriaan de Groot
2034dd62a4
[libcalamares]: Timezone information for translation/extraction
...
SEE #1259
2019-11-19 18:07:13 +01:00
Adriaan de Groot
5fbae8213d
CI: fix Qt version-selection for FreeBSD when calling lupdate
2019-11-19 18:07:13 +01:00
Adriaan de Groot
3ee384f36c
[libcalamares] Extract zone.tab data for translations
2019-11-19 18:07:13 +01:00
Adriaan de Groot
30857b59ef
Merge pull request #1273 from bill-auger/patch-packagechooser-typos
...
[packagechooser] fix typos in packagechooser.conf
2019-11-19 15:00:12 +01:00
Adriaan de Groot
1c853f2348
Merge pull request #1266 from bill-auger/patch-8
...
housekeeping - calamares style (those lambdas are always a thing)
2019-11-19 14:59:16 +01:00
Adriaan de Groot
13b90dec57
[luksbootkeyfile] Typo
...
- Spotted by akspatole, no user-visible change
FIXES #1277
2019-11-19 13:41:49 +01:00
Adriaan de Groot
42425e4030
[grubcfg] False is case-sensitive in Python
2019-11-18 10:48:33 +01:00
bill-auger
cde210e61c
formatting in src/modules/packagechooser/packagechooser.conf
2019-11-12 09:20:15 -05:00
bill-auger
2bb338b5f6
fix typos in src/modules/packagechooser/packagechooser.conf
2019-11-12 09:19:56 -05:00
Calamares CI
17dcc38f3c
i18n: [python] Automatic merge of Transifex translations
2019-11-08 13:50:21 +01:00
Calamares CI
810f574cb3
i18n: [calamares] Automatic merge of Transifex translations
2019-11-08 13:50:20 +01:00
Adriaan de Groot
b089e05b60
Changes: document recent merges
2019-11-08 13:48:27 +01:00
Adriaan de Groot
28687d0d1e
Merge remote-tracking branch 'origin/issue-1201'
...
FIXES #1201
2019-11-08 13:34:50 +01:00
Adriaan de Groot
6a142d9edb
Merge branch 'more-password-stuff'
2019-11-08 13:34:06 +01:00
Adriaan de Groot
0d7e19d5e9
[users] Do not log the password in plain text
2019-11-08 13:23:24 +01:00
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
2019-11-08 13:22:37 +01:00
Adriaan de Groot
e11c9a049f
[users] Sort the password checks before applying them
2019-11-08 13:21:37 +01:00
Adriaan de Groot
dec0cfb7d3
[users] Give password-checks a weight, to sort them later
2019-11-08 13:16:19 +01:00
Adriaan de Groot
d93e2f0feb
Changes: document existence of hostinfo module
2019-11-08 12:49:08 +01:00
Adriaan de Groot
2b8d04ffc1
[hostinfo] Add host RAM to GS
2019-11-08 12:46:24 +01:00
Adriaan de Groot
22a9fb89e8
[hostinfo] Document what this module does
2019-11-08 12:21:25 +01:00
Adriaan de Groot
dac47d2c3a
[hostinfo] Use os-release only if non-empty
2019-11-08 12:11:07 +01:00
Adriaan de Groot
6528ba30c9
[hostinfo] Fix compile and CPU detection.
2019-11-08 11:57:31 +01:00
bill-auger
6c6dcfe1cd
housekeeping - calamares style
2019-11-08 05:17:40 -05:00
Adriaan de Groot
cec84ee42b
[hostinfo] Fix build on FreeBSD (include order)
...
- while here apply coding style again
2019-11-08 00:13:23 +01:00
Adriaan de Groot
5c7acdeb44
[hostinfo] New module with information about the host, in GS
2019-11-07 16:20:39 +01:00
Adriaan de Groot
67de4af4a4
[grubcfg] Add some test configurations
2019-11-04 16:40:49 +01:00
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.
2019-11-04 16:36:57 +01:00
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.
2019-11-04 16:34:15 +01:00
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.
2019-11-04 16:06:59 +01:00
Adriaan de Groot
ac3b50fabb
[grubcfg] Only replace a GRUB_DISTRIBUTOR line if wanted
2019-11-04 16:02:36 +01:00
Adriaan de Groot
aae7d7dd0a
[grubcfg] Update documentation of config file
...
- add some more general description
- document new-to-implement *keepDistributor* flag
SEE #1201
2019-11-04 11:05:18 +01:00
Adriaan de Groot
b3e7c3f294
[users] Run checks more often
...
- check password warnings when the page is entered
- re-check (and translate) on language change
2019-11-02 19:26:40 +01:00
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
2019-11-02 19:23:04 +01:00
Adriaan de Groot
ffbc1a3e7d
Changes: post-release housekeeping
2019-11-01 17:38:19 +01:00
Calamares CI
a395ed1113
i18n: [python] Automatic merge of Transifex translations
2019-11-01 17:24:10 +01:00
Calamares CI
5a98a13856
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-11-01 17:24:10 +01:00
Calamares CI
2edb204c9e
i18n: [calamares] Automatic merge of Transifex translations
2019-11-01 17:24:10 +01:00
Adriaan de Groot
9497540b64
Changes: pre-release housekeeping
2019-11-01 17:19:23 +01:00
Adriaan de Groot
ef5fffc70e
Merge branch 'bill-auger-patch-6'
...
FIXES #1202
FIXES #1261
2019-11-01 15:08:20 +01:00
Adriaan de Groot
699df6328f
Changes: document this branch
2019-11-01 15:07:52 +01:00
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)
2019-11-01 14:48:46 +01:00
Adriaan de Groot
a4e3ea2a86
[users] Refactor retranslation
...
- move retranslation to a method so that code-formatting doesn't
get confused by it.
2019-11-01 13:55:32 +01:00
Adriaan de Groot
28c9da414b
[users] Apply coding style
2019-11-01 13:55:32 +01:00
Adriaan de Groot
9fa817a244
[users] Refactor password-validation
...
- add a method that does the work and sets UI strings for a
generic double-field password entry
- use that for user and root passwords
2019-11-01 13:55:32 +01:00
Adriaan de Groot
7d25173afb
[users] Remove TODO since it doesn't make sense
...
- the two explicit checks are the ones that handle *two*
strings as special cases; all the other checks from
the password-requirements system only handle the one string.
2019-11-01 13:17:31 +01:00
Adriaan de Groot
93eb169ea5
[users] Improve error messages
...
- distinguish beginning of username from the rest
- must start with a letter or _
- tighten message for bad username and bad hostname
FIXES #1261
2019-11-01 13:05:58 +01:00