Eberhard Beilharz
4335923707
chore(linux): Refactorings
2023-06-07 18:57:20 +02:00
Eberhard Beilharz
16067a36fd
chore(linux): Remove unnecessary variable
...
We can directly use `logging.error` instead of `logging.log`. Then
we don't need the `severity` variable.
2023-01-06 18:50:40 +01:00
Eberhard Beilharz
d9d6e6de11
chore(linux): More import sorting
2022-07-18 17:10:01 +02:00
Eberhard Beilharz
3c8983037d
fix(linux): Gracefully handle keyboard download failure
...
In the past we already gracefully handled keyboard download failures
when the user triggered the download from the km-config UI. This
change deals with the command line side of things, most often when
the user clicks on the "Install keyboard" button on keyman.com. If
the download fails we already output an error message and now don't
try to install the non-existing .kmp file.
Fixes #6284 .
2022-02-24 17:38:23 +01:00
Eberhard Beilharz
79244650b1
feat(linux): Don't create Sentry critical events for handled errors
...
We don't want to send events to Sentry for errors that we handled.
2022-01-06 18:43:28 +01:00
Eberhard Beilharz
d48b5194e1
fix(linux): Check for valid kmp file
...
Before trying to install we now check if it's a valid zip file.
This fixes #5575 .
2021-08-16 10:58:50 +02:00
Eberhard Beilharz
319b7d20ee
fix(linux): Don't crash if kmp file vanishes ( fixes #4907 )
2021-04-23 11:13:46 +02:00
Eberhard Beilharz
599b602603
chore(linux): Merge branch 'master' into feat/linux/sentry
...
# Conflicts:
# linux/keyman-config/keyman_config/handle_install.py
2021-04-20 11:49:43 +02:00
Eberhard Beilharz
9d7be1b6b5
feat(linux): Log some errors as critical
...
Some errors we want to be reported on Sentry, so we change those
to critical.
2021-04-20 11:45:07 +02:00
Eberhard Beilharz
1c04d5200c
fix(linux): Don't crash on network problem ( fixes #4911 )
...
If the network is down or the server name can't be resolved we
shouldn't crash. This change logs an error instead.
2021-04-19 18:06:14 +02:00
Eberhard Beilharz
5c1c114e5d
fix(linux): Fix crash if query doesn't contain bcp47 tag ( #4800 )
...
(cherry picked from commit c9de93d478 )
2021-03-29 09:14:38 +02:00
Eberhard Beilharz
8fbdebc9df
feat(linux): keyman:// protocol handler
...
This change implements the custom keyman:// protocol handler which
will cause the browser to launch km-config when it encounters a
URL using the keyman protocol.
Related to #3271 .
2020-07-23 17:35:26 +02:00