Commit graph

1933 commits

Author SHA1 Message Date
David Faure
b255574746 Port kdeconnect's kioslave to UDSEntry::fastInsert.
This requires KF 5.48, released in July 2018.
2019-07-20 18:46:33 +02:00
David Faure
8f1660d580 Port away from QString::null 2019-07-20 18:36:47 +02:00
Fabian Vogt
f765ffb186 Add detectPlatform to always use wayland in a wayland session
Summary:
It's possible that Qt uses the xcb platform by default even in a Wayland
session, so detect such cases and switch to wayland instead to enable
proper support for remote input. Copy code from libkworkspace to not
introduce a dependency.

Test Plan: Started kdeconnectd, uses wayland platform now. Remote input works.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D22562
2019-07-19 19:56:49 +02:00
l10n daemon script
086ceb6140 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"
2019-07-10 08:44:47 +02:00
Pino Toscano
9f82fdc7fd i18n: fix extraction of nautilus extension
There are only Python sources, so set the language of xgettext to
Python.
2019-07-05 09:55:28 +02:00
l10n daemon script
e8459aeca8 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"
2019-07-05 08:31:03 +02:00
l10n daemon script
1c5b3d3bab 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"
2019-06-23 18:40:03 +02:00
l10n daemon script
41ef07492d 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"
2019-06-21 08:51:08 +02:00
l10n daemon script
bc7de626b6 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"
2019-06-18 08:48:58 +02:00
Nicolas Fella
05b34fdcf5 Don't update new notifications 2019-06-17 23:29:44 +02:00
Nicolas Fella
f64bc76f8b Install desktop file for kdeconnectd
Fixes displayed appname in job notifications
2019-06-13 16:14:31 +02:00
l10n daemon script
e1df67e878 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"
2019-06-09 08:22:23 +02:00
Nicolas Fella
f79a1c1c6d [sftp] Fix error message wording 2019-06-06 00:48:02 +02:00
Nicolas Fella
b6231f1218 Change plugin name 2019-06-06 00:47:46 +02:00
Nicolas Fella
201bb400da [sftp] Give better error messages for common errors 2019-06-06 00:47:37 +02:00
Nicolas Fella
d1b20be4ec [sftp] Improve error reporting 2019-06-06 00:47:00 +02:00
Heiko Becker
9898735959 Use KAboutData to set information about the daemon
Summary:
I noticed this when the daemon crashed and drkonqi refused to submit
a bug report, complaining about a missing bug reporting address.
Additionally, using KAboutData also saves initialising some
properties of QCoreApplication manually.

Test Plan:
sent SIGSEGV to kdeconnect, could've reported the crash
with drkonqi; checked with GammaRay that the properties of
QCoreApplication are initialised.

Reviewers: #kde_connect

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D18542
2019-06-06 00:44:06 +02:00
Nicolas Fella
095560f0be Disable session management 2019-06-05 20:39:09 +02:00
Nicolas Fella
377f478aeb Print socket error when connection fails 2019-06-05 20:38:50 +02:00
Nicolas Fella
781c0004b8 [kio] Mount device during stat if necessary 2019-06-05 20:38:13 +02:00
Nicolas Fella
e4d81ff97b add --replace option to kdeconnectd 2019-06-05 20:38:00 +02:00
Nicolas Fella
a28059315e [backends/lan] Don't fail silently when a UDP packet could not be unserialized 2019-06-05 20:28:36 +02:00
Nicolas Fella
ef78640caf Fix crash in daemon 2019-06-05 20:27:03 +02:00
l10n daemon script
3e20e0ec22 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"
2019-05-26 08:22:00 +02:00
l10n daemon script
7779292a82 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"
2019-05-25 08:42:30 +02:00
Nicolas Fella
c2a663691b Simplify notification handling
Summary:
Use QPointer for KNotification
Use ready signal for signalling updates

BUG: 400010

Test Plan: Spawned some notifications

Reviewers: #kde_connect, broulik, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D18354
2019-05-21 20:02:29 +02:00
l10n daemon script
2cff3fb405 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"
2019-05-08 08:49:45 +02:00
l10n daemon script
27179256fc 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"
2019-05-06 08:50:21 +02:00
l10n daemon script
3cdd01261a 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"
2019-05-04 08:50:26 +02:00
l10n daemon script
746e5c7eeb 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"
2019-05-01 09:04:39 +02:00
l10n daemon script
1d55c781fe 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"
2019-04-22 08:58:58 +02:00
l10n daemon script
87a8d00ddd 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"
2019-04-20 09:03:25 +02:00
l10n daemon script
24fce12387 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"
2019-04-16 09:03:15 +02:00
Nicolas Fella
08fd50931b Don't show multiple windows when replying to a notification 2019-04-14 19:08:25 +02:00
l10n daemon script
3cb491041a 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"
2019-04-10 09:15:30 +02:00
l10n daemon script
2fc026b60d 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"
2019-04-08 08:42:38 +02:00
l10n daemon script
7de69a1a27 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"
2019-04-04 09:01:28 +02:00
l10n daemon script
6789967721 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"
2019-04-03 09:05:03 +02:00
l10n daemon script
80183cda73 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"
2019-04-02 09:00:27 +02:00
l10n daemon script
6ecad4d8b8 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"
2019-04-01 08:54:49 +02:00
l10n daemon script
b72a3e53f6 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"
2019-03-31 09:30:09 +02:00
l10n daemon script
b24927a04f GIT_SILENT made messages (after extraction) 2019-03-31 08:28:57 +02:00
Nicolas Fella
f1b717e78f Bump version for release 2019-03-23 22:41:34 +01:00
Nicolas Fella
25a0045587 Fix build 2019-03-23 22:29:16 +01:00
Nicolas Fella
188adfbee7 Always play when call ended
Summary:
When the music is resumed during the call it was paused again when the call ends

Bug: 400787

Test Plan: Get called, resume music during call, check state after call

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16809
2019-03-23 22:13:40 +01:00
Nicolas Fella
a4aef73312 [cli] Show all reachable devices
Summary:
Devices that were reachable but not paired were not shown. This makes it impossible to initiate paring

BUG: 402088

Test Plan:
Have a unpaired device reachable. Without the patch kdeconnect-cli -l does not show it. With the patch it is shown

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17788
2019-03-23 22:13:28 +01:00
Nicolas Fella
573ac40809 [sftp] Also report desktop side errors via KIO 2019-03-23 22:12:37 +01:00
Nicolas Fella
576d0fc566 [sftp] Get device ID from URL 2019-03-23 22:11:31 +01:00
Matthijs Tijink
a2c6f0a806 Retry the network packet if it failed to unserialize
This happens if the network packet is big enough to not transfer in one
go.
2019-03-23 22:11:20 +01:00
Nicolas Fella
6a44902425 Fix sending keys via CLI 2019-03-23 22:11:05 +01:00