Commit Graph

411 Commits

Author SHA1 Message Date
yuvipanda
f1378754b6 Import subprocess before using it 2018-09-14 11:55:01 -07:00
yuvipanda
9f538775e0 Print hub logs if hubtraf fails in integration tests 2018-09-14 10:48:35 -07:00
yuvipanda
dffc3c0916 Add integration test for long usernames 2018-09-12 16:52:48 -07:00
yuvipanda
37ea7eaa6f Add docs explaining truncation of username 2018-09-12 16:48:55 -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
f163f62c89 Merge pull request #178 from jupyterhub/yuvipanda-patch-2
Remove extra space after opening paren
2018-09-11 12:39:49 -07:00
Yuvi Panda
b321c561de Remove extra space after opening paren 2018-09-11 12:08:31 -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
Yuvi Panda
ce59e83857 Merge pull request #175 from yuvipanda/firstuse-bump
Bump firstuseauthenticator version
2018-09-04 13:22:28 -07:00
yuvipanda
4edbce32ba Clarify what new password is 2018-09-04 12:42:29 -07:00
yuvipanda
a983e1c81d Fixup paths to images in docs 2018-09-04 12:38:32 -07:00
yuvipanda
2754a814b9 Add documentation on resetting user passwords 2018-09-04 12:35:45 -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
d0b1e5c4c0 Merge pull request #169 from Carreau/no-everyone-read
Don't create home publicly readable
2018-09-03 14:51:05 +02:00
Min RK
8c82371416 Merge pull request #174 from Carreau/typo
typo questoins -> questions.
2018-09-03 14:50:31 +02:00
Matthias Bussonnier
2c6be93f0a typo 2018-08-31 18:27:54 -07:00
Matthias Bussonnier
5bbba2bd7c add test 2018-08-31 18:15:56 -07:00
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