Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Remove JITSI video chat button #1647

Merged
merged 2 commits into from
Sep 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions mybinder/files/etc/jupyter/jupyter_notebook_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import notebook
import os
import hashlib

from distutils.version import LooseVersion as V

Expand All @@ -20,14 +19,8 @@

repo_url = os.environ.get('BINDER_REPO_URL', '')

# Roll this out only for binder-example repos to gain experience
if repo_url:
# Need a simple way to generate a stable but unique value for every repo
# that we can then use to create a Jitsi meet URL
unique = hashlib.md5(repo_url.encode()).hexdigest()
jitsi_url = 'https://meet.jit.si/mybinder.org-%s#config.startWithVideoMuted=true&config.startWithAudioMuted=true&config.prejoinPageEnabled=true' % unique
else:
jitsi_url = ''
# Disable JITSI integration for now
jitsi_url = ''

c.NotebookApp.jinja_template_vars.update({
'binder_url': binder_launch_host+binder_request,
Expand Down