GeorgianaElena
87bed7aaf1
Disable ProtectHome=tmpfs
2019-09-19 12:53:43 +03:00
Yuvi Panda
f952e4e590
Merge pull request #399 from GeorgianaElena/add_append_to_arg
...
Allow adding multiple admins during install
2019-07-15 09:24:46 -07:00
Min RK
7d30501fc5
Merge pull request #382 from GeorgianaElena/issue349
...
Allow adding users to specific groups
2019-07-12 09:38:21 +02:00
GeorgianaElena
989eda8906
Append admin cmd option
2019-07-11 20:51:51 +03:00
GeorgianaElena
93cf80a677
Import containers from collections.abc
2019-07-08 13:41:31 +03:00
GeorgianaElena
1842f46708
Fixed typo
2019-07-01 17:59:10 +03:00
GeorgianaElena
ba0454d23a
Fix import
2019-07-01 17:25:37 +03:00
GeorgianaElena
323847aa51
Validate user groups
2019-07-01 11:18:38 +03:00
Jeremy Tuloup
f3232e7c44
Add tljh_post_install hook
2019-06-27 11:45:36 +02:00
GeorgianaElena
be388ab68a
Run idle culler as a tljh module
2019-06-24 13:34:51 +03:00
GeorgianaElena
88a09285d2
Renamed group config option
2019-06-21 11:38:26 +03:00
GeorgianaElena
da443ebd4b
Allow adding users to specific groups
2019-06-20 21:54:51 +03:00
yuvipanda
7d4ecf9866
Tell apt-get to never ask questions
...
It seems to be blocking waiting on user input
for a couple packages now
Fixes #379
2019-06-18 13:16:24 -07:00
GeorgianaElena
20374db7c6
Enforce the type of idle culler options
2019-06-12 17:05:13 +03:00
GeorgianaElena
0b18b49cbc
Fix services init
2019-06-12 17:05:13 +03:00
GeorgianaElena
efe9853b85
Added Idle Culler
2019-06-12 17:05:13 +03:00
yuvipanda
b7f72a9f9e
Set up pluggy before calling hooks in jupyter_config.py
2019-06-05 15:20:49 +02:00
yuvipanda
b584bd1b2a
Add hook for custom jupyterhub_config.py content
...
This lets extensions directly control how JupyterHub
is configured
2019-06-05 15:20:49 +02:00
yuvipanda
77dc6a0e27
Add hook to install packages in hub environment
...
Required when installing additional authenticators or
spawners
2019-06-05 15:20:49 +02:00
yuvipanda
f7c472df5f
Add tmpauthenticator by default to TLJH
...
Is popular enough we should let people use it by
default
2019-06-05 15:20:49 +02:00
Georgiana Elena
b11a10b8ed
Merge pull request #359 from yuvipanda/pycurl
...
Install & use pycurl for requests
2019-05-30 22:50:16 +03:00
Yuvi Panda
993ccaf8cd
Merge pull request #337 from yuvipanda/better-output
...
Provide much better error messages
2019-05-29 13:13:08 -07:00
Yuvi Panda
7c2068f222
Merge pull request #357 from GeorgianaElena/issue356
...
Suppress insecure HTTPS warning when upgrading TLJH
2019-05-29 11:37:00 -07:00
yuvipanda
0583a7b0ba
Install & use pycurl for requests
...
It's generally more bugfree and performant.
We install dependencies of pycurl, including build-essential.
build-essential is used by many other dependencies
as well - particularly psutil for nbresuse.
Fixes #289
Fixes #286
2019-05-29 11:34:23 -07:00
yuvipanda
f5ecce77a1
Add unit tests for run_subprocess
2019-05-29 11:27:53 -07:00
yuvipanda
7071332445
Provide much better error messages
...
- When processes fail, they actually print a failure message
on the user's terminal
- Regardless of success or failure, we print all output to
/opt/tljh/installer.log
This should make debugging people's issues *much* easier, since
we can actually see the output of failing commands rather than
having to guess.
2019-05-29 11:27:53 -07:00
Yuvi Panda
190b61d953
Merge pull request #313 from minrk/jhub-1
...
Upgrade to JupyterHub 1.0
2019-05-29 11:08:40 -07:00
GeorgianaElena
c6255c87bd
Suppress insecure HTTPS warning when upgrading TLJH
2019-05-29 12:35:19 +03:00
Yuvi Panda
dd6e4edd6d
Merge pull request #352 from GeorgianaElena/issue203
...
Add "tljh-config unset" option
2019-05-28 12:57:23 -07:00
GeorgianaElena
bc9aa45b49
Add unset property option
2019-05-28 16:13:42 +03:00
GeorgianaElena
d0d0e1a82e
don't verify cert when checking if hub is up
2019-05-24 14:40:19 +03:00
GeorgianaElena
cfb3ec43cd
replace urllib with requests
2019-05-24 14:37:42 +03:00
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