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
Mike Degatano
5f9b999a3c
Use source instead of URL for repos ( #3670 )
2022-06-07 17:55:53 +02:00
Mike Degatano
ccd2c31390
Move repository urls to store settings file ( #3665 )
...
* Move repository urls to store settings file
* Remove default repos from supervisor config
* Fix clone at initial store load
* Mock git load in repository fixture
2022-06-07 10:02:21 +02:00
Mike Degatano
138fd7eec9
APIs for adding/removing an addon repository ( #3649 )
...
* APIs for adding/removing an addon repository
* Misunderstood addons.store, fixed usage
2022-05-23 09:16:42 +02:00
Mike Degatano
cbe0adf53f
OS latest version set from upgrade path ( #3632 )
...
* OS latest version set from upgrade path
* fix tests
* Update test_updater.py
* Revert / fetch_update is global unwrapped
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2022-05-11 13:14:28 +02:00
Mike Degatano
f8ac2b202c
Revert "OS latest version set from upgrade path" ( #3631 )
2022-05-10 18:31:37 -04:00
Mike Degatano
0548afdb61
OS latest version set from upgrade path
2022-05-10 18:13:11 -04:00
Mike Degatano
567806cd14
Don't include addresses in network update ( #3628 )
...
* Don't include addresses in network update
* revert format fix
2022-05-09 16:44:17 -04:00
Pascal Vizeli
942b5e6150
Rework fixups & Add integrity ( #3614 )
...
* Rework fixups & Add integrity
* Fix tests
* fix test v2
* Protect ddos
2022-05-05 16:21:19 +02:00
Pascal Vizeli
ca1f764080
Add integrity check ( #3608 )
...
* Add integrity check
* add API test
* add tests
* tests for add-ons
2022-04-30 10:14:43 +02:00
Pascal Vizeli
ff08ca5920
Enable CAS ( #3595 )
2022-04-27 15:22:36 +02:00
Mike Degatano
8bb4596d04
Add API option to disable fallback DNS ( #3586 )
...
* Add API option to disable fallback DNS
* DNS unsupported evaluation and fallback in sentry
2022-04-25 18:15:40 +02:00
Mike Degatano
f3e2ccce43
Create issue for detected DNS server problem ( #3578 )
...
* Create issue for detected DNS server problem
* Validate behavior on restart as well
* tls:// not supported, remove check
* Move DNS server checks into resolution checks
* Revert all changes to plugins.dns
* Run DNS server checks if affected
* Mock aiodns query during all checks tests
2022-04-21 10:55:49 +02:00
Mike Degatano
32d1296da1
Merge updates with existing network settings ( #3570 )
...
* Preserve network customizations over updates
* Fix issues from testing
* Test case to ensure updates generated correctly
2022-04-18 09:49:30 +02:00
Mike Degatano
a553ba5d24
Update resolved information with host info ( #3560 )
2022-04-12 09:21:35 +02:00
Mike Degatano
12da8a0c55
Add MDNS and LLMNR status to API ( #3545 )
...
* Add mdns and llmnr status to API
* Add broadcast info to host/info and move constants
* Fix new test and isort error
2022-04-11 12:08:51 +02:00
Pascal Vizeli
e445a8aabf
Enable CAS for Add-ons ( #3506 )
...
* Revert "Disable CAS until it work (#3504 )"
This reverts commit 435241bccf3f3c678161b50cfefd4b036f1daba9.
* Revert exception that are not forwarded
* enable for add-ons
* Apply suggestions from code review
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
* fix black
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-03-31 10:59:34 -04:00
Mike Degatano
e2ac5042d8
Apply network settings on start to fix defaults ( #3528 )
...
* Apply network settings on start to fix defaults
* Use job check and add tests
2022-03-31 12:14:40 +02:00
Pascal Vizeli
c67317571c
Fix issues with old protection flag ( #3521 )
...
* Fix issues with old protection flag
* fix typing
2022-03-16 13:15:56 +01:00
Pascal Vizeli
435241bccf
Disable CAS until it work ( #3504 )
...
* Disable CAS until it work
* fix tests
2022-03-10 13:18:52 +01:00
Mike Degatano
dd3a4a1f47
Add unsupported message if no systemd-resolved ( #3487 )
...
* Require resolved for supported systems
* Added properties for dbus resolved
2022-03-07 10:38:24 +01:00
Mike Degatano
c931a4c3e5
Error response handling & tests ( #3473 )
2022-03-01 21:52:50 +01:00
Mike Degatano
b0e4983488
Passing platform arg on image pull ( #3465 )
...
* Passing platform arg on image pull
* Passing in addon arch to image pull
* Move sys_arch above sys_plugins in setup
* Default to supervisor arch
* Cleanup from feedback
2022-03-01 09:38:58 +01:00
Pascal Vizeli
3edfaa1ee7
Partial backup v1 bugfix ( #3463 )
...
* Fix compatibility to v1 partial backups
* Add test
* migrate folder list
* add test
2022-02-24 20:27:50 +01:00
Pascal Vizeli
9104b287e5
New Backup format for core ( #3451 )
...
* New Backup format for core
* cleanup
* next round
* partial resotre encrypted function of metadata
* Using securetar as modul
* fix securetar imports
* simplify
* more typing
* adjust handling
* Handling replace better
* increase the order
* more logic cleanup
* create new core backup
* handle restore
* fix tests
* better checks
* Fix attribute issues
* Update supervisor/backups/manager.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Address comments
* Fix tests
* Update supervisor/exceptions.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2022-02-23 16:08:02 +01:00