From cf24220aac7c2d0799654086962c84cbdf2b88be Mon Sep 17 00:00:00 2001 From: Cracker Date: Fri, 18 Jan 2019 10:15:57 +0100 Subject: [PATCH 1/6] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6ba359..df47d7d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This is a lightweight NodeJS collaborative Whiteboard/Sketchboard witch can easi * Undo function for each user (strg+z as well) * Drag & Drop Images to Whiteboard from PC and Browsers * Copy & Paste Images from Clipboard to the Whiteboard -* Able to write text +* Write text * Resize, Move & Draw Images to Canvas or Background * Save Whiteboard to Image and JSON * Draw angle lines by pressing "shift" while drawing (with line tool) @@ -43,7 +43,10 @@ Call your site with GET parameters to change the WhiteboardID or the Username * You shoud be able to customize without ever toutching the whiteboard.js (take a look at index.html & main.js) ## ToDo -* Add feedback for errors and things ... +* Enable drag and drop for texts +* Show indicator on slider which tool is active (Pen, Text...) +* Make undo function more reliable on texts +* Add more callbacks for errors and things ... ## Nginx Reverse Proxy configuration Add this to your server part: From b3a5beea0913d77872457c9e19e1d981afdfd403 Mon Sep 17 00:00:00 2001 From: cracker Date: Mon, 4 Feb 2019 19:34:24 +0100 Subject: [PATCH 2/6] add whiteboard icons --- doc/iconPrev.jpg | Bin 0 -> 11056 bytes doc/nextcloud_icons/whiteboard-new.png | Bin 0 -> 1636 bytes doc/nextcloud_icons/whiteboard.png | Bin 0 -> 1009 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 doc/iconPrev.jpg create mode 100644 doc/nextcloud_icons/whiteboard-new.png create mode 100644 doc/nextcloud_icons/whiteboard.png diff --git a/doc/iconPrev.jpg b/doc/iconPrev.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2ac29b69e7050a968052fc8112306f31ae2b4fd4 GIT binary patch literal 11056 zcmeHM2UHW=)}BBh0kHsyQU!wugc3qT1t}_06*VAD;A%($gpxo)33@SD5R6K-0SXEz zO(`Nx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Ma& z&a*ujf#1RBdVyta1-Pvflh$L{HCT9Cv?ImMw&QkAjacs{9h-TP{aCUNl{=6ajL6@q zWM-e8$X1F%s^(SaU%|H77nu^ZtfkY@ify8lc8P+A@(oiflvJs=S0chof)41N`VblW zB9VRd8P=MeV{z^Fn1WX#8+{g3BS`NQ2MD%%Co{{xbrD*{0iNPHfMD(u{YfF(yucL> zz|MTg{!F{;qCLDUu4AN7unQz)NiD_@={)=p-oB@OEJr`N=lS%4NO4uAWlsQz++CKL-aQ{jUpw~Su7x9zH--xA` z7rN*_ojn^bxfu9-)Of>BawaVzT~4zG#5zBVVmJWOF%S{xE<8UrMwrssIzJcQ7H06H sf$@(@KbTdVZIqko>?q@g;{VLse=!s%*@~Hr)UQw1|9Q&(+M3h+4@j=d_W%F@ literal 0 HcmV?d00001 diff --git a/doc/nextcloud_icons/whiteboard-new.png b/doc/nextcloud_icons/whiteboard-new.png new file mode 100644 index 0000000000000000000000000000000000000000..365b1a91b177b6b134fa1cbce4f29d1619941e5c GIT binary patch literal 1636 zcmV-q2AlbbP)(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRZ>>PbXFRCwCtS7}gHWf*?G<(zvi_g+~PjO9uqGVWQLj7ln*X3IFOQ|V;c6qBig zX(pytm@~F$6JrtK!mebBEmnenOD;`iPLm4Sj2WrrSeXf)3+G$<0hEIz7h7lg{+{J| zzW06J=Y3zIwZ^}B=s$pANu`;PiU6?MJ|ur<1eAucWouQ_&Ru&@U*CZ7W5?je@nbos z42)3;0Q~Q~c|q|yJFjRhlu`hI0|yV`=&?HSSlUz$LKve&wvB-GCqV;3D#96ct;{dB zOV+IiAq0a44uEMI_~g^i!8paOH{FQYGp7+DBqLgDIF4YBkocgyLL4|$3ne88A;Ccs zg7XdMan+y!n0)VDZUA^=b%9;Fej_;N7&_!?%$+r(e`siz!%JU!MO0L62c;DE-F-XK z9-6{A01!%5USXjs-LMH-D@Y-MAn_eX;L7+OcyP+3GXy|(Zl1k<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B9{V><_hwm+B#HqXsFIG9YdOZT%Jyif?UreTCF#`~`E2>6G5MsVx8k5Y&%az*X->s?iz3i$wflBp zybJl+h%|}LfOX{wA$;3vwQi4MF*EYKpw;eNQGhG^UaygV-^HPEN$;%VHk)sEI(sAy z#d%lBGuoZ3F9+U;lS=xzX1SNtkaQxBGqd@;D0WNQ8Gn6UfbV0s%A@vAX7(VE09N)H z@E-8^r9E9bAIu&eN|Gk<88F=I7###H@BN=;I{^YP1MIJInb~)e_9sc=f%CvPFj{We zm!TgAYy&p}@B#2>c_v_HUja{f?uhwQm9r)&nHX0f)Tz=eju66IU#OnSEnszxD_@1-$5-I~V11gWTnMLeh+& z;n(hX_3`JNbHA6QwwcRhjI17zBnf5Rr@LPK*ZwKuS{IuU;D9|q+NCt=F`0aqxbe*h zXaK)(mEo@f$7ruf=_NhCjpPFE1{OE`c{H=@oO2HidL8c*)mgAQGeam3q}5+S0JnB4 fzc%n(WBfM&Lti60+NVc100000NkvXXu0mjfqaMz0 literal 0 HcmV?d00001 From 2d082ebb8a013e7550ad7e2e91f0b6b50df85679 Mon Sep 17 00:00:00 2001 From: Cracker Date: Mon, 4 Feb 2019 19:42:07 +0100 Subject: [PATCH 3/6] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index df47d7d..87ccef9 100644 --- a/README.md +++ b/README.md @@ -69,5 +69,9 @@ You can give each group its own whiteboard by changeing the WHITEBOARDNAME in th Note: You might have to serve the app with https (If your nextcloud server runs https). To do so, its recommend to run this app behind a reverse proxy. (as shown above) +#### (Optional) Set whiteboard icon in nextcloud +![start](https://raw.githubusercontent.com/cracker0dks/whiteboard/master/doc/iconPrev.jpg) + +Upload both icons present at /doc/nextcloud_icons/ to your nextcloud at the "external sites" admin section. Then set it as symbol on your link. ___ MIT License ___ From c222a56a73fd5fe3c759a847a53a00158ad35637 Mon Sep 17 00:00:00 2001 From: cracker Date: Mon, 4 Feb 2019 19:42:49 +0100 Subject: [PATCH 4/6] fix prev pic --- doc/iconPrev.jpg | Bin 11056 -> 13072 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/doc/iconPrev.jpg b/doc/iconPrev.jpg index 2ac29b69e7050a968052fc8112306f31ae2b4fd4..6ce1c66ae4844baf42323c5581c2e6c35ed6a6f5 100644 GIT binary patch literal 13072 zcmeHM2~ZPRw{8Sw6C)}(gGwAggE)|36Nw33iipUM3<{zMGVDf_HOLxz6cxb-89-nJ zfdNENR8$rbkjNqks9{Gy_FaM`1d@=gU*lLaQ_ib;zt5`w)n7li`=;*gd+t5weCOPA zPp9Fx@F1}E&;hdpfS8yV@Dp+Y@X*>MlOUoy09aT68UO%D0V~DU0pdtY47mWYJ-~{O zPXVc8kwie^<8wgj)XlV|QD7}{hrizpNFozgBmF~21vbA&ex#OK%VimXWdxQHSVmwO zfn@~#6A>`>b8_)?^FtDeKeGfWpCu%gvxNUde^}Oe8G&U4mJwJ+U>SkGB47;o0ZxDm z;0d@Pt)>4ZWPUnLBKhF3STBDqCs%K0H!T%V z>gZ@96q^3QUL>a=O)r1dPYdjK^LOzh`jCj;UR#$IbaM6%AQ4mo0*J0ScPDp!XIEE! zO=l-vS50kgS0_y;S6yvQS6y9K1AXn?I_}!eDxcW9y8OZ2C&2IQN8YY3Shuro=iIzV z{sXZx;>!yB9FUg+tO238mR$;cuE#cL7q#l=@3!mgA+KFo=ck#Rsme&xFFwD+!B zZ{;MZ;=4iTLR_Yl>b^%+3P)NPYP!yT7o}wsH-7W2(zfjw^&J{|`nwEv8{&-jn;bAb zXm;qRwaqcx<0tG~T;1F~P7}}glLF2M1_g&iT)KQE@@iCce8Tm_q~u?3q-15^%DJ7J zcjxZo!lL4mC#6rzs%vUr)YZRiXl!k3@96A$+ubuXJTf{qJ~27MYNEMftSoxjys&#vuxABDF9 zVz4!eJJ_$mBVGCy4tnp5hsXyE^+u({v$TS#|((W4)1fCth;w zlK%+85W zlma*55F?j@)h~}h)pnLB>lZ&NE~#i6jo(A&9E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C!ag^;Ub3|j=xA&naSV2P=dY^E+1Dqa}|L%JPNxEE&<2vSC}dD&Lahs zlh?3NKws36HNT;MQCL6MWBUy-Y zEGCE(zuz6|Bl=ZOgge;8oy)KgG4(7O>T$u1hD zHkPv0Ml*fqE*5))IwZSkqx-|_?viW*w<n;8So;`R+Rae&hq_TYU5)ZwAc zJX$hqjoX#{5x$z9aM8ftN8cW&NyAcOO4mTQMa& z&a*ujf#1RBdVyta1-Pvflh$L{HCT9Cv?ImMw&QkAjacs{9h-TP{aCUNl{=6ajL6@q zWM-e8$X1F%s^(SaU%|H77nu^ZtfkY@ify8lc8P+A@(oiflvJs=S0chof)41N`VblW zB9VRd8P=MeV{z^Fn1WX#8+{g3BS`NQ2MD%%Co{{xbrD*{0iNPHfMD(u{YfF(yucL> zz|MTg{!F{;qCLDUu4AN7unQz)NiD_@={)=p-oB@OEJr`N=lS%4NO4uAWlsQz++CKL-aQ{jUpw~Su7x9zH--xA` z7rN*_ojn^bxfu9-)Of>BawaVzT~4zG#5zBVVmJWOF%S{xE<8UrMwrssIzJcQ7H06H sf$@(@KbTdVZIqko>?q@g;{VLse=!s%*@~Hr)UQw1|9Q&(+M3h+4@j=d_W%F@ From 696b358b227ecd224678cee7faf03e8b6383ea97 Mon Sep 17 00:00:00 2001 From: Cracker Date: Mon, 4 Feb 2019 19:52:20 +0100 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 87ccef9..e57ae78 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ You can run this app with and without docker 1. install the latest NodeJs 2. Clone the app 3. Run `npm i` inside the folder -4. Run `node server.js` +4. Run `npm start` 5. Surf to http://YOURIP:8080 ### With Docker From e68869099aa2850b9a053fca15667309a4cd3b8c Mon Sep 17 00:00:00 2001 From: Cracker Date: Mon, 4 Feb 2019 19:53:23 +0100 Subject: [PATCH 6/6] fix dockerfile port --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 488d04d..7b4b95b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,5 @@ RUN npm install # Bundle app source COPY . /opt/app -EXPOSE 80 +EXPOSE 8080 CMD [ "npm", "start" ]