Commit Graph

149 Commits

Author SHA1 Message Date
Miroslav Šedivý
3aea0c7bf5 remove members from session. 2021-03-13 21:11:48 +01:00
Miroslav Šedivý
58b00525cc refactor authenticate to use Token. 2021-03-13 20:42:56 +01:00
Miroslav Šedivý
fa16b28ac0 set secure cookies by default. 2021-03-01 18:52:05 +01:00
Miroslav Šedivý
d2eda6f25f cursor utils changed to generic CreatePNGImage. 2021-02-25 14:15:18 +01:00
Miroslav Šedivý
45679f1b86 format Go source code. 2021-02-14 14:40:17 +01:00
Miroslav Šedivý
36b7eca43c name confusion Enabled -> Started. 2021-02-05 14:03:53 +01:00
Miroslav Šedivý
91f1727723 lint remove whitespaces. 2021-02-02 18:28:32 +01:00
Miroslav Šedivý
7c305b5a27 clipboard lint fix. 2021-02-01 18:29:39 +01:00
Miroslav Šedivý
28f3397723 logout correct cookie path. 2021-01-29 23:07:43 +01:00
Miroslav Šedivý
dabda571d4 session response 200 on login & logout. 2021-01-29 23:03:35 +01:00
Miroslav Šedivý
6d59b3feff session handler with cookies. 2021-01-29 22:22:14 +01:00
Miroslav Šedivý
546cd608c3 join plain text and rich text to one struct. 2021-01-29 20:05:13 +01:00
Miroslav Šedivý
5c9a57ee91 xclip minor changes + image. 2021-01-29 00:03:22 +01:00
Miroslav Šedivý
1e479dc03f backward compatibility. 2021-01-28 23:59:51 +01:00
Miroslav Šedivý
2d11b4fa56 xclip multiple clipboard content types. 2021-01-28 22:51:55 +01:00
Miroslav Šedivý
11e74459ac replace libclipboard with xclip. 2021-01-28 21:12:35 +01:00
Miroslav Šedivý
7cbee94a80 multipart form lint fixes. 2021-01-25 17:45:52 +01:00
Miroslav Šedivý
794728f4a8 add nolint. 2021-01-25 17:36:43 +01:00
Miroslav Šedivý
51d061e9aa minor lint fixes. 2021-01-25 17:31:24 +01:00
Miroslav Šedivý
1ffbe337d4 shot.jpg. 2021-01-23 15:23:10 +01:00
Miroslav Šedivý
fdd98377b3 lazy screencast. 2021-01-23 15:17:52 +01:00
Miroslav Šedivý
3161870906 add screencast to capture. 2021-01-22 18:13:32 +01:00
Miroslav Šedivý
407853eeb1 decouple BroadcastManager from CaptureManager. 2021-01-22 14:09:47 +01:00
Miroslav Šedivý
afd3dd2f56 generate screenshot using Xlib. 2021-01-21 20:44:09 +01:00
Miroslav Šedivý
d4e0287eb5 file chooser dialog events implementation. 2021-01-19 21:01:31 +01:00
Miroslav Šedivý
8f60041b2d fix dialog close and add API. 2021-01-18 10:34:33 +01:00
Miroslav Šedivý
2b3bb6e21a upload dialog API. 2021-01-17 23:50:03 +01:00
Miroslav Šedivý
3bbe3781c8 set screen size using struct. 2021-01-15 17:30:19 +01:00
Miroslav Šedivý
0e09609c67 KeyboardLayout to KeyboardMap. 2021-01-15 16:53:03 +01:00
Miroslav Šedivý
8c47cbae68 multipart form correct destroying. 2021-01-14 19:54:22 +01:00
Miroslav Šedivý
71dbdc06f5 add layout variant. 2021-01-12 23:52:44 +01:00
Miroslav Šedivý
7f18c5842d changing keyboard layout as go exec. 2021-01-12 23:48:15 +01:00
Miroslav Šedivý
4844225a0b keyboardModifiersGet. 2021-01-12 23:35:46 +01:00
Miroslav Šedivý
a0d8f1b880 xorg modifiers refactor. 2021-01-12 22:54:13 +01:00
Miroslav Šedivý
9f3bc0261c update upload API error reporting & cleanup. 2021-01-09 16:24:05 +01:00
Miroslav Šedivý
fad6b649d3 upload, implicit hosting, only members that can control. 2021-01-09 13:42:08 +01:00
Miroslav Šedivý
d65ba62bfc upload middleware: fix permissions issue. 2021-01-08 23:42:53 +01:00
Miroslav Šedivý
fc6997d2ac lint fix. 2021-01-08 22:41:37 +01:00
Miroslav Šedivý
d3340ad085 upload drop change API. 2021-01-07 18:28:23 +01:00
Miroslav Šedivý
3e52b264ba API drop file upload. 2021-01-06 20:03:41 +01:00
Miroslav Šedivý
62ba53dc46 implement file drop API. 2021-01-06 18:57:50 +01:00
Miroslav Šedivý
da71c9261d API: Target member was not found, return 404. 2020-12-27 17:07:09 +01:00
Miroslav Šedivý
a6dccc753b API update: control give memberId. 2020-12-26 23:53:04 +01:00
Miroslav Šedivý
af463b1015 AddRouter in API. 2020-12-12 17:07:45 +01:00
Miroslav Šedivý
9786c8d537 join members endpoints to one file. 2020-12-08 16:05:54 +01:00
Miroslav Šedivý
f1f26b5f25 MemberDataPayload & membersList implemented. 2020-12-08 16:04:54 +01:00
Miroslav Šedivý
7fb40c0384 + GetProfile & GetState members. 2020-12-08 15:37:48 +01:00
Miroslav Šedivý
209971cb8a member profile & state to types. 2020-12-08 15:14:20 +01:00
Miroslav Šedivý
58c8104ce6 remove unused logger from room api handler. 2020-12-08 14:31:15 +01:00
Miroslav Šedivý
4b4ddcfe15 use json marshal default values. 2020-12-08 14:13:12 +01:00
Miroslav Šedivý
9ca4e04e0b pointer struct to members crud. 2020-12-06 21:10:45 +01:00
Miroslav Šedivý
5edd9dc97a + CanHost. 2020-12-06 18:50: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ý
cf47b7e2fa crud update new member profile. 2020-12-02 17:43:34 +01:00
Miroslav Šedivý
0d2f3405bb new MemberProfile & session refactor. 2020-12-02 17:29:38 +01:00
Miroslav Šedivý
5541675f57 use member id or create new. 2020-12-02 16:50:30 +01:00
Miroslav Šedivý
b7103ca809 ResetKeys on ClearHost. 2020-12-02 10:46:00 +01:00
Miroslav Šedivý
964588b328 remove HostID. 2020-12-02 00:04:36 +01:00
Miroslav Šedivý
2e090eb54d update control WS. 2020-11-30 18:24:38 +01:00
Miroslav Šedivý
4bbf3bb039 update screen WS. 2020-11-30 17:53:05 +01:00
Miroslav Šedivý
f9b62073ef add control reset. 2020-11-29 15:58:26 +01:00
Miroslav Šedivý
c4978ba376 http response name convention. 2020-11-28 15:00:21 +01:00
Miroslav Šedivý
59457b7658 rest CRUD members minor update. 2020-11-27 20:00:14 +01:00
Miroslav Šedivý
a330a3cc76 REST create & Delete member. 2020-11-25 22:39:54 +01:00
Miroslav Šedivý
d49542013b CRUD add payloads. 2020-11-22 00:06:55 +01:00
Miroslav Šedivý
43781cdf52 fix crud handler. 2020-11-21 23:57:54 +01:00
Miroslav Šedivý
ce49d975c0 member in plural form. 2020-11-21 23:42:34 +01:00
Miroslav Šedivý
d39d922f85 add dummy member endpoints. 2020-11-21 23:39:24 +01:00
Miroslav Šedivý
fb6dabf4e0 add control status. 2020-11-18 23:14:28 +01:00
Miroslav Šedivý
628abe06fd rest control edit. 2020-11-18 23:05:38 +01:00
Miroslav Šedivý
428d6939ec use HttpUnprocessableEntity if already broadcasting. 2020-11-18 23:05:26 +01:00
Miroslav Šedivý
ef03f9ec9d do not export REST functions. 2020-11-18 22:35:50 +01:00
Miroslav Šedivý
18ca647c76 Data -> Payload & change order. 2020-11-18 21:56:42 +01:00
Miroslav Šedivý
ac2fc100b4 REST API keyboard. 2020-11-18 21:53:06 +01:00
Miroslav Šedivý
db820806a4 add broadcast endpoint & broadcast pipeline return error. 2020-11-18 21:34:39 +01:00
Miroslav Šedivý
6fbb1a2cc7 add control give & control take endpoints. 2020-11-18 21:10:40 +01:00
Miroslav Šedivý
da7e6f7728 Broadcast should not return error. 2020-11-18 20:30:33 +01:00
Miroslav Šedivý
3f4914d260 REST API control. 2020-11-16 22:48:20 +01:00
Miroslav Šedivý
227b6b24c2 REST screen change broadcast. 2020-11-16 21:57:53 +01:00
Miroslav Šedivý
0dab2a99d3 introduce REST API authorization. 2020-11-16 19:37:52 +01:00
Miroslav Šedivý
4a5654f2ef fix lint err. 2020-11-14 18:27:10 +01:00
Miroslav Šedivý
7524f20cb7 http session context helper function. 2020-11-14 18:22:15 +01:00
Miroslav Šedivý
40b986c8be use Chi Router instead of Chi Mux. 2020-11-14 18:16:25 +01:00
Miroslav Šedivý
a18482b54e use websocket authentication & refactor. 2020-11-14 17:51:18 +01:00
Miroslav Šedivý
a8173ce02f change screen size only on desktop. 2020-11-04 00:27:47 +01:00
Miroslav Šedivý
507fce7862 port new API back to refactor. 2020-11-01 16:54:06 +01:00
Miroslav Šedivý
b6393c4396 API lint fix. 2020-10-31 21:58:57 +01:00
Miroslav Šedivý
894c0f28dc REST API implement Clipboard. 2020-10-31 12:35:02 +01:00
Miroslav Šedivý
963d210507 use custom JWT middleware. 2020-10-31 12:27:55 +01:00
Miroslav Šedivý
71d39a5c74 add API JWT auth. 2020-10-31 10:48:24 +01:00
Miroslav Šedivý
4e6a78fb54 update errors. 2020-10-30 22:39:35 +01:00
Miroslav Šedivý
c77d2b0305 ScreenConfigurationsList API. 2020-10-30 22:20:23 +01:00
Miroslav Šedivý
bff779aee7 add new REST errors. 2020-10-30 22:06:03 +01:00
Miroslav Šedivý
b6d5df6d04 API screen change websocket broadcast. 2020-10-30 21:29:51 +01:00
Miroslav Šedivý
9343e85b8f resolution -> screen configuration. 2020-10-30 21:28:07 +01:00
Miroslav Šedivý
d48b857dfe API resiolution with error handling. 2020-10-30 19:56:22 +01:00
Miroslav Šedivý
dc32e64190 api manager. 2020-10-30 18:16:21 +01:00
Miroslav Šedivý
5acd428dee create api skeleton. 2020-10-29 22:23:30 +01:00