Commit Graph

335 Commits (3018e8ff47c25c5aeb04ed3f7b197a804906fdcf)

Author SHA1 Message Date
Paulus Schoutsen 12de3f1e47 Clean up frontend services and events (#31654)
* Clean up frontend services and events

* Fix bug in core instead

* Add test that core works correctly with callback marked async funcs
2020-02-09 19:47:16 -08:00
quthla 3f9dbe6845
Fix theme color (#31366) 2020-02-03 14:09:25 -08:00
Paulus Schoutsen 5fdc60e067
Add Safe Mode (#30723)
* Store last working HTTP settings

* Add safe mode

* Fix tests

* Add cloud to safe mode

* Update logging text

* Fix camera tests leaving files behind

* Make emulated_hue tests not leave files behind

* Make logbook tests not leave files behind

* Make tts tests not leave files behind

* Make image_processing tests not leave files behind

* Make manual_mqtt tests not leave files behind
2020-01-14 13:03:02 -08:00
springstan 204ca3f3a6 Move imports to top for frontend (#29487) 2019-12-05 13:44:59 +01:00
Bram Kragten 90e723e25e Allow icons to be masked (#28692) 2019-11-11 02:53:57 -08:00
gngj 9153729b21 move hass-frontend import back down (#28203) 2019-10-25 09:02:40 -07:00
Diefferson Koderer Môro a13f8a1781 Move imports in frontend component (#27988) 2019-10-21 00:04:56 +02:00
Ville Skyttä f259ff17d5
Type hint additions (#26831)
* Type hint additions

* Remove optional from sidebar_icon comment

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Remove optional from sidebar_title comment

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* Fix issues after rebase and mypy 0.730
2019-09-29 20:07:49 +03:00
Ville Skyttä 54242cd65c Type hint additions (#26765) 2019-09-20 08:23:34 -07:00
Franck Nijhof decf13b948 Use literal string interpolation in core (f-strings) (#26166) 2019-08-23 09:53:33 -07:00
Ville Skyttä b738082dad Type check various base components (#25878)
* Type check various component base classes, disabling bunch of checks for now

* Type hint fixes

* Help mypy out some

* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen 67546ce0b1
Make dev tools titlte translatable (#25166) 2019-07-15 13:39:04 -07:00
Paulus Schoutsen b11171aaeb
Fix mimetypes on borked Windows machines (#25018) 2019-07-08 13:16:22 -07:00
Franck Nijhof 31f569ada9 Batch of Component(s) -> Integration(s) (#24972) 2019-07-05 15:24:26 -07:00
Paulus Schoutsen 80844ae2ee
Add developer tools panel (#24812) 2019-06-28 08:34:53 -07:00
Thomas Lovén 9b52b9bf66 Allow extra js modules to be included in frontend (#24675)
* Add extra_module_url and extra_module_url_es5 to frontend options

* Address review comments
2019-06-21 13:16:28 -07:00
Paulus Schoutsen 3a0616c680
Use resource for index routing. (#24223) 2019-05-31 11:27:05 -07: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
Paulus Schoutsen 592e99947d
Convert frontend to do client-side modern JS detection (#23618)
* Convert frontend to do client-side async pick

* Further cleanup

* Updated frontend to 20190502.0

* Fix template caching

* Remove es5 test

* Lint

* Update description
2019-05-02 13:59:24 -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
Paulus Schoutsen c81b1956da Updated frontend to 20190410.0 2019-04-10 15:01:14 -07:00
Paulus Schoutsen 9a4b0cfb9b Updated frontend to 20190331.0 2019-03-31 19:52:44 -07:00
Paulus Schoutsen fbb9097f6c Updated frontend to 20190329.0 2019-03-29 16:46:15 -07:00
Paulus Schoutsen 05cdab03b1 Updated frontend to 20190327.0 2019-03-27 21:32:40 -07: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
Paulus Schoutsen 0a4251e08f Updated frontend to 20190321.0 2019-03-21 12:56:59 -07:00
Paulus Schoutsen 01d8b5831e Updated frontend to 20190320.0 2019-03-20 07:51:38 -07:00
Paulus Schoutsen 08849fd3e8 Updated frontend to 20190319.0 2019-03-19 11:38:05 -07:00
Paulus Schoutsen 05db444832 Updated frontend to 20190318.0 2019-03-18 17:04:04 -07:00
Paulus Schoutsen d16c507f34 Updated frontend to 20190316.0 2019-03-16 23:23:28 -07:00
Paulus Schoutsen 179c2315be Updated frontend to 20190315.1 2019-03-15 23:24:37 -07:00
Paulus Schoutsen 087748b5ff Updated frontend to 20190315.0 2019-03-15 10:43:32 -07:00
Paulus Schoutsen d0c8f6de56 Updated frontend to 20190313.0 2019-03-13 12:57:00 -07:00
Paulus Schoutsen 9178ac17ad Updated frontend to 20190312.0 2019-03-12 11:30:50 -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
Paulus Schoutsen ad73b6eee9 Updated frontend to 20190309.0 2019-03-09 21:26:35 -08:00
Paulus Schoutsen 467d8d616e Updated frontend to 20190305.0 2019-03-05 11:45:31 -08:00
Paulus Schoutsen c03116291e Updated frontend to 20190303.0 2019-03-03 21:55:51 -08:00
Paulus Schoutsen 5e67054ee1 Updated frontend to 20190228.0 2019-02-28 17:43:36 -08:00
Paulus Schoutsen f3bb9e870e Updated frontend to 20190227.0 2019-02-27 16:33:56 -08:00
Paulus Schoutsen 03573781c7 Updated frontend to 20190220.0 2019-02-20 08:55:42 -08:00
Paulus Schoutsen f452409cfa Updated frontend to 20190219.0 2019-02-19 10:14:33 -08:00
Paulus Schoutsen d1ebe2cbac Updated frontend to 20190218.0 2019-02-18 13:25:43 -08:00
Paulus Schoutsen 66267474dc Updated frontend to 20190216.0 2019-02-16 12:00:04 -08:00
Paulus Schoutsen f7a6027466 Updated frontend to 20190215.0 2019-02-15 10:09:09 -08:00
Paulus Schoutsen c2579d1d8a Updated frontend to 20190213.0 2019-02-13 15:43:55 -08:00
Fabian Affolter 127c55e0c1
Update file header (#21023)
* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen 4d1d22070c Bump frontend to 20190212.0 2019-02-12 13:48:11 -08:00