Commit Graph

7199 Commits

Author SHA1 Message Date
Min RK
ea91bed620 require next_url to be an absolute path
- disallow relative path
- disallow full URL (cross-site)
2015-07-07 11:28:44 -05:00
Min RK
3e81e2ebf9 Merge pull request #265 from jhamrick/docs
Add some docs clarifications
2015-06-26 08:13:49 +01:00
Jessica B. Hamrick
e9e2b17a92 Move npm install to a different part of the docs 2015-06-26 01:41:14 -04:00
Jessica B. Hamrick
498181d217 Remove sudo from npm install 2015-06-26 01:37:26 -04:00
Jessica B. Hamrick
9f807a5959 Add some docs clarifications 2015-06-25 14:48:18 -04:00
shreddd
d328015fe8 add supplemental groups to the local user notebook
Set the list of supplemental group ids for the user associated with the spawned notebook process. This allows users to access utilize their full complement of UNIX system groups. Currently the user is restricted to their default group - accessing a file owned by any other group does not work, even if a user is a member of that group. This patch fixes that.
2015-06-24 14:56:44 -07:00
Min RK
cbbc0290b9 Merge pull request #263 from minrk/test-singleuser
single-user should still be using IPython.utils.traitlets
2015-06-24 12:53:25 -07:00
Min RK
7477f2f6d1 make sure to launch single-user server at least once in tests 2015-06-24 08:47:51 -07:00
Min RK
c03e50b3a2 single-user should still be using IPython.utils.traitlets
We haven't moved to using notebook 4.0 in the single-user, yet
2015-06-24 08:46:56 -07:00
Min RK
cfd19c3e61 Merge pull request #261 from minrk/traitlets
remove dependency on IPython
2015-06-22 22:56:08 -07:00
Min RK
c289cdfaec remove dependency on IPython
- Standalone traitlets has been released, use it directly.
- Copy url_path_join from notebook
2015-06-22 16:02:45 -07:00
Min RK
7acaf8ce52 Merge pull request #260 from minrk/notebook-aliases
don't try to get notebook aliases from NotebookApp
2015-06-22 15:59:50 -07:00
Min RK
e5821e573a don't try to get notebook aliases from NotebookApp
Sentinel changes make it ~impossible to fetch values without instantiation,
which probably wasn't the best idea in the first place.
2015-06-22 14:50:37 -07:00
Min RK
0c16fb98f3 Merge pull request #257 from minrk/command-traitlet
add command traitlet
2015-06-19 10:46:38 -07:00
Min RK
b27ef8e4cb we're not in the future, yet. 2015-06-12 14:09:05 -07:00
Min RK
6cfd186f06 proxy_cmd is a list 2015-06-12 14:01:57 -07:00
Min RK
552859084c simplify some installation notes
- use pip3 / python3
2015-06-12 11:22:13 -07:00
Min RK
6e8a58091e prioritize Google Group over Gitter for help 2015-06-12 11:18:44 -07:00
Min RK
6b0aee2443 Merge pull request #259 from nthiery/master
Removed sudo from pip install instructions

closes #258
2015-06-10 16:32:35 -07:00
Nicolas M. Thiéry
8d00ccc506 Removed sudo from pip install instructions, ...
Attempt at implementing @minrk's suggestion

https://github.com/jupyter/jupyterhub/pull/258#issuecomment-110932499
2015-06-11 00:54:32 +02:00
Min RK
86e31dffa5 add command traitlet
allows specifying commands as either strings or list.

