Albert Vaca
2fdffd5cfd
Added a config dialog to pausemusic plugin
...
Before this it was not possible to change the pause condition (was a TODO).
2013-11-22 22:49:40 +01:00
Albert Vaca
958be9dc25
Added a TODO
2013-11-22 19:08:04 +01:00
Albert Vaca
17f8ebb686
Added standalone binary to run kdeconnect without kded
2013-11-18 03:31:59 +01:00
Albert Vaca
d782060b39
Code chages for compatibility with MSVC compiler
...
Thanks to Xiluembo
2013-11-18 02:34:34 +01:00
Albert Vaca
1bc4fcfa23
Ooops incorrect comparison
2013-11-18 02:34:17 +01:00
Mauro Panzeri
e77a2af07b
The battery percentage for low battery level is now signaled by the device
...
Added a field "thresholdEvent" to battery network packages.
REVIEW: 113835
2013-11-14 16:32:51 +01:00
l10n daemon script
7e270bbc80
SVN_SILENT made messages (.desktop file)
2013-11-11 04:03:02 +00: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
b1c8726cac
Refactor to remove code duplication in Device
2013-11-06 21:34:55 +01:00
Albert Vaca
2ca7436e2c
Device now reads and keeps the deviceType it receives in identityPackages
2013-11-06 21:34:55 +01:00
Albert Vaca
3d21b01da9
Wrong KdeConnect-SupportedPackageType in Notifications and Telephony
...
It was missing in the telephony plugin and had a typo in the notifications
one, so those plugins were not working in the 0.4 release!
2013-11-06 21:34:55 +01:00
Albert Vaca
52dceacd14
Trying to fix a crash in LanDeviceLink/SocketLineReader
...
ReadyRead is emitted more than once, and there is no data the second time
2013-11-06 21:34:54 +01:00
Albert Vaca
35d2f8472c
Added deviceType to the identity packages
...
This will tell if we are a phone, tablet, laptop or desktop
2013-11-06 21:34:54 +01:00
l10n daemon script
47f531c91d
SVN_SILENT made messages (.desktop file)
2013-11-04 04:01:00 +00:00
l10n daemon script
714867d01d
SVN_SILENT made messages (.desktop file)
2013-11-02 03:45:01 +00:00
Albert Vaca
5bbfcd860f
LanDeviceLink now waits to read an entire line before trying to read it
...
Packages always end in \n, so this way we make sure we have a complete
package to unserialize. Before this patch, some long packages that were
divided in chunks weren't received correctly.
2013-10-30 01:18:25 +01:00
Maksim Krylosov
cf503ec9c1
Added rewind and fast-forward to MPRIS controls
2013-10-29 20:17:42 +01:00
Albert Vaca
8361d7e42a
Increased pairing timeout time from 20 to 30 seconds
2013-10-29 17:46:57 +01:00
Albert Vaca
cf869dfd57
CMake now enforces QJson version 8.1 or greater
2013-10-29 17:46:57 +01:00
Aleix Pol Gonzalez
5e151d185e
Improved package dispatch to the different plugins
...
Before this patch, all plugins had to discard received packages that were
not for themselves. This could be a security problem (a plugin could sniff
other plugin's packages) and also adds some complexity and processing.
This patch makes the device instance aware of what services are required
by the different plugins and when a package is received the corresponding
plugins will get the package.
These services will be listed on the plugin's desktop file, so the user
can decide whether to enable a plugin.
Note that this only works for receiving, not sending.
REVIEW: 113210
2013-10-29 17:46:57 +01:00
Mauro Panzeri
63488781b9
Update device name on reconnection
...
Since the remote device can now change its name, re-read the device name from
the identityPackage
REVIEW: 113203
2013-10-29 17:46:57 +01:00
l10n daemon script
f68d336e88
SVN_SILENT made messages (.desktop file)
2013-10-18 04:20:52 +00:00
l10n daemon script
b27651e2e6
SVN_SILENT made messages (.desktop file)
2013-10-14 04:20:28 +00:00
Aleix Pol
83b7ac0aba
Add missing const on the plugin loader
2013-10-12 01:54:08 +02:00
Aleix Pol
faa3daa585
Code review
...
Fixes/adds some comments.
Proper use of some Qt API.
REVIEW: 113195
2013-10-11 15:20:04 +02:00
l10n daemon script
5119d17d6d
SVN_SILENT made messages (.desktop file)
2013-10-11 04:30:46 +00:00
l10n daemon script
eb346a6d61
SVN_SILENT made messages (.desktop file)
2013-10-07 04:10:17 +00:00
Albert Vaca
b5f2a3cb2c
Fixed compilation
...
Missing include file
2013-10-06 17:14:19 +02:00
Albert Vaca
9af0bc342d
LanDeviceLink now uses readLine instead of readAll
2013-10-05 17:20:13 +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
5cac14bc96
LanLinkProvider's onNetworkChange has no effect if onStop was called first
2013-10-05 15:56:06 +02:00
l10n daemon script
b56d14d3a1
SVN_SILENT made messages (.desktop file)
2013-10-02 04:17:40 +00:00
l10n daemon script
7c9bda8d59
SVN_SILENT made messages (.desktop file)
2013-10-01 04:24:39 +00:00
Albert Vaca
bf09a248db
Commented console json output
2013-10-01 03:26:34 +02:00
Albert Vaca
ddad10016e
Merge branch 'filetransfer-debug'
2013-10-01 03:20:29 +02:00
Albert Vaca
2054288cac
KCM updated when pairing state changes externally
...
Added an unpaired() signal to KDED's Device exported by dbus
2013-10-01 03:20:07 +02:00
Albert Vaca
2d065ab8f8
Commented LoopbackLinkProvider
...
It is confusing users
2013-10-01 03:19:38 +02:00
Albert Vaca
8f0e1a2279
Renamed plugin filetransfer -> sharereceiver
2013-10-01 03:12:32 +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
a06cf677f4
Added button to open incoming file transfer's folder in browser
2013-10-01 02:44:49 +02:00
Albert Vaca
4363ea8fdb
Device class now stores the protocolVersion of the device
2013-10-01 01:09:20 +02:00
l10n daemon script
f7bf963efe
SVN_SILENT made messages (.desktop file)
2013-09-27 04:29:59 +00:00
Albert Vaca
44f5c7093e
Finished implementing file transfer
...
Implemented support for text and url share
2013-09-27 03:01:13 +02:00
Albert Vaca
f53f70d7c4
Fixed file transfer
...
Apparently KIO is so dumb it can't create files
Also we have lots of commented qDebugs now
2013-09-27 00:01:59 +02:00
Albert Vaca
cfe13a739c
Changed QSharedPointer<QIODevice> to <QTcpSocket>
...
So we don't need a separate pointer.
2013-09-26 21:34:08 +02:00
Albert Vaca
2fd082f4a0
Includes and cmakelists cleanup
2013-09-26 17:49:40 +02:00
Albert Vaca
95ef31acea
Documentation
...
Added a README to each plugin explaining the content of the packages they
send and receive
Explained the format of encrypted packages.
2013-09-24 14:14:34 +02:00
Albert Vaca
4bd5d2e427
Payloads are now QSharedPointer<QIODevice> instead of QIODevice*
2013-09-24 14:13:02 +02:00
Albert Vaca
a53ec2a9ea
Notification Plugin can now receive payloads with the notification icon
2013-09-24 14:11:11 +02:00
Albert Vaca
e20adde7fd
Moved filetransferjob from filetransfer plugin to networkpackage
2013-09-24 14:10:25 +02:00
Albert Vaca
e86897cfe3
Fixed file transfer, added file size to protocol (optional)
...
Increased protocol version to 5
Updated README
2013-09-20 16:03:17 +02:00
Albert Vaca
cbe275106c
Added a qDebug with an error message in UploadJob
2013-09-20 16:03:17 +02:00
Albert Vaca
060addb881
qDebugs incorrectly placed
2013-09-20 16:03:17 +02:00
Albert Vaca
79a55d8ec0
Fixed landevice link not setting the payload to the proper package
...
Wrong variable name
2013-09-20 16:03:17 +02:00
Albert Vaca
ddbbafab63
Fixed crash
...
QIODevice was deleted when DownloadJob was autodeleted, causing dangling
pointers.
2013-09-20 16:03:17 +02:00
Albert Vaca
f8825e013e
KCM updated when pairing state changes externally
...
Added an unpaired() signal to KDED's Device exported by dbus
2013-09-20 16:03:17 +02:00
Albert Vaca
8883b2770e
Debugging filetransfer
2013-09-20 16:03:17 +02:00
l10n daemon script
28f00e0371
SVN_SILENT made messages (.desktop file)
2013-09-20 16:02:43 +02:00
l10n daemon script
40c6ed7388
SVN_SILENT made messages (.desktop file)
2013-09-20 16:02:11 +02:00
Albert Vaca
8e295ee364
Less verbosity: commented lots of QDebugs
2013-09-20 16:01:09 +02:00
l10n daemon script
a344022202
SVN_SILENT made messages (.desktop file)
2013-09-19 04:15:35 +00:00
Albert Vaca
158e32adcf
Debugging filetransfer
2013-09-16 15:21:22 +02:00
l10n daemon script
874ac43dab
SVN_SILENT made messages (.desktop file)
2013-09-15 04:17:17 +00:00
Albert Vaca
7d4143b944
First and untested implementation of payload transfer in LAN backend
...
Encryption not implemented yet for transfers, but should be easy to do
2013-09-14 17:30:12 +02:00
l10n daemon script
cc8261b849
SVN_SILENT made messages (.desktop file)
2013-09-14 04:02:16 +00:00
Albert Vaca
42e0b4a066
Moved cryptography layer down from Device to DeviceLink
...
DeviceLinks will need to know what they are sending and receiving to handle
payloads, so encryption can not happen above them.
2013-09-13 23:27:16 +02:00
Albert Vaca
d1f38a16b2
Fixed possible double-free crash
2013-09-13 21:20:23 +02:00
Simon Cadman
72db75e11b
SMS message notification didn't show any text
...
QString content was shadowing a previously declared variable
BUG: 324857
2013-09-13 19:30:36 +02:00
Tim Creech
817a6c8d3e
Didn't build on FreeBSD because it does not define SOL_TCP
...
Replaced SOL_TCP with getprotobyname("TCP")->p_proto
BUG: 324766
2013-09-13 19:30:36 +02:00
Simon Cadman
028fc30470
SMS message notification didn't show any text
...
QString content was shadowing a previously declared variable
BUG: 324857
2013-09-13 19:22:32 +02:00
Tim Creech
006a0b8dad
Didn't build on FreeBSD because it does not define SOL_TCP
...
Replaced SOL_TCP with getprotobyname("TCP")->p_proto
BUG: 324766
2013-09-13 19:22:32 +02:00
Albert Vaca
111ee7f054
First iteration of filetransfer plugin
...
Now it just downloads to the user desktop payloads received in packages
with type kdeconnect.filetransfer.
Added the package type define.
Created an an auxiliar QFile-like class with a small needed modification.
Added a commented test in the filetransfer plugin code (to be moved).
2013-09-10 19:01:46 +02:00
Albert Vaca
3cf3c54222
Fixed a bug that caused notification spam when a notification was updated
...
BUG: 324744
2013-09-10 15:37:35 +02:00
Albert Vaca
b61c518d52
Less verbosity: commented lots of QDebugs
2013-09-10 15:37:35 +02:00
Albert Vaca
50dc5be5df
Unused forward declaration
2013-09-10 15:37:35 +02:00
Albert Vaca
2106adaf3b
Incorrect include
2013-09-10 15:37:35 +02:00
Albert Vaca
7b01ce2d8a
Incorrect comments
2013-09-10 15:37:35 +02:00
Albert Vaca
5837fa15db
Fixed a bug that caused notification spam when a notification was updated
...
BUG: 324744
2013-09-10 15:33:35 +02:00
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
aa86ad5c3c
Less verbosity: commented lots of QDebugs
2013-09-09 18:28:52 +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
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
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