Joakim Sørensen
40bcee38f3
Add startup time and boot_timestamp ( #3136 )
...
* Add startup time
* Add boot_timestamp
* Fix type
* patch and rename properties fixture
2021-09-22 11:15:38 +02:00
Pascal Vizeli
53eae96a98
DataDisk reload devices ( #3129 )
...
* DataDisk reload devices
* improve loading
* simplify
* validate input device
* add comments
* Add agent version to API
* more tests
* fix test lint
2021-09-20 12:52:51 +02:00
Pascal Vizeli
2b6829a786
OS-Agent support ( #2811 )
...
* OS-Agent support
* add agent to host feature
* Add support for os-agent on devcontainer
* Rename core
* fix tests
* add setter
* add cgroup / apparmor
* all interfaces added
* fix import
* Add tests
* More tests
* Finish tests
* reformating xml files
* fix doc string
* address comments
* change return value
* fix tests
* Update supervisor/dbus/agent/__init__.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Update scripts/supervisor.sh
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-06-30 11:55:53 +02:00
Pascal Vizeli
a4a0b43d91
Using ghcr.io/home-assistant + fallback ( #2959 )
2021-06-14 20:07:44 +02:00
Joakim Sørensen
b70ed9a60d
Rename fixtures ( #2946 )
...
* Rename fixtures
* Use tilde
2021-06-10 12:45:39 +02:00
Pascal Vizeli
bcef34012d
Time handling ( #2901 )
...
* Add new time handling
* migrate date for python3.9
* add timedate
* add tests & simplify it
* better testing
* use ssl
* use hostname with new interface
* expose to API
* update data
* add base handler
* new timezone handling
* improve handling
* Improve handling
* Add tests
* Time adjustment function
* Fix logging
* tweak condition
* don't adjust synchronized time
* Guard
* ignore UTC
* small cleanup
* like that, we can leaf it
* add URL
* add comment
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-06-09 09:38:32 +02:00
mdegat01
667672a20b
Addons can access systemd journal logs ( #2722 )
...
* Added journald access to addons
* Name change to journald and added tests
2021-03-17 12:26:23 +01:00
Joakim Sørensen
752068bb56
Add /store API ( #2626 )
2021-02-25 16:15:51 +01:00
Joakim Sørensen
7ee5737f75
Activate new network settings after update ( #2253 )
2020-11-13 18:15:46 +01:00
Pascal Vizeli
5552b1da49
Optimize flow / reduce call time ( #2250 )
...
* Optimize flow / reduce call time
* rename
* freeze too
* add connectivity task
* use newstyle timeout
* Fix tests
Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2020-11-13 12:19:10 +01:00
Pascal Vizeli
c4847ad10d
Handle dbus single byte ( #2237 )
2020-11-11 13:09:13 +01:00
Pascal Vizeli
9264d437b1
Fix network API default value & tests ( #2234 )
2020-11-10 15:08:35 +01:00
Pascal Vizeli
bd786811a3
Network: abstract dbus and supervisor - ipv6/wifi/vlan ( #2217 )
...
* Abstract code between dbus - supervisor
* cleanup v2
* fix address vs interface
* fix API calls
* Fix methodnames
* add vlan type
* add vlan support
* Fix tests
* Add wifi support
* more OOO
* fix typing import
* typing part 2
* Fix profile
* fix test payload
* ignore powersafe
* support privancy
* fix property
* Fix tests
* full support all API
* Fix all
* more robust
* Update supervisor/dbus/network/connection.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Fix gateway
* fix empty gateway
* Allow no ipv6 or ipv4 kernel support
* Exclude device drivers
* Add wifi
* Use loop on api
* refactory p1
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p2
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p3
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p4
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p5
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p6
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p7
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* refactory p8
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* Fix lint
* update sup p1
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* update sup p2
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix tests
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix logging
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* improve mock handling
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* add fixtures
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix tests
* better testing
* Add more tests
* Fix API test
* Add test for vlan payload
* Support variation
* Fix doc string
* support remove & wifi scan
* make sure we ignore local-link on ipv6
* remove privancy - add vlan
* Fix tests
* fix isort
* Fixture dbus by commands
* Add dnsmanager fixture
* expose commands called by dbus
* Add wifi tests
* Update supervisor/plugins/dns.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Address comments & fix tests
* change url to be closer on others
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-11-09 08:56:42 +01:00
Joakim Sørensen
b513512551
Normalize CPU stats ( #2154 )
...
* Normalize CPU stats
* Change fixture to make it clearer
* guard for 0
* Update supervisor/docker/stats.py
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
* Update stats.py
* Update stats.py
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-10-20 22:26:09 +02:00
Joakim Sørensen
25ea80e169
Fixes issues with managing wireless interfaces ( #2015 )
...
* Fixes issues with managing wireless interfaces
* Add test
* Add back fixture
2020-09-04 20:58:37 +02:00
Joakim Sørensen
9bcb15dbc0
MVP: Add Network Manager context ( #1937 )
...
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-24 16:58:02 +02:00
Pascal Vizeli
bb64dca6e6
Fix symlink snapshot ( #1833 )
...
* Fix symbolic link issue with snapshot
* Add tests
* fix symlink
* add encrypted test
* Modify x
2020-07-14 15:39:03 +02:00
Pascal Vizeli
35aae69f23
Support armv7 and allow support of multible arch types per CPU ( #892 )
...
* Support armv7 and first abstraction
* Change layout
* Add more type hints
* Fix imports
* Update
* move forward
* add tests
* fix type
* fix lint & tests
* fix tests
* Fix unittests
* Fix create folder
* cleanup
* Fix import order
* cleanup loop parameter
* cleanup init function
* Allow changeable image name
* fix setup
* Fix load of arch
* Fix lint
* Add typing
* fix init
* fix hassos cli problem & stick on supervisor arch
* address comments
* cleanup
* Fix image selfheal
* Add comment
* update uvloop
* remove uvloop
* fix tagging
* Fix install name
* Fix validate build config
* Abstract image_name from system cache
2019-01-31 18:47:44 +01:00
Pascal Vizeli
05b58d76b9
Add tests for hass.io ( #817 )
...
* Add tests for hass.io
* Fix folder
* Fix test command
2018-11-18 12:08:46 +01:00