Commit Graph

52 Commits

Author SHA1 Message Date
Miroslav Šedivý
58d029f455 WS upgrade no returning error. 2021-03-16 10:45:22 +01:00
Miroslav Šedivý
ecad2124fd session state decoupled. 2021-03-14 00:50:08 +01:00
Miroslav Šedivý
4a28307c1e session profile decoupled. 2021-03-14 00:45:51 +01:00
Miroslav Šedivý
d83e04e7ec fix logs, unified session_id. 2021-03-13 23:27:28 +01:00
Miroslav Šedivý
a6b66e4d55 OnHostChanged event. 2021-03-13 21:37:00 +01:00
Miroslav Šedivý
58b00525cc refactor authenticate to use Token. 2021-03-13 20:42:56 +01:00
Miroslav Šedivý
0aa1237df9 change pingPeriod to 10s. 2021-03-03 18:35:58 +01:00
Miroslav Šedivý
2b693f4e52 fix naming convention. 2021-02-14 17:11:21 +01:00
Miroslav Šedivý
45679f1b86 format Go source code. 2021-02-14 14:40:17 +01:00
Miroslav Šedivý
c9b2c93fb8 cursor image/position from WebRTC. 2021-02-13 18:25:40 +01:00
Miroslav Šedivý
f22922191a broadcast cursor position via WebSockets. 2021-02-11 18:36:27 +01:00
Miroslav Šedivý
91f1727723 lint remove whitespaces. 2021-02-02 18:28:32 +01:00
Miroslav Šedivý
b420841f9d no clipboard content bug. 2021-02-01 12:23:37 +01:00
Miroslav Šedivý
6d59b3feff session handler with cookies. 2021-01-29 22:22:14 +01:00
Miroslav Šedivý
546cd608c3 join plain text and rich text to one struct. 2021-01-29 20:05:13 +01:00
Miroslav Šedivý
2d11b4fa56 xclip multiple clipboard content types. 2021-01-28 22:51:55 +01:00
Miroslav Šedivý
11e74459ac replace libclipboard with xclip. 2021-01-28 21:12:35 +01:00
Miroslav Šedivý
d30d6deb79 add CORS. 2021-01-23 18:18:14 +01:00
Miroslav Šedivý
64dd31844b filechooser websocket handler. 2021-01-20 23:48:50 +01:00
Miroslav Šedivý
d4e0287eb5 file chooser dialog events implementation. 2021-01-19 21:01:31 +01:00
Miroslav Šedivý
49c3b6d4fe xevent: OnWindowCreated. 2021-01-12 00:09:43 +01:00
Miroslav Šedivý
a2ca3727fe xevent to update clipboard. 2021-01-11 15:30:53 +01:00
Miroslav Šedivý
910f0af995 xevent cursor change. 2021-01-10 15:58:17 +01:00
Miroslav Šedivý
589628f6ca cursor image as WS event. 2021-01-10 12:37:32 +01:00
Miroslav Šedivý
9782b8391d cursor updates to client (WIP). 2021-01-09 23:01:39 +01:00
Miroslav Šedivý
b197bb303e add support for modules. 2020-12-12 18:37:19 +01:00
Miroslav Šedivý
5b69413e01 AddHandler in WebSockets. 2020-12-12 17:40:10 +01:00
Miroslav Šedivý
e17e2cb606 + CanAccessClipboard. 2020-12-06 18:55:24 +01:00
Miroslav Šedivý
d2ffac3d4b + CanConnect. 2020-12-06 18:49:08 +01:00
Miroslav Šedivý
d7b5bd6842 extract member state to custom struct. 2020-12-03 16:10:52 +01:00
Miroslav Šedivý
f361d0c681 WS added session events. 2020-12-02 18:59:54 +01:00
Miroslav Šedivý
123fbd8317 IsAdmin + IsConnected. 2020-12-02 16:49:51 +01:00
Miroslav Šedivý
25fec63455 WS do not connect if already connected. 2020-12-02 11:45:22 +01:00
Miroslav Šedivý
1b6bc44f2a event SystemDisconnect. 2020-12-01 19:44:23 +01:00
Miroslav Šedivý
753fb01955 removed OnCreated event. 2020-11-30 18:52:16 +01:00
Miroslav Šedivý
e93d167be6 update clipboard WS. 2020-11-30 17:40:38 +01:00
Miroslav Šedivý
179a22476c do not remove user on disconnect. 2020-11-28 15:30:35 +01:00
Miroslav Šedivý
ecfce6c886 remove room lock. 2020-11-25 22:16:56 +01:00
Miroslav Šedivý
f9b2460c3b replace SetConnected function. 2020-11-25 20:26:11 +01:00
Miroslav Šedivý
fa54823098 Split connected to WebRTC & WebSocket. 2020-11-25 20:02:53 +01:00
Miroslav Šedivý
ff7efe9f3b socket -> websocket_peer. 2020-11-25 18:36:33 +01:00
Miroslav Šedivý
da7e6f7728 Broadcast should not return error. 2020-11-18 20:30:33 +01:00
Miroslav Šedivý
570efbf3a6 remove unused ban endpoint. 2020-11-16 22:21:21 +01:00
Miroslav Šedivý
e8f9e2e4e4 fix clipboard bug. 2020-11-16 21:57:35 +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ý
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ý
c10b2212d1 auth moved from websockets to session. 2020-11-01 18:39:12 +01:00