Simon Redman
900f5687bb
Revert changing "messageBody" field to "textMessage"
2020-10-09 00:27:33 +00:00
Doron Behar
6101ef3ad0
Fix missing kcm dependency for runcommand module
...
Without it, the build may fail with:
fatal error: kcmutils_version.h: No such file or directory
35 | #include <kcmutils_version.h>
| ^~~~~~~~~~~~~~~~~~~~
2020-10-08 21:59:17 +03:00
Thomas Staudinger
f1ce22124c
Fix kdeconnect_open MimeType
...
This changes the MimeType handler of the kdeconnect_open desktop file from an invalid "*/*" to the (hopefully) appropriate "application/octet-stream;" as discussed [here](https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400 )(including this solution), [here](https://github.com/clearlinux/distribution/issues/1906 ) and [here](https://bugs.archlinux.org/task/65865 ).
2020-10-05 00:20:47 +02:00
Albert Vaca Cintora
e05769e6de
Fix initial set of devices not being emitted in dbus
2020-10-02 12:52:08 +02:00
Albert Vaca Cintora
bd27aec9d2
Do not replace connections for a given deviceId if the certs have changed
...
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Albert Vaca Cintora
ce0f00fc2d
Limit the ports we try to connect to to the port range of KDE Connect
...
So we can't trigger connections to other services.
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Albert Vaca Cintora
613899be24
Do not remember more than a few identity packets at a time
...
To prevent the kdeconnect process from using too much memory.
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Albert Vaca Cintora
542d94a70c
Limit number of connected sockets from unpaired devices
...
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Aleix Pol
8112729eb0
Don't brute-force reading the socket
...
The package will arrive eventually, and dataReceived will be emitted.
Otherwise we just end up calling dataReceived to no end.
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Aleix Pol
024e5f23db
Do not let lanlink connections stay open for long without authenticating
...
If there's no information received, close the socket to try again.
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Aleix Pol
4fbd01a3d4
Limit identity packets to 8KiB
...
Healthy identity packages shouldn't be that big and we don't want to
allow systems around us to send us ever humongous packages that will
just leave us without any memory.
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Matthias Gerstner
7e47d04053
Fix use after free in LanLinkProvider::connectError()
...
If QSslSocket::connectToHost() hasn't finished running.
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Albert Vaca Cintora
aa84aa5dcb
Do not leak the local user in the device name.
...
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
Albert Vaca Cintora
7b904f47b3
Do not ignore SSL errors, except for self-signed cert errors.
...
Thanks Matthias Gerstner <mgerstner@suse.de> for reporting this.
2020-10-02 12:52:08 +02:00
l10n daemon script
be2d3947f1
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"
2020-09-29 06:04:37 +02:00
Simon Redman
8dd0111d99
[SMS App] Add thumbnail preview to ConversationList
2020-09-27 03:51:17 +00:00
Bharadwaj Raju
cb51cb4adf
Fix bug with use of drawer hiding when not wideScreen
...
Make drawer reappear when resized from narrow to wide screen if drawer
was closed in narrow mode.
2020-09-25 17:42:22 +05:30
l10n daemon script
120218b7c1
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"
2020-09-25 06:18:57 +02:00
Aleix Pol
bf089f3461
Remove unused variable
2020-09-24 18:31:11 +02:00
l10n daemon script
ff6663bdc9
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"
2020-09-21 06:00:14 +02:00
Nicolas Fella
4dec116edf
Use non-deprecated QProcess method
2020-09-19 15:26:39 +02:00
Carl Schwan
5d9dad3d7e
Remove hack introduced by previous commit
...
Instead of hardcoding font size, use default font size, this makes the
height of the Heading normal and don't overflow.
2020-09-19 14:59:35 +02:00
Carl Schwan
21f0227e06
Use Kirigami header in sidebar
2020-09-19 12:51:11 +00:00
l10n daemon script
e57fd79f26
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"
2020-09-19 06:10:24 +02:00
l10n daemon script
8a9fc9d7f8
GIT_SILENT made messages (after extraction)
2020-09-19 02:15:17 +02:00
l10n daemon script
b7bdc75ff9
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"
2020-09-17 06:15:05 +02:00
l10n daemon script
db5437ddbb
GIT_SILENT made messages (after extraction)
2020-09-17 02:22:06 +02:00
Aleix Pol
d4cf48901c
SocketLineReader: don't call packets bytes
2020-09-16 02:16:06 +02:00
Yuri Chornoivan
ba3c515148
Fix minor typo
2020-09-14 07:09:43 +03:00
Simon Redman
9b7572165a
[SMS App] Improve placeholder messages when the most-recent message has an attachment body
2020-09-12 21:42:47 -07:00
Nicolas Fella
64124fb30f
Fix fixing the windows build
2020-09-10 00:34:31 +02:00
Nicolas Fella
6a018fa2a6
Try to fix windows build
2020-09-10 00:24:36 +02:00
Nicolas Fella
400c800deb
[app] Add plugin settings page
...
Include a page that allows (de)selecting and configuring plugins
This is one of the last missing pieces for feature parity with the KCM.
2020-09-08 20:33:20 +02:00
Nicolas Fella
b88927a641
Drop empty X-KDE-PluginInfo-Depends
...
The whole concept is almost unused and there's no point in having it there but empty
See also https://phabricator.kde.org/T13553
2020-09-01 10:46:22 +00:00
Aniket Kumar
706fc314fb
Adding support to send attachments to the remote device.
2020-08-31 15:35:25 +05:30
Nicolas Fella
60a1adf229
[kio] Mark Class as local
...
This is needed for kioexec to work properly since we forward to a local file system
BUG: 413477
CCBUG: 425948
2020-08-30 23:45:43 +02:00
Nicolas Fella
ed91dfb1ec
[plugins/lockdevice] Port to use logind interface
...
KScreenLocker does not allow unlocking the screen via the screensaver interface by design (https://bugs.kde.org/show_bug.cgi?id=425616 ).
However it allows to do it via the logind interface, so let's use that here.
While at it also refactor the code and properly track and send the state, so the other device can show an appropriate label.
2020-08-28 11:58:22 +00:00
Aniket Kumar
f778fc932c
Updated kdeconnect-cli send-sms message to adapt sendSms interfce changes. This patch fixes the BUG: 425731
2020-08-28 11:53:50 +00:00
Nicolas Fella
f90d6a019f
Rework the battery plugin
...
Instead of having the DBus stuff in a separate class expose the plugin class itself like we do for the other plugins.
Replace the method-based API with properties.
Change the path to <device>/battery for consistency with other plugins
2020-08-27 15:04:40 +00:00
Aniket Kumar
e368dd4ab5
Implementing support to request and receive original attachment file from the remote device.
2020-08-23 17:43:22 +05:30
Philip Cohn-Cort
cfc29fafa6
Improve battery reporting reliability
2020-08-22 15:28:35 +00:00
Nicolas Fella
2a75eca869
Reload remote commands model when commands change
...
Most of that was already in place, just one signal wasn't wired correctly.
2020-08-22 00:50:05 +02:00
Richard Liebscher
8d16d05c8a
Custom devices
2020-08-18 21:55:24 +02:00
Roman Gilg
f953678e2e
Define content margins for settings app
...
The settings app is supposed to be used on its own. The buttons are without
any margins to the window border though (when borders are deactivated - the
default on Breeze).
Set the default layout margins to improve the look.
2020-08-18 13:27:12 +00:00
Piyush Aggarwal
1204da7944
add missing header to fix build with MSVC 14.27
2020-08-18 13:36:32 +05:30
Nicolas Fella
87db95b22f
Convert license headers to SPDX expressions
2020-08-17 09:48:10 +00:00
Nicolas Fella
950366092b
Remove modeltest
...
It's only a development tool and there's a more modern alternative: https://doc.qt.io/qt-5/qabstractitemmodeltester.html
2020-08-14 14:01:19 +02:00
l10n daemon script
250eebd0a5
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"
2020-08-13 06:05:06 +02:00
Nicolas Fella
dda590186e
Port away from KMimeTypeTrader
...
It is about to be deprecated
See https://phabricator.kde.org/T12177
2020-08-12 01:34:18 +02:00
Aniket Kumar
0b3d6bee85
Implementing Attachment class and adding support to display the thumbnails of attachments in QML.
2020-08-10 00:46:30 +05:30