Richard Liebscher
f1b3c0e0ca
Better device name in Sailfish OS
2020-08-02 19:19:27 +00:00
Richard Liebscher
f3656d962c
Save changed device name and type
2020-08-02 18:34:02 +02:00
Nicolas Fella
9277cc537a
Implement basic device type detection
2020-04-24 12:24:56 +00:00
Nicolas Fella
eac1e07e29
Revert "Make default name and device type customizable"
...
This causes a crash described in https://invent.kde.org/kde/kdeconnect-kde/-/merge_requests/206#note_37534
This reverts commit a39a2d562d
.
2020-03-21 21:13:41 +01:00
Richard Liebscher
a39a2d562d
Make default name and device type customizable
2020-03-01 20:55:40 +00:00
Nicolas Fella
39fe270cd1
Port Kdeconnectconfig to reference based singleton
...
It's more expressive in the sense that it makes clear that the user should not delete the object
2019-09-08 17:09:52 +02:00
Nicolas Fella
0d7c504cf0
Rename DbusHelper => DBusHelper
2019-08-14 17:36:19 +02:00
Piyush Aggarwal
ccc8bb8a0e
Split config issue fix for Win32 build
2019-08-01 14:01:50 +00:00
Weixuan Xiao
4f4b6c309f
Allow to use private DBus
2019-06-18 01:21:31 +00:00
Nicolas Fella
e601755644
Force usage of QStringLiteral and port remaining offenders
2019-06-10 14:40:28 +00:00
Nicolas Fella
2b7026fc10
Fix daemon's error handling
2019-05-13 22:35:25 +00:00
Albert Vaca Cintora
5ddaadd471
More logging and remove redundant check as per CR
2019-05-09 00:03:59 +02:00
Albert Vaca
3fc7df550b
Better error handling when loading cert and key
...
BUG: 405207
2019-05-09 00:03:59 +02:00
Nicolas Fella
3b8fedea1a
Replace http GNU urls with https
2019-03-23 17:29:26 +01:00
Nicolas Fella
23703423fb
Coding style
2018-12-25 01:52:16 +01:00
Nicolas Fella
a45921685b
Extract code to methods
2018-12-25 01:42:42 +01:00
Nicolas Fella
8f16c3fd9a
Remove unneeded methods
...
Remove unneeded declaration
2018-12-25 00:58:03 +01:00
Albert Vaca
b9932769c9
Fix env variable on Windows
2018-11-20 21:49:46 +01:00
Yuri Chornoivan
5fe74ce041
Fix minor EBN issues and typos
2018-10-07 21:23:20 +03:00
Albert Vaca
f47f517827
Rename NetworkPackage -> NetworkPacket
...
Summary: KDE Connect, now with correct naming!
Test Plan: It still builds.
Reviewers: #kde_connect, apol, nicolasfella
Reviewed By: #kde_connect, apol, nicolasfella
Subscribers: nicolasfella
Differential Revision: https://phabricator.kde.org/D11036
2018-03-05 20:03:23 +01:00
Jean Vincent
72535ecf48
Make member variable names, & placement and * placement more coherent
...
Summary:
Change all member variables to the form m_fooBar because it is the preferred form in Qt (it was half and half between this and mFooBar, and a minority didn't have anything).
Place all references and pointers on the side of the type since it is the majority.
Basically:
- mFoo -> m_foo
- foo -> m_foo (if it is a member variable)
- Type &ref -> Type& ref
- Type *ptr -> Type* ptr
Reviewers: #kde_connect, nicolasfella, albertvaka
Reviewed By: #kde_connect, nicolasfella, albertvaka
Subscribers: albertvaka, #kde_connect
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D7312
2017-09-03 21:45:08 +02:00
Albert Vaca
83c250e9f1
Trust the name stored in the certificate
...
Having a separate copy of it in the config leads to them not being in sync
BUG: 381542
2017-07-14 00:19:26 +02:00
Albert Vaca
b7bb8d94c5
Fixed QStrings not being passed by ref
2016-11-26 16:36:34 +01:00
Albert Vaca
60331ccbf1
Clazy says all this QStringLiteral and QLatin1String were missing/wrong
2016-11-26 16:21:29 +01:00
Albert Vaca
7638683c85
Print a qCritical in addition to showing a notification
2016-11-24 15:11:30 +01:00
Albert Vaca
f61dde5bbb
Use different files instead of different groups
2016-09-19 13:35:03 +02:00
Albert Vaca
54801aac3b
Use a new config group so we don't conflict with older versions' config
2016-08-25 18:06:01 +02:00
Aleix Pol
86b086e392
Make warnings actual warnings
2016-06-22 16:31:01 +02:00
Aleix Pol
bfd698af36
Fix issues detected by clazy
...
Don't use for(:) on Qt containers. It detaches without need.
2016-06-20 19:22:29 +02:00
Albert Vaca
78d4ba2106
Cleanup
2016-03-08 07:29:34 -08:00
Albert Vaca
b1ef3f9fc9
Use a different key for settings, so we don't clash with older versions.
2016-03-02 15:36:45 -08:00
Albert Vaca
16f9af908a
WIP
2015-11-30 10:36:01 -08:00
Albert Vaca
30d2dd991b
Merge branch 'master' into sslmaster
2015-11-30 03:40:07 -08:00
Aleix Pol
4730022810
Pass arguments as const-reference
2015-09-12 09:45:59 +02:00
Vineet Garg
78e9c08732
Merge branch 'master' into ssl
...
Conflicts:
core/backends/lan/socketlinereader.h
core/backends/lan/uploadjob.h
core/networkpackage.h
2015-08-25 03:43:41 +05:30
Boris Egorov
1924173df2
Fix various krazy2 warnings
...
Fix following krazy2 warning types:
[explicit], [endswithnewline], [doublequote_chars], [includes], [normalize],
[postfixop], [spelling]
See http://ebn.kde.org/krazy/reports/playground/base/kdeconnect-kde/index.html
for details.
SLOT/SIGNAL normalization done with Qt normalize utility:
https://github.com/qtproject/qtrepotools/tree/master/util/normalize
REVIEW: 124857
2015-08-21 22:38:54 +06:00
Vineet Garg
9bc93b6337
We generate certificate from present date -1 year to present date + 10 year, this avoids the case where certificate is not valid due to difference of time zones
2015-08-14 17:50:58 +05:30
Vineet Garg
6acb4204a2
Added KdeConnectConfigTest, TestSslSocketLineReader, LanLinkProviderTest
2015-08-12 23:42:27 +05:30
Vineet Garg
2824e73617
Pairing handler implemented
2015-07-27 20:58:58 +05:30
Vineet Garg
eda2563d03
Fixed encryption info in cli
2015-07-19 20:25:28 +05:30
Vineet Garg
20e46418ba
Encryption info in cli
2015-07-18 18:54:10 +05:30
Vineet Garg
e6da860fb7
Fixed issues pointed out on CR
2015-07-14 17:34:04 +05:30
Vineet Garg
781adac15b
Removed whitespace
2015-07-13 19:55:22 +05:30
Vineet Garg
148a713176
Initial working implementation of ssl
2015-07-05 18:53:53 +05:30
Yuri Chornoivan
0452839893
Add missing spaces
2015-03-25 19:46:29 +02:00
Aleix Pol
8f777040f7
Remove KNotifications dependency from libkdeconnectcore
...
Moves the implementation into the actual daemon. This opens the
possibility for different ways to expose these notifications depending on
where the libkdeconnect will be deployed.
REVIEW: 123076
2015-03-24 12:26:37 +01:00
Ashish Bansal
6b4d5be618
Used QSettings instead of KConfig in KdeConnectSettings
...
REVIEW: 122936
2015-03-15 19:31:01 -07:00
Albert Vaca
02a2990720
Added a baseclass for the plugins' KCMs and a class for the plugins' config
...
Centralizing the plugins' config will ensure that all the plugins store it
the same way (ie: not in random files scattered around, like until now).
The base KCM class, together with the already existing base plugin class,
will give easy access to all the plugins to this centralized config. Also,
now the settings are not shared across devices (that is: every device can
have different config for a same plugin).
Note: This commit requires KCMUtils 5.9
REVIEW: 122927
2015-03-13 21:22:21 -07:00
Albert Vaca
549f4c0815
KdeConnectConfig now displays initialization errors as notification
...
NOTE: This patch requires KNotifications 5.9
2015-03-13 21:20:58 -07:00
Aleix Pol
463aa0cbf9
Prefer using QCoreApplication to using QApplication
...
Just checking if we can get rid of QtWidgets dependency on core,
eventually
2015-03-04 22:29:04 +01:00