Aleix Pol
|
426bf2a105
|
Merge branch '1.0'
|
2016-08-08 19:39:21 +02:00 |
|
Aleix Pol
|
91f952f5f1
|
Fix test
Use the right port
Store the port in a public variable, so it can be used from the test.
|
2016-08-08 19:38:58 +02:00 |
|
Albert Vaca
|
50496a3442
|
Reverted change that introduced a crash.
If there are ssl erros with unpaired devices, link was null.
This reverts commit 7da30ddbb1 .
|
2016-08-03 22:01:04 +02:00 |
|
Albert Vaca
|
2cdf7d5499
|
Reduced logging
|
2016-07-12 12:49:21 +02:00 |
|
Albert Vaca
|
7da30ddbb1
|
Use the pairing handler instead of accessing the device directly on error
|
2016-07-12 12:34:56 +02:00 |
|
Albert Vaca
|
5933c6810c
|
More unused includes cleanup
|
2016-07-05 14:27:53 +02:00 |
|
Albert Vaca
|
9c736583e2
|
Use the actual connection origin, so we don't keep all connections open.
|
2016-07-05 12:42:39 +02:00 |
|
Albert Vaca
|
385bf77480
|
Fixed bug which didn't allow to pair a new device
|
2016-07-04 19:52:37 +02:00 |
|
Albert Vaca
|
04713de718
|
Remove qdebugs
|
2016-06-26 15:48:37 +02:00 |
|
Albert Vaca
|
01139d31d1
|
De-duplicated socket SSL configuration code
|
2016-06-22 14:27:09 +02:00 |
|
Albert Vaca
|
e880e14ed5
|
Preffer Q_FOREACH to foreach
|
2016-06-21 14:50:17 +02:00 |
|
Albert Vaca
|
c4d7c2f39b
|
Improved comments
|
2016-06-17 02:00:23 +02:00 |
|
Albert Vaca
|
e379fcd69d
|
Destroying a socket should not destroy the link.
Also, sockets can be destroyed as soon as the socketreader is deleted.
|
2016-06-17 02:00:23 +02:00 |
|
Albert Vaca
|
91c23dfdea
|
Do not compare against the current version of the protocol
|
2016-06-16 19:48:23 +02:00 |
|
Albert Vaca
|
cb0fd1fe20
|
Removed a case where we would still add a link on old protocol versions
|
2016-06-15 20:38:57 +02:00 |
|
Albert Vaca
|
3177143439
|
Fixed build on windows
|
2016-06-09 02:36:02 +02:00 |
|
Albert Vaca
|
7a0bb09353
|
Make sure we don't broadcast more than once at the same time.
Race conditions might happen because two links will be created.
|
2016-06-02 12:18:51 +02:00 |
|
Albert Vaca
|
7a67274a18
|
Fixed memory leak.
|
2016-06-02 12:17:07 +02:00 |
|
Albert Vaca
|
5654300249
|
Removed logs
|
2016-05-31 20:09:52 +02:00 |
|
Vineet Garg
|
b96227ae75
|
Changed protocol version to TLS 1.0, as TLS 1.2 not supported on many Android device
Choosing cipher suites manually, same as of Android
|
2016-04-30 20:39:34 +05:30 |
|
David Kahles
|
abc5fa3c56
|
Remove second UDP socket in LanLinkProvider
We don't need two sockets for reading and writing.
REVIEW: 127769
|
2016-04-28 00:19:20 +02:00 |
|
Albert Vaca
|
78d4ba2106
|
Cleanup
|
2016-03-08 07:29:34 -08:00 |
|
Albert Vaca
|
ff9775e1c9
|
Better logging of what's going on
|
2016-03-07 16:01:44 -08:00 |
|
Albert Vaca
|
8f9fde8f40
|
Fixed crash when pairing old Android apps.
|
2016-03-02 16:38:03 -08:00 |
|
Albert Vaca
|
ebd429629a
|
Fixed unpairs never being sent
|
2016-03-02 16:17:38 -08:00 |
|
Albert Vaca
|
aa4150f0c9
|
Moved ConnectionStarted from DeviceLink to LanDeviceLink
|
2016-01-10 07:12:13 -08:00 |
|
Albert Vaca
|
2aca5ca11e
|
Added error message when trying to pair older devices
|
2015-12-17 09:24:34 -08:00 |
|
Albert Vaca
|
7ed012e4a5
|
Fixed broadcast
|
2015-12-17 08:59:08 -08:00 |
|
Albert Vaca
|
918bb82ffa
|
Do not store certificate and key in landevicelink
The socket already stores the certificate, and the public key is only used
in the sftp plugin, so it should be moved there or dropped.
|
2015-12-17 07:46:13 -08:00 |
|
Albert Vaca
|
4c84499e6a
|
Don't addLink twice for the same link
|
2015-12-17 07:44:29 -08:00 |
|
Albert Vaca
|
af43a21864
|
Propagate pairingError
|
2015-12-17 06:53:29 -08:00 |
|
Albert Vaca
|
49a24c258b
|
Fixed crash
|
2015-12-17 05:54:24 -08:00 |
|
Albert Vaca
|
813c9fedb3
|
Calling setDeviceLink in pairing handler is not required anymore
Since we re-use the same device link object forever now
|
2015-12-17 04:41:53 -08:00 |
|
Albert Vaca
|
ddca4d6d63
|
Store and restore certificate and public key in lan link
|
2015-12-17 04:41:10 -08:00 |
|
Albert Vaca
|
79a8103120
|
Added some asserts
|
2015-12-10 19:06:55 -08:00 |
|
Albert Vaca
|
2e4c3762e9
|
Re-use landevicelink objects instead of re-creating one each time
|
2015-12-10 17:11:48 -08:00 |
|
Aleix Pol
|
d69cdce4c1
|
Make sure incoming Lan pair packages are processed by the LanPairHandler
|
2015-12-06 02:12:29 +01:00 |
|
Aleix Pol
|
e10b2e80c9
|
Propagate pairing errors
|
2015-12-06 01:51:53 +01:00 |
|
Aleix Pol
|
90c8f588bc
|
Only respond to local broadcasts
|
2015-12-06 01:19:55 +01:00 |
|
Aleix Pol
|
69d899ed48
|
Only broadcast when the newly reported configuration is actually active
|
2015-12-06 01:19:20 +01:00 |
|
Albert Vaca
|
03926cc3bf
|
WIPx4
|
2015-12-02 11:04:35 -08:00 |
|
Albert Vaca
|
af5be6e9e0
|
Added a test mode to lanlinkprovider
Should fix tests when you run them on networks with real kdeconnects
running.
|
2015-12-02 09:49:00 -08:00 |
|
Albert Vaca
|
cf6cbd2925
|
WIPx3!
|
2015-12-01 10:45:14 -08:00 |
|
Albert Vaca
|
82bc73dd9b
|
WIPx2
|
2015-12-01 07:25:34 -08:00 |
|
Albert Vaca
|
16f9af908a
|
WIP
|
2015-11-30 10:36:01 -08:00 |
|
Aleix Pol
|
5e0a7a34b9
|
Merge branch 'master' into ssl
# Conflicts:
# cli/kdeconnect-cli.cpp
# core/backends/lan/landevicelink.cpp
# core/backends/lan/landevicelink.h
# core/backends/lan/lanlinkprovider.cpp
# core/backends/lan/lanlinkprovider.h
# core/backends/lan/socketlinereader.h
# core/backends/lan/uploadjob.cpp
# core/backends/lan/uploadjob.h
# core/backends/loopback/loopbackdevicelink.h
# core/daemon.cpp
# core/daemon.h
# core/device.cpp
# core/device.h
|
2015-09-11 17:25:23 +02:00 |
|
Patrick von Reth
|
da5c9bd30e
|
Fix compilation on Windows.
|
2015-09-10 15:51:38 +02:00 |
|
Aleix Pol
|
4cccb7344a
|
++verbosity on error
|
2015-09-09 20:12:16 +02:00 |
|
Aleix Pol
|
26b0ec8b98
|
Make sure we don't disconnect from discovering remotes
Otherwise it's hard to let other devices connect to us, without having both
devices in discoverability mode.
Reviewed by Albert Vaca
|
2015-09-09 13:01:38 +02:00 |
|
Aleix Pol
|
e1be5319f5
|
Only broadcast again if the network configuration actually changes
Reviewed Albert Vaca
|
2015-09-08 09:05:06 +02:00 |
|