Commit graph

4294 commits

Author SHA1 Message Date
Jin Liu
93769a1161 applet: hide tray icon when device is paired but not connected
In this state, the user can do nothing in the applet. Hiding it
to unclutter the systray overflow.
2024-02-03 13:21:52 +08:00
l10n daemon script
f282e086c5 GIT_SILENT Sync po/docbooks with svn 2024-02-03 01:20:38 +00:00
l10n daemon script
eff8675e3c GIT_SILENT Sync po/docbooks with svn 2024-01-31 01:21:15 +00:00
l10n daemon script
15b97ac7a5 GIT_SILENT Sync po/docbooks with svn 2024-01-29 01:16:47 +00:00
l10n daemon script
9e699c3e54 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-01-29 01:11:56 +00:00
l10n daemon script
23e89f171f GIT_SILENT made messages (after extraction) 2024-01-29 00:37:34 +00:00
Prajna Sariputra
383ad27b59 [plugins/mousepad]: Add support for the persistence feature of the RemoteDesktop portal
This allows us to avoid asking the user for permission for remote control on Wayland every time kdeconnectd is restarted for whatever reason (for example logging out or rebooting), at least in theory. The idea is that the SelectDevices call now also accepts a restore token, and if the user grants permission to persist a restore token will be returned in the response of the Start call.

Currently https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/265 is required for this to work at all with Plasma 6, and even then persistence only works in the same session (for example if I restart kdeconnectd then I only get the notification instead of the permissions prompt), if I reboot the system then the token gets invalidated and the permissions dialog appears again, not sure if the issue is with what I'm doing here or if that's a bug in the portal.

Things that need to be checked:
- What happens if the portal implementation only has v1 of the protocol and not v2 (the one with persistence)?
  - In particular what happens for the SelectDevices call if a restore token is given despite the portal not supporting it
    - Seems fine with xdg-desktop-portal 1.14.4 at least 
  - For the Start call we'll need to handle the case of the user denying the persistence request anyway
- Where and how should the restore token be stored?
  - ~~I used KConfig just so I have something to test, but the restore token isn't really a setting~~
    - Updated to use `KSharedConfig::openStateConfig`
  - Most of KDE Connect's settings and data appear to be for each connected device
  - The device name is a global setting, but it's implemented using QSettings rather than KConfig, and currently only setName and getName is exposed in `core/kdeconnectconfig.h`


BUG: 479013
2024-01-28 14:00:05 +00:00
l10n daemon script
e19485088e GIT_SILENT Sync po/docbooks with svn 2024-01-23 01:18:10 +00:00
Nicolas Fella
2e99c37122 [plugins/telephony] Clear actions before creating new notification action
Otherwise we accumulate them

