Commit Graph

64 Commits

Author SHA1 Message Date
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