Commit graph

3882 commits

Author SHA1 Message Date
Albert Vaca Cintora
7ee85192c4 Send UDP identity packets without capabilities only if needed
Instead of always doing so on MacOS, do it only when we get a
DatagramTooLargeError. On MacOS, the size is limited only for
broadcast but not for unicast.
2023-06-27 14:18:14 +02:00
Albert Vaca Cintora
841d2c1476 Make constructor explicit 2023-06-27 14:18:14 +02:00
Albert Vaca Cintora
8c69e48e2f Add a way to disable UDP broadcasts for testing 2023-06-27 14:18:14 +02:00
Albert Vaca Cintora
9e51b7d814 Add MDNS discovery 2023-06-27 14:18:14 +02:00
Albert Vaca Cintora
beb7e94cbb Cleanup 2023-06-27 13:15:11 +02:00
Albert Vaca Cintora
db546e7608 Add DeviceInfo class
Equivalent to this Android MR (see description there): https://invent.kde.org/network/kdeconnect-android/-/merge_requests/374
2023-06-27 11:10:59 +00:00
l10n daemon script
70bb10d105 GIT_SILENT Sync po/docbooks with svn 2023-06-26 01:58:29 +00:00
Albert Vaca Cintora
3018b3bf3d Connect to QUdpSocket's errorOcurred to make errors visible 2023-06-25 21:58:50 +02:00
Albert Vaca Cintora
598dde025c Disable sendnotifications plugin on Mac (won't compile) 2023-06-25 17:11:20 +02:00
l10n daemon script
453f6b9141 GIT_SILENT Sync po/docbooks with svn 2023-06-25 02:11:04 +00:00
Albert Vaca Cintora
981796ed66 Fix KCM reloading the plugins N times when a device was selcted
Every time a device is selected, `pluginsConfigChanged` would trigger even
if no plugins actually changed (there's a boolean to distinghish that on
the signal that we were ignoring). On top of that, we were connecting to
the signal again each time we selected a device, causing this bug to
trigger N+1 times every time a device was selected.

This is bad because `pluginsConfigChanged` would reload all the plugins,
which for some plugins even implies network calls to the connected device.
2023-06-24 17:45:48 +00:00
Albert Vaca Cintora
3c36384078 Fix loopback link pairing timing out when already paired 2023-06-24 17:40:46 +02:00
l10n daemon script
8d21ea1859 GIT_SILENT Sync po/docbooks with svn 2023-06-24 02:08:20 +00:00
l10n daemon script
a1f7d359e7 GIT_SILENT Sync po/docbooks with svn 2023-06-23 01:58:14 +00:00
Albert Vaca Cintora
46dd0c59da Remove unused priority() method 2023-06-22 23:46:44 +02:00
Albert Vaca Cintora
7119a831f0 Sftp: do not require the ip field anymore
It's no longer used
2023-06-22 11:22:01 +02:00
l10n daemon script
4acc4ed493 GIT_SILENT Sync po/docbooks with svn 2023-06-20 02:25:45 +00:00
l10n daemon script
09f38caec5 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"
2023-06-20 01:54:21 +00:00
l10n daemon script
121ccf93f9 GIT_SILENT Sync po/docbooks with svn 2023-06-19 02:04:21 +00:00
l10n daemon script
bec8603ac4 GIT_SILENT Sync po/docbooks with svn 2023-06-18 02:40:00 +00:00
l10n daemon script
758d91aafa 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"
2023-06-18 01:52:33 +00:00
l10n daemon script
4ee2d03cb2 GIT_SILENT Sync po/docbooks with svn 2023-06-17 01:52:09 +00:00
Albert Vaca Cintora
7ca8b7bf95 Fix infinite loop when already paired devices ask to pair 2023-06-16 19:49:50 +02:00
l10n daemon script
d690119e4d 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"
2023-06-16 01:39:48 +00:00
l10n daemon script
9f3ae5b1ce GIT_SILENT Sync po/docbooks with svn 2023-06-15 01:55:29 +00:00
Nicolas Fella
7569a6ceff Fix kdeconnect_open desktop file type
It's an application, not a service

Also don't make it executable, it's not needed

BUG: 424782
2023-06-14 12:58:31 +00:00
l10n daemon script
493ff49410 GIT_SILENT Sync po/docbooks with svn 2023-06-14 01:50:33 +00:00
l10n daemon script
088f2d53ce GIT_SILENT Sync po/docbooks with svn 2023-06-13 01:55:22 +00:00
Albert Vaca Cintora
fb73fe2ecc Windows: change the systray icon for light/dark themes 2023-06-12 15:34:43 +02:00
Albert Vaca Cintora
6396fc8e5a Windows indicator: print output when ran in console 2023-06-12 15:30:30 +02:00
l10n daemon script
a6639a7f88 GIT_SILENT Sync po/docbooks with svn 2023-06-12 02:14:58 +00:00
l10n daemon script
7bf6da0854 GIT_SILENT Sync po/docbooks with svn 2023-06-11 01:55:14 +00:00
l10n daemon script
6398ac8954 GIT_SILENT Sync po/docbooks with svn 2023-06-10 01:53:45 +00:00
l10n daemon script
4ef7c2626b GIT_SILENT Sync po/docbooks with svn 2023-06-09 01:57:24 +00:00
Albert Vaca Cintora
2e0550651e Remove mpris "nowPlaying" field
We've had separate title & artist for a while, and all clients should be
using those by now.

Also fixes the position change not being emitted when the song changes,
and fixes the values being written after emitting that they changed.
2023-06-08 21:58:58 +00:00
l10n daemon script
3cb40eab61 GIT_SILENT Sync po/docbooks with svn 2023-06-08 01:55:16 +00:00
Albert Vaca Cintora
144a60b58a Allow disabling clipboard auto-share and add option to share manually
Continues the work started in !396 by rebasing it onto latest master and
making the "send clipboard" button from the plasmoid invisible when
automatic syncing is enabled.
    
I didn't find a way to do the same in kdeconnect-indicator and
kdeconnect-app (why do we have 3 UIs???), so in those we always show the
option for now.
2023-06-07 19:48:25 +00:00
Albert Vaca Cintora
5a93a48973 Hide macos-only setting on non-macos 2023-06-07 21:46:20 +02:00
l10n daemon script
e3898eb7d3 GIT_SILENT Sync po/docbooks with svn 2023-06-07 01:59:14 +00:00
l10n daemon script
642ceb90cd GIT_SILENT Sync po/docbooks with svn 2023-06-06 01:51:40 +00:00
l10n daemon script
df9be7e684 GIT_SILENT Sync po/docbooks with svn 2023-06-05 01:47:39 +00:00
l10n daemon script
ea2c398359 GIT_SILENT Sync po/docbooks with svn 2023-06-04 01:55:53 +00:00
l10n daemon script
897f46d262 GIT_SILENT Sync po/docbooks with svn 2023-06-03 01:49:52 +00:00
Heiko Becker
0061e3d69d GIT_SILENT Update Appstream for new release
(cherry picked from commit 8fb984e5ce)
2023-06-02 22:08:11 +02:00
Albert Vaca Cintora
a56ff23770 Let Qt delete this when the parent is destroyed 2023-06-02 16:38:52 +00:00
Albert Vaca Cintora
fbaf5ade71 Remove unused name method 2023-06-02 16:38:52 +00:00
Albert Vaca Cintora
f138a0f07a Add a spinner to the app when pairing is requested 2023-06-02 16:38:52 +00:00
Albert Vaca Cintora
064ddfa3fe Refactor PairingHandler
We now have a single PairingHandler for all types of links.

The implementation now is more aligned with the one for Android.
2023-06-02 16:38:52 +00:00
l10n daemon script
85cc644024 GIT_SILENT Sync po/docbooks with svn 2023-06-01 01:54:31 +00:00
l10n daemon script
4e364c67d1 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"
2023-06-01 01:40:26 +00:00