Commit Graph

163 Commits (b6eb839da417a24e749c22f0920fb9ad9b18cee3)

Author SHA1 Message Date
Simon Stürz b6eb839da4 Add missing pkgconfig 2022-03-18 15:14:08 +01:00
Simon Stürz d80a39b6d9 Add pkgconfig for nymea-remoteproxy development library 2022-03-18 15:04:46 +01:00
Simon Stürz 1c57db04f3 Make TCP default connection for clients 2022-03-09 17:33:57 +01:00
Simon Stürz 816111ddc7 Update package to packet 2022-03-09 17:09:12 +01:00
Simon Stürz 5d5f433b4f Use TCP as default transport layer for clients 2022-03-09 17:05:34 +01:00
Simon Stürz 45b1d4400f Update versioning and minor fixes 2022-03-09 16:38:24 +01:00
Simon Stürz 1c1231a926 Fix issue #25 remote proxy tests for Qt > 5.12 2022-02-15 17:33:46 +01:00
Simon Stürz accb6ec166 Introduce ping for keeping the connection alive 2022-02-03 10:28:13 +01:00
Simon Stürz 1ca3119995 Extend monitor and add test script for connections 2022-01-11 09:01:54 +01:00
Simon Stürz 97514a9504 Fix multiple remoe connected changed signals even if not changed 2021-12-20 15:43:15 +01:00
Simon Stürz 32c33ec23f Fix reconnect to tunnel proxy and improve framing 2021-12-20 13:50:31 +01:00
Simon Stürz b865b9903a Fix other potential crashes in tunnel proxy server 2021-12-20 09:05:56 +01:00
Simon Stürz 56536d93cd Fix crash in case the client could not be created 2021-12-20 09:05:56 +01:00
Michael Zanetti 7235a132b7 Drop redundant api which also wasn't working
The issue was that stateChanged() was emitted, and only after that m_remoteConnected being set to true.
This resulted in nymea-app to try and send the Hello call right on the connected and the proxy lib would
bail out saying that the remote is not connected yet.

I started to fix it, but realized that state already has StateRemoteConnected, so this is really
just a duplicate without any additional value.
2021-12-17 17:54:01 +01:00
Simon Stürz 99bf634990 Add state method for remote connection class 2021-08-16 12:17:06 +02:00
Simon Stürz b8079cad41 Add state method for remote connection class 2021-08-16 12:15:57 +02:00
Simon Stürz 23462e194e Add tunnel proxy statistics and fix typo 2021-08-16 07:41:54 +02:00
Simon Stürz 7161cfe795 Fix meta object declaration for tests 2021-08-12 14:21:05 +02:00
Simon Stürz 6c355b4c43 Update clients for tcp 2021-08-12 13:57:35 +02:00
Simon Stürz 3eb247e652 Fix client test applications and implement tunnel client utils 2021-08-12 10:27:28 +02:00
Simon Stürz 6d4ff26481 Fix common include and libnymea-remoteproxyclient dev package 2021-08-05 16:38:29 +02:00
Simon Stürz f4b5fba91d Work on ssl socket fixes 2021-08-05 15:52:03 +02:00
Simon Stürz b9ebc345a5 Finish and test first working tunnel proxy connection 2021-08-04 13:05:37 +02:00
Simon Stürz 30d6a9dd43 First working connection mechanism for tunnel proxy 2021-08-03 19:52:00 +02:00
Simon Stürz 8f9bdcce13 Start implementing client library tunnel classes 2021-07-30 18:35:54 +02:00
Simon Stürz f0cdb2706b Prepare client library for tunnel proxy 2021-07-30 13:12:42 +02:00
Simon Stürz 56d32bed2b Add server and client registration and prepare client data multiplexing 2021-07-29 19:04:44 +02:00
Simon Stürz 3174387e96 Do not print all debug categories in tests 2021-07-29 11:49:11 +02:00
Simon Stürz 24e7c2983f Abstract transport interface client and restructure client classes 2021-07-29 11:38:55 +02:00
Simon Stürz acd48bf7bf Restructure the project and introduce the new tunnel proxy 2021-07-28 14:55:18 +02:00
Simon Stürz ec011a8962 Update remote proxy version to 0.2.0 2021-07-27 11:51:30 +02:00
Simon Stürz a1da55b92f Update install paths and copyright license headers 2021-07-27 11:49:46 +02:00
Simon Stürz 4c0f6b6401 Fix tcp tests 2021-07-27 11:31:50 +02:00
Simon Stürz e902f46fd4 Fix inline comments for data buffer size violation and remove uneccesary critical debugs 2021-07-27 11:25:06 +02:00
Simon Stürz b91f89fea2 Add TCP to Websocket test and new coverage report script 2021-07-27 11:25:06 +02:00
Simon Stürz b49a9767c7 Fix package fragmentation in TCP server and client 2021-07-27 11:25:06 +02:00
Simon Stürz 52ce0b5084 Fix tests and improve proxy client handling in authentication and json layer 2021-07-27 11:25:06 +02:00
Simon Stürz 8fff4c6685 Add tcp/ssl socket server and prepare tests 2021-07-27 11:21:33 +02:00
Simon Stürz deaec8be40 Add tcp server basic structure 2021-07-27 11:21:33 +02:00
Simon Stürz 9fd2a3440f Add insecure websocket support and start with tcp server support 2021-07-27 11:21:33 +02:00
Simon Stürz df5a240189 Add flush and abort to each socket close call 2021-07-27 11:20:34 +02:00
Simon Stürz bdda8da803 Fix tunnel debug print and use client id instead of uuid 2021-07-27 11:20:34 +02:00
Simon Stürz 8ff19135d6 Disable tests for default build 2021-07-27 11:20:34 +02:00
Simon Stürz 5ccb84d173 Add tunnel debug category for cleaner log reading 2021-07-27 11:20:34 +02:00
Simon Stürz 5175052ab3 Add tests to debian packaging script 2021-07-27 11:16:53 +02:00
Simon Stürz 4262e6eb9f Replace internal logging filter with service logging configuration file 2021-07-27 11:16:53 +02:00
Simon Stürz fcd0e7c105 Add logging file configuration and close sockets on error 2021-07-27 11:16:53 +02:00
Jenkins nymea f5b5bb030d Jenkins release build 0.1.14 2021-05-19 18:25:05 +02:00
Jenkins nymea 7d4042a56f Merge PR #21: Make it build with gcc 10 and Ubuntu 21.04 2021-05-19 18:25:05 +02:00
Michael Zanetti bcd0c5c0f6 Make it build with gcc 10 and Ubuntu 21.04 2021-05-12 15:42:27 +02:00