Mike Degatano
0958cd0c06
Switch from dbus-next to dbus-fast ( #3882 )
...
* Switch to dbus-fast
* dbus-fast==1.6.0
2022-09-21 09:24:04 +02:00
Mike Degatano
2072370ccc
Revert "Switch to dbus-fast ( #3877 )" ( #3878 )
...
This reverts commit 615758a1dfde1f91ff1dc7e3e4ecc826a0ed2b58.
2022-09-19 17:18:25 -04:00
Mike Degatano
615758a1df
Switch to dbus-fast ( #3877 )
2022-09-19 21:55:22 +02:00
Mike Degatano
cd10b597dd
Empty string in gateway returns none ( #3873 )
2022-09-17 16:24:56 +02:00
Mike Degatano
99bc201688
Listen for dbus property changes ( #3872 )
...
* Listen for dbus property changes
* Avoid remaking dbus proxy objects
* proper snake case for pylint
* some cleanup and more tests
2022-09-17 09:55:41 +02:00
Mike Degatano
b8249548ae
Fix network vlan api ( #3865 )
2022-09-13 21:23:13 +02:00
Mike Degatano
5f98ab7e3e
Reduce patching call dbus in tests ( #3866 )
2022-09-13 21:22:15 +02:00
Mike Degatano
d195f19fa8
Refactor to dbus-next proxy interfaces ( #3862 )
...
* Refactor to dbus-next proxy interfaces
* Fix tests mocking dbus methods
* Fix call dbus
2022-09-13 13:45:28 -04:00
Joakim Sørensen
c67d4d7c0b
Cleanup evaluations ( #3857 )
...
* Cleanup
* move
* Add OS available test
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-09-13 13:19:07 -04:00
Mike Degatano
b71c6c60da
Share MessageBus across dbus objects ( #3860 )
...
* Share MessageBus across dbus objects
* Fix connect calls in tests
2022-09-12 20:10:12 +02:00
Mike Degatano
4f272ad4fd
Dbus refactor and tests ( #3854 )
...
* Dbus refactor and tests
* Link to timedate introspection
2022-09-12 11:59:56 -04:00
Stefan Agner
01e24a3e74
Replace loop test fixture with event_loop ( #3847 )
...
This addresses a deprecation warning when calling tests with Python
3.10:
```
../python3.10/site-packages/pytest_aiohttp/plugin.py:33: DeprecationWarning: 'loop' fixture is deprecated and scheduled for removal, please use 'event_loop' instead
```
2022-09-09 09:54:57 -04:00
Mike Degatano
ebae1e70ee
Add tests for backups check ( #3845 )
2022-09-07 10:33:46 +02:00
Mike Degatano
bf48d48c51
Create issue+suggestion when no recent backup ( #3814 )
...
* Automatic full backup option
* Fix test for change in free space check
* Suggestions only, no automation
* Remove extra in backup config schema
2022-09-03 09:50:23 +02:00
Mike Degatano
fc646db95f
Reduce connectivity checks ( #3836 )
...
* Reduce connectivity checks
* Fix/remove connectivity tests
* Remove throttle from prior connectivity tests
* Use dbus_property wrapper
* Allow variable throttle period with lambda
* Add evaluation for connectivity check disabled
2022-09-03 09:48:30 +02:00
Mike Degatano
1f28e6ad93
Fire issue events on HA's bus ( #3837 )
...
* Fire issue events on HA's bus
* Convey event type with event field
* Message for humans
2022-09-02 17:40:10 +02:00
Mike Degatano
4ea27f6311
Network connection check only about ipv4 ( #3830 )
...
* Network connection test only about ipv4
* Better test of change being made
2022-08-30 08:39:08 +02:00
Pascal Vizeli
3dc36c3402
Use link-local instead disabled for ipv6 ( #3829 )
...
* Use link-local instead disabled for ipv6
* Add a test
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-08-29 16:56:59 -04:00
Mike Degatano
bae7fe4184
Debug info for network connection problem ( #3828 )
...
* Debug info for network connection problem
* Update network tests
2022-08-29 22:01:40 +02:00
Mike Degatano
df030e6209
No bool conversion in resolution test ( #3826 )
2022-08-26 16:42:45 +02:00
Mike Degatano
09d60b4957
Store load ignores supervisor updated condition ( #3823 )
2022-08-26 10:22:55 +02:00
Mike Degatano
2c5bb3f714
Fix suggestion test to be order agnostic ( #3822 )
2022-08-25 16:06:47 -04:00
Mike Degatano
32d65722e9
Handle multiple suggestions with different references ( #3817 )
2022-08-25 10:09:25 -04:00
Mike Degatano
d5f9fcfdc7
Fire events on issue changes ( #3818 )
...
* Fire events on issue changes
* API includes if suggestion has autofix
2022-08-25 11:42:31 +02:00
Mike Degatano
b4e1e3e853
Identify and handle dhcp issues ( #3806 )
...
* Identify and handle dhcp issues
* Change test from DHCP to Connection Problem
2022-08-23 13:57:16 +02:00
Mike Degatano
c7f7fbd41a
Remove static-only fields when method is auto ( #3810 )
2022-08-23 13:56:14 +02:00
Mike Degatano
cbddca2658
Rename dns checks to fit pattern ( #3811 )
...
* Rename dns checks to fit pattern
* Missed a patch reference
2022-08-23 13:54:22 +02:00
Mike Degatano
f4811a0243
Watchdog addon on successful but unexpected exit ( #3815 )
2022-08-22 20:29:27 -04:00
Mike Degatano
8b5e96a8ad
Set autoreconnect to true for interfaces ( #3807 )
2022-08-19 10:09:44 +02:00
Mike Degatano
c3f7a45d61
Fix memory calculation for cgroupv2 ( #3802 )
2022-08-17 16:50:08 -04:00
Mike Degatano
2cd7f9d1b0
Attempt plugin update before failing job condition ( #3796 )
2022-08-17 07:36:05 +02:00
Mike Degatano
5fc9484f73
Supervisor updated before addon repositories ( #3795 )
2022-08-17 07:28:06 +02:00
Franck Nijhof
3f88236495
Support for Docker manifests base images add-on build ( #3724 )
...
* Support for Docker manifests base images add-on build
* Set platform for build and tests
* Remove empty test
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-08-16 14:34:32 +02:00
Mike Degatano
96065ed704
Bump to python 3.10 and alpine 3.16 ( #3791 )
...
* Bump to python 3.10
* 3.10 is not a number
* Musllinux wheels link
* Revert attrs 22.1.0 -> 21.2.0 for wheel
* Revert cryptography for wheel & pylint fix
* Precommit and devcontainer to 3.10
* pyupgrade rewriting things
* revert
* Update builder.yml
* fix rust
* Update builder.yml
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2022-08-16 14:33:23 +02:00
Mike Degatano
c8f184f24c
Add auto update option ( #3769 )
...
* Add update freeze option
* Freeze to auto update and plugin condition
* Add tests
* Add supervisor_version evaluation
* OS updates require supervisor up to date
* Run version check during startup
2022-08-15 12:13:22 -04:00
Mike Degatano
e62324e43f
Set limits on watchdog retries ( #3779 )
...
* Set limits on watchdog retries
* Use relative import
2022-08-09 11:44:35 -04:00
Stefan Agner
a92058e6fc
Mark CGroup V2 supported on Home Assistant OS ( #3778 )
...
* Mark CGroup V2 supported on Home Assistant OS
* Fix tests
* Fix comparision
* Move evaluation of CGroup after OSManager has been initialized
2022-08-09 11:32:51 +02:00
Mike Degatano
13c10dbb47
Healthy/Unhealthy state means addon started ( #3773 )
2022-08-05 10:04:34 -04:00
Mike Degatano
f87209f66f
Add fields back for legacy addons info routing ( #3768 )
...
* Add fields back for legacy addons info routing
* Fixes from feedback
2022-08-03 16:03:45 -04:00
Mike Degatano
4f8f28b9f6
addons/info returns info on all addons ( #3762 )
...
* Change to legacy routing approach
* Revert launch.json changes
2022-08-03 15:44:18 +02:00
Mike Degatano
2b4f46f6b3
Watchdog shouldn't rebuild addons ( #3766 )
...
* Watchdog shouldn't rebuild addons
* pylint fix
2022-08-03 12:06:59 +02:00
Mike Degatano
d097044fa8
Update supervisor before auto-updating others ( #3756 )
2022-07-28 12:29:05 -04:00
Mike Degatano
ebeff31bf6
Pass supervisor debug value to audio ( #3752 )
2022-07-27 17:15:54 +02:00
Mike Degatano
48c5dd064c
Fix addons always unknown after install ( #3746 )
2022-07-18 15:11:55 -04:00
Mike Degatano
d19166bb86
Docker events based watchdog and docker healthchecks ( #3725 )
...
* Docker events based watchdog
* Separate monitor from DockerAPI since it needs coresys
* Move monitor into dockerAPI
* Fix properties on coresys
* Add watchdog tests
* Added tests
* pylint issue
* Current state failures test
* Thread-safe event processing
* Use labels property
2022-07-15 09:21:59 +02:00
Pascal Vizeli
1f69cf0fe6
Verify the cgroup supported level ( #3688 )
...
* Verify the cgroup supported level
* add tests
2022-06-22 11:22:27 -04:00
Pascal Vizeli
e92d8695c7
Cleanup API / old rebranding ( #3623 )
...
* Cleanup API / old rebranding
* cleanup p2
* next round
* better comments
* cleanup import
* support only installed add-ons
* legacy migration
* test fixes
* add old env back
* revert for Core
* fix issues with old core
* fix
* using installed short cat
* revert
* extend legacy
* cleanup
* fix path
* Fix missing
* add stop
* readd old token
* Add minimal
* extend attributes
* Add repo back
* add more repo info
* Make it working
* Bump frontend to e7848262 (#3680 )
* Add icon
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2022-06-21 15:19:04 +02:00
Mike Degatano
3b3cd61e3d
Never disable interfaces at startup ( #3676 )
2022-06-09 13:55:36 +02:00
Joakim Sørensen
b82dbc0cac
Extended store addon info ( #3678 )
...
* Add extended store addon info
* Add missing hassio_api
* Fix test
2022-06-09 13:47:15 +02:00
Mike Degatano
7a74d77d43
Move addon repo migration to bootstrap ( #3672 )
...
* Move addon repo migration to bootstrap
* Save data after migrating it
2022-06-08 15:21:34 -04:00