Adriaan de Groot
352b385b12
[locale] Make the selector configurable via the config file
2018-04-16 05:32:22 -04:00
Adriaan de Groot
79a6d7ccbd
[locale] Make file and class consistent GeoIPXML
...
- Rename the class to match the filename.
2018-04-16 04:35:32 -04:00
Adriaan de Groot
2cd4461b57
[locale] Rename JSON handler
...
- The handler for JSON data should be called that, not named
specially after the original provider it was implemented for.
- Make filename and classname consistent, GeoIPJSON.
2018-04-16 04:32:49 -04:00
Adriaan de Groot
ec113e3df3
[locale] Log GeoIP attempt URL, use possibly-modified form
2018-04-13 09:42:28 -04:00
Adriaan de Groot
d6f082752d
[locale] On GeoIP failure, log URL
2018-04-13 09:36:39 -04:00
Adriaan de Groot
47b7040897
[locale] Adjust to Calamares 3.2 idiom
2018-04-13 09:24:59 -04:00
Adriaan de Groot
3ea5a06157
Merge branch '3.1.x-stable'
2018-04-13 08:50:17 -04:00
Adriaan de Groot
6b7c8a694a
[locale] Make the style of GeoIP retrieval selectable
...
- Unchanged config files will continue to use the weird addition
of /json, and interpret JSON data.
- Allow to specify full URL with data format through one of
geoipStyle: json
geoipStyle: xml
- XML support is optional
2018-04-12 14:37:38 -04:00
Adriaan de Groot
5b98e58ae7
[locale] Refactor GeoIP handlers
...
- Read the data in the caller of the handler, instead of in the callers
2018-04-12 12:22:43 -04:00
Adriaan de Groot
d5623af8ef
[locale] Refactor geoip handling
...
- Configuration **must** be a complete URL. The implementation no
longer appends /json to the URL.
2018-04-12 10:11:48 -04:00
Adriaan de Groot
c0d5a153d4
[locale] Refactor GeoIP handler
...
- Move GeoIP to its own cpp file
- Provide a default implementation of the URL mangler
2018-04-12 09:54:22 -04:00
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
2018-04-12 09:45:48 -04:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
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
2017-11-01 11:07:18 +01:00
Adriaan de Groot
25de3aca6e
Clang: don't shadow global int timezone
2017-09-11 09:42:21 +02:00
Philip
d2964cc71c
[locale] default to the states
...
- see also 239c7534d2
2017-09-10 22:33:25 +01:00
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
2017-09-06 07:51:22 -04:00
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.
2016-08-18 15:38:41 +02:00
Teo Mrnjavac
160d00a47a
Write locales map into GS.
2016-08-10 11:47:24 +02:00
Teo Mrnjavac
e120f2a74c
PluginFactory in Locale module.
2015-09-15 16:48:42 +02:00
Teo Mrnjavac
171248ad4f
Add isBackEnabled checks to all ViewSteps.
2015-01-29 22:46:07 +01:00
Teo Mrnjavac
5bb7755925
Remove unnecessary debug output.
2014-11-26 19:10:17 +01:00
Teo Mrnjavac
5fdca37db5
Focus fix in Locale page.
2014-11-26 18:52:44 +01:00
Teo Mrnjavac
472590669f
Adding stuff to GlobalStorage works much better it is actually executed.
2014-11-26 18:47:46 +01:00
Teo Mrnjavac
925632800b
Debug output for lcLocale
2014-11-26 17:47:06 +01:00
Teo Mrnjavac
6049267cf6
Load lcLocale value into GlobalStorage. Also allow localeGenPath setting
...
in locale.conf.
2014-11-25 17:43:12 +01:00
Teo Mrnjavac
8651b33843
Make the locale viewmodule use WaitingWidget.
2014-10-07 16:07:27 +02:00
Teo Mrnjavac
1bb6603998
Move spinner widget to libcalamaresui.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
271b0945c9
Create jobs in locale viewmodule.
2014-08-01 16:29:19 +02:00
Teo Mrnjavac
e3741c4d26
Make the locale viewmodule load the initial timezone from config.
2014-07-15 11:35:05 +02:00
Teo Mrnjavac
f1ba2e1270
Add prettyStatus to Locale module.
2014-07-08 18:28:28 +02:00
Teo Mrnjavac
b98c071f94
Prepare for late enqueuing of jobs to the JobQueue.
2014-07-08 14:03:06 +02:00
Teo Mrnjavac
1efb4f1101
Added spinner widget to the loading timezone data view.
2014-07-03 15:38:55 +02:00
Teo Mrnjavac
81eafced2f
Don't allow to go next if the timezone view hasn't loaded.
2014-07-03 13:19:32 +02:00
Teo Mrnjavac
f9aa532d77
Load timezone data asynchronously so we don't block the GUI thread on
...
startup.
2014-07-03 13:13:38 +02:00
Teo Mrnjavac
1ac10b40e6
Initial commit for the locale viewmodule.
2014-07-02 18:12:53 +02:00