Commit Graph

146 Commits

Author SHA1 Message Date
GeorgianaElena
657280fdfd Changed help msg for password 2020-01-14 13:31:38 +02:00
GeorgianaElena
a75250e512 Add the option to set admin passwords during install 2020-01-14 13:31:38 +02:00
GeorgianaElena
e47d6a4473 Upgrade authenticators 2020-01-08 10:54:17 +02:00
GeorgianaElena
989eda8906 Append admin cmd option 2019-07-11 20:51:51 +03:00
Jeremy Tuloup
f3232e7c44 Add tljh_post_install hook 2019-06-27 11:45:36 +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
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
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
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
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
eee29a0957 Replace chp with traefik-proxy 2019-02-13 14:23:02 +02: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
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
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
Yuvi Panda
91b405dee2 Merge pull request #160 from minrk/bumps
jupyterhub 0.9.2
2018-08-29 08:41:21 -07: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
yuvipanda
d7e8d64572 Upgrade to latest version of JupyterLab 2018-08-23 07:06:52 -04:00
yuvipanda
8f966ce8c9 Install jupyterhub extension for jupyterlab 2018-08-13 15:36:20 -06:00
yuvipanda
7539c5d946 Use node 8, not 10
JupyterLab currently doesn't let you install extensions
with node 10, so move back to 8
2018-08-13 14:17:41 -06:00
yuvipanda
28af89a381 Move tljh-config symlink to /usr/bin
Removes a lot of 'sudo -E' usage, and eventually should
let us get rid of the $PATH override for jupyterhub-admins,
which arguably is less secure than just dropping stuff into
/usr/bin

Also remove sudo -E from apt and mkdir calls. Not necessary.
2018-08-12 22:05:18 -07:00
yuvipanda
841c25e1bd Add plugin hook to modify config.yaml post install 2018-08-12 09:30:37 -07:00
yuvipanda
d12345e72a Add plugin support to the installer
TLJH is a great base to build 'stacks' on top of
for various use cases. These 'stacks' should be built by
people who are domain experts in their fields, and easily
updateable with new TLJH versions. Extension points need
to be very clearly defined & evolvable, so we can modify
TLJH without fear of breaking everything.

[pluggy](https://pluggy.readthedocs.io/) is the plugin
mechanism for pytest spun out into its own library,
and fits our requirements well.

There is an experimental pangeo stack in progress at
https://github.com/yuvipanda/tljh-pangeo for an example
of how this would work
2018-08-12 09:30:37 -07:00
yuvipanda
1f4acfead3 Install gcc by default
Required by psutil, which is required by nbresuse
2018-08-04 09:58:28 -07:00