Commit Graph

58 Commits (80bc2666ac4205c3fb031e8f6f78cbdc5ec83027)

Author SHA1 Message Date
Paulus Schoutsen e68e29e03e Upgrade to aiohttp 1.2 (#4964)
* Upgrade to aiohttp 1.2

* Clean up emulated_hue tests
2017-01-11 21:25:02 +01:00
Paulus Schoutsen ed0d14c902 Base url: Fix external port different from internal port (#4990)
* Base url: Fix external port different from internal port

* Add base_url example to new config
2016-12-18 14:59:45 -08:00
Paulus Schoutsen f8af6e7863 Allow setting base url (#4985) 2016-12-18 12:56:07 -08:00
Erik Eriksson 6da3e23436 Update __init__.py (#4877)
Cleaner exit by not throwing exception if server was not set during initialization of component (ref https://github.com/home-assistant/home-assistant/pull/4866)
2016-12-13 08:57:33 -08:00
Erik Eriksson 12f790c7cf Display error message instead of exception (#4866)
* Display error message instead of exception

Display error message in log instead of stack trace.
(Usually happens when a server is already running at the same port.)

* Update __init__.py

Better error handling when reading SSL certificate

* Update __init__.py

* Update __init__.py
2016-12-12 22:02:24 -08:00
Adam Mills c40ddf18c7 Fix incorrect caching of /api/error_log (#4789) 2016-12-06 21:03:49 -08:00
Paulus Schoutsen 1b35f0878e Fix CORS when static resources registered (#4727) 2016-12-04 10:57:24 -08:00
Paulus Schoutsen 0d734303a4 HTTP: Fix registering views after start (#4604) 2016-11-27 14:01:12 -08:00
Paulus Schoutsen 32ffd006fa Reorganize HTTP component (#4575)
* Move HTTP to own folder

* Break HTTP into middlewares

* Lint

* Split tests per middleware

* Clean up HTTP tests

* Make HomeAssistantViews more stateless

* Lint

* Make HTTP setup async
2016-11-25 13:04:06 -08:00
Paulus Schoutsen 9616a2292e Add manifest.json 2015-03-03 21:15:15 -08:00
Paulus Schoutsen 3f26fc3b06 Move more HTTP stuff into constant file 2015-02-13 18:27:13 -08:00
Paulus Schoutsen cddeddac8d For backwards compat, have http load frontend/api 2015-01-31 09:55:26 -08:00
Paulus Schoutsen 13ac71bdf0 Clean up http related components 2015-01-30 08:26:06 -08:00
Paulus Schoutsen 8feeafd8a3 Refactor http into frontend and api component 2015-01-29 23:56:21 -08:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Paulus Schoutsen ed05ff6fd9 Allow for running Home Assistant without password 2015-01-17 21:55:33 -08:00
Paulus Schoutsen 50eecd11c1 Added command line toggle to open UI on start 2015-01-17 21:13:02 -08:00
Paulus Schoutsen 5e8673fc4a API Call Service returns states changed 2014-12-14 00:35:16 -08:00
Paulus Schoutsen 78d5625ace Calling a service can now block till execution is done 2014-12-13 22:40:00 -08:00
Paulus Schoutsen 68aa78d1fe Fix some style warnings by PyCharm 2014-12-07 01:28:52 -08:00
Paulus Schoutsen 0527760e9b Refactor: code moved to new helper and constants file. Also adds support for multiple types for switch/light components. 2014-12-06 23:57:02 -08:00
Paulus Schoutsen 5835d502c7 Moved more methods out of HomeAssistant object 2014-11-30 18:42:52 -08:00
Paulus Schoutsen c08676aa81 Reorganized some core methods 2014-11-28 23:38:42 -08:00
Paulus Schoutsen a4eb975b59 HTTP more robust and increased test coverage 2014-11-28 22:27:44 -08:00
Paulus Schoutsen 006310c883 Home Assistant stop is more robust 2014-11-28 20:22:08 -08:00
Paulus Schoutsen bc4b81d525 Reorganized testing 2014-11-23 13:00:06 -08:00
Paulus Schoutsen ad16c32504 Reorganized tests 2014-11-23 09:51:16 -08:00
Paulus Schoutsen 5d107ed74b Switched style checking to flake8 instead of pep8 2014-11-16 22:18:52 -08:00
Paulus Schoutsen 20ff5fadee Added doctype HTML to stop Safari converting selectors in embedded CSS to lower case 2014-11-14 00:26:20 -08:00
Paulus Schoutsen 23d080af86 Upgraded to Polymer 0.5 2014-11-12 00:36:20 -08:00
Paulus Schoutsen da960b29da Added meta-tag theme-color for better app experience on Chrome Mobile 2014-11-11 22:04:26 -08:00
Paulus Schoutsen c856c117a8 PEP8 style fix 2014-11-11 09:30:11 -08:00
Paulus Schoutsen 1e136a2416 Logging is more efficient 2014-11-08 13:59:40 -08:00
Paulus Schoutsen 98c2f1ea42 Fix broken tests after API upgrade 2014-11-02 17:52:51 -08:00
Paulus Schoutsen b686f04121 Major cleanup frontend 2014-11-01 15:04:44 -07:00
Paulus Schoutsen 3bab3f4be1 Frontend password checking is now done in polymer 2014-10-28 00:38:25 -07:00
Paulus Schoutsen d2a4d67cb0 Added gzip and better caching 2014-10-26 18:10:01 -07:00
Paulus Schoutsen 506496743d Cleaning up the code 2014-10-24 23:44:00 -07:00
Paulus Schoutsen 3db43d6545 Now JavaScript is inlined too 2014-10-24 23:31:12 -07:00
Paulus Schoutsen e7c648a2c3 Home Assistant contains pre-compiled version of polymer components 2014-10-24 23:09:19 -07:00
Paulus Schoutsen 450ce69353 Frontend now has mobile web app attribute set 2014-10-23 13:07:25 -07:00
Paulus Schoutsen 3eca37afd2 Added mobile device friendliness 2014-10-22 20:46:18 -07:00
Paulus Schoutsen e8ab546d32 Added initial version of Polymer frontend 2014-10-22 00:38:13 -07:00
Paulus Schoutsen a0c12fe685 More API clean up 2014-10-21 23:52:24 -07:00
Paulus Schoutsen 9979a3266e Call service api simplified 2014-10-19 18:41:06 -07:00
Paulus Schoutsen 001f27cdb4 HTTP API is now more RESTful 2014-10-17 00:17:02 -07:00
Paulus Schoutsen 38ed025ce3 Improved logging message for HTTP and SUN components 2014-09-24 21:59:04 -05:00
Paulus Schoutsen 31c88efc4a Updated favicon 2014-09-23 16:51:39 -05:00
Paulus Schoutsen 997c2e8ef6 Components+configuration now loaded dynamically
A major change to the bootstrapping of Home Assistant decoupling the
knowledge in bootstrap for a more dynamic approach. This refactoring
also prepares the code for different configuration backends and the
loading components from different places.
2014-08-13 14:28:45 +02:00
Paulus Schoutsen cb33b3bf24 Added missing docstring 2014-06-13 22:11:05 -07:00