Erik Sundell
f0b5446ec3
Raise error on missing specified config
...
Closes #2819 by exiting JupyterHub directly with an error if a config
file has been specified for the config_file traitlet, for example
through the -f or --config flag, but isn't available on the file
system.
2019-11-17 14:32:40 +01:00
Erik Sundell
629e829f8a
Test raise error on missing specified config
2019-11-17 14:32:17 +01:00
Chris Holdgraf
7c434adcb2
adding more organizations to institutional faq
2019-11-14 18:21:55 -08:00
Chris Holdgraf
3641abc70f
more content for institutional faq
2019-11-14 18:14:15 -08:00
Chris Holdgraf
da790617e3
Update docs/source/getting-started/institutional-faq.md
...
Co-Authored-By: Tim Head <betatim@gmail.com >
2019-11-14 18:14:15 -08:00
Chris Holdgraf
35ba762c9c
fleshing out institutional faq
2019-11-14 18:14:15 -08:00
Chris Holdgraf
42d9c31db7
adding institutional faq
2019-11-14 18:14:15 -08:00
Tim Head
703af1dd1e
Merge pull request #2810 from jgwerner/pre-commit-config
...
chore: Bump package versions used in pre-commit config
2019-11-11 09:51:16 +01:00
Greg
1dd09094a5
commit files updated by black to avoid exiting out from build
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-10 11:52:53 -05:00
Greg
b8c9717862
add missing maintainer label
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-10 11:22:19 -05:00
Greg
06f89cb5ed
remove lang layer
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-10 10:47:45 -05:00
Greg
b5602028e5
more updates
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-10 10:46:54 -05:00
Greg
b1e45cde1e
dockerfile cleanup
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-10 10:03:48 -05:00
Greg
ca117c251c
pre-commit updates
2019-11-09 20:15:43 -05:00
Rollin Thomas
e815210cc7
Make usable via config without subclassing
2019-11-08 13:45:08 -08:00
Rollin Thomas
f37864cfd3
Call hook in handler
2019-11-08 13:45:08 -08:00
Rollin Thomas
d05d92c03a
Doesn't need this
2019-11-08 13:45:08 -08:00
Greg
948f4c44fd
update docs
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-08 13:00:44 -05:00
Greg
5db76e6dcd
remove async test setting
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-08 12:42:40 -05:00
Greg
c944c0e54a
update python versions in matrix
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-08 12:14:13 -05:00
Greg
dd7fe85770
revert to 3.6
...
Signed-off-by: Greg <werner.greg@gmail.com >
2019-11-08 11:28:54 -05:00
Greg
b9c1831183
bump package versions used in pre-commit
2019-11-08 11:26:49 -05:00
Min RK
5bbb292ef5
Merge pull request #2794 from rkdarst/cull-idle-local-bind-vars
...
cull_idle_servers.py: rebind max_age and inactive_limit locally
2019-11-05 10:32:14 +01:00
Min RK
e589b5d82a
Merge pull request #2795 from bnuhero/master
...
The proxy's REST API listens on port `8001`
2019-11-05 10:31:44 +01:00
Min RK
465fb0a686
Merge pull request #2803 from choldgraf/docs_theme
...
adding docs preview to circleci
2019-11-05 10:31:19 +01:00
Chris Holdgraf
9702c1756f
adding docs preview to circleci
2019-10-31 16:48:17 -07:00
Georgiana Elena
9990100f89
Merge pull request #2788 from rajat404/master
...
Add prometheus metric to measure proxy route deletion times
2019-10-30 16:49:06 +02:00
rajat404
a611298f43
Add prometheus metric to measure proxy route poll times
2019-10-29 19:39:49 +05:30
Min RK
6a872b371e
Merge pull request #2790 from yuvipanda/feat/custom-redirect
...
Allow admins to customize /user-redirect/ behavior
2019-10-28 22:09:43 +01:00
Raymond Liu
1e298fb053
The proxy's REST API listens on port 8001
...
By default, the proxy's REST API listens on port `8001` instead of `8081`. The hub service listens on port `8081`.
2019-10-26 14:32:57 +08:00
YuviPanda
51e1a15d63
Reword docstring to appease linter
2019-10-25 11:11:18 -07:00
Yuvi Panda
46e6d95364
Fix typo
...
Co-Authored-By: Min RK <benjaminrk@gmail.com >
2019-10-25 10:20:29 -07:00
Richard Darst
52c099193d
cull_idle_servers.py: rebind max_age and inactive_limit locally
...
- In the cull script, the max_age and inactive_limit are used from the
outer scope. In the case that you add extra logic, one may want to
modify these values.
- In that case, you either have to rename them locally, or access the
outer scope with "nonlocal", the first of which is too much work,
the second of which has a high chance of introducing bugs (as it did
for me).
- This change introduces a fix for everyone. It doesn't change basic
functionality, but makes local modifications simpler.
2019-10-25 14:36:16 +03:00
YuviPanda
9d5784efb9
Pass in base_url rather than app object
...
- Limits what we consider public API
- Still allows for redirects outside JupyterHub
2019-10-24 09:01:23 -07:00
Min RK
2847c3a90c
Merge pull request #2755 from danielballan/expose-user-options-in-rest-api
...
Expose spawner.user_options in REST API.
2019-10-24 11:11:51 +02:00
YuviPanda
d66f0635a3
Add path and app as parameters
2019-10-22 11:27:41 -07:00
Min RK
244ad7d38c
run black
2019-10-22 09:23:04 +02:00
YuviPanda
7fbf1826ea
Don't use fstrings yet
...
We support older versions of python still
2019-10-21 15:17:29 -07:00
YuviPanda
b4a760234e
Tweak user_redirect_hook API
...
- Pass in user object & request object only explicitly.
Much better interface that is harder to break by internal
refactoring. We can always add more parameters if needed?
2019-10-21 14:29:59 -07:00
Min RK
72a38a599d
Merge pull request #2789 from tirkarthi/fix-deprecation-warning
...
Fix deprecation warnings
2019-10-21 14:49:36 +02:00
Min RK
8134d3bfbc
Merge pull request #2776 from vilhelmen/server_ver
...
Display server version on admin page
2019-10-21 14:47:58 +02:00
YuviPanda
3df4afe7af
Add test for user_redirect_hook
2019-10-20 11:58:45 -07:00
YuviPanda
400c64b4ef
Allow admins to customize /user-redirect/ behavior
...
/user-redirect/ is used to help link to a particular url
in the logged in user's authenticated notebook. For example,
if I'm logged in as user 'yuvipanda' and hit the URL
/hub/user-redirect/git-pull, it'll redirect me to
/user/yuvipanda/git-pull. This is extremely useful in
connecting hub links to notebook server extensions, such
as nbgitpuller.
Admins might want to customize how this redirection is done -
for example, redirect users to different running servers
based on the nbgitpuller repository they are linking from.
Adding a hook here helps accomplish that.
2019-10-20 11:33:24 -07:00
Rajat Goyal
44dccb292f
Apply suggestions from code review: Re-raise error after measuring time; Catch Exception class
...
Co-Authored-By: Min RK <benjaminrk@gmail.com >
2019-10-20 16:00:33 +05:30
Karthikeyan Singaravelan
0070e68702
Use logger.warning since logger.warn is deprecated.
2019-10-19 20:25:36 +05:30
Karthikeyan Singaravelan
f3b1b5c7a6
Fix DeprecationWarning in escape sequences.
2019-10-19 20:25:07 +05:30
rajat404
175c8d0585
Add prometheus metric to measure proxy route deletion times
2019-10-19 11:47:55 +05:30
R. C. Thomas
bc425a78bb
Keep admin-enabled services in the list
2019-10-17 18:27:47 -07:00
R. C. Thomas
e0c4f9fc23
No services accessible if user is None
...
Co-Authored-By: Min RK <benjaminrk@gmail.com >
2019-10-17 18:23:34 -07:00
Will Starms
2cac46fdb2
Remove server_tokens setting
...
Revert this if we decide this is a security issue, but we report the version through the API as well
2019-10-17 13:43:28 -05:00