Commit graph

3897 commits

Author SHA1 Message Date
Albert Vaca
6a1c01bfeb Added hasPayloadTransferInfo to NetworkPackage
Will be useful for devicelinks other than loopbackdevicelink
2013-09-09 22:51:34 +02:00
Albert Vaca
13dcd01819 Added some comments and todos 2013-09-09 22:50:27 +02:00
Albert Vaca
2625150b68 Fixed bug where more than one loopbackdevicelink was created 2013-09-09 22:28:18 +02:00
Albert Vaca
91949acaa5 Refactor: Moved devicelinks and linkproviders to backends 2013-09-09 18:35:56 +02:00
Albert Vaca
e1c749e33d Added a payload field to networkpackage, protocol version increased to 4
It will be used to attach files to packages when devicelinks support it
2013-09-09 18:30:44 +02:00
Albert Vaca
40944cf944 Include clean-up 2013-09-09 18:29:24 +02:00
Albert Vaca
aa86ad5c3c Less verbosity: commented lots of QDebugs 2013-09-09 18:28:52 +02:00
Albert Vaca
14b35e05d3 Plasmoid settings show kcm 2013-09-09 18:24:32 +02:00
Albert Vaca
5abcb7cd66 Removed letsgo script as it was confusing users 2013-09-08 19:26:13 +02:00
Albert Vaca
b92ceadb34 Unused forward declaration 2013-09-08 19:07:09 +02:00
Albert Vaca
988fa537df Incorrect include 2013-09-08 19:06:13 +02:00
Albert Vaca
88e9666029 Incorrect comments 2013-09-08 19:05:27 +02:00
Albert Vaca
a9113e9604 Changed plasmoid description
Old text was a stub :P
2013-09-06 21:14:20 +02:00
Albert Vaca
8390a62de6 Prettifying plasmoid
Text is no longer over the dismiss button but wrapped in two lines
2013-09-06 21:12:14 +02:00
Albert Vaca
fe6a0a8978 Ooops not compiling again 2013-09-04 23:04:11 +02:00
Albert Vaca
0ff5600ce2 i18n 2013-09-04 21:19:02 +02:00
Albert Vaca
d4ce9bac9c Removed unused notifications 2013-09-04 19:42:32 +02:00
Albert Vaca
8309879a19 Removed unused add device wizzard 2013-09-04 19:37:58 +02:00
Albert Vaca
682db437ca Ooops compilation was broken! 2013-09-04 16:40:57 +02:00
Albert Vaca
be45c577ef Added RequestedByPeer status to the state machine 2013-09-03 22:11:13 +02:00
Albert Vaca
402564733f Fixed too early assignment 2013-09-03 19:14:33 +02:00
Albert Vaca
e59b94f03d Simplified unpair logic 2013-09-03 19:14:11 +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
2a55be4a32 Found a bug, added a FIXME because I do not have time for it 2013-09-03 02:35:08 +02:00
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