BUG: 479904
2024-01-22 13:52:18 +00:00
l10n daemon script
4a9a8ee883 GIT_SILENT Sync po/docbooks with svn 2024-01-22 01:28:04 +00:00
l10n daemon script
f5141bc818 GIT_SILENT Sync po/docbooks with svn 2024-01-19 01:19:05 +00:00
l10n daemon script
22a097198d 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-01-19 01:11:56 +00:00
Laurent Montel
9a2de928a1 Use StartupNotify now instead of X-KDE-StartupNotify 2024-01-18 07:33:29 +01:00
l10n daemon script
acf7bcc6f5 GIT_SILENT Sync po/docbooks with svn 2024-01-18 01:17:51 +00:00
l10n daemon script
066ed32719 GIT_SILENT Sync po/docbooks with svn 2024-01-15 01:18:43 +00:00
l10n daemon script
59dd54a115 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-01-15 01:13:08 +00:00
l10n daemon script
72f6a34fb2 GIT_SILENT made messages (after extraction) 2024-01-15 00:37:32 +00:00
l10n daemon script
479c4f7fd4 GIT_SILENT Sync po/docbooks with svn 2024-01-14 01:29:06 +00:00
l10n daemon script
ad23ac6b0d 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-01-14 01:12:55 +00:00
Albert Astals Cid
e9394e5436 GIT_SILENT Upgrade release service version to 24.04.70. 2024-01-11 21:31:35 +01:00
l10n daemon script
231abe1157 GIT_SILENT Sync po/docbooks with svn 2024-01-11 01:16:59 +00:00
l10n daemon script
7ed4aa8d13 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-01-11 01:11:49 +00:00
Yifan Zhu
784b2853ca Call signals instead of signal handlers
Directly calling signals is the supported way to send signals.
Calling signal handlers worked in the past, but will be phased out in
the future (https://bugreports.qt.io/browse/QTBUG-120573).
2024-01-10 22:24:02 +00:00
Nicolas Fella
3f97274b4a Fix loading settings 2024-01-10 23:21:31 +01:00
l10n daemon script
bbe066a31d GIT_SILENT Sync po/docbooks with svn 2024-01-10 02:13:15 +00:00
Nicolas Fella
42ce4764d2 [app] Fix plugin list
Filter out not loaded plugins

Fix loading the plugin components
2024-01-09 23:14:26 +01:00
Jonah Brüchert
aa09d338ee Improve display of devices in the drawer
BUG: 474453
2024-01-09 21:38:35 +00:00
Albert Astals Cid
5e694ded11 GIT_SILENT Upgrade release service version to 24.01.90. 2024-01-09 00:42:34 +01:00
l10n daemon script
9c4efadcfe GIT_SILENT Sync po/docbooks with svn 2024-01-08 02:15:29 +00:00
l10n daemon script
f0b5fb65fa 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-01-08 02:08:57 +00:00
Tobias C. Berner
e7fd4257bf Use pkg-configs imported target to link against DBus
To use -ldbus, the value of ${DBus_LIBARARY_DIR} would also need to be
added to the linker search paths.

To get around this, simply use the imported target by pkgconfig.

[1] b8b30ba571
2024-01-07 11:42:23 +01:00
l10n daemon script
55fe336ee4 GIT_SILENT Sync po/docbooks with svn 2024-01-07 02:41:40 +00:00
l10n daemon script
18ec597710 GIT_SILENT Sync po/docbooks with svn 2024-01-05 02:13:03 +00:00
l10n daemon script
43d01052c7 GIT_SILENT Sync po/docbooks with svn 2024-01-04 02:16:19 +00:00
l10n daemon script
d2f9e43b31 GIT_SILENT Sync po/docbooks with svn 2023-12-31 02:42:24 +00:00
Simon Redman
887d43f370 Reenable craft pipeline
After https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/755 and https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/756, the build passes!

Now we'll never* regress the craft packaging again!

*Warranty neither expressed nor implied
2023-12-30 14:38:17 +00:00
l10n daemon script
e14975c751 GIT_SILENT Sync po/docbooks with svn 2023-12-30 02:17:22 +00:00
l10n daemon script
1197e473f7 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-12-30 02:10:33 +00:00
Nicolas Fella
7c9032c85a Remove no longer needed kpeoplevcard dependency
Its functionality has been merged into KPeople
2023-12-29 14:49:21 +01:00
Andreas Sturmlechner
6e99c00d76
Drop obsolete QT_VERSION_CHECK ifdefs from code
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 19:18:02 +01:00
Andreas Sturmlechner
7ca32817f3 Drop KF5_REQUIRED_COMPONENTS
Only used once, so no need to keep as a variable.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:28 +01:00
Andreas Sturmlechner
79bc9a85e4 Cleanup all occurences of QT_MAJOR_VERSION in cmake
Follow-up to 7f03aa548c

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:07 +01:00
l10n daemon script
3ddf4dafa6 GIT_SILENT Sync po/docbooks with svn 2023-12-28 02:13:20 +00:00
l10n daemon script
46e808e076 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-12-28 02:06:08 +00:00
Alexander Lohnau
fd3de36d0b Do not rely on KIO source-code compat code
Instead, explicitly include the needed job headers

Needed for https://invent.kde.org/frameworks/kio/-/merge_requests/1525 to land
2023-12-27 14:37:29 +01:00
l10n daemon script
e9333dac25 GIT_SILENT Sync po/docbooks with svn 2023-12-26 02:10:36 +00:00
l10n daemon script
5476511e8b 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-12-26 02:06:05 +00:00
Nicolas Fella
61d6430cfc Fix displaying names in smsapp 2023-12-25 15:56:13 +00:00
Nicolas Fella
e6383a47ca Fix start dir for file dialog 2023-12-25 15:56:13 +00:00
Nicolas Fella
69a1d5ec6b Port to ecm_add_qml_module 2023-12-25 15:56:13 +00:00