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 |
Fabian Peter Hammerle
|
39b6bf4ea2
fix mqtt tests on python3.8
|
4 years ago |
Fabian Peter Hammerle
|
f28d4546ea
adapt _run tests: no longer mock entire client class
|
4 years ago |
Fabian Peter Hammerle
|
6a26d41b3f
release v0.1.1
|
4 years ago |
Fabian Peter Hammerle
|
07fed12517
restore compatibility with python3.5
|
4 years ago |
Fabian Peter Hammerle
|
5abc53b28e
python3.5: replaced datetime.isoformat(datespec=...) with .strftime
|
4 years ago |
Fabian Peter Hammerle
|
f9af627eef
tests / python3.5: fix AttributeError due to unavailable MagicMock.assert_called_once
|
4 years ago |
Fabian Peter Hammerle
|
213d2d7c2b
use python3.5-compatible type hints
|
4 years ago |
Fabian Peter Hammerle
|
52532230a6
pipeline: apt-get update to fix HTTP404 on install
|
4 years ago |
Fabian Peter Hammerle
|
ab72c20968
pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available
|
4 years ago |