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

define base shareUrl #7906

Merged
merged 1 commit into from Feb 22, 2020
Merged

define base shareUrl #7906

merged 1 commit into from Feb 22, 2020

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Feb 21, 2020

allows simplest override of "get shareable link" extension when sharing setup is the same, just on a different base URL.

And set this when run under JupyterHub, so folks get proper shareable links to /hub/user-redirect by default.

References

related to #5388 which made the share extension overrideable. I initially set out to do exactly that, but since the only change for JupyterHub is that of the base URL, I thought making the base share URL itself part of page config would cover the default Hub case, at least.

jupyterhub cross-ref: jupyterhub/jupyterhub#2017

Code changes

User-facing changes

No changes for most users. JupyterHub users using 'get shareable link' will get
actually shareable links to /hub/user-redirect/lab/tree/... instead of links to
their own server, which are often not accessible to other users.

Backwards-incompatible changes

allows simplest override of "get shareable link" extension when sharing setup is the same,
just on a different base URL.

And set this when run under JupyterHub, so folks get proper shareable links by default
@jupyterlab-dev-mode
Copy link

Thanks for making a pull request to JupyterLab!

To try out this branch on binder, follow this link: Binder

@jasongrout
Copy link
Contributor

Setting as 2.0 since we are still waiting on a few other fixes for 2.0.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@blink1073 blink1073 merged commit be8e100 into jupyterlab:master Feb 22, 2020
@minrk minrk deleted the shareUrl branch February 22, 2020 14:43
@lock lock bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Mar 27, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pkg:coreutils pkg:filebrowser status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants