Aleix Pol
11996f56ca
Drop dependency of KIO from kdeconnectcore
...
Use QNetworkAccessManager for storing the files we receive instead of
directly KIO, then provide the KIO-based QNetworkAccessManager from the
daemon. This way we'll still get the KIO network-transparency, but the
library only depenends on QtNetwork, which will be easier to get in some
platforms.
After this change, we only depend on KConfig, KI18n and KCoreAddons, which
are tier1 and really easy to work with on any platform.
REVIEW: 123325
2015-05-05 01:07:29 +02:00
Aleix Pol
e34a29103c
Define interface name on the leaf class
...
Otherwise it uses org.kde.kdeconnect.DesktopDaemon and signals are not
properly propagated.
2015-04-29 02:25:49 +02:00
l10n daemon script
aa91c6bbd6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-10 10:24:31 +00:00
l10n daemon script
8349588c77
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-06 09:54:12 +00:00
Lasse Liehu
f9d1584dd8
Fix translation domain to match the generated pot file
...
In Messages.sh the name was kdeconnect-kded.pot.
2015-04-04 20:10:19 +03:00
l10n daemon script
8e729f3ab2
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-04 11:03:11 +00:00
l10n daemon script
ff9d6b336b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-03 10:36:58 +00:00
l10n daemon script
cda092d2bb
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-31 13:16:15 +00:00
l10n daemon script
92cd693566
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-29 09:58:52 +00:00
l10n daemon script
98bb1ee564
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-27 09:50:58 +00:00
l10n daemon script
2cb090d2c9
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-26 10:12:56 +00:00
l10n daemon script
08eaaf11e1
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-25 09:09:47 +00: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
l10n daemon script
d1d2677746
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-23 04:18:37 +00:00
l10n daemon script
c66fe08382
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-22 04:16:27 +00:00
l10n daemon script
4060e048f5
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-21 04:21:58 +00:00
l10n daemon script
f8ba80c7f3
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-20 04:31:37 +00:00
Albert Vaca
a3decd542c
Includes cleanup
2015-03-13 21:20:58 -07:00
Aleix Pol
2c612479fe
Drop unneeded dependency in the daemon
2015-03-04 22:26:34 +01:00
Albert Vaca
18ba161f17
Fully replaced KDED for autostart + dbus activation, so we work outside KDE
2015-02-23 22:12:45 -08: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
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
71f9f9dc07
Do not show notifications already present in the device as new
2013-08-22 04:39:04 +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
1cb1b26415
Moved DevicesModel and DBusInterfaces to libkdeconnect
...
Added NotificationsModel to libkdeconnect
2013-08-21 18:25:44 +02:00
Albert Vaca
a58057118c
Wrong copyright headers and other silly stuff
2013-08-20 14:05:22 +02:00
Albert Vaca
e91300d8e9
Ooops missing files from last commit
2013-08-20 13:55:03 +02:00
Albert Vaca
18b3945da0
Implemented notifications plugin
...
It exports a dbus interface to manipulate notifications
2013-08-20 13:53:36 +02:00
Albert Vaca
8627c8da51
Added a getter for dbus path in Device
2013-08-20 13:52:25 +02:00
Albert Vaca
40c4f1654b
Oops
2013-08-20 13:50:55 +02:00
Albert Vaca
ff0591aecc
Pings can now display custom messages
...
Probably pings should be disabled by default, could be a source of spam.
2013-08-19 17:24:58 +02:00
Albert Vaca
87141a344c
Added loadedPlugins() method to Device
...
The method is exported to dbus
2013-08-18 20:27:25 +02:00
Albert Vaca
4408afece1
Fixed pausemusic plugin
...
PauseWhenRinging logic was wrong
Removed qDebugs
2013-08-18 20:25:31 +02:00
Albert Vaca
d3aba3572b
Code style fixes
2013-08-18 18:06:56 +02:00
Albert Vaca
0eb3f019c9
Minor changes
2013-08-16 09:27:32 +02:00
Albert Vaca
5f1c7b8c56
Removed unused variable and extra line breaks
2013-08-16 08:25:29 +02:00
Albert Vaca
f087871ee4
Added KStatusNotifierItem to NotificationsPlugin
2013-08-16 08:12:29 +02:00
Albert Vaca
46f2fcfbce
Fixed crash due tu accessing already deleted link
2013-08-16 07:20:34 +02:00
Albert Vaca
907740196a
Removed onConnectionLost from DeviceLinkProvider
...
(Connect to destroyed on DeviceLink instead)
Also, registering Device in dbus too soon fixed
2013-08-16 06:26:40 +02:00
Albert Vaca
b30371d174
Telephony "notifications" are now called "events"
2013-08-16 06:23:03 +02:00
Albert Vaca
12c0c940a7
Bugfix: access by id caused removal of wrong link
2013-08-16 06:22:37 +02:00
Albert Vaca
046d01c16d
Emit connectionLost *after* connectionReceived
...
To prevent destroying and recreating the same device again
2013-08-16 05:35:00 +02:00
Albert Vaca
f194ab9a52
Plugins are not loaded until a device is reachable
2013-08-16 01:01:58 +02:00
Albert Vaca
d4632b31cc
Removed KStatusNotifier from telephonyplugin
2013-08-16 01:01:05 +02:00
Albert Vaca
05983267e3
Fixed KCM device list not being refreshed
...
When a the device visibilita changes
2013-08-15 22:45:33 +02:00
Albert Vaca
f28088c915
Telephony plugin was missing the factory macros
...
+ Removed qdebug messages from ping plugin
2013-08-15 22:28:35 +02:00
Albert Vaca
4aac44801f
KCM icon, name and other texts changed
2013-08-15 21:59:19 +02:00
Albert Vaca
d32a667f04
Telephony and pausemusic plugins now use kdeconnect.telephony packages (need changes in the Android code to work)
2013-08-14 06:46:24 +02:00
Albert Vaca
3d6178ae95
Fixed loopback link provider
2013-08-14 03:10:38 +02:00
Albert Vaca
df6c2f8604
Added a note to plugins that are not working yet
2013-08-14 01:37:13 +02:00
Albert Vaca
0f38eb34a4
Fixed crash: OMG QDbusAdaptors can not be removed!
...
Added a fixme for future reference
reloadPlugins() now recycles plugins already present
Lots of debug messages and minor changes added trying to fix the bug
2013-08-14 01:35:12 +02:00
Albert Vaca
2a1996cbf7
Oops, that didn't even compile
2013-08-14 00:18:32 +02:00
Albert Vaca
132804835c
Added stubs for futurible plugins
2013-08-14 00:09:46 +02:00
Albert Vaca
2727148a35
Ooops, missing modified file
2013-08-14 00:09:05 +02:00
Albert Vaca
dcb722b50c
Changed telephony plugin icon
2013-08-14 00:05:36 +02:00
Albert Vaca
d868211229
Migrated battery plugin to new format
...
Added notification when battery is low (untested!)
Added intial battery status request
2013-08-14 00:03:46 +02:00
Albert Vaca
16a18c3f30
Fixed warning and remove debug message
2013-08-13 23:26:42 +02:00
Albert Vaca
925e3abb3e
Migrated notifications to new plugin format. Now it is called 'telephony plugin' because we will have a different plugin for notification syncing
2013-08-13 23:26:09 +02:00
Albert Vaca
238d81a408
Changing dbus interface to improve communication with kcm and the solid backend
2013-08-13 23:23:32 +02:00
Albert Vaca
8481a91057
Migrated clipboard plugin to new format
2013-08-13 15:48:41 +02:00
Albert Vaca
049c708743
Mpris plugin to new format +commited missing files
...
Added files missing from previous commits (KDevelop git support fault :)
Fixed includes in linkprovider.h
Added icons to plugins
2013-08-13 06:35:58 +02:00
Albert Vaca
a062c68848
TODO: Add icon suport for KCM
2013-08-13 06:13:04 +02:00
Albert Vaca
031f769ff6
Migrated PauseMusic to new plugin format
2013-08-13 06:09:14 +02:00
Albert Vaca
8c3056a286
Oops fixed crash introduced in previous commit
2013-08-13 06:03:12 +02:00
Albert Vaca
ac7f4d0618
Disable sending packages to untrusted devices
2013-08-13 05:40:39 +02:00
Albert Vaca
c9e67f3cf0
Support for X-KDE-PluginInfo-EnabledByDefault
2013-08-13 05:37:36 +02:00
Albert Vaca
7e8f31b4be
Ooops
2013-08-13 05:15:57 +02:00
Albert Vaca
37de0654df
Rename PackageInterface -> Plugin
2013-08-13 05:14:46 +02:00
Albert Vaca
88fab1f333
Plugins are now owned by devices and not by daemon
...
Plugins can no longer emit networkpackages for *every* device.
Plugins are stored in device, wich selectively loads them.
A Device is needed in order to instantiate a Plugin (via PluginLoader)
PluginLoader is a singleton, because every instance of Device need it.
Added KPluginSelector in the KCM to select the plugins to load.
Added architecture explanation to README
Only PingPlugin is working by now.
2013-08-13 05:07:32 +02:00
Albert Vaca
9b7eecc69d
Moved plugins into separate folders and added KServiceTypeTrader
2013-08-12 16:09:52 +02:00
Albert Vaca
9022823aef
Improved MPRIS controls.
...
MPRIS now uses xml dbus interfaces-
MPRIS now detects when properties like volume or playbas status change.
Link providers now emit connectionLost and connectionReceived, like in Android.
Disabled connection notifications.
Added some missing const modifiers.
2013-08-10 05:21:55 +02:00
Albert Vaca
fc3e2eff1d
Dynamic tcp port change when bind fails
2013-08-08 04:11:20 +02:00
Albert Vaca
003052093d
Don't show connection notifications for unpaired devices
2013-08-07 19:15:53 +02:00
Albert Vaca
0336ae75de
Bugfixing
2013-08-07 13:40:39 +02:00
Albert Vaca
d340df1e6e
Uuids were invalid dbus paths, modifying them to make dbus happy
2013-08-07 11:45:24 +02:00
Albert Vaca
e6dfaa5916
Added BroadcastTcpLinkProvider
2013-08-07 11:29:56 +02:00
Albert Vaca
936d843194
Changed sms notification message
2013-08-01 02:32:43 +02:00
Albert Vaca
2c1d63bf4d
Added multi-device support for mpris, and current track reporting
2013-07-30 20:21:06 +02:00
Albert Vaca
7b0bbebc02
First implementation of the mpris control packageinterface
2013-07-29 18:43:13 +02:00
Albert Vaca
3eb6ecaa3f
Implemented batterypackageinterface
...
Fixed CMake macro
2013-07-28 22:00:45 +02:00
Albert Vaca
43932a4300
Added battery reporting via dbus interface
2013-07-26 16:21:19 +02:00
Albert Vaca
d48b8f145b
Call notifications now show 'unknown number' instead of nothing when receiving a private call
2013-07-25 18:18:50 +02:00
Albert Vaca
ee7f6b0c6d
Fixed cmakelists bug that made necessary to run make without -j
...
Using a nicer dbus syntax in pausemusicpackageinterface
2013-07-25 17:04:58 +02:00
Albert Vaca
ba129a1542
PauseMusicPackageInterface now supports MPRIS
...
Other small improvements
2013-07-24 23:51:06 +02:00
Albert Vaca
54de8fa2fa
Android: Uses Apache Mina to abstract socket management
...
KDE: Housekeeping
2013-07-24 18:42:33 +02:00
Albert Vaca
8751345575
Some bugs fixed and sockets keepalive enabled
2013-07-23 20:22:38 +02:00
Albert Vaca
30b920b9a1
Added clipboard sync
...
Merged "package emitters" and "package receivers" in "package interfaces"
2013-07-23 17:50:09 +02:00
Albert Vaca
7ef29fdd69
Implemented bi-directional communication using tcp.
2013-07-23 16:11:54 +02:00
Albert Vaca
acadeef76d
Rewritten old package emitters and receivers using the new package format
...
Splitted up ping receiver from notification receiver in KDE
Improved pausemusic receiver
Fixed same computer being discovered multiple times
Fixed some other minor bugs and compilation warnings
2013-07-04 19:17:22 +02:00
Albert Vaca
fa3e0145ad
Package version checks
2013-07-04 14:31:47 +02:00
Albert Vaca
17d0fd4902
Added unit tests for n tests for networkpackage serialization
2013-07-04 03:34:35 +02:00
Albert Vaca
b1e4e2d836
New networkpackage format and serialization using qjson and qvariantmap (and templates fun)
2013-07-04 01:09:49 +02:00
Albert Vaca
975892dcd0
Yet another refactor, mostly moving code from from daemon class to device class
...
Device now has a public dbus interface
Removed wizard from kcm: now the main list shows all the devices and you can pair/unpair using a checkbox
Both Kde and Android now use unique device ids
2013-07-03 03:52:44 +02:00
Albert Vaca
213e8ea9ad
Fixed android app bug
2013-07-02 15:22:05 +02:00
Albert Vaca
669edf8ea5
It even works now
2013-07-02 02:46:41 +02:00
Albert Vaca
5fbd33e8c5
Implemented communication wizard -> kcm
...
Renamed androidshine -> kdeconnect
2013-07-02 01:50:32 +02:00
Albert Vaca
5027b7ee8e
Device listing in kcm
2013-06-27 14:33:51 +02:00
Albert Vaca
1bdd3eb97b
Basic communication between daemon and wizard
2013-06-27 02:26:06 +02:00
Albert Vaca
800de8836f
DBus communication working
2013-06-25 21:19:17 +02:00
Albert Vaca
df12667f10
Fixed cmake build
2013-06-25 18:43:54 +02:00
Albert Vaca
3ff7779c7c
Ooops
2013-06-25 18:08:34 +02:00
Albert Vaca
55eacba63b
Dbus interface work in progress
2013-06-25 18:06:51 +02:00
Albert Vaca
6e53c5b9c7
KCM skeleton
2013-06-19 16:15:25 +02:00
Albert Vaca
392e010a30
Housekeeping
2013-06-19 13:29:24 +02:00