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ý
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ý
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ý
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ý
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ý
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ý
cacdd9e20a
Revert 'autogenerate token.'
2021-03-13 22:54:34 +01:00
Miroslav Šedivý
3fcca6ab52
OnHostChanged event and add tokens to session.
2021-03-13 22:17:49 +01:00
Miroslav Šedivý
93ac4e8332
autogenerate token.
2021-03-13 21:43:36 +01:00
Miroslav Šedivý
a6b66e4d55
OnHostChanged event.
2021-03-13 21:37:00 +01:00
Miroslav Šedivý
3aea0c7bf5
remove members from session.
2021-03-13 21:11:48 +01:00
Miroslav Šedivý
45679f1b86
format Go source code.
2021-02-14 14:40:17 +01:00
Miroslav Šedivý
9ca4e04e0b
pointer struct to members crud.
2020-12-06 21:10:45 +01:00
Miroslav Šedivý
2467c94c59
add profileChanged.
2020-12-06 19:29:39 +01:00
Miroslav Šedivý
a2da60d617
add default access control on users.
2020-12-06 19:19:57 +01:00
Miroslav Šedivý
5edd9dc97a
+ CanHost.
2020-12-06 18:50:41 +01:00
Miroslav Šedivý
35cd0f5270
add connect / disconnect to adapters.
2020-12-06 18:11:11 +01:00
Miroslav Šedivý
100544198b
add members database adapters interface.
2020-12-06 00:21:09 +01:00
Miroslav Šedivý
edb9fef097
remove unused HasHost.
2020-12-05 23:42:40 +01:00
Miroslav Šedivý
b24c217509
members database import.
2020-12-05 23:31:41 +01:00
Miroslav Šedivý
9f452aeb01
add database to Sessions.
2020-12-05 23:05:46 +01:00
Miroslav Šedivý
a6fbafc079
SetProfile changed as Update.
2020-12-05 22:18:45 +01:00
Miroslav Šedivý
feb07b97ab
resolve deadlock problem with mutexes.
2020-12-03 20:05:44 +01:00
Miroslav Šedivý
d7b5bd6842
extract member state to custom struct.
2020-12-03 16:10:52 +01:00
Miroslav Šedivý
1f5c0a3547
updated session events.
2020-12-02 18:59:32 +01:00
Miroslav Šedivý
81b3fbd673
moved capture StopStream to websockets events.
2020-12-02 17:36:06 +01:00
Miroslav Šedivý
0d2f3405bb
new MemberProfile & session refactor.
2020-12-02 17:29:38 +01:00
Miroslav Šedivý
220e162f42
beautify.
2020-12-02 17:23:35 +01:00
Miroslav Šedivý
82d37b15e4
HasConnectedMembers and Members returns not connected.
2020-12-02 17:12:00 +01:00