Commit Graph

563 Commits

Author SHA1 Message Date
Miroslav Šedivý
428d6939ec use HttpUnprocessableEntity if already broadcasting. 2020-11-18 23:05:26 +01:00
Miroslav Šedivý
ef03f9ec9d do not export REST functions. 2020-11-18 22:35:50 +01:00
Miroslav Šedivý
1ae6f05c73 update 401 & 403. 2020-11-18 22:34:42 +01:00
Miroslav Šedivý
18ca647c76 Data -> Payload & change order. 2020-11-18 21:56:42 +01:00
Miroslav Šedivý
ac2fc100b4 REST API keyboard. 2020-11-18 21:53:06 +01:00
Miroslav Šedivý
db820806a4 add broadcast endpoint & broadcast pipeline return error. 2020-11-18 21:34:39 +01:00
Miroslav Šedivý
6fbb1a2cc7 add control give & control take endpoints. 2020-11-18 21:10:40 +01:00
Miroslav Šedivý
6d27b0a69c return err socket. 2020-11-18 20:34:33 +01:00
Miroslav Šedivý
da7e6f7728 Broadcast should not return error. 2020-11-18 20:30:33 +01:00
Miroslav Šedivý
3f4914d260 REST API control. 2020-11-16 22:48:20 +01:00
Miroslav Šedivý
eec285cd07 Rename displayname to name. 2020-11-16 22:22:19 +01:00
Miroslav Šedivý
570efbf3a6 remove unused ban endpoint. 2020-11-16 22:21:21 +01:00
Miroslav Šedivý
d87a10b23a remove unused mute function. 2020-11-16 22:10:03 +01:00
Miroslav Šedivý
99068b893b naming convention -> screen size. 2020-11-16 22:04:50 +01:00
Miroslav Šedivý
227b6b24c2 REST screen change broadcast. 2020-11-16 21:57:53 +01:00
Miroslav Šedivý
e8f9e2e4e4 fix clipboard bug. 2020-11-16 21:57:35 +01:00
Miroslav Šedivý
0dab2a99d3 introduce REST API authorization. 2020-11-16 19:37:52 +01:00
Miroslav Šedivý
316533dab0 remove duplicate error logging. 2020-11-16 18:12:25 +01:00
Miroslav Šedivý
b411675108 code indentation. 2020-11-16 17:48:10 +01:00
Miroslav Šedivý
234b0a2e06 remove code duplication. 2020-11-16 16:56:03 +01:00
Miroslav Šedivý
db706097f6 add mutex on streaming and fix "Fail while changing screen size and no users are joined". 2020-11-14 23:14:48 +01:00
Miroslav Šedivý
0d419787bc add memberMu. 2020-11-14 23:05:09 +01:00
Miroslav Šedivý
f11c1c5e54 add hostMu. 2020-11-14 22:54:35 +01:00
Miroslav Šedivý
1fd53cfb74 CheckKeys() mutex on shared map. 2020-11-14 22:35:50 +01:00
Miroslav Šedivý
8a9f465d0b add log to http utils. 2020-11-14 18:27:20 +01:00
Miroslav Šedivý
4a5654f2ef fix lint err. 2020-11-14 18:27:10 +01:00
Miroslav Šedivý
7524f20cb7 http session context helper function. 2020-11-14 18:22:15 +01:00
Miroslav Šedivý
40b986c8be use Chi Router instead of Chi Mux. 2020-11-14 18:16:25 +01:00
Miroslav Šedivý
a18482b54e use websocket authentication & refactor. 2020-11-14 17:51:18 +01:00
Miroslav Šedivý
f136a31b03 minor refactor ifs. 2020-11-14 16:09:00 +01:00
Miroslav Šedivý
7c64e6068a minor session changes. 2020-11-14 16:03:39 +01:00
Miroslav Šedivý
e5eaf5c60c session id to session. 2020-11-14 16:03:12 +01:00
Miroslav Šedivý
fdf5839547 trim newlines on webrtc logs. 2020-11-14 14:52:15 +01:00
Miroslav Šedivý
d09b6dcb10 broadcast naming convention & on destroy. 2020-11-14 13:46:12 +01:00
Miroslav Šedivý
bd45e81afe fixes "Fast changing screen size crashes neko". 2020-11-13 22:22:44 +01:00
Miroslav Šedivý
9c26f35c76 destroy pipelines func. 2020-11-13 21:23:48 +01:00
Miroslav Šedivý
ff97242bac normalize logs. 2020-11-13 17:42:04 +01:00
Miroslav Šedivý
dd8867615e fix naming convention. 2020-11-13 17:34:53 +01:00
Miroslav Šedivý
e4864b095e http listening not warning. 2020-11-07 20:12:37 +01:00
Miroslav Šedivý
a6fd0f3d25 fixes "screen size change is sometimes failing". 2020-11-07 17:22:25 +01:00
Miroslav Šedivý
e4fa855f7b linter fix. 2020-11-04 00:41:04 +01:00
Miroslav Šedivý
a8173ce02f change screen size only on desktop. 2020-11-04 00:27:47 +01:00
Miroslav Šedivý
b0ae758d7b refactor xorg race condition. 2020-11-04 00:09:52 +01:00
Miroslav Šedivý
51c6e0091f Connected / Disconnected refactor. 2020-11-01 21:03:25 +01:00
Miroslav Šedivý
e51541fe01 separate disconnect from destroy. 2020-11-01 20:53:25 +01:00
Miroslav Šedivý
311ed987d8 refactor WS authentication. 2020-11-01 20:23:09 +01:00
Miroslav Šedivý
16d762b6ae GST pipelines refactor. 2020-11-01 20:18:19 +01:00
Miroslav Šedivý
c10b2212d1 auth moved from websockets to session. 2020-11-01 18:39:12 +01:00
Miroslav Šedivý
3ea979ed47 minor changes. 2020-11-01 18:12:16 +01:00
Miroslav Šedivý
c53ae28196 remove emotes structs. 2020-11-01 17:56:06 +01:00