-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Update JupyterHub to v0.8.1 (#552)
* MAINT: bump jupyterhub package to 0.8.1 * FIX: replace jupyterhub.orm.Proxy with jupyterhub.proxy.Proxy * FIX: include missing X-JupyterHib-Version headers * TST: add dummy-user option for dev testing * CLN: remove uneeded override of BaseHandler.set_default_headers * STY: flake8 fixes * FIX: revert cli function name changes in favor of flake exceptions * FIX: tidy up deprecated uses of orm.Proxy * TST: formatting fixed to returned auth dicts * TST: replace mocking of deprecated orm.Hub * FIX: update EnvironmentConfig to source hub settings relocated to os environ * TST: remove hub_* traits from CommandLineConfig replace source in BaseApplication * FIX: various fixes to BaseSpawner class * FIX: wrong assignment of ConfigurableHTTPProxy.api_server trait * TST: Spawner.ip no longer has a default value, manually assigning 127.0.0.1 * FIX: further fixes to BaseSpawner get_args * STY: flake8 fixes * TST: fix test environment for BaseApplication * FIX: pass Proxy API status to Spawner in config, rather than during runtime * STY: flake8 fixes * FIX: hack-y fix for breaking changes to Spawner class introduced in v0.8.x * FIX: simply overwrite LocalProcessSpawner.get_args * FIX: remove default BaseSpawner.ip value * FIX: handle None value for LocalProcessSpawner.ip * MAINT: changes to Nginx conf file * FIX: set LocalProcessSpawner.server upon instantiation from User attribute * FIX: avoid recursion loop between Spawner and User server assignments * FIX: amend Spawner test suite to instantiate from orm.Server instance as in production * CLN: tidy up jupyterhub config * EXP: attempt to fix redirect loop by patching RequestHandler headers * STY: flake8 fixes * FIX: use correct assignment of cookie name from JupyterHub * FIX: use correct env variable for EnvironmentConfig.hub_prefix * FIX: more parsing of hub_prefix argument back to CommandLineConfig * CLN: remove typo in jupyterhub_config.py * FIX: correctly parse cookie-name argument * FIX: use cookie-name as of jupyterhub 0.8.0 * EXP: run selenium tests in debug mode * STY: flake8 fixes * EXP: change url for tornado RedirectHandlers in application * EXP: revert change to RedirectHandler for admin application to avoid unit test failure (for now) * EXP: revert change to RedirectHandler for user application to avoid unit test failures (for now) * DEV: enable user authentication with remoteappmanager via JupyterHub as an OAuth provider * CLN: move connection with JupyterHub OAuth service into remoteappmanager.services.hub module * TST: include mocking of new HubOAuth.get_user method for testing * DEV: fold HubOAuth class into Hub * CLN: minor tidy up * FIX: typo in keyword argument * FIX: minor fixes to auth process * TST: replace mocked calls to verify_token with get_user * STY: flake8 fix * TST: fix python tests via mocking jupyterhub HubOAuth calls (for now) * CLN: remove unnecessary dev changes * FIX: remove deprecated code from logout workaround * TST: fix admin login for selenium tests * FIX: error handling for shutting down server upon user logout * CLN: separate JupyterHub authentication framework into separate method that can be mocked * Revert "CLN: separate JupyterHub authentication framework into separate method that can be mocked" This reverts commit dc24c2d. * DOC: add more documentation to describe the new authentication flows * CLN: minor tidy up * CLN: reverse change to Nginx conf template * CLN: replace HubAuthenticator with HubOAuthenticator (since it wont work on versions of jupyterhub > 0.8.0 anyway) * DOC: tidy up docstrings * MAINT: reduce constraints on dependencies
- Loading branch information
Showing
34 changed files
with
329 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,7 @@ npmdeps: | |
fi | ||
|
||
npm install | ||
npm install configurable-http-proxy | ||
npm --version | ||
|
||
.PHONY: pythondeps | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.