Commit Graph

494 Commits

Author SHA1 Message Date
Min RK
626e492e0f use variables in test_simplest_plugin
avoids updating hardcoded paths when they change
2018-08-31 12:25:30 +02:00
Min RK
54c49143d1 Merge pull request #170 from Carreau/customhttps
Remind to use https on custom-servers.
2018-08-31 12:22:19 +02: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
c737f5a740 remind https 2018-08-29 15:18:20 -07: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
Yuvi Panda
b5583aee3f Merge pull request #161 from minrk/test-https
test manual https setup
2018-08-29 08:40:39 -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
Min RK
f0a398ae2f test manual https setup
adds integration test for manual https certs
2018-08-29 09:48:12 +02:00
Min RK
25589c15cc Merge pull request #167 from gyg-github/patch-1
installer.py: remove unused f"..."
2018-08-29 03:47:06 -04:00
Min RK
3c082a3fd6 ensure config_dir exists in unittests 2018-08-29 09:45:15 +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
Yuvi Panda
935c9c718a Merge pull request #162 from minrk/integration-test
missing arguments in integration test commands
2018-08-28 11:52:58 -07:00
Min RK
01a1226d51 update config path in docs 2018-08-28 14:23:44 +02: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
b833ce8452 missing arguments in integration test commands
and missing start-container command

for local testing
2018-08-28 12:11:49 +02:00
Min RK
bd2934b73b jupyterhub 0.9.2
fixes TERM shutdown
2018-08-28 12:09:53 +02:00
Erik Sundell
49a8a6f8f0 Merge pull request #159 from Carreau/spell
Fix some typos
2018-08-28 00:38:42 -04:00
Matthias Bussonnier
8650aacd57 Fix some typos
Using `codespell -q3 -w` that I just discovered.

(https://github.com/codespell-project/codespell, pip install codespell)
2018-08-27 17:58:26 -07:00
Min RK
ce5a53d2fb Merge pull request #151 from Carreau/oplish
polish local server install
2018-08-24 13:18:02 -04:00
Min RK
ea5a196bd8 Merge pull request #137 from ynnelson/hotfix/doc-update
Added existing property-path for tljh-config set method
2018-08-24 13:17:09 -04:00
Min RK
9fe7a3b487 Merge pull request #152 from yuvipanda/lab-bump
Upgrade to latest version of JupyterLab
2018-08-24 13:16:15 -04:00
yuvipanda
5cf6a84ea6 Fix integration test's jupyterlab version 2018-08-23 07:13:59 -04:00
yuvipanda
d7e8d64572 Upgrade to latest version of JupyterLab 2018-08-23 07:06:52 -04:00
Matthias Bussonnier
d5f0587181 polish locl server install 2018-08-21 11:21:53 -04:00
Yuvi Panda
b451ac9f94 Merge pull request #149 from yuvipanda/conda-version
Don't capture stderr when calling conda
2018-08-20 14:52:03 -07:00
yuvipanda
7c1cb6d3cb Don't capture stderr when calling conda
conda's stderr is *not* guaranteed to be JSON when you are
passing --json. We let it bleed through for now. In the
longer term, we should capture this separately.

Ref #148, which I think is caused by this (along with conda
releasing a newer version than what we have)
2018-08-20 14:40:00 -07:00
Matthias Bussonnier
5ad457e24a Merge pull request #143 from jprorama/patch-1
Fix link to custom server install
2018-08-15 13:24:54 -07:00
jprorama
ee168e9c71 Fix link to custom server install
The URL for the custom server install page on readthedocs was pointing to a non-existing page.  Added the "-server" suffix to the page name.
2018-08-15 13:42:23 -05:00
Chris Holdgraf
a2f833c19b Merge pull request #140 from jupyterhub/copybutton_fix
Copybutton fix
2018-08-14 19:40:10 +01:00
Chris Holdgraf
466e2f7427 Update conf.py 2018-08-14 19:48:18 +02:00
Tim Head
86227f2ab3 Merge pull request #139 from yuvipanda/labextensions
Install jupyterhub extension for jupyterlab
2018-08-14 09:09:17 +02:00
yuvipanda
214d8e9e81 Add test for jupyterhub labextension 2018-08-13 16:47:35 -06:00
yuvipanda
8f966ce8c9 Install jupyterhub extension for jupyterlab 2018-08-13 15:36:20 -06:00
Yuvi Panda
4167526995 Merge pull request #138 from yuvipanda/node-8
Use node 8, not 10
2018-08-13 14:48:39 -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
YOURI NELSON
e9f3a3acdc Added existing property-path for tljh-config set method 2018-08-13 16:01:14 -04:00
Yuvi Panda
39706247a9 Merge pull request #135 from yuvipanda/less-e
Move tljh-config symlink to /usr/bin
2018-08-12 22:13:35 -07: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
Yuvi Panda
1b19e5bfc6 Merge pull request #123 from choldgraf/docsupdate
[MRG] updating content from zexuan's user test
2018-08-12 21:36:07 -07:00
yuvipanda
89d5c899b9 Remove FAQ document
Just going to remove need for '-E' instead soon
2018-08-12 21:25:42 -07:00
yuvipanda
d4b28bb62f Rename 'envt' to 'env'
Other option is the full blown 'environment'
2018-08-12 21:25:42 -07:00
Chris Holdgraf
295b0683a2 adding css rule for logo and fixing some ref links 2018-08-12 21:25:42 -07:00
Chris Holdgraf
e2df502093 using two reqs files for docs test compatibility 2018-08-12 21:25:42 -07:00
Chris Holdgraf
380338d2ae typo 2018-08-12 21:25:34 -07:00
Chris Holdgraf
2181947f83 updating content from zexuan's user test 2018-08-12 21:25:34 -07:00
Yuvi Panda
e38628b5f4 Merge pull request #127 from yuvipanda/pluggy
Add plugin support to the installer
2018-08-12 19:27:39 -07:00