Commit Graph

83 Commits

Author SHA1 Message Date
Miroslav Šedivý
fc3b6f2e21 OnProfileChanged add new & old profile. 2024-06-09 18:02:01 +02:00
Miroslav Šedivý
0e8108e9a4 add session delete and disconnect to API. 2024-05-09 10:28:58 +02:00
Miroslav Šedivý
416faa3df4 add session to host change. 2024-05-06 23:47:13 +02:00
Miroslav Šedivý
57ffca0bed add session to settings change. 2024-05-05 00:03:32 +02:00
Miroslav Šedivý
0f45aa3f19 implement control protection. 2024-04-21 20:10:16 +02:00
Miroslav Šedivý
a61eade929 add LockedLogins to settings. 2024-04-20 14:27:15 +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ý
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