Commit Graph

150 Commits

Author SHA1 Message Date
Miroslav Šedivý
b40c0778c8 file chooser dialog diabled by default. 2023-11-24 10:39:09 +01:00
Miroslav Šedivý
9d1ea87128
members bulk delete. (#59) 2023-11-19 15:19:47 +01:00
Miroslav Šedivý
4da7869e70
Add Xorg modifiers (#57)
* implement additional modifiers to xorg.

* xorg modifiers to API.

* update modifiers api & add ws.

* scroll pos rename to delta and add ctrl key.
2023-09-11 16:34:57 +02:00
Miroslav Šedivý
e83c447e52 fix control give API. 2023-06-06 21:49:57 +02: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ý
8660c1a256 add sessions to API. 2023-05-15 16:47:59 +02:00
Miroslav Šedivý
cf4e0666fe add locked controls to settings. 2023-05-15 16:47:28 +02:00
Miroslav Šedivý
f8b128e1e9
Custom sizes with XRandR (#25)
* xserver dummy with RandR.

* update.

* remove screen configurations from xorg.

* screen size cannot be nil anymore.

* use predefined screen configurations.

* use screen configurations.

* fix error.

* remove comment.
2023-02-14 21:18:47 +01:00
Miroslav Šedivý
6574470278 login logout proper http error handling. 2023-01-12 23:21:56 +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ý
8f83089c8e move to /health and exclude metrics from logging. 2022-07-04 18:09:47 +02:00
Miroslav Šedivý
ef7e9b1a53 move metrics to /metrics. 2022-06-14 22:34:51 +00:00
Miroslav Šedivý
0952be6a94 add chi metrics middleware. 2022-06-15 00:22:27 +02:00
Miroslav Šedivý
a4bb108168 replace modules with go plugins. 2022-04-15 19:28:00 +00:00
Miroslav Šedivý
58fca708a7 add settings update to API. 2022-03-27 00:26:25 +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ý
670e0ee17d member profile can share media. 2021-12-09 21:48:02 +01:00
Miroslav Šedivý
437eb44003 inactive cursors access control. 2021-11-03 21:59:38 +01:00
Miroslav Šedivý
51577ecff4 screen size retype one struct. 2021-09-20 18:28:13 +02:00
Miroslav Šedivý
8d0fcbde70 use custom logger. 2021-09-17 00:58:50 +02:00
Miroslav Šedivý
4fa11e6a2a refactor HTTP error. 2021-09-16 20:16:51 +02:00
Miroslav Šedivý
9deb5adee1 MemberAlreadyExists returns UnprocessableEntity. 2021-09-09 00:33:11 +02:00
Miroslav Šedivý
d7671942a6 code fmt change. 2021-09-02 21:37:24 +02:00
Miroslav Šedivý
49c48b3200 remove event from messages. 2021-09-01 21:58:39 +02:00
Miroslav Šedivý
d00d66e0ec api forbidden if login disabled. 2021-08-29 17:23:49 +02:00
Miroslav Šedivý
0501091c96 remove io/ioutil. 2021-08-29 17:12:37 +02:00
Miroslav Šedivý
343b0c562a common errors as variable. 2021-08-29 17:09:13 +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ý
b48998f3f9 bulk update members. 2021-04-05 23:03:49 +02:00
Miroslav Šedivý
bf6181764b clear cookie if non-existent session. 2021-03-25 10:29:28 +01:00
Miroslav Šedivý
0eef9d4d98 update auth middlewares. 2021-03-21 21:26:53 +01:00
Miroslav Šedivý
5a79212b32 add healthcheck. 2021-03-19 15:04:01 +01:00
Miroslav Šedivý
4abe0a5dba move cookies to session + config. 2021-03-17 14:09:10 +01:00
Miroslav Šedivý
900ae006b8 fmt. 2021-03-14 20:26:58 +01:00
Miroslav Šedivý
524c76ae3c member manager login & logout. 2021-03-14 19:59:34 +01:00
Miroslav Šedivý
fad3ab0062 MemberData split ID and profile, return on create. 2021-03-14 16:19:23 +01:00
Miroslav Šedivý
4d2fb157f9 API implement members. 2021-03-14 14:44:32 +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ý
b03a730c84 memberId to sessionId. 2021-03-13 23:32:10 +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