365 Commits

Author SHA1 Message Date
Simon Stürz
f02a9fcdd4 add bluetooth manager 2019-04-02 01:02:45 +02:00
Simon Stürz
19d8f8d4d7 migrate avahi broser resource 2019-04-02 01:02:45 +02:00
Simon Stürz
66b537cadc Continue migrating hardware resources 2019-04-02 01:02:45 +02:00
Simon Stürz
ac436b0751 continue migrate to hardwaremanager 2019-04-02 01:02:45 +02:00
Simon Stürz
039619ccfd introduce hardwaremanager and remove BLUETOOTH_LE ifdef 2019-04-02 01:02:45 +02:00
Michael Zanetti
6dc15c611b fix some leaks in avahi 2019-04-02 01:02:45 +02:00
Michael Zanetti
520a39a1a7 fix reloading of supported devices when language changes 2019-04-02 01:02:45 +02:00
Simon Stürz
39c7d9b0a1 Add update server name for avahi txt record 2019-04-02 01:02:45 +02:00
Michael Zanetti
949583ed93 introduce "Traffic" and "Debug" categories and change command line parsing to allow override -p 2019-04-02 01:02:45 +02:00
Michael Zanetti
0f262116b6 implement node js bridge, mostly working, some issues still 2019-04-02 01:02:45 +02:00
Michael Zanetti
de40dbd55f cache supported devices map instead of re-parsing it all the time 2019-04-02 01:02:45 +02:00
Simon Stürz
225ff90c7d reenable debug output 2019-04-02 01:02:45 +02:00
Simon Stürz
1766cec6b6 clean up debug outputs 2019-04-02 01:02:45 +02:00
Simon Stürz
74397da6c1 add state/calendarItem/event tests 2019-04-02 01:02:45 +02:00
Michael Zanetti
87af2e1843 more interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti
d0231d5cdd some more work on interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti
7aa6ab2795 make it build in jessie again 2019-04-02 01:02:45 +02:00
Michael Zanetti
a22d220cb7 add interface for notifications, finish param checking implementation 2019-04-02 01:02:45 +02:00
Michael Zanetti
b0d707080b fix snappy settings file path 2019-04-02 01:02:45 +02:00
Simon Stürz
2d53d3dc83 fix houskeeping of ruleengine 2019-04-02 01:02:45 +02:00
Simon Stürz
d2bfd0e11f add default webinterface path for snap environment
fix settings path double slash
2019-04-02 01:02:45 +02:00
Simon Stürz
900f409485 add avahi colition handling 2019-04-02 01:02:45 +02:00
Michael Zanetti
ac0c035566 add some housekeeping 2019-04-02 01:02:45 +02:00
Michael Zanetti
daf8f4533f make the devicemanager save all the states (unless opted out in plugin.json) 2019-04-02 01:02:45 +02:00
Michael Zanetti
3b42d16777 prevent auto devices from being manually removed, allow plugins to remove them again 2019-04-02 01:02:45 +02:00
Michael Zanetti
921c13c656 add sslEnabled flags to avahi txt record, fix something in avahi :D 2019-04-02 01:02:45 +02:00
Simon Stürz
07e2b87665 prevent double shotdown 2019-04-02 01:02:45 +02:00
Michael Zanetti
4beb296439 autogenerate the "index" property to not bother the plugin developer with it 2019-04-02 01:02:45 +02:00
Michael Zanetti
1451ba9a46 fix crash if a JsonReply times out but we still get a result afterwards 2019-04-02 01:02:45 +02:00
Simon Stürz
028b21fcb8 fixing translation path for snap packages 2019-04-02 01:02:45 +02:00
Michael Zanetti
d74f208a30 fix broadcast of UPnP information
also fixes a Unexpected null receiver warning which might happen now
because of the timing of various deleteLater() calls on disconnect
2019-04-02 01:02:45 +02:00
Michael Zanetti
101ddc2331 read proper settings in upnpdiscovery 2019-04-02 01:02:45 +02:00
Michael Zanetti
66870dccfe add support for auto generated self-signed certificates for SSL encryption 2019-04-02 01:02:45 +02:00
Michael Zanetti
08727a07ba Added API authentication 2019-04-02 01:02:45 +02:00
Michael Zanetti
2677ad0afd fix some more paths 2019-04-02 01:02:45 +02:00
Michael Zanetti
1c35e6be59 drop todo which is actually done now 2019-04-02 01:02:45 +02:00
Michael Zanetti
4fc0ef01fa add a test 2019-04-02 01:02:45 +02:00
Michael Zanetti
f48a1d185b add docs for interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti
37f2e47ca5 make this static, not needed for every plugin 2019-04-02 01:02:45 +02:00
Michael Zanetti
ce3a21bd4e revert unneeded change 2019-04-02 01:02:45 +02:00
Michael Zanetti
85c96f6b4f revert change in devicemanager 2019-04-02 01:02:45 +02:00
Michael Zanetti
45caf66851 initial work on interfaces
have some interfaces defined and in use by DeviceManager and the API.
this can be used to build first prototypes in apps using the interfaces
stuff. Currently the lights interfaces are mostly defined and fully
implemented by the Hue plugin.

TODO: more interfaces to be defined, make more plugins follow
interfaces.
TODO: tests for the interface code
TODO: docs for the interface code
2019-04-02 01:02:45 +02:00
Michael Zanetti
ce123f9352 emit a notification when a plugin config is changed
fixes #418
2019-04-02 01:02:45 +02:00
Michael Zanetti
ac179d0f70 fix avahi service browser destruction
without keeping track of the avahi service resolvers and
destroying them when the parent object goes away, callbacks
might be called after after the dhe destruction and passing
an invalid userdata pointer.
2019-04-02 01:02:45 +02:00
Michael Zanetti
98748e800d make logging optional 2019-04-02 01:02:45 +02:00
Michael Zanetti
3577f37e1e fix some docs typos 2019-04-02 01:02:45 +02:00
Michael Zanetti
4355be5b4b some improvements for developing plugins 2019-04-02 01:02:45 +02:00
Simon Stürz
2e4b02099b update license headers 2019-04-02 01:02:21 +02:00
Simon Stürz
e05ef20c97 update copyright 2019-04-02 01:02:07 +02:00
Simon Stürz
9c8097919d update license header 2019-04-02 01:02:06 +02:00