Commit graph

373 commits

Author SHA1 Message Date
Albert Vaca
afc98679b3 Oops missing include 2013-09-03 02:33:50 +02:00
Albert Vaca
39550ff6ea Type was missing for identity packages
Added a test for it
2013-09-03 02:14:55 +02:00
Albert Vaca
9a0d110769 Removed unused includes and fixed indentation in some lines 2013-09-03 02:14:27 +02:00
Albert Vaca
da1347aaa1 Initializations should be in cpp file 2013-09-03 02:13:13 +02:00
Albert Vaca
935d91daf8 Fixed a crash in mpris plugin 2013-09-03 02:06:56 +02:00
Albert Vaca
22392a4917 Rename cmakemacros.txt -> macros.cmake 2013-09-02 14:47:37 +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
Albert Vaca
f59ab45644 Support encrypting strings longer than key.maximumEncryptSize()
Strings are divided in smaller chunks and serialized in an array
Added a test for this case
2013-09-02 03:17:23 +02:00
Albert Vaca
deeeb595b3 Implemented encryption in NetworkPackage using QCA2
Fixed some bugs in the pairing process state machine
Keys are now stored in base64 in KConfig (was storing non-allowed chars)
Updated NetworkPackage tests to include encryption
Increased networkpackage version 1 -> 2
2013-09-01 22:13:03 +02:00
Albert Vaca
13589dfc0f Ooops PER -> DER 2013-08-31 17:43:21 +02:00
Albert Vaca
b5a5416c19 Changed QSslKeys to QCA keys that will actually allow us to encrypt things 2013-08-31 13:04:00 +02:00
Albert Vaca
1604309ace Added symmetric pairing
A KNotification asks to accept the pairing when the other ends requests it
2013-08-30 19:10:43 +02:00
Albert Vaca
4eb5dda9c1 LoopbackDevice unserializes and serializes
This way the loopback backend is more similar to regular backends
2013-08-30 19:07:08 +02:00
Albert Vaca
0f2ec417ce Made "no devices" message more explicit 2013-08-29 14:02:39 +02:00
Albert Vaca
f340c0ca9f Tuned keepalive parameters
As seen here:
http://stackoverflow.com/questions/10445122/qtcpsocket-state-always-connected-even-unplugging-ethernet-wire
2013-08-29 03:48:49 +02:00
Albert Vaca
a6216e8a6c Changed icon too 2013-08-28 23:48:53 +02:00
Albert Vaca
520d776a47 LinkProviders cleanup 2013-08-28 23:47:39 +02:00
Albert Vaca
eef2bea161 Android Shine -> KDE Connect 2013-08-28 19:42:30 +02:00
Albert Vaca
802bb26a2c Fixed Q_ASSERT in model.
+ small change to the dimsiss buttons of the plasmoid
2013-08-28 19:33:46 +02:00
Albert Vaca
71f9f9dc07 Do not show notifications already present in the device as new 2013-08-22 04:39:04 +02:00
Albert Vaca
0ae7cdb950 Filter in DevicesModel was not initialized 2013-08-22 04:38:58 +02:00
Albert Vaca
fb606800c5 Not a stub anymore :) 2013-08-22 03:24:14 +02:00
Albert Vaca
8d40335182 First working implementation of notifications plasmoid
Some fixes to libkdeconnect models
Added slot connected() to plugins
2013-08-22 03:21:08 +02:00
Albert Vaca
60b3c3c1d4 Base source borrowed from device-notifier 2013-08-21 18:28:11 +02:00
Albert Vaca
1cb1b26415 Moved DevicesModel and DBusInterfaces to libkdeconnect
Added NotificationsModel to libkdeconnect
2013-08-21 18:25:44 +02:00
Albert Vaca
a58057118c Wrong copyright headers and other silly stuff 2013-08-20 14:05:22 +02:00
Albert Vaca
e91300d8e9 Ooops missing files from last commit 2013-08-20 13:55:03 +02:00
Albert Vaca
18b3945da0 Implemented notifications plugin
It exports a dbus interface to manipulate notifications
2013-08-20 13:53:36 +02:00
Albert Vaca
8627c8da51 Added a getter for dbus path in Device 2013-08-20 13:52:25 +02:00
Albert Vaca
40c4f1654b Oops 2013-08-20 13:50:55 +02:00
Albert Vaca
ff0591aecc Pings can now display custom messages
Probably pings should be disabled by default, could be a source of spam.
2013-08-19 17:24:58 +02:00
Albert Vaca
87141a344c Added loadedPlugins() method to Device
The method is exported to dbus
2013-08-18 20:27:25 +02:00
Albert Vaca
4408afece1 Fixed pausemusic plugin
PauseWhenRinging logic was wrong
Removed qDebugs
2013-08-18 20:25:31 +02:00
Albert Vaca
a1d396ad20 Error checking in KCM, in case KDED is not running
Added a dbus interface isValid check to prevent a crash.

BUG: 323653
2013-08-18 18:22:54 +02:00
Albert Vaca
d3aba3572b Code style fixes 2013-08-18 18:06:56 +02:00
Albert Vaca
0eb3f019c9 Minor changes 2013-08-16 09:27:32 +02:00
Albert Vaca
5f1c7b8c56 Removed unused variable and extra line breaks 2013-08-16 08:25:29 +02:00
Albert Vaca
f087871ee4 Added KStatusNotifierItem to NotificationsPlugin 2013-08-16 08:12:29 +02:00
Albert Vaca
46f2fcfbce Fixed crash due tu accessing already deleted link 2013-08-16 07:20:34 +02:00
Albert Vaca
907740196a Removed onConnectionLost from DeviceLinkProvider
(Connect to destroyed on DeviceLink instead)
Also, registering Device in dbus too soon fixed
2013-08-16 06:26:40 +02:00
Albert Vaca
986c49d326 Changed generic license headers 2013-08-16 06:23:54 +02:00
Albert Vaca
b30371d174 Telephony "notifications" are now called "events" 2013-08-16 06:23:03 +02:00
Albert Vaca
12c0c940a7 Bugfix: access by id caused removal of wrong link 2013-08-16 06:22:37 +02:00
Albert Vaca
046d01c16d Emit connectionLost *after* connectionReceived
To prevent destroying and recreating the same device again
2013-08-16 05:35:00 +02:00
Albert Vaca
f194ab9a52 Plugins are not loaded until a device is reachable 2013-08-16 01:01:58 +02:00
Albert Vaca
d4632b31cc Removed KStatusNotifier from telephonyplugin 2013-08-16 01:01:05 +02:00
Albert Vaca
04e1705697 Removed extra line breaks 2013-08-16 00:28:07 +02:00
Albert Vaca
d1658564f9 Sort devices by status in KCM.
Some coded added to keep the current selection when reordering.
2013-08-16 00:25:13 +02:00
Albert Vaca
05983267e3 Fixed KCM device list not being refreshed
When a the device visibilita changes
2013-08-15 22:45:33 +02:00