Commit graph

4540 commits

Author SHA1 Message Date
ivan tkachenko
0ed648b4ba smsapp: Add qualified property access 2024-06-10 20:40:42 +00:00
l10n daemon script
42404c77b4 GIT_SILENT Sync po/docbooks with svn 2024-06-10 01:34:31 +00:00
l10n daemon script
065a23e386 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-10 01:17:37 +00:00
Heiko Becker
c6e7601a6f GIT_SILENT Update Appstream for new release
(cherry picked from commit 56977c62a0)
2024-06-10 00:38:28 +02:00
l10n daemon script
7942715292 GIT_SILENT Sync po/docbooks with svn 2024-06-09 01:23:12 +00:00
l10n daemon script
aa009cfd85 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-09 01:17:55 +00:00
l10n daemon script
c076816b75 GIT_SILENT Sync po/docbooks with svn 2024-06-08 01:26:28 +00:00
Łukasz Patron
7a4a3c5baa Unset file transfer tooltip location
Not sure what was the goal here, but tooltip should be shown under the
file drop area, not the entire plasmoid.
2024-06-07 21:57:24 +00:00
l10n daemon script
01a605652d GIT_SILENT Sync po/docbooks with svn 2024-06-05 01:35:14 +00:00
l10n daemon script
d60215a7bd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-05 01:18:01 +00:00
Albert Astals Cid
9faa049c55 Make clang-format happy 2024-06-04 19:02:58 +02:00
Albert Vaca Cintora
17c97a4768 Add a parent to KCompositeJob
So they are stopped if the device is destroyed
2024-06-04 14:15:23 +00:00
l10n daemon script
2763b2dbe3 GIT_SILENT Sync po/docbooks with svn 2024-06-04 01:22:30 +00:00
Mavroudis Chatzilazaridis
29904c1f8d indicator: Sort devices in menu
Use `DevicesSortProxyModel` to sort devices before adding them to `menu`.
2024-06-03 12:42:14 +00:00
l10n daemon script
fef6abe70c GIT_SILENT Sync po/docbooks with svn 2024-06-03 01:22:33 +00:00
l10n daemon script
29de4a52bb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-03 01:17:38 +00:00
l10n daemon script
848656cf52 GIT_SILENT Sync po/docbooks with svn 2024-06-02 01:23:51 +00:00
l10n daemon script
c9cac4160f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-02 01:17:34 +00:00
l10n daemon script
8089806025 GIT_SILENT Sync po/docbooks with svn 2024-06-01 01:23:51 +00:00
l10n daemon script
09e1f60035 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-01 01:17:53 +00:00
Fabian Arndt
bfdb1c7ff5 Virtual Monitor: always provide dbus path
The plugin should always be loaded, as:
- we can provide a virtual display over VNC, even if the device isn't capable to use virtual displays itself (`krfb-virtualmonitor`)
- we would do the capabilities check regardless, if !670 gets merged
- hiding the DBus path doesn't trigger the `PluginChecker.qml` to think the plugin is unavailable, it just doesn't work
- -> is this a bug or intended behaviour?
2024-05-31 20:31:21 +00:00
l10n daemon script
a2c2c310fa GIT_SILENT Sync po/docbooks with svn 2024-05-31 01:30:46 +00:00
Fabian Arndt
b24d629802 virtualmonitor: implemented capabilities check
BUG: 485829

## Summary

Currently, the plugin just fails silently if the local device is missing the `krfb` package or if the remote device misses an `vnc://` protocol/scheme handler. You click the button and nothing happens.

One issue is, that the plugin is considered `virtualmonitor.available` in the `DeviceDelegate.qml`, even if the check for `krfb-virtualmonitor` fails and no dbus-path is provided. I investigated the behavior a bit, but ignored it in the end as this MR benefits from being shown for device constellations that _could_ provide this feature.

A warning is shown with brief instructions, how to get the plugin working correctly.

- Check if krfb-virtualmonitor is available locally
- Check default scheme handler for vnc:// on device (Linux)
- Show warnings / reasons, if no connection could be established


## Test Plan

Regarding if the devices have mentioned packages installed, we should see different behaviors.

If the remote device has no VNC client, it can not connect to out server. _A warning should be shown._

If the local device hasn't the `krfb-virtualmonitor` available, the remote device couldn't connect. _A warning should be shown._

If both problems are present, _both warnings should be shown._


If none of these are present, no warning should be shown and we should try to establish a connection.


