27 Commits (5b98e58ae71d09895fbc0ed56e687dab40e82607)

Author SHA1 Message Date
Adriaan de Groot 5b98e58ae7 [locale] Refactor GeoIP handlers
- Read the data in the caller of the handler, instead of in the callers
7 years ago
Adriaan de Groot d5623af8ef [locale] Refactor geoip handling
- Configuration **must** be a complete URL. The implementation no
   longer appends /json to the URL.
7 years ago
Adriaan de Groot c0d5a153d4 [locale] Refactor GeoIP handler
- Move GeoIP to its own cpp file
 - Provide a default implementation of the URL mangler
7 years ago
Adriaan de Groot 445f181cc3 [locale] Start refactoring geoip handling
- Introduce a handler interface for GeoIP providers
 - Move the implementation of FreeGeoIP into a struct of its own
7 years ago
Adriaan de Groot 35f5612ec1 [locale] Fix GeoIP (reported by demm, crazy)
- data has already been read, don't try to read more from the QNM reply
 - regression introduced in 7e25909e
8 years ago
Adriaan de Groot 25de3aca6e Clang: don't shadow global int timezone 8 years ago
Philip d2964cc71c [locale] default to the states
- see also 239c7534d2
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
Teo Mrnjavac 3146d2093e Add support for freegeoip.net in locale module.
This is disabled by default. To enable, provide a geoipUrl setting in
locale.conf.
Relies on the RequirementsChecker output, in the welcome module.
9 years ago
Teo Mrnjavac 160d00a47a Write locales map into GS. 9 years ago
Teo Mrnjavac e120f2a74c PluginFactory in Locale module. 10 years ago
Teo Mrnjavac 171248ad4f Add isBackEnabled checks to all ViewSteps. 10 years ago
Teo Mrnjavac 5bb7755925 Remove unnecessary debug output. 11 years ago
Teo Mrnjavac 5fdca37db5 Focus fix in Locale page. 11 years ago
Teo Mrnjavac 472590669f Adding stuff to GlobalStorage works much better it is actually executed. 11 years ago
Teo Mrnjavac 925632800b Debug output for lcLocale 11 years ago
Teo Mrnjavac 6049267cf6 Load lcLocale value into GlobalStorage. Also allow localeGenPath setting
in locale.conf.
11 years ago
Teo Mrnjavac 8651b33843 Make the locale viewmodule use WaitingWidget. 11 years ago
Teo Mrnjavac 1bb6603998 Move spinner widget to libcalamaresui. 11 years ago
Teo Mrnjavac 271b0945c9 Create jobs in locale viewmodule. 11 years ago
Teo Mrnjavac e3741c4d26 Make the locale viewmodule load the initial timezone from config. 11 years ago
Teo Mrnjavac f1ba2e1270 Add prettyStatus to Locale module. 11 years ago
Teo Mrnjavac b98c071f94 Prepare for late enqueuing of jobs to the JobQueue. 11 years ago
Teo Mrnjavac 1efb4f1101 Added spinner widget to the loading timezone data view. 11 years ago
Teo Mrnjavac 81eafced2f Don't allow to go next if the timezone view hasn't loaded. 11 years ago
Teo Mrnjavac f9aa532d77 Load timezone data asynchronously so we don't block the GUI thread on
startup.
11 years ago
Teo Mrnjavac 1ac10b40e6 Initial commit for the locale viewmodule. 11 years ago