Martin Hjelmare
6c5ef0970a
Add ozw config flow add-on management ( #42421 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-09 13:30:19 +01:00
Pascal Vizeli
a4947ed32d
Base image 2020.10.1 ( #42666 )
2020-11-02 11:54:16 +01:00
Petro31
ee528e1a60
Add hassio service descriptions ( #42597 )
...
* Add yaml for snapshot services
Adds snapshot_full and snapshot_partial service descriptions.
* fixes
Added password to full & partial. Added name to partial.
2020-10-30 21:18:53 +01:00
Martin Hjelmare
da6bdd4464
Add supervisor set add-on options helper ( #41651 )
2020-10-15 23:38:53 +02:00
Joakim Sørensen
1f07a4eba0
Forward client headers for proxied stream responses ( #41663 )
2020-10-15 11:01:37 +02:00
Joakim Sørensen
61a5bf5645
Add delete to hassio API ( #41500 )
2020-10-08 20:40:45 +02:00
Joakim Sørensen
953f6bad46
Allow non-authenticated calls to supervisor logs during onboarding ( #40617 )
2020-09-28 10:10:10 +02:00
Joakim Sørensen
a42736e437
Allow non-authenticated calls to snapshots during onboarding ( #40582 )
2020-09-26 09:26:02 +02:00
Joakim Sørensen
2d429ea678
Add modifications for snapshot uploads ( #40503 )
...
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-09-25 10:02:26 +02:00
Martin Hjelmare
27c5594cda
Add supervisor add-on stop helper ( #40501 )
2020-09-23 17:54:07 +02:00
Martin Hjelmare
ccff7f97cb
Add supervisor helper to start add-on ( #40495 )
2020-09-23 17:05:28 +02:00
Martin Hjelmare
1d7754f160
Add supervisor add-on uninstall helper ( #40413 )
2020-09-21 19:25:06 +02:00
Martin Hjelmare
2ef3dfb673
Fix supervisor get addon info ( #40412 )
2020-09-21 16:26:09 +02:00
Martin Hjelmare
a0df6ccb81
Add supervisor install add-on helper ( #40138 )
2020-09-21 10:28:24 +02:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Paulus Schoutsen
9979e465aa
Fix hassio auth data ( #39244 )
...
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-25 14:22:50 +02:00
Franck Nijhof
5f95b5caaf
Fix lastest version in updater for Supervisor enabled installs ( #38773 )
...
* Fix lastest version in update for Supervisor enabled installs
* Fix updater tests
2020-08-12 08:00:38 +02:00
Franck Nijhof
cc4ebc925c
Improve X-Forwarded-* request headers handling ( #38696 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-11 22:57:50 +02:00
Bas Nijholt
0427d87ba4
Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors ( #38663 )
2020-08-08 14:41:02 +02:00
Stefan Agner
c2f5831181
Support dual stack IP support (IPv4 and IPv6) ( #38046 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-04 15:34:23 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Courtenay
0f8b934e68
Change log url in config check error notification ( #37311 )
2020-07-02 14:14:17 +02:00
Paulus Schoutsen
de12c21ce7
Fire config changed event during start ( #36812 )
2020-06-15 15:22:53 -07:00
Martin Hjelmare
db8d4053d6
Add supervisor get addon info helper ( #36260 )
2020-06-02 11:11:23 -07:00
Ohad Levy
3ac376ebca
Fix hassio log message typo ( #36194 )
...
minor contribution - thanks for HA :)
2020-05-27 23:07:30 +02:00
Franck Nijhof
eddb5c6c3f
Add more system information from Supervisor ( #35560 )
2020-05-12 15:27:34 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
HomeAssistant Azure
7faba60e83
[ci skip] Translation update
2020-04-29 00:03:31 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Paulus Schoutsen
95357dfc55
Update translations
2020-04-20 16:33:54 -07:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
springstan
4c38e6cfa5
Use HTTP_BAD_REQUEST constant ( #33797 )
2020-04-09 21:43:42 +02:00
Martin Hjelmare
c3decc6531
Do not ban supervisor ip if set ( #33781 )
...
* Use asynctest patch instead of mock_coro
* Add test for supervisor ip ban
* Do not ban supervisor ip if set
* Extract supervisor ip helper
* Check supervisor ip before banning
* Remove added blank line
* Clean up get supervisor ip
Co-Authored-By: Pascal Vizeli <pvizeli@syshack.ch>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-04-08 10:31:44 -07:00
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* Use http ok constant
* Remove incorrect use
* Run isort
* Fix pylint by adding missing imports
* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
Paulus Schoutsen
1041dbe23c
Hass.io integration do not warn safe mode ( #33600 )
...
* Hass.io integration do not warn safe mode
* Better implementation
* Tweak log message
2020-04-03 19:42:06 -07:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Paulus Schoutsen
82c8f18bc7
Fix hassio panel load ( #32922 )
...
* Fix loading hassio panel
* Remove blacklist
2020-03-17 17:54:57 -07:00
Paulus Schoutsen
2889067ece
Make sure panel_custom won't crash on invalid data ( #32835 )
...
* Make sure panel_custom won't crash on invalid data
* Add a test
2020-03-15 11:51:02 -07:00
Franck Nijhof
431a3a6b44
Re-branding of Hass.io panel to Supervisor ( #31480 )
2020-02-05 11:04:17 +01:00
Joakim Sørensen
a5a69bdf71
Adds icon endpoint to NO_AUTH ( #30910 )
...
* Adds icon endpoint to NO_AUTH
* Add test for no_auth icon get
* Blackout
2020-01-17 13:54:28 -08:00
Pascal Vizeli
4731f7c721
Hass.io allow to reset password with CLI ( #30755 )
...
* Hass.io allow to reset passwort with CLI
* Add improvments
* fix comments
* fix lint
* Fix tests
* more tests
* Address comments
* sort imports
* fix test python37
2020-01-14 23:49:56 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
00dc721609
sort imports according to PEP8 for hassio ( #29634 )
2019-12-08 16:33:22 +01:00
Pascal Vizeli
c00b058e53
Cleanup not needed websocket flags for ingress ( #28295 )
2019-10-29 12:05:05 +01:00
Pascal Vizeli
335872b54d
Revert "More header cleanup for websocket proxy ( #28288 )" ( #28293 )
...
This reverts commit 7887850505
.
2019-10-28 16:54:15 +01:00
Pascal Vizeli
7887850505
More header cleanup for websocket proxy ( #28288 )
2019-10-28 14:34:13 +01:00
Fredrik Erlandsson
22e7cb11f4
Change persistent notification about dev-info panel ( #27441 )
...
* there is no dev-info panel anymore
* Update __init__.py
* Update __init__.py
2019-10-12 12:58:52 -07:00
Oncleben31
3b9f0062a2
Add missing documentation for some Hassio services ( #27215 )
...
* Add services doc
* Add missing services doc and reformat
* improve readability
* content improvement
* HassIO to Hass.io
2019-10-06 23:02:15 +02:00
Franck Nijhof
decf13b948
Use literal string interpolation in core (f-strings) ( #26166 )
2019-08-23 09:53:33 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
820b381a8d
Update Hass.io when core config is updated ( #24461 )
...
* Update Hass.io when core config is updated
* Lint
* Fix tests
* Lint sigh
2019-06-10 16:05:43 -07:00
Pascal Vizeli
261f3bcba6
Don't follow redirect on ingress itself ( #24218 )
...
* Don't follow redirect on ingress itself
* Fix comment
2019-05-31 14:30:58 +02:00
Paulus Schoutsen
1a3a38d370
Dynamic panels ( #24184 )
...
* Don't require all panel urls to be registered
* Allow removing panels, fire event when panels updated
2019-05-30 13:37:01 +02:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Pascal Vizeli
2a720efbd4
Fix hass.io panel_custom/frontend ( #23313 )
...
* Fix hass.io panel_custom/frontend
* Update manifest.json
2019-04-22 21:47:12 -07:00
Pascal Vizeli
3e443d253c
Hass.io Add-on panel support for Ingress ( #23185 )
...
* Hass.io Add-on panel support for Ingress
* Revert part of discovery startup handling
* Add type
* Fix tests
* Add tests
* Fix lint
* Fix lint on test
2019-04-19 09:43:47 +02:00
Pascal Vizeli
7a78d65633
Fix ingress bug with Firefox ( #23121 )
...
* Fix ingress bug with Firefox
* Fix mock
* Fix tests
* Fix test lint
2019-04-15 15:27:13 -07:00
Paulus Schoutsen
e8343452cd
Validate component usage ( #23037 )
...
* Update manifest validator
* Update circle
* Update text
* Typo
* fix link to codeowners
* Merge CODEOWNERS into hassfest
* Annotate errors with fixable
* Convert error to warning
* Lint
* Make abs path
* Python 3.5...
* Typo
* Fix tests
2019-04-13 13:17:01 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Pascal Vizeli
37f3eccb1e
Bugfix: pass protocol out of header to application layer ( #22955 )
2019-04-09 20:13:39 -07:00
Pascal Vizeli
2d287d2abe
Fix content_type handling ingress ( #22864 )
2019-04-08 09:22:55 +02:00
Pascal Vizeli
4b877dd96f
Cleanup cookie handling ( #22757 )
2019-04-05 13:29:43 +02:00
Pascal Vizeli
71e120ce97
Fix chunk streaming ( #22730 )
...
* Fix chunk streaming
* Cleanup a print
* Better error handling
* Fix import order
2019-04-04 23:41:13 -07:00
Pascal Vizeli
9bb88a6143
Fix ingress routing with / ( #22728 )
2019-04-04 17:43:18 +02:00
Pascal Vizeli
beb6ddfa68
Change URL handling ( #22713 )
2019-04-04 11:10:44 +02:00
Robbie Trencheny
704983a64f
Fix hassio CODEOWNER to be the actual team name, hass-io
2019-04-04 00:34:34 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Pascal Vizeli
5613e8bb60
Hass.io discovery flow deconz ( #22623 )
...
* Add Hass.io deCONZ discovery flow
* add bridge ID
* fix attribute
* fix strings
* Address comments
* Add test
* Add only instance / changed maybe later
2019-04-02 19:23:33 -07:00
Pascal Vizeli
e708032669
Support GET params for websocket ingress path ( #22638 )
2019-04-01 17:41:08 -07:00
Pascal Vizeli
6829ecad9d
Hass.io ingress ( #22505 )
...
* Fix API stream of snapshot / Add ingress
* fix lint
* Fix stream handling
* Cleanup api handling
* fix typing
* Set proxy header
* Use header constant
* Enable the ingress setup
* fix lint
* Fix name
* Fix tests
* fix lint
* forward params
* Add tests for ingress
* Cleanup cookie handling with aiohttp 3.5
* Add more tests
* Fix tests
* Fix lint
* Fix header handling for steam
* forward header too
* fix lint
* fix flake
2019-04-01 14:16:16 +02:00
Pascal Vizeli
3fddf5df08
Enable hass.io panel without ping ( #22388 )
...
* Enable hass.io panel without ping
* fix tests
2019-03-26 07:38:25 -07:00
Paulus Schoutsen
65432ba552
Move core stuff into Home Assistant integration ( #22407 )
...
* Move core stuff into Home Assistant integration
* Lint
2019-03-26 13:38:32 +01:00
Paulus Schoutsen
f1a0ad9e4a
Frontend indicate require admin ( #22272 )
...
* Allow panels to indicate they are meant for admins
* Panels to indicate when they require admin access
* Do not return admin-only panels to non-admin users
* Fix flake8
2019-03-25 10:04:35 -07:00
Pascal Vizeli
ecfe0fc3dd
Remove config check over supervisor ( #22156 )
...
* Remove config check over supervisor
* Fix lint
* Fix tests
2019-03-18 16:58:48 -07:00
Jason Hu
fe1840f901
Deprecate http.api_password ( #21884 )
...
* Deprecated http.api_password
* Deprecated ApiConfig.api_password
GitHub Drafted PR would trigger CI after changed it to normal PR.
I have to commit a comment change to trigger it
* Trigger CI
* Adjust if- elif chain in auth middleware
2019-03-10 19:55:36 -07:00
Fabian Affolter
3736120c6a
Update file header ( #21061 )
...
* Update file header
* Fix lint issue
* Fix lint issue
2019-02-14 16:01:46 +01:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00
Paulus Schoutsen
fd21d6cc9d
Add Hass.io user headers to supervisor proxy
2019-01-11 10:00:38 -08:00
Paulus Schoutsen
d1a621601d
No more opt-out auth ( #18854 )
...
* No more opt-out auth
* Fix var
2018-12-02 16:32:53 +01:00
Otto Winter
eec4564c71
Show ANSI color codes in logs in Hass.io ( #18834 )
...
* Hass.io: Show ANSI color codes in logs
* Lint
* Fix test
* Lint
2018-12-02 15:46:14 +01:00
Paulus Schoutsen
8b8629a5f4
Add permission checks to Rest API ( #18639 )
...
* Add permission checks to Rest API
* Clean up unnecessary method
* Remove all the tuple stuff from entity check
* Simplify perms
* Correct param name for owner permission
* Hass.io make/update user to be admin
* Types
2018-11-25 18:04:48 +01:00
Pascal Vizeli
0ddd502d00
Hass.io config check ( #18576 )
2018-11-20 13:30:09 +01:00
Pascal Vizeli
e2fca0691e
Fix log error message ( #18305 )
...
* Fix log error message
* Update __init__.py
2018-11-08 00:33:51 +01:00
Pascal Vizeli
eb0d989c88
Bugfix discovery (delete/mqtt) call for Hass.io ( #18159 )
...
* Bugfix discovery delete call for Hass.io
* Fix host
* fix tests
2018-11-04 12:19:04 +01:00
alex9446
782a90a535
Fix hassio command timeout ( #17567 )
...
* fix hassio command timeout
* Increased command timeout
2018-11-03 11:04:17 +01:00
Pascal Vizeli
f5d3aa1826
Hass.io auth/sso part2 ( #17324 )
...
* Update discovery.py
* Create const.py
* Update auth.py
* Update const.py
* Update const.py
* Update http.py
* Update handler.py
* Update auth.py
* Update auth.py
* Update test_auth.py
2018-10-11 10:55:38 +02:00
Pascal Vizeli
3f87d41381
Fix auth for hass.io ( #17318 )
...
* Update test_auth.py
* Update auth.py
* Update test_auth.py
2018-10-11 01:02:00 +02:00
Pascal Vizeli
40e0966d7f
Hassio auth ( #17274 )
...
* Create auth.py
* Update auth.py
* Update auth.py
* Update __init__.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Update auth.py
* Add tests
* Update test_auth.py
* Update auth.py
* Update test_auth.py
* Update auth.py
2018-10-10 14:07:51 +02:00
Pascal Vizeli
83dd961fde
Fix hassio discovery ( #17275 )
...
* Update discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Fix tests
* fix lint
2018-10-10 13:50:11 +02:00
Pascal Vizeli
704c9d8582
Add support for Hass.io discovery feature for Add-ons ( #17035 )
...
* Update handler.py
* Update __init__.py
* Update handler.py
* Update __init__.py
* Create discovery.py
* Update handler.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update struct
* Update handler.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* fix lint
* Update discovery.py
* cleanup old discovery
* Update discovery.py
* Update discovery.py
* Fix lint
* Fix tests
* Write more tests with new functions
* Update test_handler.py
* Create test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Fix test
* Add test
* fix lint
* Update handler.py
* Update discovery.py
* Update test_discovery.py
* fix lint
* Lint
2018-10-03 13:10:38 +02:00
cdce8p
b24f9f5dfa
Async syntax 3/8 ( #17017 )
...
* Async syntax 3, device_tracker & fan & hassio & image_processing & input
* Pylint fixes
2018-10-01 08:59:45 +02:00
Pascal Vizeli
d376049a3f
Use one regex for Hass.io URL check ( #16710 )
2018-09-19 12:57:55 +02:00
Jason Hu
dc460f4d6a
Fix 0.76 beta2 hassio token issue ( #15987 )
2018-08-15 09:56:05 +02:00
Jason Hu
2233d7ca98
Fix downgrade hassio cannot get refresh_token issue ( #15874 )
...
* Fix downgrade hassio issue
* Update __init__.py
2018-08-09 13:31:48 +02:00
Paulus Schoutsen
8213b1476f
WIP: Hass.io sent token to supervisor ( #15536 )
...
Hass.io sent token to supervisor
2018-07-23 14:14:57 +02:00
Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00