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

Attempt at fixing issue with cross domain scripting #34

Merged
merged 4 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
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

# cookie security options for cross domain
cat > "$HOME/.jupyter/jupyter_notebook_config.py" <<EOF
c.JupyterHub.tornado_settings = {
GitHK marked this conversation as resolved.
Show resolved Hide resolved
'cookie_options': {'SameSite': 'Strict', 'Secure': True}
GitHK marked this conversation as resolved.
Show resolved Hide resolved
}

c.NotebookApp.tornado_settings = {
'cookie_options': {'SameSite': 'Strict', 'Secure': True}
}
c.NotebookApp.disable_check_xsrf = True
GitHK marked this conversation as resolved.
Show resolved Hide resolved
EOF

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