The connection attempts failed? _A warning should be shown._
2024-05-30 23:13:54 +00:00
l10n daemon script
f1392b30a2 GIT_SILENT Sync po/docbooks with svn 2024-05-30 01:24:25 +00:00
l10n daemon script
88c25b54d0 GIT_SILENT Sync po/docbooks with svn 2024-05-29 01:35:05 +00:00
l10n daemon script
91ef3bda57 GIT_SILENT Sync po/docbooks with svn 2024-05-27 01:24:17 +00:00
l10n daemon script
b75b118834 GIT_SILENT Sync po/docbooks with svn 2024-05-26 01:22:02 +00:00
Łukasz Patron
7d3c37d3e6
Add Qt::DBus dependency to kdeconnect_runcommand_config
It seems like we now have to explicitly do that for Windows, as
otherwise, build fails when including <dbushelper.h>.
2024-05-25 10:31:46 +02:00
l10n daemon script
b4256ae65b GIT_SILENT Sync po/docbooks with svn 2024-05-24 01:26:28 +00:00
l10n daemon script
0fb63debae GIT_SILENT Sync po/docbooks with svn 2024-05-23 01:23:53 +00:00
l10n daemon script
9cbe7df4b0 GIT_SILENT Sync po/docbooks with svn 2024-05-22 01:26:36 +00:00
l10n daemon script
21f610bd47 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-22 01:19:06 +00:00
l10n daemon script
1dd453dee7 GIT_SILENT Sync po/docbooks with svn 2024-05-21 01:28:33 +00:00
Albert Vaca Cintora
a6d0dfd0ae
Better KCM size 2024-05-20 12:41:00 +02:00
Mavroudis Chatzilazaridis
6702190811 urlhandler: Fix devicePicker selection with --device
When using 'Send a file/URL' in the indicator with multiple devices, the
device the user selects for file sharing is not automatically selected in
the URL handler dialog that follows.

This happens because `model.rowForDevice(deviceId)` is called without
waiting for the model to be populated, always returning -1.

Resolving this exposed another bug, where the selected device was still
not the one picked. This happens because `proxyModel` is used to fill the
`QComboBox` but `model` is used to find the correct index. Since
`DevicesPluginFilterProxyModel` sorts and filters the data from `model`
the indices do not match.

This commit addresses these issues by deferring the device selection until
data is available and implementing `rowForDevice` for filtered/sorted data
in `DevicesPluginFilterProxyModel`.
2024-05-20 09:56:03 +00:00
Mavroudis Chatzilazaridis
a9a3661cf3 Fix inverted alphabetical device sorting order
QSortFilterProxyModel attempted to sort in ascending order but due to this
issue, it instead ended up sorting in descending order.
2024-05-20 09:53:10 +00:00
l10n daemon script
88ba2acad9 GIT_SILENT Sync po/docbooks with svn 2024-05-20 01:23:59 +00:00
Albert Vaca Cintora
b672d80249
Validate and filter device names 2024-05-19 16:24:54 +02:00
Albert Vaca Cintora
983788e5c9
Dedupe Q_EMIT 2024-05-19 16:15:56 +02:00
Albert Vaca Cintora
9a39eaa237 Use EC keys instead of RSA
Use smaller and safer EC keys, replacing 2048 bit RSA.

NID_X9_62_prime256v1 is roughly as secure as a 3072 bit RSA key, but way shorter. 
Since we have to embed the key in the identity packet that is sent over UDP and
some stacks aren't happy with large UDP messages (notably: macos), I switched to
EC instead of to a longer RSA key.

This seems to be compatible with other clients even on older systems like Android 5.0.

I did stick with NID_X9_62_prime256v1 because stronger EC like NID_secp384r1 failed
the handshake (I didn't investigate why).

We now store the kind of key in the config, so we can know which kind of key we are loading.
2024-05-19 10:04:43 +00:00
l10n daemon script
e408e4e3bd GIT_SILENT Sync po/docbooks with svn 2024-05-19 01:24:14 +00:00
Albert Vaca Cintora
af4ce1c33c Show pairing keys everywhere and always shorten to 8 chars
The previous key was 64 freakin characters long which made it more prone
to being ignored, and thus less secure.
2024-05-18 20:26:48 +00:00
Heiko Becker
3afcca8a1d GIT_SILENT Update Appstream for new release
(cherry picked from commit dd2c0fd722)
2024-05-17 00:40:46 +02:00
l10n daemon script
587968bb04 GIT_SILENT Sync po/docbooks with svn 2024-05-16 01:35:16 +00:00
l10n daemon script
118fbab095 GIT_SILENT Sync po/docbooks with svn 2024-05-14 01:25:39 +00:00
l10n daemon script
afa727b92f GIT_SILENT Sync po/docbooks with svn 2024-05-13 01:26:49 +00:00
Albert Vaca Cintora
59fd3d7dd4
Update commented code 2024-05-12 19:54:21 +02:00
l10n daemon script
734e76f3b3 GIT_SILENT Sync po/docbooks with svn 2024-05-12 01:29:55 +00:00
l10n daemon script
7963effff6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-12 01:19:07 +00:00
l10n daemon script
72e9967212 GIT_SILENT made messages (after extraction) 2024-05-12 00:38:26 +00:00