Fabian Peter Hammerle
|
f1371e1fec
refactor: move some constants & methods to new systemctl_mqtt/_dbus.py
|
4 years ago |
Fabian Peter Hammerle
|
1f4ff18dbc
added missing license headers
|
4 years ago |
Fabian Peter Hammerle
|
56dc5bad31
prepare-for-shutdown: publish config for home assistant to enable automatic discovery
|
4 years ago |
Fabian Peter Hammerle
|
59e043a7be
release v0.2.0
|
4 years ago |
Fabian Peter Hammerle
|
7887079ebe
make: added docker-push target
|
4 years ago |
Fabian Peter Hammerle
|
54a3c74eae
make: added docker-build target
|
4 years ago |
Fabian Peter Hammerle
|
f348d613ce
retain msgs on systemctl/hostname/preparing-for-shutdown
|
4 years ago |
Fabian Peter Hammerle
|
2511d653f4
added unit tests for _State.publish_preparing_for_shutdown
|
4 years ago |
Fabian Peter Hammerle
|
47bb97bb07
retain msgs on systemctl/hostname/preparing-for-shutdown
|
4 years ago |
Fabian Peter Hammerle
|
838bf98f58
apparmor profile: allow access to libs & dbus methods required to receive shutdown notifications & report inhibitor locks
|
4 years ago |
Fabian Peter Hammerle
|
20dafb5c80
document shutdown report on systemctl/hostname/preparing-for-shutdown
|
4 years ago |
Fabian Peter Hammerle
|
9f346fb87c
mqtt publish logind's PreparingForShutdown
|
4 years ago |
Fabian Peter Hammerle
|
737289de2d
refactor mqtt test: remove superfluous mock
|
4 years ago |
Fabian Peter Hammerle
|
522e1c6d7b
pylint-import-requirements: upgrade to new stable version incorporating fix for PyGObject's custom loader
|
4 years ago |
Fabian Peter Hammerle
|
36b80ed4be
explicit timestamp type specification to avoid OverflowError
|
4 years ago |
Fabian Peter Hammerle
|
771ac46360
dockerfile: added missing dependencies
|
4 years ago |
Fabian Peter Hammerle
|
e0b27226b0
mqtt publish logind's PreparingForShutdown
|
4 years ago |
Fabian Peter Hammerle
|
cfe54ed0c1
subscribe to logind's PrepareForShutdown signal
|
4 years ago |
Fabian Peter Hammerle
|
953b0db210
refactor: rename _Settings -> _State
|
4 years ago |
Fabian Peter Hammerle
|
cea2382a94
tests: replace broken fixture with standard function
|
4 years ago |
Fabian Peter Hammerle
|
9cdc01bbdb
refactor: split _run test
|
4 years ago |
Fabian Peter Hammerle
|
45fe3cfc23
acquire shutdown inhibitor lock to reserve time to send mqtt msg before shutdown
|
4 years ago |
Fabian Peter Hammerle
|
02ba14a223
debug log inhibitor locks when scheduling shutdown
|
4 years ago |
Fabian Peter Hammerle
|
496a617bc6
pylint-import-requirements: add hint specifying distribution name for gi.repository.GLib
|
4 years ago |
Fabian Peter Hammerle
|
2c662d165d
pylint-import-requirements: switch to unreleased fix for custom loaders
|
4 years ago |
Fabian Peter Hammerle
|
aee870c751
prepare glib loop to receive dbus signals
|
4 years ago |
Fabian Peter Hammerle
|
04fcb2b7a9
isort: added config to workaround persistent misclassification of paho.mqtt.client
|
4 years ago |
Fabian Peter Hammerle
|
6fc954ba94
refactor: replaced paho.mqtt.client.Client.on_message with specific .message_callback_add
|
4 years ago |
Fabian Peter Hammerle
|
3de254a904
adapt _run tests: no longer mock entire mqtt client class
|
4 years ago |
Fabian Peter Hammerle
|
5327714546
mqtt test: remove unused import
|
4 years ago |