Skip to content

Commit

Permalink
Remove collab
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton committed Jul 16, 2024
1 parent be8fd42 commit 769707f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion images/datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ RUN mamba install -c conda-forge pillow typing-extensions tzlocal appdirs gputil
# Install jupyterlab+extensions
RUN mamba install -c conda-forge jupyterhub=$JUPYTERHUB_VERSION jupyter_server=$JUPYTERSERVER_VERSION && \
mamba install -c conda-forge jupyterlab=$JUPYTERLAB_VERSION notebook=$NOTEBOOK_VERSION nbclassic=$NBCLASSIC_VERSION && \
mamba install -c conda-forge jupyterlab_rise jupyter_server_terminals jupyter-collaboration && \
# (TODO: Re-enable collab once RTC is fixed) mamba install -c conda-forge jupyterlab_rise jupyter_server_terminals jupyter-collaboration && \
mamba install -c conda-forge jupyterlab_rise jupyter_server_terminals && \
mamba install -c conda-forge jupyterlab-github jupyterlab-latex jupyterlab-git jupyterlab-fasta jupyterlab-geojson && \
mamba install -c conda-forge nbconvert=$NBCONVERT_VERSION nbgrader=$NBGRADER_VERSION && \
fix-permissions $CONDA_DIR && \
Expand Down
5 changes: 2 additions & 3 deletions images/datascience-notebook/scripts/jupyter_server_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
c = get_config() # noqa: F821
c.ServerApp.ip = "0.0.0.0"
c.ServerApp.open_browser = False
c.ServerApp.tornado_settings = {'headers': {'Content-Security-Policy': "frame-ancestors *;"}}

# TEMP: Disable RTC until bugs fixed with URL modification
c.YDocExtension.disable_rtc = True
# Fix iframes (formgrader) as of jhub 4.1.0
c.ServerApp.tornado_settings = {'headers': {'Content-Security-Policy': "frame-ancestors *;"}}

# to output both image/svg+xml and application/pdf plot formats in the notebook file
c.InlineBackend.figure_formats = {"png", "jpeg", "svg", "pdf"}
Expand Down

0 comments on commit 769707f

Please sign in to comment.