Commit graph

4139 commits

Author SHA1 Message Date
l10n daemon script
8ab1880d9f GIT_SILENT Sync po/docbooks with svn 2023-09-16 01:42:51 +00:00
Albert Vaca Cintora
66cf7093fb Fix SFTP plugin, m_mounter was not initialized
BUG: 474552
2023-09-16 01:11:00 +02:00
Albert Vaca Cintora
cdcf44efa8 Remove photo plugin
As discussed in Matrix and BUG: 474121 this plugin is confusing (because
it doesn't actually take a photo, it just launches the camera on your
phone) and its use case can be covered by taking a photo and sharing it,
which only requires a couple extra clicks.
2023-09-15 23:04:17 +00:00
Carl Schwan
85897fcdc3 Port to FormCard
This is the successor for MobileForm
2023-09-15 16:10:47 +00:00
l10n daemon script
07a4b30576 GIT_SILENT Sync po/docbooks with svn 2023-09-15 01:42:15 +00:00
Albert Vaca Cintora
64f9df96ec Remove "Open on connected device via KDE Connect"
It seems to be causing too many problems compared to the advantages that
using "send" instead of "open" brings.

BUG: 472697
2023-09-14 06:18:01 +00:00
l10n daemon script
d1ac23dcd8 GIT_SILENT Sync po/docbooks with svn 2023-09-13 01:49:47 +00:00
l10n daemon script
0e1396effe GIT_SILENT Sync po/docbooks with svn 2023-09-12 01:47:15 +00:00
Karthik Nishanth
9e53696e35 Close the overlay drawer when window width is reduced
Previously when the window width was reduced, the overlay drawer
was still visible except it was hidden behind the main view.

Taking inspiration from the binding in OverlayDrawer.qml source,
I set up a callback to match it closely. Now, it closes the
drawer when the window is resized.

Note: Both before and after this commit, there is a warning when
one collapses the window width.

> QQuickItem::stackBefore: Cannot stack
> QQuickRectangle(0x55b4746513d0, parent=0x55b4744a4750,
> geometry=0,0 0x0) before QQuickPopupItem(0x55b4747871c0),
> which must be a sibling
2023-09-11 13:11:03 +00:00
Karthik Nishanth
f42bb35346 Fix undefined property accesses
Adds a check for root.currentDevice before accessing its properties
2023-09-11 13:11:03 +00:00
Nicolas Fella
1bebc3bc5d Fix build with MDNS disabled 2023-09-11 03:15:27 +00:00
l10n daemon script
dd4498d77c GIT_SILENT Sync po/docbooks with svn 2023-09-11 01:48:00 +00:00
l10n daemon script
b308b497e3 GIT_SILENT Sync po/docbooks with svn 2023-09-10 01:44:52 +00:00
Heiko Becker
2de91d4cf8 GIT_SILENT Update Appstream for new release
(cherry picked from commit e107deacbc)
2023-09-09 10:58:27 +02:00
Albert Vaca Cintora
89548932a6 Fix remote keyboard sending "space" when pressing space
I believe this was broken in https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/543

