Re: [jupyter] install a module to pyspark kernel in all-spark-notebook

2018-02-06 Thread Tim Harsch
Please let us know if this is not the case. > > On Mon, Feb 5, 2018 at 12:31 PM, Tim Harsch <harsc...@gmail.com > > wrote: > >> This seems like it should be pretty basic, but I'm having a hard time >> installing a module to the pyspark notebook. I must be missing some

Re: [jupyter] bug with logout?

2018-01-22 Thread Tim Harsch
That's my understanding as well. Also stated in the javadocs of https://docs.spring.io/spring-security/site/docs/4.0.3.RELEASE/apidocs/org/springframework/security/web/authentication/rememberme/PersistentTokenBasedRememberMeServices.html "A suitable batch process should be run periodically

Re: [jupyter] bug with logout?

2018-01-22 Thread Tim Harsch
I spent some time digging into Spring to see how it is handled. They have a PersistentTokenBasedRememberMeServices class. It generally follows this standard approach http://jaspan.com/improved_persistent_login_cookie_best_practice. The article was a very interesting read and I think it may

Re: [jupyter] Invalidate spawn in pre_spawn_hook?

2018-01-19 Thread Tim Harsch
e user. If I'm correctly > interpreting the code, in this case a message will be displayed *if* you > have a spawner options form set up. > > Michael > > On Fri, Jan 19, 2018 at 11:06 AM, Tim Harsch <harsc...@gmail.com > > wrote: > >> Hi all, >> Is there a way in

[jupyter] Invalidate spawn in pre_spawn_hook?

2018-01-19 Thread Tim Harsch
Hi all, Is there a way in the pre_spawn_hook I could invalidate the spawn? return True/False doesn't work. I'd like it to ultimately produce a user friendly result to the user if an issue occurs Thanks, Tim -- You received this message because you are subscribed to the Google Groups

Re: [jupyter] bug with logout?

2018-01-19 Thread Tim Harsch
clear the cookie in the browser, but if you've taken a > copy of the cookie before that, it's still valid. > > On 19 January 2018 at 00:05, Tim Harsch <harsc...@gmail.com > > wrote: > >> I'm trying to understand the logout chain in jupyterhub/notebooks. >> version 0.

[jupyter] bug with logout?

2018-01-18 Thread Tim Harsch
I'm trying to understand the logout chain in jupyterhub/notebooks. version 0.8.1 and 5.1.0 respectively. I'm using dockerspawner and jwtauthenticator. I would like to effect a logout from outside the UI, so I tried using the API token and that doesn't seem to work as I get a 403. So I

Re: [jupyter] Re: how to test for running server?

2018-01-18 Thread Tim Harsch
"url": "/user/name/" > } > } > } > > Not running: > > { > "kind": "user", > "name": "name", > "admin": true, > "groups": [], > "server"

[jupyter] Re: how to test for running server?

2017-12-20 Thread Tim Harsch
, 2017 at 3:26:32 PM UTC-8, Lawrence D’Oliveiro wrote: > > On Wednesday, December 20, 2017 at 11:44:35 AM UTC+13, Tim Harsch wrote: >> >> I see with JupyterHub API you can POST or DELETE to /users/{name}/server >> but there doesn't seem to be a GET. If that's true is the

[jupyter] how to test for running server?

2017-12-19 Thread Tim Harsch
Hi all, I see with JupyterHub API you can POST or DELETE to /users/{name}/server but there doesn't seem to be a GET. If that's true is there another way I can test for a running server other than POST or DELETE which have their side effects?.. Thanks, Tim -- You received this message

[jupyter] Jupyter text editor does not recognize file changes

2017-12-01 Thread Tim Harsch
Hi all, When two users are editing in the same notebook that the notebook is able to detect changes on the file system so that if user A makes a change then user B will get presented the "Notebook Changed" dialog with "Reload/Cancel/Overwrite" options if he/she attempts to save over the

Re: [jupyter] multiple authenticators

2017-10-02 Thread Tim Harsch
main of an email address. There is possibly some limitation for > now; but we'll be happy to know if you find some; and figure out how > to accommodate for them; > > -- > Matthias > > > > On Mon, Oct 2, 2017 at 8:52 AM, Tim Harsch <harsc...@gmail.com > > wrote: > &g

[jupyter] multiple authenticators

2017-10-02 Thread Tim Harsch
Is it possible to use more than one authenticator in JupyterHub? Thanks for any guidance, Tim -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[jupyter] Chaining authenticators

2017-09-26 Thread Tim Harsch
Hi all, I contributed some features to jwtauthenticator recently to pass tokens via query parameter, and have been using that in the case where I have a JWT token and wanted to use that to authenticate to the hub. But now I'm considering how I can get the authenticated user to be impersonated

[jupyter] c.JupyterHub.base_url usage

2017-08-11 Thread Tim Harsch
Hi, Maybe I'm doing something wrong... I did jupterhub --generate-config, started jupyterhub, confirmed I can log in via PAM. I shut down the hub and changed: c.JupyterHub.base_url = '/jupyter/' Started the hub and went to http://HOST.TLD:8000/jupyter and this is what I see: [I