From 295fc8ad213ca7e48764db33d11fcb33caa01ef3 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 19:45:40 +0200 Subject: [PATCH 01/11] dummy README --- webrtc/README | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 webrtc/README diff --git a/webrtc/README b/webrtc/README new file mode 100644 index 00000000..e69de29b From e475ef38faab808e91c0b31047d6275069ba6156 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 19:46:12 +0200 Subject: [PATCH 02/11] template for admin config dialog --- webrtc/templates/admin.tpl | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 webrtc/templates/admin.tpl diff --git a/webrtc/templates/admin.tpl b/webrtc/templates/admin.tpl new file mode 100644 index 00000000..d56de10b --- /dev/null +++ b/webrtc/templates/admin.tpl @@ -0,0 +1,2 @@ +{{include file="field_input.tpl" field=$webrtcurl}} +
From 2f1382a230722e97b71efe5e9d83b81df9b030fc Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 19:46:29 +0200 Subject: [PATCH 03/11] addon code --- webrtc/webrtc.php | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 webrtc/webrtc.php diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php new file mode 100644 index 00000000..ad50a0d5 --- /dev/null +++ b/webrtc/webrtc.php @@ -0,0 +1,53 @@ + + * Author: Tobias Diekershoff + */ + +function webrtc_install() { + register_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu'); +} + +function web_uninstall() { + unregister_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu'); + +} + +function webrtc_app_menu($a,&$b) { + $b['app_menu'][] = ''; +} + +function webrtc_plugin_admin (&$a, &$o) { + $t = get_markup_template( "admin.tpl", "addon/webrtc/" ); + $o = replace_macros( $t, array( + '$submit' => t('Submit'), + '$webrtcurl' => array('webrtcurl', t('WebRTC Base URL'), get_config('webrtc','webrtcurl' ), t('Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org .')), + )); +} +function webrtc_plugin_admin_post (&$a) { + $url = ((x($_POST, 'webrtcurl')) ? notags(trim($_POST['webrtcurl'])) : ''); + set_config('webrtc', 'webrtcurl', $url); + info( t('Settings updated.'). EOL); +} + +function webrtc_module() { + return; +} + +function webrtc_content(&$a) { + $o = ''; + + /* landingpage to create chatrooms */ + $webrtcurl = get_config('webrtc','webrtcurl'); + + /* embedd the landing page in an iframe */ + $o .= '

'.t('Video Chat').'

'; + $o .= '

FIXME some short information for the enduser what to do. Best surrounded in a t() call so the text can be translated.

'; + $o .= ''; + + return $o; +} +?> From f02ca5bb56c6aa495aba4a539620b819bc547a50 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 19:52:51 +0200 Subject: [PATCH 04/11] READNE text by Stephen --- webrtc/README | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/webrtc/README b/webrtc/README index e69de29b..382b00b4 100644 --- a/webrtc/README +++ b/webrtc/README @@ -0,0 +1,22 @@ +Webrtc Plugin +==================== + +This is a quick and dirty addon to add a webrtc website as an app. As webrtc +advances so rapidly there is s a chance this plugin will be obsolete. Webrtc is +a new video and audio conferencing tool that is browser to browser +communication, no need to download specific software for just conferencing. +There are many different webrtc instances and because of the technology it is +really a person 2 person communication, using the server to only signal who +wants to talk to who, the actual transfer of the audio and video is directly +between the participants. + +If you would like to try this plugin please download one of the following +either Chrome/Chromium 25 +or higher or Firefox 21 or higher. Then test it by visiting a known webrtc +instance (i.e. https://live.mayfirst.org) create a room, you should be asked to +share your camera and microphone (firefox will let you choose one or the other, +whereas chrome/chromium asks for both in one question). + +If the test is successful then proceed with copying the webrtc instance you +would like to use and place it in the config window and save. Now when you +opent he app it will load the webrtc instance for you to use. From 4ec97f98d9ce959750930ef4a9b393a7895b3127 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 19:54:47 +0200 Subject: [PATCH 05/11] README text by Stephen --- webrtc/README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webrtc/README b/webrtc/README index 382b00b4..75797f18 100644 --- a/webrtc/README +++ b/webrtc/README @@ -11,11 +11,11 @@ wants to talk to who, the actual transfer of the audio and video is directly between the participants. If you would like to try this plugin please download one of the following -either Chrome/Chromium 25 -or higher or Firefox 21 or higher. Then test it by visiting a known webrtc -instance (i.e. https://live.mayfirst.org) create a room, you should be asked to -share your camera and microphone (firefox will let you choose one or the other, -whereas chrome/chromium asks for both in one question). +either Chrome/Chromium 25 or higher or Firefox 21 or higher. Then test it by +visiting a known webrtc instance (i.e. https://live.mayfirst.org) create a +room, you should be asked to share your camera and microphone (firefox will let +you choose one or the other, whereas chrome/chromium asks for both in one +question). If the test is successful then proceed with copying the webrtc instance you would like to use and place it in the config window and save. Now when you From 089341ad536e2d579892fc3216a8edcc829f8dc5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 19:58:21 +0200 Subject: [PATCH 06/11] tar ball of the WebRTC addon --- webrtc.tgz | Bin 0 -> 1767 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 webrtc.tgz diff --git a/webrtc.tgz b/webrtc.tgz new file mode 100644 index 0000000000000000000000000000000000000000..a0e1c6553495b6b17cf25271c7ab03c4c05f19f3 GIT binary patch literal 1767 zcmVF1MOJ*Z`(K$?yuEfF))J4E`0JM$p*;UF1p(mSYRJTx3_md zQ5dvDS-eQ1mZahsLH_sqhLRmSNn0Gy^l-Nx7?8xrJip-#y^;&#;=z;0q#@|+^wd8= zcc1=!G#;HCpPe3`9-llJjz+`N(Gxm-RIOU7trLdmiP749ZrzvW|3_)n#NWxH%7v5m zF_7>d#D6?K5`C6;n-m6IL16nTx2>+7Rt$<0lN2D8Zk3}?ZA+ZBIFYV-fy z>zA*7dHqN-zL5Xp@#)#!`hRwOcF6y4LI3dar?+{%RAn%If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ration was not done by the admin --- webrtc/webrtc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index ad50a0d5..ce2a1ad9 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -46,7 +46,12 @@ function webrtc_content(&$a) { /* embedd the landing page in an iframe */ $o .= '

'.t('Video Chat').'

'; $o .= '

FIXME some short information for the enduser what to do. Best surrounded in a t() call so the text can be translated.

'; - $o .= ''; + if ($webrtcurl == '') { + $o .= '

'.t('Please contact your friendica admin and send a reminder to configure the WebRTC addon.').'

'; + } else { + $o .= ''; + } + return $o; } From eac098a1c41cd36677845b2e7f717ae9b4834cac Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 20:20:26 +0200 Subject: [PATCH 08/11] update the webrtc.tgz --- webrtc.tgz | Bin 1767 -> 1836 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webrtc.tgz b/webrtc.tgz index a0e1c6553495b6b17cf25271c7ab03c4c05f19f3..26aba9d180c1da8dc2732f71686dbef7bacb8a68 100644 GIT binary patch delta 1831 zcmV+?2iW-M4Xh4-ABzY8GTo0+00Zq<`)k|C7VfXnUvV&@vWu_$$^)`VN_X4B!ahp3 zyL+J&GnPiy+(;Vj%qWft`QP_DBiXT&wBXtIv~a0r}? z4tO~YA5VqP(?2}^*Vn3y^E#1~s$8CRQYG_bs>-T%41x~%fwTPvC$-6MZi3T9T~eG2 zYtK5io)yY}bdVms6{p?9ipiYm8i9?>9?sZaOqLKOKPKdGNn> z#XpkT{D1%E)$5<%JdupAD_0|IzW}c$fd*g8uaJr+0ZhS7mVa00qH^ zOj*KD&|kHRFG!RLCCa!Zi6qe_In6JaZotG3PInT2*iw?Hs)%0Mb}|sjr6^-*$!ap9 zQc1ofmq{a80?UXqp2rxzE3XzURG!mJlAc+eOD7|0)mAnTRLTWiszhq9n5Yw_Db{5Q zo@K1cIrP&x_zA}%W=1cpG^}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O^(X|<|?gmepf7sqoLz>Rmj^CTFUVk&ay%75q z&DQXCu)kyc58Uef{oT*l?Nx5-~TIpyeepaB2T z!JSGQD2@+@$MT7?-M_V_#qVdp(A$?Hi-k;@HmMazULsNi*DRG99N&AQG)0`S*?1O4 zaFfqLbkm%K5mJ!HzrVM-n!WkypTE4ulTZd6e;>Hjw6!t1E)%qttQbvVoyeK%_9g@W zhOQV`#^tYRPOor*g7)a3{q-aF@tX{)hg54#v?iW*!synMQP@F-BrcnFz8em!s}9;r z+ydO@6Gu(6b+#L~CiY;?;eT=X`{_UjI?#a*bf5zr=s*WL(18y0|4jb|9!E-k04M+e DYg~0# From 360ab11efb3172dab04a80a62d63c15f766174ba Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 12 May 2013 21:23:04 +0200 Subject: [PATCH 09/11] wrong function name --- webrtc.tgz | Bin 1836 -> 1834 bytes webrtc/webrtc.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc.tgz b/webrtc.tgz index 26aba9d180c1da8dc2732f71686dbef7bacb8a68..078aee1032366b6abc5d92c3f20b3bd010dcceed 100644 GIT binary patch delta 1731 zcmV;!20Zz!4yq1+ABzY8{p*iW00Zq zbmX6)yHEc<8jlVSCdWsU!eEN$yAk9?HB|d@&jl44Nhv4-`oVJiMpgX z7uKG2Y&|P~lcz{SUOkeG&*cAjd^B0*|H07#pZ}xD!DN^JUxR-4@uxR=Jy&IL_5cOJ zyG&WaPtc#WiZ4i%2_?$7C5a@_B{|J6m~Ozt4^DTJd;tgn*pr0;dVfCvo-I)ke8r~l zfm!8jG9}rG>UDZ5mIqnvHki zJVaf_E?)*S=@wF!et%shj8n0yn12)mKcuwOH7#_VCzPuT>1CSbRz#~@3fR5&uP)b4 zNOhj;1?&l=VqnnsnbCzD_=lxTRCH_ zUo?=h83!MehGLXIBfJL-6&qb;Y-TrY_4TL*oCD?*XIe85*bm10L9_9FL<#soCdG{x z;*}R5(0UNgun<=8*5J58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_=-*8 z1%)V=a8v3h-O4wr1m3*;tn5t2qP8$BWgn1}aaQVF&zGcF*}zDV!#{#5X)HWFUcKB= zxwhU;uz)?6jdi-jPOIjn$Z3)3U?ECpdBTbOf}a@d`#mCdH5NG|N(*gQ+BBYIH5>23 zd5F4x*vxL)>g!PrI0wur&a`GAupf-~gJ$FVh!XIFOo|&X z#49gAp!Fb}VIi#Gt-)V43g)zZ{r2Vz(c~> zKz2_fHQMzEk4wgbaE5BnD4f*?3?J{jn$U0f^ zflvq>dkLMcPTkZfStfSt;2q$k;=9S95avo*cPZzhJm2K@LC+LU$k$3JAUrxDP;{GQnLs>iPH0(O(Aw}f6VT-0e7#Ha5T-d{Scsda6tuMT1 zJ}c972~+=H1a+T7C3?QEH@&g%pv+vlDNu1ySAWyh9~fQgtpCC2^!a1MF&%>Od;1z& zjr7$E+fkTp7ySC@+KgCsgFWUSwl~y}&d%A6-J_n5c?I)*6?<)zhV6M-0J-P z{wM7ADmQgd&?`6ooxDsOK^Gr5H>rjV^)%u@wVo3|Dr$SKa;TyI+6%utpo3((BPn^wLhu zZPyu9v}--*vdGnHRi?V@V9715htf4ZMq zY*(R^I+s4R_KbA3DIZ)0Jsdifdp0w8LVuukJu-MfIeHx^z<+dbr_u(B$)tX->ijDahmB z-CJFqzy0ywKfl362i$OQ8s{Bt3SSERA{@4J018pbj83jE`LpPdW8!Vv_}W+uOGRO-|3)Y)%H|M-A#wF=Y8C^753J> zYi<-AHr!{LLkQ2x=p}PHlGigClA@)o61=GKYja;#>zCumz{NvhQsQrgEyWRR};7T#QE23ZFmR4MqOc0LIC6P-vCh^(f}v`07jB+bpQYW diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index ce2a1ad9..bcf278a6 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -11,7 +11,7 @@ function webrtc_install() { register_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu'); } -function web_uninstall() { +function webrtc_uninstall() { unregister_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu'); } From ad29b2368fb7c9e4d97c0354bebcd0fbba6079b0 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 14 May 2013 18:50:45 +0200 Subject: [PATCH 10/11] fixing the info text for the visitors --- webrtc/webrtc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index bcf278a6..7a4e8cf7 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -45,7 +45,7 @@ function webrtc_content(&$a) { /* embedd the landing page in an iframe */ $o .= '

    '.t('Video Chat').'

    '; - $o .= '

    FIXME some short information for the enduser what to do. Best surrounded in a t() call so the text can be translated.

    '; + $o .= '

    '.t('WebRTC is a video and audio conferencing tool that works with Firefox (version 21 and above) and Chrome/Chromium (version 25 and above). Just create a new chat room and send the link to someone you want to chat with.').'

    '; if ($webrtcurl == '') { $o .= '

    '.t('Please contact your friendica admin and send a reminder to configure the WebRTC addon.').'

    '; } else { From 5da5b228dc97be7622acd31dcd631e6af474b8fc Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 14 May 2013 18:51:07 +0200 Subject: [PATCH 11/11] update to the webrtc tar ball --- webrtc.tgz | Bin 1834 -> 1822 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webrtc.tgz b/webrtc.tgz index 078aee1032366b6abc5d92c3f20b3bd010dcceed..01a67823e876a8742332bfdb1894d3f958a7e803 100644 GIT binary patch literal 1822 zcmV+(2jTc1iwFQsYm!j_1MOJ(wY}nh1u5a&$ zqA+NQvN%hmMpAZ+ApiUBNXfAix7`m-A0DcM0ZHVM_w94Mqc?n^Z9IJPm^4BHgEbpN>x_lgabxbcB4Tr=#iU2}~bVtC}ifnFe^Gm9n4W``rBhDQ$fGEicNPS#BN! z3I86hcO}%)gur3h?vEM5E)xdu$KbC@ z#4BJjfkbG#1(qaAf>rc_(;iIppmYa@OC+$ejNqlICj*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