BUG: 473956
2023-09-07 17:55:02 +00:00
l10n daemon script
04ae5c67f7 GIT_SILENT Sync po/docbooks with svn 2023-09-07 01:45:42 +00:00
Andy Holmes
0640279ae0 Sanitize certificate subject name before comparing to deviceId
The device ID is sanitized to make it safe for D-Bus, so the device ID
stored in the certificate as the subject name also needs to be
sanitized before comparison.
2023-09-06 21:09:02 +00:00
Albert Vaca Cintora
4d5474db7b Fix SFTP plugin on Windows
Broken by https://invent.kde.org/network/kdeconnect-android/-/merge_requests/320
2023-09-06 04:44:04 +02:00
l10n daemon script
17519fdb7a GIT_SILENT Sync po/docbooks with svn 2023-09-05 01:44:31 +00:00
l10n daemon script
a0fee9ba92 GIT_SILENT Sync po/docbooks with svn 2023-09-04 01:46:24 +00:00
l10n daemon script
28283d8760 GIT_SILENT Sync po/docbooks with svn 2023-09-03 02:05:54 +00:00
l10n daemon script
e17d136578 GIT_SILENT Sync po/docbooks with svn 2023-09-02 01:50:06 +00:00
l10n daemon script
038356e752 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-09-02 01:38:48 +00:00
l10n daemon script
74c3292004 GIT_SILENT Sync po/docbooks with svn 2023-08-31 01:46:04 +00:00
Albert Vaca Cintora
49fa11dfc1 UDP port can be a constant 2023-08-30 13:11:03 +00:00
l10n daemon script
8247e6eca6 GIT_SILENT Sync po/docbooks with svn 2023-08-30 01:45:50 +00:00
l10n daemon script
8c45266c5b GIT_SILENT Sync po/docbooks with svn 2023-08-29 01:44:09 +00:00
l10n daemon script
b7982c3724 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-08-29 01:36:14 +00:00
Albert Vaca Cintora
5a27c93538 Windows MPRIS: Add a "default player" entry
This sends generic multimedia keyboard events, since the implementation
using GlobalSystemMediaTransportControlsSessionManager had some problems:
the SessionsChanged event doesn't work on recent Windows versions,
plus many players don't implement this API (eg: VLC, Windows Media).
2023-08-28 17:31:26 +00:00
Alexander Lohnau
cfde9ced77 Also use QLatin1String::arg in remaining places
This is more readable, slightly faster at runtime and results in a slightly smaller binary size
2023-08-28 17:20:46 +00:00
Alexander Lohnau
88d89e7211 Use std::unique_ptr for pimpl classes
This is consistent with what we do in frameworks
2023-08-28 17:20:46 +00:00
Alexander Lohnau
c3b4103d0c plugins/sftp: Do not use pimpl for d-ptr
This doesn't make sense, because it is a plugin class and not exported
2023-08-28 17:20:46 +00:00
Alexander Lohnau
a1a7e57011 Daemon: Do not return value by const ref
We operate on a QSharedData object and thus can trivially make a copy. We generally don't use use const refs as return values in KDE APIs unless there is a compelling reason to do so
2023-08-28 17:20:46 +00:00
Alexander Lohnau
890299943d KDEConnectPlugin: Remove Q_SLOTS for virtual methods
We call this as a normal method and don't need them exposed
2023-08-28 17:20:46 +00:00
Alexander Lohnau
16adb6a298 PluginLoader: Improve const corretness, remove unneeded qAsConst
Because they are member variables, we do not need qAsConst in a method that is declared as const
2023-08-28 17:20:46 +00:00
Alexander Lohnau
b70de1eb21 kcmplugin: Do not use d-ptr for trivial members that are fully qualified
Also, make this for the most part header only, because it is just a utility class.
We could make this entirely header only, but it is not worth it.
2023-08-28 17:20:46 +00:00
Alexander Lohnau
473589cd32 Networkpacket: Let Qt generate property setters
We don't need to call this explicitly, it is only called by assigning properties
2023-08-28 17:20:46 +00:00
Alexander Lohnau
13ff8832fb fileitemactionplugin: Use lambda connect to avoid ugly workarounds
Setting properties and using QObject::sender is quite ugly API and not needed in modern code
2023-08-28 17:20:46 +00:00
Alexander Lohnau
01300d8f47 kio: Use kcoreaddons_add_plugin and correct plugin path 2023-08-28 17:20:46 +00:00
Alexander Lohnau
7a5ca725fc kio: Remove empty string from listing array 2023-08-28 17:20:46 +00:00
Alexander Lohnau
69d6c17214 plugins: Use QLatin1String::arg for faster and simpler string concatination
Using an infix with .arg() is simpler than having two string literals
2023-08-28 17:20:46 +00:00
Albert Vaca Cintora
5e270fea2e Error checking 2023-08-28 17:08:18 +00:00
Aleix Pol Gonzalez
1b3e8db72f Fixes from code review 2023-08-28 17:08:18 +00:00
Albert Vaca Cintora
5e225a23cb Add MDNS e2e test 2023-08-28 17:08:18 +00:00
Albert Vaca Cintora
80c34b28ac Enable MDNS by default 2023-08-28 17:08:18 +00:00
Albert Vaca Cintora
bbfbd53123 Implement IP match function 2023-08-28 17:08:18 +00:00
Albert Vaca Cintora
b3ac0df630 Better handling of network changes for MDNS 2023-08-28 17:08:18 +00:00
Albert Vaca Cintora
3485e3aa44 Replace KDNSSD with mdns.h
KDNSSD only works with Avahi (so, only on Linux) while mdns.h is a
header-only library [1] that implements mdns from scratch and should
work on all platforms.

[1] https://github.com/mjansson/mdns
2023-08-28 17:08:18 +00:00
Albert Vaca Cintora
132ae2ca7c Remove unused stuff 2023-08-28 18:48:04 +02:00
l10n daemon script
ec22001648 GIT_SILENT Sync po/docbooks with svn 2023-08-28 02:06:40 +00:00