Adriaan de Groot
63196ab58f
[users] Avoid crashes in tests due to nullptr GS
2020-10-23 12:19:28 +02:00
Adriaan de Groot
c412e285c2
[libcalamares] Link publicly to yaml-cpp
...
Needed on FreeBSD, where you otherwise might not get the
include paths for yaml-cpp added -- and utils/Yaml.h
expects them to be there.
2020-10-23 12:01:29 +02:00
Adriaan de Groot
cd8c3089cb
[users] Fix build: renamed moc file
2020-10-23 11:14:59 +02:00
Gaël PORTAY
d91683eec6
[partition] Fix message user if no option available
...
The button m_eraseButton is not tested while the button
m_somethingElseButton is tested twice.
2020-10-22 13:23:36 -04:00
Adriaan de Groot
89d495d5fb
[users] Rename file to match its purpose
2020-10-22 14:22:11 +02:00
Adriaan de Groot
5b4f9d0b98
[users] Adjust tests for changed API
2020-10-22 14:21:14 +02:00
Adriaan de Groot
f1772a7eae
[users] Create groups in a separate job
2020-10-22 14:11:01 +02:00
Adriaan de Groot
03541470d5
[users] Handle system-group creating specially
2020-10-22 14:08:33 +02:00
Adriaan de Groot
fa1d314b13
[users] Refactor group-creation into separate Job
2020-10-22 13:49:45 +02:00
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.
2020-10-21 15:02:33 +02:00
Adriaan de Groot
6560ef00a1
[usersq] Fix build of usersq after refactor elsewhere
2020-10-21 14:46:07 +02:00
Adriaan de Groot
29e6934672
[users] Factor out Sudo creation into separate job
2020-10-21 14:43:45 +02:00
Adriaan de Groot
0cb6c89876
[netinstall] Don't update selection state for items with no children
...
The special setup for nicely-named groups which have a single
hidden subgroup containing the actual packages, has the problem
that there is a non-empty subgroups item, but this results
in zero actual children: then the number of selected and partly
selected children is also zero in updateSelected() and therefore
the item ends up unselected.
Special-case this to avoid unnecessarily unselecting the item.
Reported by Vitor L.
2020-10-20 23:15:32 +02:00
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.
2020-10-19 11:46:08 +02:00
Adriaan de Groot
bf50f8724d
Changes: post-release housekeeping
2020-10-18 21:58:54 +02:00
Adriaan de Groot
27dc81f8b9
[partition] Fix typo in debug message, reported by Kevin Kofler
2020-10-17 16:41:08 +02:00
Adriaan de Groot
4d3f20f4a7
[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.
2020-10-17 15:48:12 +02:00
Calamares CI
ba1013e5a7
i18n: [python] Automatic merge of Transifex translations
2020-10-17 15:22:35 +02:00
Calamares CI
5a7bcb07d0
i18n: [calamares] Automatic merge of Transifex translations
2020-10-17 15:22:34 +02:00
Adriaan de Groot
ac5c9e3a90
Changes: pre-release housekeeping
2020-10-17 15:21:03 +02:00
Adriaan de Groot
3313a5341d
[partitions] Adapt to KPMcore 4.2 changes
2020-10-17 14:59:01 +02:00
Adriaan de Groot
36396d0cfd
[partition] Adjust message and fix debug message
2020-10-16 22:32:32 +02:00
Adriaan de Groot
9a5099cd48
Changes: post-release housekeeping
2020-10-16 21:43:22 +02:00
Adriaan de Groot
ee302debdf
Merge pull request #1539 from yurchor/patch-3
...
[partition] Add missing space
2020-10-16 19:06:46 +02:00
Andrius Štikonas
72187f0ff7
Changes: update recommended KPMCore version.
2020-10-16 16:52:14 +01:00
Adriaan de Groot
8f4bc9e58c
Changes: pre-release housekeeping
2020-10-16 16:39:58 +02:00
Adriaan de Groot
545e761666
i18n: update language list
2020-10-16 15:07:13 +02:00
Calamares CI
51a87071ae
i18n: [python] Automatic merge of Transifex translations
2020-10-16 15:03:48 +02:00
Calamares CI
2be2e1808a
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-10-16 15:03:48 +02:00
Calamares CI
eead42b773
i18n: [desktop] Automatic merge of Transifex translations
2020-10-16 15:03:48 +02:00
Calamares CI
ea220e4f7a
i18n: [calamares] Automatic merge of Transifex translations
2020-10-16 15:03:48 +02:00
Adriaan de Groot
f44dd73993
i18n: Friulian exceeds expectations
2020-10-16 15:01:30 +02:00
Adriaan de Groot
d63e23b289
Merge branch 'issue-1540' into calamares
...
FIXES #1540
2020-10-16 13:56:52 +02:00
Adriaan de Groot
81f12cb230
[libcalamares] Do GeoIP lookups with a fake User-Agent
2020-10-16 13:55:31 +02:00
Adriaan de Groot
3b14e354b0
[libcalamares] Log more HTTP errors during requests
2020-10-16 13:07:57 +02:00
Adriaan de Groot
436e1de820
[libcalamares] Be more chatty in GeoIP test application
2020-10-16 12:36:03 +02:00
Yuri Chornoivan
1448a9b9a1
Add missing space
2020-10-15 20:55:37 +03:00
Adriaan de Groot
032ed49cc4
i18n: for this release only, ignore Friulian, since they only just showed up today
2020-10-15 12:52:40 +02:00
Adriaan de Groot
7734d84925
[shellprocess] Bump the default timeout to 30, emphasise tuning the timeout
...
FIXES #1536
2020-10-15 00:15:37 +02:00
Adriaan de Groot
0b61a02c31
[fstab] Avoid dd in creating a zeroed-file for swap
...
- Create a 16kiB buffer of zeroes
- write that out in a loop
2020-10-14 16:55:14 +02:00
Adriaan de Groot
c7c7e6a6c1
[keyboard] Move configuration to the Config object
...
- information from the configuration file -> Config object
- job creation -> Config object
Ignore keyboardq for now.
2020-10-14 15:50:21 +02:00
Adriaan de Groot
0f6602cad7
[keyboard] Improve xkb parsing
2020-10-14 15:50:21 +02:00
Adriaan de Groot
ec42e3294f
[keyboard] Refactor argument-lists for setxkbmap
...
- separate functions for model, and layout+variant settings
2020-10-14 15:50:21 +02:00
Adriaan de Groot
b54273f904
[keyboard] Move all the keyboard (AbstractList)Models to the models file
2020-10-14 15:50:21 +02:00
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
2020-10-14 15:21:41 +02:00
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
2020-10-14 15:21:41 +02:00
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.
2020-10-14 15:21:41 +02:00
Adriaan de Groot
6b2d7f6a42
[users] Protect against JobQueue or GS being NULL
...
- Avoid SIGSEGV in tests, make sure JobQueue exists, GS optional
2020-10-14 15:21:19 +02:00
Adriaan de Groot
788a233319
[users] Introduce a test for Config getters and setters
2020-10-14 15:21:15 +02:00
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
2020-10-14 15:21:10 +02:00