This enables adding arguments to JupyterHub.proxy_cmd without breaking backward-compatibility.
2015-06-03 20:05:20 -08:00
Min RK
f421d1a6da Merge pull request #256 from KrishnaPG/master
Added note about pip3 and zmq
2015-05-30 14:35:47 -07:00
Gopalakrishna Palem
9112ad0f4a Added note about pip3 and zmq
Updated Readme.md with optional dependencies
2015-05-30 08:34:16 +05:30
Min RK
354aeb96af Merge pull request #255 from quantopian/query_args
Include query arguments in GET requests to the notebook server (once it spawns)
2015-05-28 13:03:49 -07:00
Tim Shawver
ff1bf7c4c0 Don't strip query string parameters out of GET requests to the notebook server.
Using self.request.uri instead of self.request.path in a few places accomplishes this.
2015-05-28 15:05:39 -04:00
Kyle Kelley
1ff659a847 Merge pull request #251 from minrk/version
fix `jupyterhub --version` output
2015-05-11 15:16:45 -05:00
Min RK
de40310f54 fix jupyterhub --version output 2015-05-11 10:32:46 -07:00
Min RK
72d9592241 avoid import * in __init__ 2015-05-11 10:32:21 -07:00
Fernando Perez
087a93f9ef Merge pull request #250 from minrk/multi-user-add
create multiple users in admin panel
2015-05-06 20:54:23 -07:00
Min RK
4d73f4eedb note that admin is a single value 2015-05-06 15:35:23 -07:00
Min RK
612cc73c3c skip existing users on bulk user creation
rather than aborting if any already exist

if no users are to be created, throw 400
2015-05-06 15:24:34 -07:00
Min RK
c9d02382e3 fixup 2015-05-06 15:14:08 -07:00
Min RK
da647397ac create multiple users in admin panel
usernames separated by lines
2015-05-06 14:03:19 -07:00
Min RK
546d86e888 allow creating multiple users with one API request 2015-05-06 14:01:31 -07:00
Min RK
36bc07b02e add gitter badge 2015-05-05 14:32:24 -07:00
Min RK
81b13c6660 Merge pull request #245 from minrk/user-name
fix auth key in single-user check
2015-05-02 19:01:09 -05:00
Min RK
b0ef2c4c84 fix auth key in single-user check 2015-05-02 15:22:03 -05:00
Min RK
38024c65d8 Merge pull request #209 from minrk/user-model
reply with full user model in auth handlers
2015-05-01 18:32:21 -07:00
Min RK
80997c8297 reply with full user model in auth handlers 2015-05-01 13:43:43 -07:00
Min RK
c467c64e01 move user_model handling to base APIHandler 2015-05-01 13:41:08 -07:00
Min RK
3fd80f9f3a Merge pull request #243 from minrk/url-name
quote usernames in URLs, cookies
2015-04-30 12:07:33 -07:00
Min RK
d4a4d04183 quote usernames
allow @ to be left unescaped in URLs, quote everything in cookie names
2015-04-30 12:04:32 -07:00
Min RK
f6a3f371b4 Merge pull request #241 from toobaz/url_path_join_from_jupyter_notebook
Get url_path_join from jupyter_notebook
2015-04-24 15:51:11 -07:00
Min RK
8fb74c8627 Merge pull request #240 from quantopian/configurable-headers
DEV: Allow configuration of default headers.
2015-04-24 10:14:43 -07:00
Pietro Battiston
fd6e6f1ded Get url_path_join from jupyter_notebook 2015-04-24 12:34:33 +02:00
Scott Sanderson
74d3740921 DEV: Allow configuration of default headers.
Applies Content-Security-Policy: frame-ancestors 'self' by default.
2015-04-24 01:19:25 -04:00
Min RK
1674d2f698 Merge pull request #238 from quantopian/configurable-templates
DEV: Make template search path configurable.
2015-04-23 14:26:40 -07:00
Tim Shawver
e5d9d136da One more place where template_path needed to be changed to template_paths 2015-04-23 12:32:59 -04:00
Scott Sanderson
1d6b16060b DEV: Make template search path configurable. 2015-04-23 11:08:32 -04:00
Min RK
cd268af799 Merge pull request #236 from quantopian/py2-compat
DEV: Python2 compat in singleuser.py
2015-04-20 15:45:40 -07:00