Miroslav Šedivý
b40c0778c8
file chooser dialog diabled by default.
2023-11-24 10:39:09 +01:00
Miroslav Šedivý
dfc7eb3882
Fix noisy errors ( #49 )
...
* send message error.
* read message error.
* close webrtc conn only if not closed yet.
* file upload no files received.
2023-05-19 17:19:38 +02:00
Miroslav Šedivý
0ea1c2870f
Refactor websocket session sync ( #44 )
...
* refactor websocket peer and comment functions.
* update comments.
* add DestroyWebSocketPeer.
2023-04-23 11:23:20 +02:00
Miroslav Šedivý
43a649d2c4
websockets set max payload log size. ( #42 )
2023-03-31 12:02:19 +02:00
Miroslav Šedivý
2cb64d15a0
send heartbeat with ping. ( #16 )
2022-11-11 17:58:54 +01:00
Miroslav Šedivý
691150900b
Temporary websocket disconnect handling ( #6 )
...
* fix websocket close log error.
* logger session interface no pointer.
* websocket delayet disconnect.
* session host: save id not pointer to a session.
* fix if hostId not stored.
2022-08-26 20:16:40 +02:00
Miroslav Šedivý
babddacbf3
Go generics and changes in v1.18 ( #5 )
...
* ArrayIn to use generics.
* interface{} -> any.
2022-07-28 12:20:20 +02:00
Miroslav Šedivý
3cd59b9f30
rename module name from gitlab to github.
2022-07-14 22:10:41 +02:00
Miroslav Šedivý
7d53e59945
properly clear inactive cursors.
2022-03-27 00:26:11 +01:00
Miroslav Šedivý
81867d811b
sessions: switch to settings struct.
2022-03-27 00:08:06 +01:00
Miroslav Šedivý
8593d2d0fd
move shared code to pkg.
2022-03-20 11:43:00 +01:00
Miroslav Šedivý
94c17e9a42
rename module to gitlab.com/demodesk/neko/server.
2022-03-20 11:27:41 +01:00
Miroslav Šedivý
d108343ced
Logs JSON output.
2022-03-07 10:05:02 +00:00
Miroslav Šedivý
097e8d2a87
Inactive cursors - multiple positions.
2021-11-12 15:27:05 +00:00
Miroslav Šedivý
15cb4300a5
cursors add currentEmpty.
2021-11-07 21:23:23 +01:00
Miroslav Šedivý
6b77f54b8c
inactiveCursors to own func.
2021-11-03 23:52:44 +01:00
Miroslav Šedivý
437eb44003
inactive cursors access control.
2021-11-03 21:59:38 +01:00
Miroslav Šedivý
3528766e7f
inactive cursors to config.
2021-11-01 17:49:02 +01:00
Miroslav Šedivý
1025eedc22
inactive cursor length rewrite.
2021-10-26 22:35:38 +02:00
Miroslav Šedivý
78e4c38264
lastEmpty session cursors.
2021-10-26 21:07:57 +02:00
Miroslav Šedivý
0b5e064cab
add sessions cursors.
2021-10-24 01:09:41 +02:00
Miroslav Šedivý
e45bd7098f
replace chan struct{}.
2021-10-04 14:40:20 +02:00
Miroslav Šedivý
d91c0a9f7f
move websocket Ping to peer.
2021-09-24 15:15:59 +02:00
Miroslav Šedivý
f96466b7b9
websocket upgrade as router handler.
2021-09-18 14:59:15 +02:00
Miroslav Šedivý
fd9d5ec6f8
websocket shutdown + log.
2021-09-18 13:41:20 +02:00
Miroslav Šedivý
5a7cdd31fe
http refactor.
2021-09-17 00:24:33 +02:00
Miroslav Šedivý
4f7bd48bec
ws close connections on shutdown and add wg.
2021-09-09 23:55:53 +02:00
Miroslav Šedivý
d0e283f1a9
do not log info about FE log messages.
2021-09-09 22:51:24 +02:00
Miroslav Šedivý
c85d00e507
add websocket destroy reason.
2021-09-02 21:52:23 +02:00
Miroslav Šedivý
d7671942a6
code fmt change.
2021-09-02 21:37:24 +02:00
Miroslav Šedivý
1dab0bd859
remove session from websocket peer.
2021-09-02 20:30:50 +02:00
Miroslav Šedivý
7e2f173460
unify shutdown logs.
2021-09-02 00:00:29 +02:00
Miroslav Šedivý
fd35254487
simplified logging.
2021-09-01 23:30:09 +02:00
Miroslav Šedivý
c2fe224562
audit errors and warnings.
2021-09-01 23:10:06 +02:00
Miroslav Šedivý
49c48b3200
remove event from messages.
2021-09-01 21:58:39 +02:00
Miroslav Šedivý
5b5e541cc0
websocket peer add event.
2021-09-01 21:11:07 +02:00
Miroslav Šedivý
6a32dbadf4
updated websocket logging.
2021-08-29 23:03:04 +02:00
Miroslav Šedivý
402b8f1a08
rename WebSocket handler.
2021-08-29 23:01:51 +02:00
Miroslav Šedivý
c82a083fb6
use websocket message.
2021-08-29 23:00:51 +02:00
Miroslav Šedivý
a95a987fb6
Destroy() does not return error.
2021-08-29 19:17:10 +02:00
Miroslav Šedivý
8f8cd47e85
websockets logging.
2021-08-29 18:23:58 +02:00
Miroslav Šedivý
b2ae808233
add merciful reconnect option.
2021-08-23 18:41:19 +02:00
Miroslav Šedivý
da1d073846
websocket connection change.
2021-03-23 15:38:37 +01:00
Miroslav Šedivý
0b4c6f50aa
remove leftover code.
2021-03-16 13:57:43 +01:00
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