31 Commits (dd8e53dc225512bfb870cb043fd57ddf7520900d)

Author SHA1 Message Date
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>
8 years ago
Adriaan de Groot 6aa5be192b [netinstall] Drop unused includes 8 years ago
Adriaan de Groot ba85fc760a [netinstall] Remove data-indirection
- There is no need to move data around between two parts of the
   same module via global storage.
8 years ago
Adriaan de Groot 3315df5df1 [modules] Use new convenience logging methods across the board 8 years ago
Gabriel Craciunescu d1c10837d1 [netinstall]: some more debug
- change the debug output when the errors occurs so
  we have a clue what may go wrong
8 years ago
Adriaan de Groot 62c03d6857 Merge branch '3.1.x-stable' 8 years ago
Adriaan de Groot 51c74c6abb [netinstall] Convenience typedefs 8 years ago
Adriaan de Groot 91e949f8fc [netinstall] Apply Calamares C++ style 8 years ago
Adriaan de Groot f424af36d3 [netinstall] Avoid crash when do groups are available
- m_groups is only set to a non-nullptr value when data is received
   and fully processed,
 - avoid nullptr dereference when paging *back* from a netinstall
   page that hasn't loaded groups data.

FIXES #859
8 years ago
Adriaan de Groot ee0b3b85dc [netinstall] Improve 'next' button handling
- Document netinstall.conf a little,
 - Add setting *required* which influences whether next is enabled or not
   in case of missing or corrupt data,
 - Enable *next* button only once some (any!) data is received.

This can be used to disallow stepping past the netinstall step when
there is no data (e.g. internet has failed between the welcome page
and the netinstall page).
8 years ago
Adriaan de Groot b303acf12a Merge branch '3.1.x-stable'
- KPMCore code moved
 - Small fixes
8 years ago
Gabriel Craciunescu d2ea83a0b2 NetInstallPage.cpp: fix displaying for Name and Description
- fixes 1d7ad9e045 which sets
  both header's labels to 0 so 'Name' was always overridden
  by Description and Description never displayed
8 years ago
Adriaan de Groot 36a711c87f Netinstall: fix misleading message (thanks to @abucodonosor) 8 years ago
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
8 years ago
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
8 years ago
Adriaan de Groot 8ea14d7957 Release: add copyright to files I've touched 9 years ago
Adriaan de Groot ce6997d214 Coverity: fix some uninitialized members 9 years ago
Kyle Robertze 1d7ad9e045 made requested changes 9 years ago
Kyle Robertze f5fe887a79 fixed style issues 9 years ago
Kyle Robertze a4aef3bce5 moved netinstall to a tree based ui 9 years ago
shainer 58ae8e13c9 Add support for non-critical groups in netinstall.
Package groups are divided into critical and non-critical
depending on whether we want all Calamares to fail if installing
a package in the group fails, or we are okay with just logging a
warning.

The distinction is configured in the YAML file listing the package
groups. By default, all groups are critical, to keep supporting
the previous behaviour.
9 years ago
Kevin Kofler 075577d948 [netinstall] Support selecting visible groups by default.
In other words, support:
  hidden: false
  selected: true
groups.

This was supposed to work according to README.md, but not actually
implemented. Now it should be working.
9 years ago
shainer 5e2ed69629 Set a descriptive User Agent for requests, so sourceforge.net does not complain. 10 years ago
shainer e462c3c8d8 Use QNetworkAccessManager instead of KIO to download the config; remove KIO dep. 10 years ago
shainer f84da1e013 Fix build failure seen in the live test. 10 years ago
shainer f2658f5eb0 Left commented code in previous commit, switch to cDebug(). 10 years ago
shainer aa54d82d85 Last connect() conversion in the module. 10 years ago
shainer afedf9e024 Switch two connects to Qt5 style. 10 years ago
shainer 877eb71886 Use utils from the YamlUtils package to read nodes more elegantly. 10 years ago
shainer b043b42795 Add copyright statements when missing, make them all the same. 10 years ago
shainer a5cc9f2a9d Netinstall module. See README for complete guide. Allows to configure groups and packages; selected packages are installed through the 'packages' module. 10 years ago