Commit graph

57 commits

Author SHA1 Message Date
Florian Ludwig
23382ab199 assign user to websocket connection when using legacy_api_password () 2019-01-08 20:45:24 -08:00
Paulus Schoutsen
d1a621601d No more opt-out auth ()
* No more opt-out auth

* Fix var
2018-12-02 16:32:53 +01:00
Paulus Schoutsen
df21dd21f2 RFC: Call services directly ()
* Call services directly

* Simplify

* Type

* Lint

* Update name

* Fix tests

* Catch exceptions in HTTP view

* Lint

* Handle ServiceNotFound in API endpoints that call services

* Type

* Don't crash recorder on non-JSON serializable objects
2018-11-30 21:28:35 +01:00
Paulus Schoutsen
a2386f871d Forbid float NaN in JSON () 2018-11-28 13:25:23 +01:00
Paulus Schoutsen
9d7b1fc3a7
Enforce permissions for Websocket API ()
* Handle unauth exceptions in websocket

* Enforce permissions in websocket API
2018-11-27 10:12:31 +01:00
Paulus Schoutsen
2e6346ca43 Break up websocket 2 ()
* Break up websocket 2

* Lint+Test

* Lintttt

* Rename
2018-10-01 16:09:31 +02:00
Paulus Schoutsen
22a80cf733
Break up websocket component ()
* Break up websocket component

* Lint
2018-10-01 11:21:00 +02:00