Paulus Schoutsen
768c98d359
Fix import issues
2016-05-21 15:01:02 -07:00
Josh Wright
6490378de3
Add some missing view registrations
2016-05-21 15:01:01 -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
Robbie Trencheny
a1480582d9
Add /api/discovery_info ( #1791 )
...
* Allow /api/ and /api/config to be accessed without auth. If config is accessed without auth, only show minimal information. Also improves comments
* Re-enable auth on /api/ since a lot of tests get broken if it does not require auth
* Move the discovery info from /api/config to /api/discovery_info
* Flake8 fixes
2016-05-06 22:11:35 -07:00
Fabian Affolter
1f7e0936fa
Add missing comments
2016-03-15 19:22:21 +01:00
Fabian Affolter
b534244e40
Fix PEEP257 issues
2016-03-08 17:55:57 +01:00
Fabian Affolter
582394bc3b
Modify import of template and PEP257
2016-02-23 21:19:22 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
dabb8d5bbc
Merge pull request #1246 from balloob/feature/remove-state-fire-event
...
Have remove state fire state_changed event
2016-02-14 10:33:59 -08:00
Paulus Schoutsen
cafa4043b3
Move bootstrap endpoint from api to frontend
2016-02-14 00:04:08 -08:00
Paulus Schoutsen
06de73ff80
Allow removing a state via API + remote StateMachine
2016-02-13 23:00:38 -08:00
Paulus Schoutsen
80d3552960
Add template editor
2015-12-17 23:33:09 -08:00
Paulus Schoutsen
027b891052
Add tests for API.stream
2015-12-14 23:20:43 -08:00
Paulus Schoutsen
0b325b2b7d
API.stream - catch more errors
2015-12-11 18:43:00 -08:00
Paulus Schoutsen
47b5fbfaf3
Add template API endpoint
2015-12-10 20:47:06 -08:00
Paulus Schoutsen
733de6b357
Streaming API will keep session alive
2015-11-28 22:14:40 -08:00
Paulus Schoutsen
78cfed1fb0
Clean up HTTP sessions and allow log out
2015-11-28 17:18:35 -08:00
Paulus Schoutsen
e84ef2d2d7
API to fetch Error log is no longer cached.
2015-11-28 14:08:01 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
e4c3d47dbf
Expose API to view error log
2015-11-07 01:44:02 -08:00
Fabian Affolter
77ba0c0393
Add link to docs
2015-10-25 15:58:58 +01:00
Paulus Schoutsen
4b6878f91c
Restrict data from stream API
2015-09-23 21:35:23 -07:00
Paulus Schoutsen
1b89a502c4
Extract core into own submodule
2015-08-16 20:44:46 -07:00
Paulus Schoutsen
972743cb63
Fix style issue
2015-05-01 20:56:10 -07:00
Paulus Schoutsen
30f78f7fa6
Add API endpoint to bootstrap frontend
2015-05-01 19:02:29 -07:00
Paulus Schoutsen
ca8be5015a
Add config API endpoint
2015-05-01 18:24: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
19a43cea26
Add scene component
2015-03-15 23:36:42 -07:00
Paulus Schoutsen
89f59a758d
Frontend: stream fires ping on connect
...
This is needed for Safari/Firefox to call onOpen
2015-02-19 23:31:06 -08:00
Paulus Schoutsen
f46e0408b3
Add ping to streaming events API
2015-02-19 00:15:27 -08:00
Paulus Schoutsen
3ee2c6e210
Write to log if an event stream is closed
2015-02-15 16:44:25 -08:00
Paulus Schoutsen
846e11d6b8
Frontend streams events from HA
2015-02-13 18:59:42 -08:00
Paulus Schoutsen
3f26fc3b06
Move more HTTP stuff into constant file
2015-02-13 18:27:13 -08:00
Paulus Schoutsen
c75447bc66
Expose loaded components on the API
2015-01-31 19:08:50 -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