Skip to content

Commit

Permalink
Remove editor and terminal handlers from server
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Sep 29, 2020
1 parent 6dffef4 commit dff30eb
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 79 deletions.
Empty file removed jupyter_server/edit/__init__.py
Empty file.
31 changes: 0 additions & 31 deletions jupyter_server/edit/handlers.py

This file was deleted.

2 changes: 0 additions & 2 deletions jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
api=['jupyter_server.services.api.handlers'],
config=['jupyter_server.services.config.handlers'],
contents=['jupyter_server.services.contents.handlers'],
edit=['jupyter_server.edit.handlers'],
files=['jupyter_server.files.handlers'],
kernels=['jupyter_server.services.kernels.handlers'],
kernelspecs=[
Expand Down Expand Up @@ -574,7 +573,6 @@ class ServerApp(JupyterApp):
'auth',
'config',
'contents',
'edit',
'files',
'kernels',
'kernelspecs',
Expand Down
5 changes: 1 addition & 4 deletions jupyter_server/terminal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from terminado import NamedTermManager
from tornado.log import app_log
from jupyter_server.utils import url_path_join as ujoin
from .handlers import TerminalHandler, TermSocket
from . import api_handlers


def initialize(webapp, root_dir, connection_url, settings):
if os.name == 'nt':
default_shell = 'powershell.exe'
Expand All @@ -33,9 +33,6 @@ def initialize(webapp, root_dir, connection_url, settings):
terminal_manager.log = app_log
base_url = webapp.settings['base_url']
handlers = [
(ujoin(base_url, r"/terminals/(\w+)"), TerminalHandler),
(ujoin(base_url, r"/terminals/websocket/(\w+)"), TermSocket,
{'term_manager': terminal_manager}),
(ujoin(base_url, r"/api/terminals"), api_handlers.TerminalRootHandler),
(ujoin(base_url, r"/api/terminals/(\w+)"), api_handlers.TerminalHandler),
]
Expand Down
42 changes: 0 additions & 42 deletions jupyter_server/terminal/handlers.py

This file was deleted.

0 comments on commit dff30eb

Please sign in to comment.