Commit graph

19 commits

Author SHA1 Message Date
Albert Vaca
830dd34402 PrivateKey field in KConfig is now PrivateKeyPath
It was causing errors on pre-existent installations, that used the field
as if it contained the key.

Relaxed permissions check, as it was silently return if they were wrong
and this is very confusing for a user (that should open the log to see the
error)
2014-01-23 21:00:24 +01:00
Samoilenko Yuri
b0c9f48efc QObject parent semantic in Device 2014-01-23 02:31:27 +04:00
Samoilenko Yuri
5ee45bce45 kded_kdeconnect splitted to module and daemon
kded_kdeconnect KDEDModule is a very simple daemon manager now, which allow to start/stop/restart
real daemon.

kdeconnectd is almost unmodified implementation of Daemon class wrapped with main() and QCoreApplication.
2014-01-17 17:58:53 +04:00
Samoilenko Yuri
599efe541c bugfixes 2014-01-17 00:47:21 +04:00
Samoilenko Yuri
b1de40d29e PrivateKey management refactored
- privateKey now stored in ~/.kde4/apps/kdeconnect/key.pem
 - publicKey now stored in ~/.kde4/apps/kdeconnect/key.pub
 - Daemon checks right permission(very strict) when starting

Testing needed :)
2014-01-16 20:36:05 +04:00
Albert Vaca
3073e66bb3 Daemon devices() can now filter by visible and/or paired
visibleDevices() is not needed anymore and has been removed
2014-01-16 12:14:05 +01:00
Albert Vaca
17f8ebb686 Added standalone binary to run kdeconnect without kded 2013-11-18 03:31:59 +01:00
Albert Vaca
6e5de6f437 qDebug -> kDebug with namespaces
Added 3 namespaces: kdeconnect_kded, kdeconnect_kcm and libkdeconnect
2013-11-06 22:16:55 +01:00
Albert Vaca
b5f2a3cb2c Fixed compilation
Missing include file
2013-10-06 17:14:19 +02:00
Albert Vaca
fc45b64362 Added check for RSA support in QCA.
It was crashing KDED for some users when not present.
2013-10-05 15:56:07 +02:00
Albert Vaca
2d065ab8f8 Commented LoopbackLinkProvider
It is confusing users
2013-10-01 03:19:38 +02:00
Albert Vaca
920d945a5d ProtocolVersion is read for already known devices too
It might have changed since last connection, so we don't store it
2013-10-01 03:11:22 +02:00
Albert Vaca
2fd082f4a0 Includes and cmakelists cleanup 2013-09-26 17:49:40 +02:00
Albert Vaca
91949acaa5 Refactor: Moved devicelinks and linkproviders to backends 2013-09-09 18:35:56 +02:00
Albert Vaca
aa86ad5c3c Less verbosity: commented lots of QDebugs 2013-09-09 18:28:52 +02:00
Albert Vaca
88e9666029 Incorrect comments 2013-09-08 19:05:27 +02:00
Albert Vaca
161ec366cc Using PEM format instead of Base64 encoded DER for the keys. 2013-09-03 16:01:28 +02:00
Albert Vaca
892385f3fc Simplified NetworkPackage format
Now protocol version is only sent once (in the identity package)
Removed "isEncrypted" bit, using type "kdeconnect.encrypted" instead.
NetworkPackage's decrypt and unserialize return false when find problems
Updated tests.
2013-09-02 13:26:26 +02:00
Albert Vaca
36e5d41811 Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
Renamed from daemon/daemon.cpp (Browse further)