diff --git a/.gitignore b/.gitignore index 501a87349..d04786e1a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ node_modules deploy-local.sh libs/app.bundle.* all.css +.remote-sync.json diff --git a/config.js b/config.js index 90bbd6410..f180124f2 100644 --- a/config.js +++ b/config.js @@ -69,4 +69,5 @@ var config = { /*noticeMessage: 'Service update is scheduled for 16th March 2015. ' + 'During that time service will not be available. ' + 'Apologise for inconvenience.'*/ + disableThirdPartyRequests: false }; diff --git a/css/contact_list.css b/css/contact_list.css index 4929cc90b..7dab8a523 100644 --- a/css/contact_list.css +++ b/css/contact_list.css @@ -44,6 +44,8 @@ vertical-align: middle; font-size: 22pt; border-radius: 20px; + max-height: 30px; + max-width: 30px; } #contactlist .clickable { diff --git a/css/main.css b/css/main.css index e4855d8c9..5a937025f 100644 --- a/css/main.css +++ b/css/main.css @@ -248,6 +248,7 @@ form { } div.feedbackButton { + display: none; position: absolute; background-color: rgba(0,0,0,.50); border-radius: 50%; diff --git a/css/unsupported_browser.css b/css/unsupported_browser.css index 847103b91..65744b12d 100644 --- a/css/unsupported_browser.css +++ b/css/unsupported_browser.css @@ -11,8 +11,8 @@ body { #wrap{ display: block; position: absolute; - width:900px; - height: 365px; + width:500px; + height: 565px; overflow:hidden; text-align: center; margin: auto; @@ -29,7 +29,7 @@ body { #text{ display:inline-block; font-size: 28px; - width: 568px; + /* width: 568px; */ vertical-align:middle; padding-top: 25px; } @@ -51,18 +51,23 @@ a { .browser_wrapper { width: 138px; - height: 188px; + /* height: 188px; */ vertical-align: middle; color: #929391; font-size: 20px; float: left; margin-left: 15px; + margin-top: 5px; } +.browser_text +{ + height: 2em; +} .supported_browsers { margin: 0px auto 0px auto; - width: 660px; + /* width: 660px; */ } .clear @@ -97,14 +102,14 @@ a { } #chromium_logo { - width: 85px; - height: 79px; + width: 77px; + height: 78px; background-image: url('/images/chromium.png'); } #firefox_logo { - width: 73px; - height: 79px; + width: 86px; + height: 80px; background-image: url('/images/firefox.png'); } @@ -114,5 +119,18 @@ a { height: 78px; background-image: url('/images/opera.png'); } - - + +#safari_logo +{ + width: 78px; + height: 79px; + background-image: url('/images/safari.png'); +} + +#ie_logo +{ + width: 80px; + height: 78px; + background-image: url('/images/ie.png'); +} + diff --git a/css/videolayout_default.css b/css/videolayout_default.css index 02649ca18..02a71eafa 100644 --- a/css/videolayout_default.css +++ b/css/videolayout_default.css @@ -319,6 +319,27 @@ z-index: 3; } +.videocontainer>span.dominantspeakerindicator { + bottom: 0px; + left: 0px; + width: 25px; + height: 25px; + z-index: 3; + text-align: center; + border-radius: 50%; + background: #0cf; + margin: 5px; + display: inline-block; + position: absolute; + color: #FFFFFF; + font-size: 11pt; + border: 0px; +} + +#speakerindicatoricon { + padding-top: 5px; +} + #reloadPresentation { display: none; position: absolute; diff --git a/debian/control b/debian/control index 47d274ce9..3d4368f9a 100644 --- a/debian/control +++ b/debian/control @@ -35,6 +35,6 @@ Description: Prosody configuration for Jitsi Meet Package: jitsi-meet-tokens Architecture: all -Depends: ${misc:Depends}, prosody | prosody-trunk, jitsi-meet-prosody +Depends: ${misc:Depends}, prosody-trunk (>= 1nightly603), libssl-dev, luarocks, jitsi-meet-prosody Description: Prosody token authentication plugin for Jitsi Meet diff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinst index 4343e219a..d298316ab 100644 --- a/debian/jitsi-meet-tokens.postinst +++ b/debian/jitsi-meet-tokens.postinst @@ -62,13 +62,23 @@ case "$1" in sed -i 's/--plugin_paths/plugin_paths/g' $PROSODY_HOST_CONFIG sed -i 's/authentication = "anonymous"/authentication = "token"/g' $PROSODY_HOST_CONFIG sed -i 's/ --allow_unencrypted_plain_auth/ allow_unencrypted_plain_auth/g' $PROSODY_HOST_CONFIG - sed -i "s/ --app_id=example_app_id/ app_id=$APP_ID/g" $PROSODY_HOST_CONFIG - sed -i "s/ --app_secret=example_app_secret/ app_secret=$APP_SECRET/g" $PROSODY_HOST_CONFIG + sed -i "s/ --app_id=\"example_app_id\"/ app_id=\"$APP_ID\"/g" $PROSODY_HOST_CONFIG + sed -i "s/ --app_secret=\"example_app_secret\"/ app_secret=\"$APP_SECRET\"/g" $PROSODY_HOST_CONFIG sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG - if [ -x "/etc/init.d/prosody" ]; then - invoke-rc.d prosody reload + # Install luajwt + if ! luarocks install luajwt; then + echo "Failed to install luajwt - try installing it manually" fi + + if [ -x "/etc/init.d/prosody" ]; then + invoke-rc.d prosody restart + fi + + echo "This package requires BOSH Prosody module to be patched !" + echo "Use the following command, after this package has been installed and" + echo "after every prosody-trunk upgrade:" + echo "sudo patch -N /usr/lib/prosody/modules/mod_bosh.lua /usr/share/jitsi-meet/prosody-plugins/mod_bosh.lua.patch" else echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet" fi diff --git a/debian/jitsi-meet-tokens.postrm b/debian/jitsi-meet-tokens.postrm index 53a69f530..b57fe1ee7 100644 --- a/debian/jitsi-meet-tokens.postrm +++ b/debian/jitsi-meet-tokens.postrm @@ -39,13 +39,12 @@ case "$1" in # Revert prosody config sed -i 's/plugin_paths/--plugin_paths/g' $PROSODY_HOST_CONFIG sed -i 's/authentication = "token"/authentication = "anonymous"/g' $PROSODY_HOST_CONFIG - sed -i 's/ allow_unencrypted_plain_auth/ --allow_unencrypted_plain_auth/g' $PROSODY_HOST_CONFIG - sed -i "s/ app_id=$APP_ID/ --app_id=example_app_id/g" $PROSODY_HOST_CONFIG - sed -i "s/ app_secret=$APP_SECRET/ --app_secret=example_app_secret/g" $PROSODY_HOST_CONFIG + sed -i "s/ app_id=\"$APP_ID\"/ --app_id=\"example_app_id\"/g" $PROSODY_HOST_CONFIG + sed -i "s/ app_secret=\"$APP_SECRET\"/ --app_secret=\"example_app_secret\"/g" $PROSODY_HOST_CONFIG sed -i 's/ modules_enabled = { "token_verification" }/ --modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG if [ -x "/etc/init.d/prosody" ]; then - invoke-rc.d prosody reload + invoke-rc.d prosody restart fi fi diff --git a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example index dd4302c63..36efd73f5 100644 --- a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example +++ b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example @@ -4,11 +4,10 @@ VirtualHost "jitmeet.example.com" -- enabled = false -- Remove this line to enable this host authentication = "anonymous" - -- Three properties below get uncommented by jitsi-meet-tokens package config + -- Properties below are modified by jitsi-meet-tokens package config -- and authentication above is switched to "token" - --allow_unencrypted_plain_auth = true; - --app_id=example_app_id - --app_secret=example_app_secret + --app_id="example_app_id" + --app_secret="example_app_secret" -- Assign this host a certificate for TLS, otherwise it would use the one -- set in the global section (if any). -- Note that old-style SSL on port 5223 only supports one certificate, and will always diff --git a/images/ie.png b/images/ie.png new file mode 100644 index 000000000..9d8e2a95d Binary files /dev/null and b/images/ie.png differ diff --git a/images/safari.png b/images/safari.png new file mode 100644 index 000000000..4cc298372 Binary files /dev/null and b/images/safari.png differ diff --git a/index.html b/index.html index 590c2884b..042410a21 100644 --- a/index.html +++ b/index.html @@ -15,11 +15,9 @@ - - @@ -225,7 +223,7 @@
+