Maciek Borzecki
4b11424310
mconn-crypt: m_conn namespace changed to mconn
Part of namespac cleanup work.
9 years ago
Maciek Borzecki
fc8a663b72
devicechannel: setup TCP keepalive
Use TCP keepalive for detecting of connection goes offline in a more
reliable manner.
9 years ago
Maciek Borzecki
ac41b8e463
devicemanager: known device cache
Keep track of known device and dump their info to cache. This should
speed up reconnect after restarting mconnect. The rationale is that the
devices are likely to be connected to to the local network and use
DHCP and as such will most probably get the same address the next time
they appear. Hence, it should be ok to attemp connection the last know
IP address. If that fails, the discovery process will still take place.
10 years ago
Maciek Borzecki
3ee3af41fe
core: helper to get path to cache directory
10 years ago
Maciek Borzecki
25d1f6a83d
core: use APP_NAME when getting user directories
10 years ago
Maciek Borzecki
e4d57eff5c
notification: keep track of shown notifications
Currently notifications shown so far are not tracked, thus often it
happens that multiple notifications regarding the same topic appear,
where only one should be shown. The change adds tracking of
notifications being shown within the Notification class.
Notifications cleared by user will be re-shown if device pushes them
again.
10 years ago
Maciek Borzecki
3437a33399
notification: add time to ticker
If no time was provided in original message, use local time
10 years ago
Maciek Borzecki
9009707254
telephony: add current time to notification
10 years ago
Maciek Borzecki
b8ffa0fe6e
device: some comments
10 years ago
Maciek Borzecki
94441d1ec4
device: move cleanup after channel is closed to single place
10 years ago
Maciek Borzecki
435ab1e3ac
devicechannel: receive() will catch all IOErrors internally
10 years ago
Maciek Borzecki
addf64d24d
devicemanager: print message that device got disconnected
10 years ago
Maciek Borzecki
5253bb9570
device: make sure to set the host if activating from device
10 years ago
Maciek Borzecki
13dde93eaa
device: do not use host address for detecting changed location
Whenever a mobile device wakes up, it will send an identity packet from
the same IP, using different 'tcpPort' in the message. This should
prevent device from being closed and reconnected to too frequently.
10 years ago
Maciek Borzecki
b047b98a81
device: clear host address on disconnect
10 years ago
Maciek Borzecki
f31bdf1012
device: incorrect channel null check
10 years ago
Maciek Borzecki
7c3dc91074
devicechannel: check if streams are non null before calling close()
10 years ago
Maciek Borzecki
e3cdb01398
device: use async DeviceChannel.open()
10 years ago
Maciek Borzecki
695de9b06d
devicechannel: detect connection close
10 years ago
Maciek Borzecki
576c91add0
devicechannel: log message in dispose
10 years ago
Maciek Borzecki
cf99693038
devicechannel: replace connected() signal with async open() method
10 years ago
Maciek Borzecki
908203adc9
config: pick up fallback config file from system data dirs
10 years ago
Marco Trevisan (Treviño)
2cd456ccb4
MConnCrypt: fix docstring return type on decrypt
10 years ago
Maciek Borzecki
6e20af99e6
telephony: use phone icon in notifications
10 years ago
Maciek Borzecki
e95355b8ca
notification: use phone icon in notifications
10 years ago
Maciek Borzecki
f7bca80a29
notification: ignore cancelled notifications
10 years ago
Maciek Borzecki
0698107d11
devicemanager: check if device is allowed before activation
10 years ago
Maciek Borzecki
212059761e
main: enable debuging if enabled in config file
10 years ago
Maciek Borzecki
8350fe58d0
core: load configuration
10 years ago
Maciek Borzecki
0c5eeec84e
config: configuration wrapper
10 years ago
Maciek Borzecki
ee2a2a936e
notification: check errors in showing notification
10 years ago
Maciek Borzecki
36bb41d082
telephony: check errors in showing notification
10 years ago
Maciek Borzecki
ff855cf052
devicechannel: check for decryption errors
10 years ago
Maciek Borzecki
8b0ea8373e
devicechannel: remove unneeded try/catch
10 years ago
Maciek Borzecki
f59bd1f092
devicechannel: check errors when closing
10 years ago
Maciek Borzecki
585ef84379
telephony: make string array const to avoid C warning
10 years ago
Maciek Borzecki
37665daa44
device: explicitly call begin on async methods
10 years ago
Maciek Borzecki
dd1bc95c99
devicechannel: explicitly call begin on async methods
10 years ago
Maciek Borzecki
52c6266ec0
main: logging enabled from command line
10 years ago
Maciek Borzecki
8f97a0cde1
core: keep porgram data in user data dir
10 years ago
Maciek Borzecki
146bf24eda
device: use local host and user names in identity
10 years ago
Maciek Borzecki
6aa46d0d3b
discovery: nice logging
10 years ago
Maciek Borzecki
76b4d6300a
packethandlers: add telephony plugin
10 years ago
Maciek Borzecki
13fdf78c8c
main: init libnotify
10 years ago
Maciek Borzecki
d71140308c
telephony: telephony packet handler
10 years ago
Maciek Borzecki
9a6bb27844
notification: produce a shell notification
Should display a shell notification. Skips notification from dialer,
these will likely be taken care of with telephony plugin.
10 years ago
Maciek Borzecki
e30585f981
battery: log message with info
10 years ago
Maciek Borzecki
658914b509
devicemanager: handlers to use the device when paired is complete
10 years ago
Maciek Borzecki
71a94c3f20
packethandlers: helper to have all handlers use the device
10 years ago
Maciek Borzecki
a1d63da60a
device: assume already paired when device sends non pair packets
10 years ago