43 Commits (6434374bf3e5f8672cf2255d4a8c4a61b78830c7)

Author SHA1 Message Date
Adriaan de Groot 6434374bf3 [welcome] Move languageIcon loading into the Config object
- The QML module had an additional check that the normal one
  did not; add it in the merged code.
5 years ago
Adriaan de Groot 120a2b0f03 [welcome] Move get-the-show*Url code into Config
- Since this is configuration-loading, put it in the Config
  class; reduces code duplication between welcome and welcomeq.
5 years ago
Adriaan de Groot 70054e5db4 [welcome] Chase Branding API change 5 years ago
Adriaan de Groot fafc508d63 [welcome] Update the widget's notion of the locale
- when the locale changes, tell the widget so that the drop-down
  displays the right language.

FIXES #1361
5 years ago
Adriaan de Groot ce244d8514 [welcome] Style in viewstep (unrelated to merge) 5 years ago
Adriaan de Groot 1ede7003c0 [welcome] Apply coding style 5 years ago
Camilo Higuita d7f7c16958 [welcome] using config for both qcc2 or qwidgets 5 years ago
Adriaan de Groot 52e72f4fb1 [welcome] Apply coding style 6 years ago
Adriaan de Groot c36f963954 [welcome] Adjust names of URLs to be consistent
- having show*Url and donateUrl seems inconsistent, although
   the show*Url settings were originally boolean-only.
 - add "show" to the Donate button setting, to make them
   all consistent (putting a boolean there will generate a
   warning and hide the button, that's all).
6 years ago
Adriaan de Groot 341965c2b1 [welcome] Use setupButton for all four buttons
- the show* settings in welcome.conf are "upgraded" to allow
   setting the URL directly in the module configuration.
6 years ago
Adriaan de Groot 03e506a826 [welcome] Add a donate button
FIXES #1197
6 years ago
Adriaan de Groot 0f66a89236 [welcome] Only do GeoIP query if it's useful
- If badly-configured, then type is none; this is warned about
   in the constructor of Handler()
 - Only run the query if it's a useful type.
6 years ago
Adriaan de Groot 3967f6c5ae [welcome] Log where GeoIP information came from, if it's unusable
- This helps chase down broken GeoIP configurations, since you
   can check the URL and handler type shown in the log.
6 years ago
Adriaan de Groot f54b7dee9f [welcome] Use convenience image loader from Branding 6 years ago
Adriaan de Groot 07c638ed48 [welcome] Allow theming the international language-select icon 6 years ago
Adriaan de Groot f18f9dcd14 [welcome] Lookup GeoIP language and pass to language widget
- FIXES #934
 - Whether this is really wanted depends on the distro, and I'm not
   100% convinced the likely tags from Unicode are correct (or it'd
   take a lot more data). In any case, starting Calamares in "NL"
   gets me "nl_NL" as translation; presumably starting it in "BE"
   will get me that as well (what about Les Wallons?)
 - This also shows off that it's a real hack to have so much program
   logic in the *widget* parts of each ViewStep. Longer-term,
   a lot of functionality should go to the ViewStep itself, which
   will then control the UI.
6 years ago
Adriaan de Groot 18ed4c74ef [libcalamares] Move more into the locale service
- Use namespace CalamaresUtils::Locale consistently for this service.
 - Move locale-related non-GUI support code from the Welcome module
   to libcalamares; these are generally useful. Both Label (naming a locale)
   and LabelModel (managing a bunch of those Labels) have been moved.
6 years ago
Adriaan de Groot b490e30a5e [welcome] Use the new locale lookup after GeoIP gets a 2-letter code 6 years ago
Adriaan de Groot 2a448c057d [welcome] Provide API for updating the country
- Changing country will pre-select the language most likely
   for that country (it doesn't, yet, since we don't have the data).
6 years ago
Adriaan de Groot cb7c38daba [welcome] Support GeoIP country lookup 6 years ago
Adriaan de Groot f1ddd0c233 [welcome] Simplify configuration code 6 years ago
Adriaan de Groot 8cf3c217f7 Merge branch 'requirements-checking' 6 years ago
Adriaan de Groot 6071489788 [libcalamaresui] Provide default implementations of next() and back()
- These methods are used for multi-page view-steps, which are rare.
   For all the others, just drop the empty implementation and defer
   to the base class.
6 years ago
Adriaan de Groot 08565b5f17 [libcalamaresui] Remove the signal done() from ViewStep
- The signal is emitted, generally from next(), but not actually used.
6 years ago
Adriaan de Groot 987cf36f51 [welcome] Use convenience types 6 years ago
Adriaan de Groot 8a8ec01380 [welcome] Don't enable next early
- Next was enabled early; presumably to cover the case that no requirements
   were checked and the requirements checker never emitted an update signal.
   Drop that since the module manager is now responsible for doing that checking.
6 years ago
Adriaan de Groot 452b51304d [welcome] Update next button when checking is complete 6 years ago
Adriaan de Groot a19d81e38c [welcome] Chase renaming of files
- Rename the classes to match
 - Drop some unused includes
6 years ago
Adriaan de Groot 18efcf2200 [welcome] Drop unnecessary parameter 6 years ago
Adriaan de Groot bf40f3bd23 Merge branch 'master' into requirements-checking 7 years ago
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>
7 years ago
Adriaan de Groot c7629182e4 Merge branch 'master' into requirements-checking 7 years ago
Adriaan de Groot a72bdfac52 Merge branch 'master' into requirements-checking 7 years ago
Adriaan de Groot 3315df5df1 [modules] Use new convenience logging methods across the board 7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 7 years ago
Adriaan de Groot c8e42e6909 [welcome] Implement requirements checking at module level.
- Hook up the requirements checker (which only checks) to the module-and-viewstep
   method called to do the checking.
7 years ago
Adriaan de Groot bd27dda474 [welcome] Restructure requirements checking
- Move widget behavior into its own container / widget class
 - Change the RequirementsChecker class to just check the
   requirements, returning a results list
 - Connect from the module manager to the results widget.
7 years ago
Adriaan de Groot 27b921bde1 [libcalamaresui] Move requirements information out of welcome module.
- Move type and rename it; put in Calamares namespace
 - Emit signals from the viewmanager as results come in
 - Remove state changing from welcome view step based on its internal
   requirements checking (for now this breaks progressing past the
   welcome page)
 - Log checking of the requirements
7 years ago
Teo Mrnjavac a48dadf757 Warning in debug output when the RequirementsChecker is misconfigured.
CAL-390 #close
9 years ago
Teo Mrnjavac 420c2cf7c4 PluginFactory in Welcome module. 10 years ago
Teo Mrnjavac 43992c5251 Hook up RequirementsChecker with the WelcomeViewStep. 10 years ago
Teo Mrnjavac 3dd1d7932f Fix up identifiers + use QComboBox instead of QListView. 10 years ago
Teo Mrnjavac 7bcb060967 The greeting module is now welcome. 10 years ago