Pascal Vizeli
1fbc8f4060
Add discovery support for zwave_js ( #2454 )
...
* Add discovery support for zwave_js
* New schema
* hmm
* address comments
2021-01-20 16:51:51 +01:00
Joakim Sørensen
88eb9511bf
Add core version check ( #2436 )
...
* Add core version check
* Fix version handling, rename and use correct paths
* simplify check
* wrap approve check
2021-01-15 21:13:42 +01:00
Pascal Vizeli
97c35de49a
Refacture version handling with AwesomeVersion ( #2392 )
...
* Refacture version handling with AwesomeVersion
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* next
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* next
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* next
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* v20.12.3
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* next
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* next
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* fix exception
* fix schema
* cleanup plugins
* fix tests
* fix attach
* fix TypeError
* fix issue with compairing
* make lint happy
* Update supervisor/homeassistant/__init__.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Update tests/test_validate.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Update supervisor/docker/__init__.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
* Update supervisor/supervisor.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-12-31 17:09:33 +01:00
Pascal Vizeli
792bc610a3
Fix NM byte switch for ipv6 nameserver ( #2342 )
...
* Fix NM byte switch for ipv6 nameserver
* remove not needed code
2020-12-04 17:55:26 +01:00
Pascal Vizeli
fab6fcd5ac
Check NetworkManager Version if it is supported ( #2340 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-12-04 12:38:12 +01:00
Pascal Vizeli
f8fd7b5933
Improve error handling with job condition ( #2322 )
...
* Improve error handling with job condition
* fix
* first patch
* last patch
* Address comments
* Revert strange replace
2020-12-03 12:24:32 +01:00
Pascal Vizeli
59102afd45
Fix sentry with sets ( #2323 )
2020-12-02 12:43:38 +01:00
Pascal Vizeli
0b085354db
Send list of images to sentry ( #2321 )
2020-12-01 14:29:37 +01:00
Pascal Vizeli
e2a473baa3
Add network reload to api ( #2319 )
2020-12-01 14:03:59 +01:00
Pascal Vizeli
06e10fdd3c
Fix NM naming schema ( #2318 )
...
* Fix NM naming schema
* Address comments
* Add test
2020-12-01 12:11:20 +01:00
Pascal Vizeli
fb4386a7ad
Use persistent MAC address instead clone / don't touch default ( #2317 )
2020-12-01 09:27:49 +01:00
Pascal Vizeli
2d294f6841
Make evaluation of container better ( #2316 )
2020-11-30 18:00:12 +01:00
Pascal Vizeli
e09a839148
Fix byte order for network DNS settings ( #2315 )
2020-11-30 15:22:02 +01:00
Pascal Vizeli
49853e92a4
Fix sentry spam ( #2313 )
2020-11-30 11:01:10 +01:00
Pascal Vizeli
19620d6808
Fix: cleanup repository from list ( #2310 )
...
* Fix: cleanup repository from list
* Add repr
* Avoid not exists error message
2020-11-29 14:00:29 +01:00
Pascal Vizeli
f6bf44de1c
Add tests for remove function ( #2309 )
2020-11-29 12:34:33 +01:00
Pascal Vizeli
aa5297026f
Handle Store suggestion ( #2306 )
...
* Handle Store suggestion
* Add fixup
* Add more fixup & list
* Enable fixups
* Add tests
* fix index
* fix break
* fix import
* Load it anyway
* Run suFix ccestion on load too
* fix error message
* fix error message
* Fix remove
* Finishing
* Add tests
* Fix error
* fix cleanup stale stuff
* Fix source
* use source as url
* add test for url
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-11-28 15:03:44 +01:00
Pascal Vizeli
d9e20307de
Allow check to cleanup issues ( #2302 )
2020-11-26 22:38:33 +01:00
Pascal Vizeli
fda1b523ba
Extend resolution center ( #2297 )
...
* Extend resolution center
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* move forward
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* Rename it to fixups
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* Finish p1
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* Finish p1 - add files
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
* Finishup
* Add more tests
* Add test for suggestion
* Add more tests
* fix tests & isort
* address comments
* address comments v2
* fix isort
* Change reference handling
2020-11-26 17:16:36 +01:00
Pascal Vizeli
056926242f
Fix sentry resoluton messages ( #2295 )
2020-11-24 14:17:47 +01:00
Pascal Vizeli
845c935b39
Add JobManager API ignore ( #2290 )
...
* Disable job condition for unhealth & unsupported systems
* Add JobManager API ignore
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update tests/resolution/evaluation/test_evaluate_job_conditions.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* fix names
* address comments
* Update decorator.py
* adjust security
* add reset
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-11-24 10:54:57 +01:00
Pascal Vizeli
7e94537e36
Soft restart supervisor ( #2281 )
...
* Add softrestart to supervisor
* decouble
* adjust logger
* make sure it need run
* Use job condition
* add more job running
2020-11-21 12:48:16 +01:00
Joakim Sørensen
e607d4feeb
Fix missing primary interface after change ( #2274 )
...
* Fix missing primary interface after change
* Fix test
2020-11-20 12:01:59 +01:00
Pascal Vizeli
3dd3340e35
Make host feature cheaper to call and relay on it ( #2266 )
2020-11-18 14:13:49 +01:00
Pascal Vizeli
80f4309799
Enforce internet host/system ( #2263 )
2020-11-18 11:29:23 +01:00
Pascal Vizeli
550fca4bcd
Remove coroutine from job update ( #2264 )
2020-11-18 11:25:04 +01:00
Pascal Vizeli
4b500ef873
JobManager should not touch our exceptions ( #2261 )
...
* JobManager should not touch our exceptions
* Add tests
* temporary allow su update all time
* Update supervisor/jobs/decorator.py
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2020-11-17 18:46:02 +01:00
Pascal Vizeli
2040102e21
Handle Unhealthy like Unsupported ( #2255 )
...
* Handle Unhealthy like Unsupported
* Add tests
* Add unhealthy to sentry
* Add test
2020-11-14 16:16:00 +01:00
Joakim Sørensen
7ee5737f75
Activate new network settings after update ( #2253 )
2020-11-13 18:15:46 +01:00
Pascal Vizeli
8d499753a0
Fix auto interface method ( #2252 )
2020-11-13 16:58:28 +01:00
Pascal Vizeli
028ec277eb
Enable support for mdns & llmnr for host ( #2251 )
2020-11-13 16:47:56 +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
Joakim Sørensen
784c5d3b7c
Use bool for host internet ( #2247 )
...
* Use bool for host internet
* Ignore host check if no network manager
* Update supervisor/host/network.py
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
* Check dbus connection isntead of supported features
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-11-13 00:07:05 +01:00
Joakim Sørensen
a18b706f99
Add JobManager and Job decorator ( #2225 )
...
* Adds condition decorator to block execution that require internet
* Fix exsisting tests
* Add internet state to network info
* Add healthy condition
* Add tests
* It's all changed
* rename
2020-11-12 22:57:28 +01:00
Pascal Vizeli
cd34a40dd8
Send issues with sentry report ( #2246 )
2020-11-12 14:57:04 +01:00
Pascal Vizeli
46e92036ec
Fix handling with open or wpa-psk ( #2239 )
2020-11-11 16:33:46 +01:00
Pascal Vizeli
c4847ad10d
Handle dbus single byte ( #2237 )
2020-11-11 13:09:13 +01:00
Pascal Vizeli
7aceb21123
Fix auth mode WEP ( #2235 )
...
* Fix auth mode WEP
* fix mapping
2020-11-10 18:07:20 +01:00
Pascal Vizeli
9264d437b1
Fix network API default value & tests ( #2234 )
2020-11-10 15:08:35 +01:00
Pascal Vizeli
4c560d7c54
Fix gateway None on API ( #2230 )
...
* Fix gateway None on API
* fix tests
2020-11-09 10:00:39 +01:00
Pascal Vizeli
e1b9d754af
Fix all interface are primary ( #2228 )
2020-11-09 09:27:16 +01:00
Pascal Vizeli
ee49935b7d
Odroid-C4 ( #2226 )
...
* Add Odroid-C4
* add machine
2020-11-09 08:57:18 +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
Paulus Schoutsen
ffaeb2b96d
Add validate session API ( #2223 )
2020-11-06 11:52:11 +01:00
Joakim Sørensen
9479672b88
Create evaluation modules ( #2220 )
...
* Create evaluation modules
* Use sys_core
2020-11-05 17:36:02 +01:00
Joakim Sørensen
8f4ac10361
Add login support for dockerhub ( #2218 )
...
* Add login support for dockerhub
* Remove registry
2020-11-05 10:39:53 +01:00
Pascal Vizeli
28344ff5f3
Supervisor container startup health function ( #2214 )
...
* Supervisor container startup health function
* better struct
* add test
* address comment
* rename file
* Update tests/test_main.py
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Stefan Agner <stefan@agner.ch>
2020-11-03 16:36:10 +01:00
Pascal Vizeli
042bdcdf37
Make startup more stable ( #2167 )
2020-10-23 16:48:03 +02:00
Pascal Vizeli
35b626a1c5
Fix gvariant bytes array ( #2162 )
2020-10-22 15:56:32 +02:00
Pascal Vizeli
01064564b4
Fix new version handling with Plugins ( #2159 )
2020-10-22 12:29:53 +02:00