Skip to content

Commit

Permalink
Attempt at fixing issue with cross domain scripting (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Neagu <[email protected]>
  • Loading branch information
GitHK and Andrei Neagu authored Jun 20, 2024
1 parent 187848e commit 4d79449
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.0.2
current_version = 3.0.3
commit = False
message = service version: {current_version} → {new_version}
tag = False
Expand Down
2 changes: 1 addition & 1 deletion .osparc/jupyter-math/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description:
"
key: simcore/services/dynamic/jupyter-math
version: 3.0.2
version: 3.0.3
integration-version: 2.0.0
type: dynamic
authors:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [3.0.3] - 2024-06-20
- attempt at fixing issues with usability on Firefox and Safari

## [3.0.2] - 2024-02-02
- Allows users to use OSPARC_API_HOST / OSPARC_API_KEY / OSPARC_API_SECRET in notebooks to access the API (see [PR #29](https://github.com/ITISFoundation/jupyter-math/pull/29))

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL = /bin/sh
.DEFAULT_GOAL := help

export DOCKER_IMAGE_NAME ?= jupyter-math
export DOCKER_IMAGE_TAG ?= 3.0.2
export DOCKER_IMAGE_TAG ?= 3.0.3


# PYTHON ENVIRON ---------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
jupyter-math:
image: simcore/services/dynamic/jupyter-math:3.0.2
image: simcore/services/dynamic/jupyter-math:3.0.3
ports:
- "8888:8888"
environment:
Expand Down
12 changes: 12 additions & 0 deletions docker/boot_notebook.bash
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ cat > .jupyter_config.json <<EOF
}
EOF

# SEE https://jupyter-server.readthedocs.io/en/latest/other/full-config.html
cat > "$HOME/.jupyter/jupyter_notebook_config.py" <<EOF
c.JupyterHub.tornado_settings = {
'cookie_options': {'SameSite': 'None', 'Secure': True}
}
c.NotebookApp.tornado_settings = {
'cookie_options': {'SameSite': 'None', 'Secure': True}
}
c.NotebookApp.disable_check_xsrf = True
EOF

cat > "/opt/conda/share/jupyter/lab/overrides.json" <<EOF
{
"@krassowski/jupyterlab-lsp:completion": {
Expand Down

0 comments on commit 4d79449

Please sign in to comment.