Miroslav Šedivý
a61eade929
add LockedLogins to settings.
2024-04-20 14:27:15 +02:00
Miroslav Šedivý
848556adbd
add time stats to state.
2023-05-15 16:47:59 +02:00
Miroslav Šedivý
0760976b4b
set all settings initially using config.
2023-05-15 16:47:28 +02:00
Miroslav Šedivý
cf4e0666fe
add locked controls to settings.
2023-05-15 16:47:28 +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ý
09508638ce
session save & load from a file. ( #38 )
2023-03-27 18:33:51 +02: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ý
470f670865
private mode release control.
2022-03-27 00:32:21 +01:00
Miroslav Šedivý
81867d811b
sessions: switch to settings struct.
2022-03-27 00:08:06 +01:00
Miroslav Šedivý
d004ddd68f
private mode implementation.
2022-03-26 23:20:38 +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ý
d068698836
update logging.
2022-02-12 18:55:56 +01:00
Miroslav Šedivý
55a2b14aea
webrtc implement signal close.
2022-02-12 18:46:00 +01:00
Miroslav Šedivý
646b6ecaff
cookie expiration as time duration.
2022-01-16 21:03:25 +01:00
Miroslav Šedivý
097e8d2a87
Inactive cursors - multiple positions.
2021-11-12 15:27:05 +00: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ý
28c22a254b
use types.Cursor.
2021-11-01 17:31:00 +01:00
Miroslav Šedivý
0b5e064cab
add sessions cursors.
2021-10-24 01:09:41 +02:00
Miroslav Šedivý
318b833b30
set position in session.
2021-10-23 20:25:18 +02:00
Miroslav Šedivý
e9502b0d9b
session update mutex logic.
2021-09-30 19:42:25 +02:00
Miroslav Šedivý
5bae3503d0
session websocket & webrtc add mutex.
2021-09-29 01:01:03 +02:00
Miroslav Šedivý
137614c087
fix deadlock.
2021-09-18 00:56:03 +02:00
Miroslav Šedivý
c85d00e507
add websocket destroy reason.
2021-09-02 21:52:23 +02:00
Miroslav Šedivý
3ac1b481ad
session websocket add event.
2021-09-01 21:16:36 +02:00
Miroslav Šedivý
a95a987fb6
Destroy() does not return error.
2021-08-29 19:17:10 +02:00
Miroslav Šedivý
343b0c562a
common errors as variable.
2021-08-29 17:09:13 +02:00
Miroslav Šedivý
b2ae808233
add merciful reconnect option.
2021-08-23 18:41:19 +02:00
Miroslav Šedivý
ec18775e26
change error messages punctuation.
2021-04-24 21:37:43 +02:00
Miroslav Šedivý
4f1e3c879a
read cookies only if enabled.
2021-04-24 21:11:07 +02:00
Miroslav Šedivý
04d2fa8863
cookie: enabled / disabled.
2021-04-24 20:53:37 +02:00
Miroslav Šedivý
78b6264494
split webrtc & WS destroy.
2021-03-25 14:08:26 +01:00
Miroslav Šedivý
bf6181764b
clear cookie if non-existent session.
2021-03-25 10:29:28 +01:00
Miroslav Šedivý
da1d073846
websocket connection change.
2021-03-23 15:38:37 +01:00
Miroslav Šedivý
89081d9887
do not destroy WebRTC on WS disconnect.
2021-03-23 15:38:09 +01:00
Miroslav Šedivý
4abe0a5dba
move cookies to session + config.
2021-03-17 14:09:10 +01:00
Miroslav Šedivý
a9aa62f062
lint & logging fixes.
2021-03-16 10:53:03 +01:00
Miroslav Šedivý
0824c24bf6
add more privileges to API user.
2021-03-15 16:28:38 +01:00
Miroslav Šedivý
45c9d0c120
add API TOKEN to sessions.
2021-03-15 13:34:14 +01:00
Miroslav Šedivý
edfe9adde0
change authorization methods request priorities.
2021-03-15 13:01:35 +01:00
Miroslav Šedivý
304cb5d655
add CanLogin check for Authenticate.
2021-03-14 19:58:15 +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ý
7d4f7694b9
login username password.
2021-03-14 00:32:52 +01:00
Miroslav Šedivý
dafebc79e5
memberState -> sessionState.
2021-03-13 23:42:16 +01:00
Miroslav Šedivý
d83e04e7ec
fix logs, unified session_id.
2021-03-13 23:27:28 +01:00
Miroslav Šedivý
cacdd9e20a
Revert 'autogenerate token.'
2021-03-13 22:54:34 +01:00