Tim Head
1ff964b0f8
Merge pull request #339 from yuvipanda/retry-traefik
...
Retry downloading traefik if it fails
2019-05-21 07:31:34 +02:00
yuvipanda
fb75777d8a
Pass --upgrade-db to jupyterhub all the time
...
- It's a no-op if we aren't upgrading hub versions.
- We know we're only using sqlite, since we are an
opinionated distro!
- This matches what we do in z2jh
2019-05-20 11:31:33 -07:00
yuvipanda
536e435c06
Retry downloading traefik if it fails
...
Fixes #314
2019-05-19 22:31:17 -07:00
yuvipanda
f4831f051f
Use c.Spawner to set mem_limit & cpu_limit
...
mem_limit & cpu_limit are traitlets on the parent
Spawner class. Setting these here allows plugins to
do the dangerous job of swapping the SystemdSpawner
out for something else
2019-05-18 14:39:34 -07:00
yuvipanda
2a8c056a3b
Run hub db migrations if needed before starting hub
2019-05-09 13:13:04 -07:00
Min RK
779e008674
jupyterhub 1.0
...
bump oauthenticator patch as well
2019-05-03 16:39:43 +02:00
yuvipanda
edd2f471c7
Bump JupyterHub and systemdspawner versions
2019-04-30 12:29:01 -07:00
Tim Head
0ee92a96c3
Fix the version tag of the notebook package ( #303 )
2019-04-10 10:43:39 +02:00
yuvipanda
d9a4e64dfa
Bump jupyterhub version for security patches
...
https://blog.jupyter.org/open-redirect-vulnerability-in-jupyter-jupyterhub-adf43583f1e4
2019-03-30 13:11:19 +05:30
Willi Rath
af26b22f4a
Pin tornado in user env
2019-03-08 14:12:09 +01:00
Willi Rath
488683ae60
Pin tornado to <6
...
See #290
2019-03-08 12:25:31 +01:00
Min RK
407dc3abd4
Merge branch 'master' into replace_chp_traefik
2019-02-22 12:33:55 +01:00
Min RK
7c9bea377f
add load_secrets as an explicit stage
...
during load_config
rather than applying directly to defaults, which should be left static
2019-02-22 11:41:50 +01:00
Min RK
fd114e9030
use load_config to load config in jupyterhub_config.py
...
rather than re-implementing it
2019-02-22 11:17:59 +01:00
Min RK
23ea539b28
move generating traefik basic auth to traefik.py
...
compute this when we write the template, not when we load config
2019-02-22 10:53:36 +01:00
Leticia Portella
d41347f933
Add NativeAuth as an optional authenticator
2019-02-20 20:16:12 +00:00
GeorgianaElena
436610f83e
Use the actual installation path of chp service, changed traefik-proxy version
2019-02-19 17:28:43 +02:00
GeorgianaElena
84d8000114
Removed chp service
2019-02-18 15:08:53 +02:00
GeorgianaElena
e8b303d01b
Generate random traefik api password
2019-02-13 14:23:02 +02:00
GeorgianaElena
956c95e527
Fixed minor issues
2019-02-13 14:23:02 +02:00
GeorgianaElena
3ee387cd3b
Fixed some issues
2019-02-13 14:23:02 +02:00
GeorgianaElena
eee29a0957
Replace chp with traefik-proxy
2019-02-13 14:23:02 +02:00
Min RK
13648050ae
single yaml implementation
...
consolidate to a single yaml implementation,
removing pyyaml
2019-02-11 13:29:01 +01:00
Min RK
5bf2b1bb0a
Run fix-permissions on each install command
...
ensures files have the right permissions
conda and pip may not guarantee installed files are not world-writeable
2019-01-30 16:42:35 +01:00
Willi Rath
29d4419e49
Use newer firstuseauthenticator
...
This uses v0.12 which allow for deleting users before they have set their password.
2019-01-24 18:31:26 +01:00
yuvipanda
600bf225f2
Add ipywidgets to base installation
2018-12-22 11:06:43 -08:00
fred
f23f36eaf2
Use tljh logger in installer
2018-12-12 14:45:39 -05:00
yuvipanda
2a30063736
Update nodejs to 10.x LTS
...
Reverts https://github.com/jupyterhub/the-littlest-jupyterhub/pull/138 and
fixes https://github.com/jupyterhub/the-littlest-jupyterhub/issues/236 .
2018-11-23 11:58:45 -08:00
yuvipanda
03e8ce1550
Exit when tljh-config is called as non-root
...
- Previously, we only printed warning and did not exit
- Split the warning over two lines rather than one
- -E is not required for tljh-config anymore (since it is in
/usr/bin, not /usr/local/bin), so do not ask users to use it.
https://github.com/jupyterhub/the-littlest-jupyterhub/pull/135
is the PR that made this change, and changed documentation in
most places.
2018-11-13 12:30:36 -08:00
Min RK
d331936812
consolidate yaml configuration
...
workaround ruamel.yaml issue 255,
where once an empty dict or list has been written,
'flow' style is used thereafter, using dense `{key: value}` form
instead of traditional yaml block style.
2018-11-01 11:34:16 +01:00
yuvipanda
4accfd0465
Upgrade package versions
...
Upgrades following packages:
- JupyterHub
- JupyterLab
- Notebook
- nteract
2018-10-29 11:19:16 -07:00
Min RK
60ab68d299
Update tljh/config.py
...
Co-Authored-By: anyushevai <irina.anyusheva@gmail.com >
2018-10-24 18:13:03 +03:00
Chris Holdgraf
ac06f64224
Update tljh/config.py
...
Co-Authored-By: anyushevai <irina.anyusheva@gmail.com >
2018-10-24 12:56:47 +03:00
anyushevai
12aaf382aa
early check if it was called as non-root user
2018-10-23 23:45:33 +03:00
anyushevai
35309d13d0
add warning & abort if tljh-config is called as non-root user
2018-10-21 23:55:47 +03:00
yuvipanda
0812b1c5d1
Don't set a memory limit by default
...
Users should set up their own memory limits after install.
Better than a surprise when they try using more than 1G.
2018-10-15 15:53:39 +02:00
yuvipanda
4a3762d38d
Pass in truncated username to systemdspawner
2018-09-14 12:38:13 -07:00
yuvipanda
9b0248e0c3
Normalize unix usernames to be under 32char
...
JupyterHub usernames do not have this restriction,
causing user creation to fail when usernames are too large.
2018-09-12 16:46:59 -07:00
Yuvi Panda
4eeebc991f
Merge pull request #163 from minrk/config-dir
...
put config in `$tljh/config` directory
2018-09-04 18:04:57 -07:00
yuvipanda
103d4c7933
Bump firstuseauthenticator version
...
Includes https://github.com/yuvipanda/jupyterhub-firstuseauthenticator/pull/7
to fix #105 .
2018-09-04 11:23:09 -07:00
Min RK
5df106fa82
move config migration to its own file
2018-08-31 12:17:16 +02:00
Min RK
37ad207be9
centralize logging initialization
...
so it can be shared across modules
2018-08-31 12:00:42 +02:00
Matthias Bussonnier
552db9f74d
Don't create home publicly readable
...
World-Readable seem to be a surprising default for many people,
especially in teaching context. Switch to a more reasonable rwxr-x---
We have to issue a chmod, as changing at creation time would require
changin /etc/adduser.conf DIR_MODE=0760 (or whatever), but that seem
unwise.
We do not set the exact permission in case the DIR_MODE is more
restrictive.
Closing #158
2018-08-29 14:38:38 -07:00
Yuvi Panda
91b405dee2
Merge pull request #160 from minrk/bumps
...
jupyterhub 0.9.2
2018-08-29 08:41:21 -07:00
Min RK
6e27622f76
set cleanup_servers = False
...
leaves users running when the hub restarts
Tests were relying on a bug in 0.9.1 that prevented cleanup due to improper handling of signals
2018-08-29 16:46:04 +02:00
Min RK
204442d370
fix config.yaml path in jupyterhub_config.py
2018-08-29 16:02:41 +02:00
gyg-github
67243efc60
update installer.py
...
removed formatting symbol f'', since "....x" is considered as a type in the formatting.
actual directory is just "https://github.com/nodesource/distributions/blob/master/deb/setup_8.x "
2018-08-28 21:38:39 -04:00
Min RK
4b79993ea0
test config dir setup
...
including upgrading old config files
2018-08-28 14:16:09 +02:00
Min RK
2bf23f0b28
put config in a single config directory
...
instead of top-level files
- ensure directory is private
- both tljh and jupyterhub config go in there
- move old config.yaml to new location at install time
2018-08-28 14:15:45 +02:00
Min RK
bd2934b73b
jupyterhub 0.9.2
...
fixes TERM shutdown
2018-08-28 12:09:53 +02:00