Changes between Version 32 and Version 33 of Software/Jupyter


Ignore:
Timestamp:
10/15/17 21:48:10 (7 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/Jupyter

    v32 v33  
    100100      * for communication back to the server functions from the JupyterHubAPI in [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js jhapi.js] are called
    101101        * jhapi.js uses [https://jquery.com/ jquery.js] for ajax-functionality (send/recive commands between client/server)
    102           * values are send back to client with an an asynchronous HTTP (Ajax) request using jquery.ajax() [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L43 here] \\ => this triggers a handler of the tornado web server (eg. [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L55 stop_server] sends command "DELETE" to url users/<username>/server, which triggers function [https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/apihandlers/users.py#L184 UserServerAPIHandler::stop])
     102          * values are send back to client with an an asynchronous HTTP (Ajax) request using jquery.ajax() [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L43 here] \\ => this triggers a handler of the tornado web server (eg. [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L55 stop_server] sends command "DELETE" to url users/<username>/server, which triggers function [https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/apihandlers/users.py#L184 UserServerAPIHandler::delete])
    103103  * start-server button
     104    * clicking the start-server button opens the webpage "!http://<jupyterhub-ip>/hub/spawn", which is generated by Jinja2 from the template [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/templates/spawn.html spawn.html]
    104105
    105106===== Modifications