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
Calamares CI
5a98a13856
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-11-01 17:24:10 +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
Adriaan de Groot
8232ca626c
[users] Refactor constants
2019-10-29 16:21:26 +01:00
Adriaan de Groot
9cd1ef93bd
[users] Apply coding style
2019-10-29 16:20:52 +01:00
Adriaan de Groot
9ee0609b72
[users] Use tooltips
...
- the explanations under and around the boxes is noisy,
hard to size correctly (viz. issue #1202 )
- use tooltips in almost-all fields instead
- add placeholder text to be more suggestive
2019-10-29 14:37:26 +01:00
Philip Müller
473fa63cfa
[packagechooser] resize image
2019-10-23 11:07:50 +02:00
Philip Müller
38294a61ea
[packagechooser] update choose office
2019-10-23 11:05:04 +02:00
Adriaan de Groot
b3765bc144
[users] Massage the weak-passwords settings
...
- since the wording of the checkbox itself (and the functionality)
is to enforce strong passwords, need to switch out some
logic and fix the wording of the documentation.
2019-10-22 16:08:21 +02:00
Adriaan de Groot
3e4e492305
[users] Polish the documentation for the various checkboxes
2019-10-22 15:32:42 +02:00
Adriaan de Groot
ede50756a1
[users] Simplify config-logic for weak-passwords
...
- Use the convenience methods for config-reading.
- Always set the value (to the default if nog explicitly
set in the config-file).
2019-10-21 17:29:35 +02:00
Adriaan de Groot
21bcd560b1
[users] Use API to change weak-checkbox visibility
2019-10-21 17:26:06 +02:00
Adriaan de Groot
eb90757063
[users] Apply coding style (lots of churn)
2019-10-21 17:21:33 +02:00
Adriaan de Groot
799f1131a9
Merge branch 'patch-6' of https://github.com/bill-auger/calamares into bill-auger-patch-6
2019-10-21 17:20:34 +02:00
Philip Müller
29548f70a8
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-10-15 10:20:32 +02:00
Adriaan de Groot
4370669fc3
[unpackfs] Put exclusion settings into the rsync command line
2019-10-11 17:46:01 +02:00
Adriaan de Groot
9d47716e5d
[unpackfs] Add settings per-item for exclude and excludeFile
...
- support excluding specific files / lists when rsyncing, in case
the squashfs has more in it than you really want to copy over.
2019-10-11 17:19:56 +02:00
Adriaan de Groot
4552631086
[unpackfs] Prep for more information in file_copy
...
- Give the whole entry to file_copy, not just the
destination. This will allow file_copy to work
with local excludes.
- Pluck entry.destination out immediately, to keep
code changes minimal.
- Document the parameters.
2019-10-11 16:56:04 +02:00
Adriaan de Groot
311c65737f
[unpackfs] Remove unused parameter
...
- list_excludes() turns the extra mounts from global storage
into --exclude parameters for rsync; it doesn't do anything
with the destination parameter.
- while here rename to something more descriptive
2019-10-11 16:47:54 +02:00
Adriaan de Groot
fe1ddb8ead
[unpackfs] Expand on the documentation
2019-10-11 16:32:39 +02:00
Adriaan de Groot
57c0b2088c
[unpackfs] Allow naming a non-directory for single files
...
- this enables renaming files on copy
2019-10-11 15:48:17 +02:00
Adriaan de Groot
4acf63fd9a
[unpackfs] Document fields of the UnpackEntry
...
- Document fields
- While here, remove code for special-casing single-file copies.
Those already work, based on rsync.
2019-10-08 17:31:51 +02:00
Adriaan de Groot
05c0398126
[unpackfs] Support multiple items better
...
- it's ok if item one creates directories where item two will write,
so don't check for existence of all directories on start-up.
Reported by ArcoLinux.
2019-10-08 16:19:39 +02:00
Adriaan de Groot
d58fdaa2cd
[unpackfs] Stub of special handling for a single file
2019-10-08 15:00:25 +02:00
Philip Müller
62c13e6eaf
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-10-07 23:28:57 +02:00
Calamares CI
10747178e8
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-10-07 21:52:24 +02:00
Adriaan de Groot
d9e8fbf477
Merge branch 'replace-machineid'
...
FIXES : #1252
This adds to the *machineid* module (which generates random UUIDs
for DBus and systemd) another key to configure generation of
a urandom pool in the target from the entropy in the host system.
2019-10-07 21:46:21 +02:00
Adriaan de Groot
b00335f5b3
[displaymanager] Treat openSUSE sysconfig like anything else
2019-10-07 17:04:10 +02:00
Adriaan de Groot
d592a5bb94
[displaymanager] Fix sysconfig-only
...
- Improve documentation of the settings
- If sysconfigSetup is true, **only** setup sysconfig and ignore
the rest. This seems to be consistent with existing openSUSE-
derivative distro's, which set displaymanagers to something
nonsensical.
2019-10-07 15:54:55 +02:00
Adriaan de Groot
642dbf449c
[machineid] Drop trailing \n, toInt() doesn't like it
2019-10-04 18:05:29 +02:00
Adriaan de Groot
9e359c98a9
[machineid] Refactor workers, demand absolute paths
2019-10-04 17:47:24 +02:00
Adriaan de Groot
12107b3113
[machineid] Turn back the change in tests
...
- the *mount* module inserts a rootMountPoint without trailing /
into global storage, so we can't assume that here. On the other
hand, the paths passed in to the Worker functions are absolute
paths -- adjust the tests to follow that.
2019-10-04 17:47:24 +02:00
Adriaan de Groot
dd47201f27
[machineid] Fix tests by appending a /
...
- The code in Workers.cpp assumes that rootMountPoint ends in a /
so that it can have filenames appended easily; make the tests
fit that assumption, but still need to check that it is so in
production.
2019-10-04 15:05:11 +02:00
Adriaan de Groot
c67ac999de
[machineid] Implement DBUS and systemd machine-ids
...
- refactor running the command into a helper function,
to deal with the regular if-command-failed-then-complain pattern.
- mark parameters as unused.
- move distinction about kind of DBus file up into the MachineIdJob
and remove the enum that marked it.
2019-10-04 15:00:58 +02:00
Adriaan de Groot
145855a56f
[machineid] Implement systemd machine-id creation
2019-10-04 13:48:24 +02:00
Adriaan de Groot
2b9e1d6231
[machineid] Add tests
...
- Testing some of the functionality that's been added just now:
- copyfile fails, buggy implementation
- poolsize fails, buggy implementation
- removefile not tested
2019-10-03 13:32:48 +02:00
Adriaan de Groot
10e5995144
[machineid] Split helper functions into own file
2019-10-03 12:32:47 +02:00
Adriaan de Groot
afe7dfbcf2
[machineid] Fix include guard comment
2019-10-02 12:37:31 +02:00
Adriaan de Groot
8352a793e1
[machineid] Implement entropy-file creation
...
- read-urandom or copy-existing-file are implemented
- fairly chatty on failure
- needs tests (probably the implementation should be moved to
a separate file and unit-tested)
2019-10-01 17:00:50 +02:00
Adriaan de Groot
50bb8cde57
[machineid] Stubs for entropy, systemd, dbus randomness
2019-10-01 16:26:41 +02:00
Adriaan de Groot
9cbfd200a1
[machineid] Keep the paths unsullied
...
- keep the rootMountPoint and the path-with-random-data separate
instead of concatenating them at the beginning. Then we can
use the "clean" names also within the host system.
2019-10-01 16:01:10 +02:00
Adriaan de Groot
8c3146a1cd
[machineid] Start implementing module logic
...
- remove existing files for each kind of random-generation
that is enabled. There's a helper function for the case that
Cala is no longer setuid and needs help to remove those files
from the target (e.g. a setuid helper).
2019-10-01 15:46:54 +02:00
Adriaan de Groot
be27b44818
[machineid] Read configuration map into instance vars
2019-10-01 14:36:21 +02:00
Adriaan de Groot
3ae5a3db76
[machineid] Improve documentation on this module
...
- document module's purpose
- document existing configurations
- deprecate "symlink" and introduce more-accurate "dbus-symlink"
- add new configurations for upcoming entropy file
2019-10-01 14:13:01 +02:00
Adriaan de Groot
4c0719d95d
[machineid] Start porting to C++
2019-10-01 13:44:06 +02:00
Philip Müller
fcda9f3e68
[merge] with upstream
2019-10-01 12:12:45 +02:00
Adriaan de Groot
95f725831f
[unpackfs] Shuffle the documentation
...
- move all the examples to an EXAMPLES section
- leave one single-file example enabled in the configuration
2019-09-30 17:35:31 +02:00
Adriaan de Groot
6fb2563c75
[unpackfs] Copy files when sourcefs = "file"
...
- Just use the existing rsync code, which can do both
files and directory trees.
- The existing code assumed we were always copying directories.
Now double-check beforehand.
2019-09-30 17:14:23 +02:00
Adriaan de Groot
27cdaba8b2
[unpackfs] Special-case file sources
2019-09-30 17:14:23 +02:00
Adriaan de Groot
7856c1a6a8
[unpackfs] Do more checks before doing any work
2019-09-30 17:14:23 +02:00
Adriaan de Groot
784bc5b86e
[unpackfs] Expand documentation
...
- comment out the squashfs example, since it's not readily
available even on developer systems
- add entries for the upcoming "file" type.
2019-09-30 17:14:23 +02:00
Adriaan de Groot
7ffe25fca0
[displaymanager] Document that TryExec can supplant executable
2019-09-30 15:40:44 +02:00
Adriaan de Groot
1beadee2a7
[displaymanager] Believe the .desktop file
...
- if a default DE is configured but the executable doesn't exist,
believe the .desktop file. Then use that, and warn if the
whole thing can not be found.
2019-09-30 15:38:25 +02:00
Adriaan de Groot
290a0698d8
[displaymanager] Add DE.find() which believes .desktop files
...
- for a DE entry which has a bad executable setting,
update the entry from the .desktop file using TryExec.
This assumes that the TryExec command is actually something
you might want to run.
2019-09-30 15:38:25 +02:00
Adriaan de Groot
fe33952733
[displaymanager] Document the internal functions for DE finding
...
- rename find_* to _search_* to make clear they're internal.
2019-09-30 15:38:25 +02:00
Adriaan de Groot
a3666cabe0
[displaymanager] Fix naming
...
- Having a global and a class-local function with the same name
that do very different things is confusing.
2019-09-30 12:41:05 +02:00
Adriaan de Groot
fb07757aab
[displaymanager] Document *defaultDesktopEnvironment*
...
- while the keys are mandatory, their meaning is entirely optional.
2019-09-30 12:33:42 +02:00
Adriaan de Groot
0510820594
[displaymanager] Document what the list of DE's is for
2019-09-30 12:22:14 +02:00
Calamares CI
ecb1128b61
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-09-30 10:34:12 +02:00
Adriaan de Groot
5d0a5c035d
Merge pull request #1243 from stikonas/master
...
QLatin1Literal->QLatin1String.
2019-09-30 10:30:02 +02:00
Philip Müller
e1618f20a1
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-09-26 09:04:58 +02:00
Adriaan de Groot
d2899d4bee
Merge branch 'issue-1247'
...
Look at the TryExec line, if it is there in the .desktop file
FIXES #1247
2019-09-25 13:06:39 +02:00
Adriaan de Groot
92ab0c1add
[displaymanager] Unify looking for executables
...
- use executable, and the result of looking up TryExec
- reduce chattiness again
2019-09-25 13:05:35 +02:00
Adriaan de Groot
0b81d2562b
[displaymanager] Be more chatty
2019-09-25 12:52:07 +02:00
Adriaan de Groot
f9e36b9c73
[displaymanager] Missing self
2019-09-25 12:41:58 +02:00
Adriaan de Groot
01cd95512f
[displaymanager] Check the TryExec key from the .desktop file
2019-09-25 12:41:37 +02:00
Adriaan de Groot
38369634df
[displaymanager] Find the .desktop file explicitly
2019-09-25 12:26:26 +02:00
Adriaan de Groot
4799e821d3
[locale] Reduce warnings, missing override
2019-09-23 11:25:18 +02:00
Adriaan de Groot
57bb9c16f4
[displaymanager] Also look for Wayland sessions
...
- Sessions can be X11-sessions (living in xsessions) or Wayland-
(living in wayland-sessions). Look in both places.
- Refactor code a little to make it nicer to read.
2019-09-23 10:55:59 +02:00
Andrius Štikonas
490c14d93d
QLatin1Literal->QLatin1String.
2019-09-21 20:44:33 +01:00
Harald Sitter
0e054f1246
[displaymanager] map plasma 5.17+ desktop environment
...
exec changed compared to earlier 5.x
2019-09-18 12:38:08 +02:00
Calamares CI
3bef83b152
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-09-15 21:51:51 +02:00
Adriaan de Groot
11d3f10e26
[locale] Dispose of waiting widget
...
- Do the async GeoIP checking in the async requirements-checking phase
- Do not return any requirements results -- we just need the async bit
- Drop the waiting widget, since it's not needed (done by the
requirements phase)
2019-09-10 14:18:47 +02:00
Adriaan de Groot
41ece863de
[locale] Create widgets when needed instead of at startup
...
- this blocks forever, since now the GeoIP lookup isn't done at all.
2019-09-10 06:19:20 -04:00
Adriaan de Groot
0a1dc77f9b
[locale] Hang on to GeoIP::Handler just once
...
- replace configuration settings by putting them in an object
- use unique_ptr to allow us to create one optionally.
2019-09-10 11:26:47 +02:00
Adriaan de Groot
d70d418d92
[locale] Refactor setting of LC entries
2019-09-07 17:02:59 +02:00
Adriaan de Groot
5cac3ac6ad
[locale] Apply coding style
2019-09-07 16:58:37 +02:00
Adriaan de Groot
0ee8427d5a
[locale] Remove old-style GeoIP configuration
2019-09-07 16:05:09 +02:00
Adriaan de Groot
5a24e45e3b
[locale] Factor out a simple lambda
...
- If this was handed to an algorithm it would make more sense
as a lambda
2019-09-07 15:58:56 +02:00
Adriaan de Groot
3093f635e2
[locale] Apply coding style
2019-09-07 15:48:22 +02:00
Adriaan de Groot
21dde80a65
[locale] Refactor button handling to plain methods
2019-09-07 15:47:12 +02:00
Adriaan de Groot
91f0509272
[locale] Refactor lambdas to plain methods
...
- Lengthy lambda's doing UI stuff -- that doesn't change --
are easier to read as plain methods.
2019-09-07 15:18:58 +02:00
Adriaan de Groot
782b469974
[locale] Move all the translation work to a single slot
2019-09-07 12:38:49 +02:00
Philip Müller
718f24b826
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-09-05 07:00:21 -04:00
Adriaan de Groot
a57a030ee2
[packagechooser] Massage the list view to be narrower
2019-09-05 06:41:06 -04:00
Adriaan de Groot
4259bc9d5d
[packagechooser] Also use screenshot from no-package-selected
2019-09-05 03:23:50 -04:00
Adriaan de Groot
52e72f4fb1
[welcome] Apply coding style
2019-09-05 03:23:28 -04:00
Philip Müller
212e0d8f46
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-09-04 13:44:10 -04:00
Adriaan de Groot
01c4383178
[packagechooser] Simplify parameters
...
- Just pass the no-package-selected item around.
2019-09-04 19:40:35 +02:00
Adriaan de Groot
996714dd06
[packagechooser] Use all translations for no-package-selected
...
- If there is an item with id "" (empty), it is used as the
"no-package-selected" placeholder text.
- Existing code iterated over the abstract model and used the
name and description at the time the model was set -- but
by getting the name and description from the model, only
a single string was obtained instead of the full range
of translations.
- Therefore, when arriving on the page, the "no-package-selected"
information was displayed from the translation that was active
when the model was set.
Instead, extend the non-abstract model so we can find the no-package-
selected item and pass that explicitly to the page.
FIXES #1241
2019-09-04 19:33:24 +02:00
Philip Müller
71d26e85e1
[mhwdcfg] fix mounting mhwd/db blacklists
2019-09-02 18:15:25 -04:00
Philip Müller
a2a47826d4
[mhwdcfg] fix call cmd
2019-09-02 17:23:09 -04:00
Philip Müller
bba3ce09cd
[modules] fix mkdir for 'opt/mhwd'
2019-09-02 16:42:37 -04:00
Philip Müller
e797bb0dc5
[modules] add mkdir and rmdir for 'opt/mhwd'
2019-09-02 16:37:48 -04:00
Philip Müller
250093d9f0
[postcfg] update value
2019-09-02 14:53:17 -04:00
Philip Müller
703640f7c2
[packagechooser] use our images
2019-09-02 11:46:10 -04:00
Philip Müller
ff9483c2bd
[cleanup] remove unneeded conf
2019-09-02 11:38:44 -04:00
Philip Müller
a927a9f6a2
[packagechooser] add Office example settings
2019-09-02 11:36:57 -04:00
Philip Müller
42d6322ce3
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-09-02 11:18:52 -04:00
Adriaan de Groot
019d1c36c6
[packagechooser] Load translated strings from config
...
- Apply the *labels* from the configuration file to the
visible strings (only the ViewStep name).
2019-09-02 15:29:00 +02:00
Adriaan de Groot
0eae72e10f
[packagechooser] Introduce translatable labels
...
- Since the package chooser might be used more than once, or for
more specific items than "Packages", introduce a way to provide
specific strings for display.
- The only string needed is the ViewStep name, since the item with
id "" can be used for the no-selection item.
2019-09-02 15:28:15 +02:00
Adriaan de Groot
9850e4b35b
[netinstall] Use the network-manager
...
- use asynchronousGet and keep the reply
- drop unused includes
- apply current coding style
2019-09-02 14:10:36 +02:00
Adriaan de Groot
543e2d34fc
[libcalamares] [locale] Remove unused includes
2019-09-02 12:02:43 +02:00
Philip Müller
4e5f5eaf48
[postcfg] adopt to 'opt/mhwd' folder
2019-08-31 05:21:11 -04:00
Philip Müller
91b32f9c5a
[mhwdcfg] use 'opt/mhwd' folder
2019-08-31 05:19:57 -04:00
Philip Müller
1b2af1c635
[mhwdcfg] mount also var/lib/mhwd
2019-08-31 05:16:19 -04:00
Philip Müller
f95aa970e9
[mhwdcfg] mount also var
2019-08-31 05:14:22 -04:00
Philip Müller
2797322f0b
[postcfg] don't mount opt as readonly
2019-08-31 05:11:00 -04:00
Philip Müller
7e302bda96
[officechooser] update cmakelists
2019-08-31 02:07:48 -04:00
Philip Müller
37750cb9f4
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-08-31 01:52:28 -04:00
Adriaan de Groot
c7cbba3951
[welcome] Fix typo in tooltip
2019-08-30 22:54:28 +02:00
bill-auger
1513934a57
add checkbox to disable password validations
2019-08-30 08:13:33 -04:00
Adriaan de Groot
b685583060
Merge pull request #1226 from a-wai/fix-unpackfs-for-rootfs
...
[unpackfs] Enable to use "/" as a source
2019-08-29 10:25:32 -04:00
Adriaan de Groot
0aabc89449
[partition] [welcome] Simplify retranslation
2019-08-29 15:02:12 +02:00
Adriaan de Groot
535bf01475
[welcome] Refactor lambdas to full slots
...
- This helps give meaningful names to code chunks
- Gives clang-format something to work with
- Reduces indentation depth
I think this is a bit of a code-style opinion issue: big complicated
lambdas doing UI things just don't seem like a good idea.
2019-08-29 11:06:55 +02:00
Adriaan de Groot
fc5aa54cb2
[welcome] Fix code formatting
...
- the RETRANSLATE macro is a real challenge for astyle and clang-format
2019-08-29 11:01:02 +02:00
Adriaan de Groot
07bd22ba95
Merge pull request #1233 from bill-auger/patch-4
...
eliminate magic number in src/modules/welcome/WelcomePage.cpp
2019-08-29 04:46:18 -04:00
Adriaan de Groot
9ca864567a
Merge pull request #1231 from bill-auger/patch-5
...
cross-reference/clarify geoip documentation
2019-08-29 04:36:13 -04:00
bill-auger
5642576cf3
cross-reference/clarify geoip documentation
2019-08-28 13:21:42 -04:00
bill-auger
4c3c6f3f91
eliminate magic number in src/modules/welcome/WelcomePage.cpp
2019-08-28 13:02:42 -04:00
bill-auger
13a58a4ab2
update doc comment in src/modules/initcpio/initcpio.conf
2019-08-28 13:02:36 -04:00
Philip Müller
a9732a71ae
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-08-27 12:20:54 -04:00
Adriaan de Groot
e0bb53aff4
[dummycpp] Replace QProcess::execute()
...
- hangs unpredictably during testing
- replace with the Calamares process-invocation runCommand(), which is also
synchronous but doesn't hang (or, hasn't, in testing so far)
2019-08-27 13:34:26 +02:00
Philip Müller
d8e76719a9
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-08-27 02:27:07 -04:00
Adriaan de Groot
c28c97d3aa
Merge branch 'issue-1215'
...
FIXES #1215
FIXES #1216
2019-08-26 21:42:40 +02:00
Adriaan de Groot
d8a587e16e
[packagechooser] Scale screenshot
...
- if the screenshot is too large, scale it down
- (doesn't react to window resizes though)
2019-08-26 21:40:16 +02:00
Adriaan de Groot
6035a74a93
[packagechooser] Align the screenshot
...
- hcenter + vcenter the screenshot
- make it expand as necessary
- fill in some sample text
2019-08-26 20:48:13 +02:00
Kevin Kofler
9dbd3a765b
[netinstall] Fix typo in netinstall.conf comment
...
s/inmportant/important/
2019-08-26 19:02:15 +02:00
Adriaan de Groot
5868f102f2
[packagechooser] Less-bad "no selection" image
...
- It's only "less bad", not actually a good image, composed from
Breeze "empty" and "generic packages" icon.
2019-08-26 16:49:58 +02:00
Adriaan de Groot
d063d60e37
[packages] Explain pre-script isn't actually a shell script
2019-08-26 16:42:05 +02:00
Adriaan de Groot
56792fdcb5
[netinstall] Polish the README
...
- describe the format better
- more consistent typography
- refer to `packages.conf` for details on shell commands
2019-08-26 16:26:06 +02:00
Adriaan de Groot
ee29c45433
[netinstall] Point documentation towards netinstall README.md
2019-08-26 16:01:14 +02:00
Adriaan de Groot
6fb909a799
Merge branch 'networking-service'
2019-08-26 15:49:09 +02:00
Adriaan de Groot
f7215393d1
[tracking] Use the network service
...
- drop own NAM handling
- use timeout mechanism
- report timeout as fatal error (like it already did), other
errors are ignored.
2019-08-26 15:47:17 +02:00
Philip Müller
71828d8274
[officechooser] update text and pics
2019-08-24 09:44:31 -04:00
Philip Müller
746d7f6af7
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-08-24 09:32:10 -04:00
Arnaud Ferraris
0f6b2dbe2d
[unpackfs] Enable to use "/" as a source
...
If we don't have/need an image for the rootfs, we might want to
configure the `/` directory as a source for unpackfs. Unfortunately,
this raises an error:
- unpackfs first creates a temporary directory
- it then creates a subdirectory for each source, using the source
path's basename
- when the source is `/`, the basename is an empty string, therefore
the module tries to create an already existing directory
In order to prevent this error, we use the `os.makedirs` function with
parameter `exist_ok=True` instead of `os.mkdir`.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-08-23 17:26:45 +02:00
Adriaan de Groot
383bd97a9c
[displaymanager] Handle variations in config file
...
- GDM3 uses a different config file than previous GDM
2019-08-23 03:40:10 -04:00
Adriaan de Groot
1c61181624
[displaymanager] Handle variations in GDM executable name
...
- Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934504
- Instead of hard-coding one or the other, search for gdm and gdm3
2019-08-23 03:25:41 -04:00
Adriaan de Groot
333a1f6e84
[displaymanager] Non-existent DMs don't exist
...
- Returning True for a non-existent DM is weird
- Avoid suggestive parenthesis in return type
2019-08-23 03:14:41 -04:00
Adriaan de Groot
b66f3434af
[displaymanager] Consistent Copyright notices
2019-08-23 03:09:53 -04:00
Adriaan de Groot
b8bad1c0b4
[welcome] Drop unused includes
2019-08-22 16:16:29 +02:00
Adriaan de Groot
310a1d76cf
[calamares] Reduce warnings now that getInteger is qint64
2019-08-22 10:25:16 +02:00
Philip Müller
07dd0e832f
Merge branch 'master' of https://github.com/calamares/calamares into development
2019-08-20 21:08:07 +02:00
Adriaan de Groot
e065008631
[welcome] Switch to the network service
...
- simplify configuration
- use existing ping- and hasInternet()
2019-08-20 10:57:34 -04:00