Paulus Schoutsen
767f3d58ff
Add websocket_api as frontend dependency
2016-11-27 12:13:01 -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
Lewis Juggins
95b439fbd5
Upgrade aiohttp to 1.1.5 ( #4213 )
2016-11-24 21:37:56 -08:00
Paulus Schoutsen
1d100dcac9
Bugfix/frontend group urls ( #4185 )
...
* Remove unnecessary sleeps
* Frontend: fix serving index when refreshing view page.
2016-11-02 21:15:23 -07:00
Nicholas Sideras
1d9ac5f8b3
Update __init__.py ( #4155 )
...
Changed manifest.json to respect Android screen rotate lock.
2016-10-31 13:04:54 -07:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Paulus Schoutsen
519d9f2fd0
async HTTP component ( #3914 )
...
* Migrate WSGI to asyncio
* Rename wsgi -> http
* Python 3.4 compat
* Move linting to Python 3.4
* lint
* Lint
* Fix Python 3.4 mock_open + binary data
* Surpress logging aiohttp.access
* Spelling
* Sending files is a coroutine
* More callback annotations and naming fixes
* Fix ios
2016-10-23 23:48:01 -07:00
hexa-
154eacef6c
Http: Change approved_ips from string to cidr validation ( #3532 ) [BREAKING CHANGE]
...
* Change approved_ips from string to cidr validation
Relabel to trusted_networks, better reflecting its expected inputs,
everything that ipaddress.ip_networks recognizes as an ip network
is possible:
- 127.0.0.1 (single ipv4 addresses)
- 192.168.0.0/24 (ipv4 networks)
- ::1 (single ipv6 addresses)
- 2001:DB8::/48 (ipv6 networks)
* Add support for the X-Forwarded-For header
2016-10-09 08:13:30 -07:00
Paulus Schoutsen
dc68f61261
Html5 push notifications notify platform ( #2807 )
...
* Initial work to add Chrome Push Notification support
* Remove push.js from home-assistant since it is now in Polymer
* Chrome->HTML5, general cleanup/fixes
* Make html5 generic, move manifest.json into frontend so that we can dynamically add the gcm_sender_id
* Pylint, flake8, pydocstyle frontend init
* HTML5 push fixes
* Update polymer
* Remove crypto req
* Add notify default platform.
* Fix HTML5 push
* Registration fixes
* Linting fix
* pep257 fix
* Add tests
* pep257 fix
* Update frontend
2016-08-14 01:10:07 -07:00
Paulus Schoutsen
9a575eb6d6
Link prefetch panels ( #2748 )
...
* Add link=prefetch to index.html
* Improve http request logging
2016-08-08 17:35:27 -07:00
Paulus Schoutsen
b9b1d95514
Tweak panel parameters ( #2746 )
2016-08-07 21:56:17 -07:00
Paulus Schoutsen
55624bcff9
Add custom panel example using React ( #2651 )
2016-07-29 00:49:58 -07:00
Paulus Schoutsen
59029f2830
Update frontend
2016-07-19 23:36:52 -07:00
Paulus Schoutsen
38c50c830f
Fix linting errors
2016-07-16 23:45:38 -07:00
Paulus Schoutsen
22b4aebeb3
Add support for dynamic frontend panels
2016-07-16 23:21:34 -07:00
Paulus Schoutsen
8fcfb9136c
Update frontend
2016-07-12 09:16:21 -07:00
Paulus Schoutsen
6d60287455
Update frontend
2016-07-12 00:10:05 -07:00
Paulus Schoutsen
31b8e49ad2
Fix PyLint 1.6 issues ( #2471 )
2016-07-07 18:54:16 -07:00
Alex Harvey
076fdc3f8b
Add a robots.txt ( #2207 )
2016-06-05 18:48:59 -04:00
Paulus Schoutsen
70b74da3eb
Update frontend
2016-05-28 18:38:46 -07:00
Paulus Schoutsen
e10b00f341
Update frontend
2016-05-27 21:45:38 -07:00
Paulus Schoutsen
9aa9e57890
Cleanup
2016-05-21 15:01:35 -07:00
Paulus Schoutsen
585fbb1c02
Cache files in static folder for a year
2016-05-21 15:01:34 -07:00
Paulus Schoutsen
de5533e3c2
Fix auth frontend
2016-05-21 15:01:34 -07:00
Paulus Schoutsen
1096232e17
More WIP
2016-05-21 15:01:34 -07:00
Paulus Schoutsen
15e329a588
Tons of fixes - WIP
2016-05-21 15:01:33 -07:00
Paulus Schoutsen
768c98d359
Fix import issues
2016-05-21 15:01:02 -07:00
Josh Wright
d0320a9099
WIP: Add WSGI stack
...
This is a fair chunk of the way towards adding a WSGI compatible stack
for Home Assistant. The majot missing piece is auth/sessions. I was
undecided on implementing the current auth mechanism, or adding a new
mechanism (likely based on Werkzeug's signed cookies).
Plenty of TODOs...
2016-05-21 15:01:01 -07:00
Paulus Schoutsen
7cb69ae9d9
Make sure we always sent content-length header
2016-03-27 12:15:41 -07:00
Fabian Affolter
f22a40c3e8
Fix PEP257 issues
2016-03-09 11:15:04 +01:00
Paulus Schoutsen
cafa4043b3
Move bootstrap endpoint from api to frontend
2016-02-14 00:04:08 -08:00
Paulus Schoutsen
4233c0bc66
Update frontend with view url sync
2016-01-25 22:47:13 -08:00
Paulus Schoutsen
80d3552960
Add template editor
2015-12-17 23:33:09 -08:00
Paulus Schoutsen
3faa1a4393
Fix lint issues
2015-12-13 13:47:05 -08:00
Paulus Schoutsen
f93d6a1a11
Fix local dir config path
2015-12-13 13:40:42 -08:00
Fabian Affolter
48593c6a68
Add docstrings
2015-12-09 08:24:12 +01:00
Paulus Schoutsen
fe485cc27d
Initial service worker support
2015-12-07 23:43:28 -08:00
Paulus Schoutsen
0df39b4df5
Remove no password set boolean
2015-11-28 18:32:15 -08:00
Paulus Schoutsen
78cfed1fb0
Clean up HTTP sessions and allow log out
2015-11-28 17:18:35 -08:00
Paulus Schoutsen
27b001df2b
Add dev info to frontend urls
2015-11-09 21:48:36 -08:00
Paulus Schoutsen
77f4fc8c22
Frontend: Add materialdesignicons
2015-11-03 00:20:20 -08:00
Paulus Schoutsen
c6b5a04312
Allow more static files to be fingerprinted
2015-11-02 00:03:53 -08:00
Tom Duijf
5322789c14
Ability to store icons/pictures in config_dir/www for e.g. device_tracker pictures
2015-10-08 14:10:33 +00:00
Paulus Schoutsen
acddae3747
Initial support for maps in frontend
2015-09-20 23:14:58 -07:00
Paulus Schoutsen
c861622748
Extract frontend code into own repository
2015-07-12 20:43:07 -07:00
Paulus Schoutsen
ad15a14f5d
Frontend: move hashchange/localstorage code into HA-JS
2015-06-23 23:22:32 -07:00
Paulus Schoutsen
58812b326c
Move hass.local_api and hass.components to config object
2015-03-21 22:06:59 -07: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
09bf64db42
Fix style issues
2015-02-07 15:54:58 -08:00