Min RK
931c2d6f8a
Merge pull request #368 from willingc/doc-wip
...
Sphinx documentation that converts markdown using recommonmark
2016-01-12 16:31:55 +01:00
Min RK
f5746d0765
Merge pull request #375 from betatim/form-file-upload
...
Handle file upload in spawner form
2016-01-09 23:25:52 +01:00
Tim Head
a59f57e095
Handle file upload in spawner form
...
Allow files to be uploaded in the spawner form.
2016-01-09 13:53:45 +01:00
Min RK
47549e752d
Merge pull request #371 from minrk/delete-user
...
delete users via UserDict API
2016-01-08 10:32:10 +01:00
Min RK
4534bea86e
delete users via UserDict API
...
avoids reusing user IDs when user creation fails
2016-01-06 15:14:28 +01:00
Carol Willing
2815f72250
Change mocking of slowspawner to match nospawner
2016-01-05 19:45:49 -08:00
Carol Willing
131b695fbb
Correct some links
2016-01-05 19:45:49 -08:00
Carol Willing
1bc0d208d3
Move image files
2016-01-05 19:45:49 -08:00
Carol Willing
46a9e8b1c3
Update doc requirements
2016-01-05 19:45:49 -08:00
Carol Willing
04cb5fe503
Add recommonmark parser for markdown
2016-01-05 19:45:49 -08:00
Carol Willing
0ad110f7de
Add parsers
2016-01-05 19:45:49 -08:00
Carol Willing
0c5c3eb8b1
Add recommonmark
2016-01-05 19:45:49 -08:00
Carol Willing
bd8b8c55b2
Add initial index file
2016-01-05 19:45:49 -08:00
Carol Willing
e52d2eb27d
Add Jupyter customizations
2016-01-05 19:45:49 -08:00
Carol Willing
0b4fbee418
Add sphinx skeleton
2016-01-05 19:45:49 -08:00
Carol Willing
9ee92a3984
Add a requirements for building docs
2016-01-05 19:45:49 -08:00
Carol Willing
f4de573198
Set up docs directory for Sphinx
2016-01-05 19:45:49 -08:00
Min RK
26e00718f9
Merge pull request #366 from minrk/double-redirect
...
return after redirect to spawner form
2016-01-05 17:19:04 +01:00
Min RK
c878e137aa
try codecov for coverage
2016-01-05 14:05:59 +01:00
Min RK
53785a985d
return after redirect to spawner form
...
avoids double-call to redirect, which fails
2016-01-05 14:02:20 +01:00
Min RK
b0cc47984b
Merge pull request #364 from minrk/spawn-typo
...
s/users/user typo in spawn redirect
2015-12-31 17:30:56 +01:00
Min RK
91168fc22b
s/users/user typo in spawn redirect
2015-12-31 12:06:04 +01:00
Min RK
66cbb8a614
more testing of spawn page redirects
2015-12-31 12:05:55 +01:00
Min RK
0fbd69be9b
Merge pull request #355 from minrk/spawner-options
...
Add Spawner form page
2015-12-30 16:40:16 +01:00
Min RK
872005f852
document spawner options form
2015-12-30 14:17:58 +01:00
Min RK
647dd09f40
add spawn-form example
2015-12-30 13:55:39 +01:00
Min RK
041c1a4a1e
remove always-False else branch
2015-12-30 13:55:38 +01:00
Min RK
d2e3a73f53
set login cookie after starting server
...
avoids redirect loop
2015-12-30 13:55:38 +01:00
Min RK
2bd7192e89
add extensible get_env
hook on Spawner
...
to make it easier for subclasses to modify the env
2015-12-30 13:55:38 +01:00
Min RK
28f5f33a76
add bootstrap form-control to spawner form inputs
2015-12-30 13:55:38 +01:00
Min RK
f9c9c2b471
options_form is a regular configurable
...
now that we can assume User.spawner exists at all times
2015-12-30 13:55:38 +01:00
Min RK
41ea696546
Instantiate Spawner on User init
...
shrinks `User.spawn` to take single argument, grants User more direct access to state.
2015-12-30 13:55:36 +01:00
Min RK
54f9a296de
test Spawner.user_options and spawn form
2015-12-30 13:55:01 +01:00
Min RK
ba634354dd
Add Spawner form
...
If Spawner.options_form is specified, a form providing input controls is shown to the user prior to launch.
Spawners access the result via the `self.user_options` dict.
The default spawners offer no form.
2015-12-30 13:55:01 +01:00
Min RK
675f19b5cb
Merge pull request #358 from minrk/ipython-traitlets
...
import base traitlets
2015-12-27 22:26:31 +01:00
Min RK
1eed96193d
import base traitlets
...
missed IPython.utils.traitlets import from old User PR
2015-12-24 12:25:43 +01:00
Zoltan Fedor
faa259e97b
IPv6 ready hosts file localhost issue
...
This is to resolve the 'Network is Unreachable' error experienced by a few when JupyterHUB is connecting to localhost.
On most recent linux OS versions like CentOS 6, 7, Red Hat 6, 7, Oracle Linux 6, 7, etc, the hosts file (/etc/hosts) usually has a line to make the server IPv6-ready:
::1 localhost
even if the given server actually has no IPv6 permissioned. In such case the Python socket library when connecting to 'localhost' will try to connect via the IPv6 protocol - which will fail with the 'Network is Unreachable' error.
To solve this we capture this error and try to reconnect on 127.0.0.1 instead of localhost, alias forcing the user of the IPv4 protocol.
2015-12-15 10:53:06 -05:00
Min RK
4785a1ef87
Ensure that we can bind and connect to localhost
...
otherwise fallback to 127.0.0.1 for defaults
2015-12-15 13:37:30 +01:00
Min RK
aa529f3aba
Merge pull request #352 from minrk/sqlalchemy-1.0
...
require sqlalchemy 1.0
2015-12-14 14:11:52 +01:00
Min RK
98955a5702
require sqlalchemy 1.0
...
we know 0.7.9 is too old. We might work on 0.8,
but 1.0 is current.
2015-12-14 10:37:48 +01:00
Min RK
2f1a203699
Merge pull request #349 from minrk/adduser
...
create users with adduser
2015-12-13 13:43:02 +01:00
Brian E. Granger
77b31d8542
Minor fixes to the PR on docs and the default command.
2015-12-13 12:15:31 +01:00
Min RK
8fca4e859d
create users with adduser
...
instead of useradd (on Linux).
- still user `pw useradd` on BSD
- allow complete custom add_user_cmd for specifying directories, etc.
2015-12-13 12:15:31 +01:00
Brian E. Granger
8d90a92ef3
Merge pull request #351 from ellisonbg/token-docs
...
Edits to the security part of the docs
2015-12-12 15:29:09 -08:00
Brian E. Granger
37424acabf
Adding actual secret key...
2015-12-12 15:28:12 -08:00
Brian E. Granger
86a450da77
Edits to the security part of the docs
2015-12-12 14:30:19 -08:00
Min RK
151dcbafb4
Merge pull request #347 from dblockow/feature/log-failed-auth-ip
...
Log Remote IP Address for Failed Authentication Attempts
2015-12-10 22:51:48 +01:00
David Blockow
d512ee9f65
Fixed to cope with a None handler passed in tests
2015-12-08 15:50:54 +10:30
David Blockow
e59b3f3ab1
Remote IP logged for failed authentication attempts
2015-12-08 15:00:29 +10:30
Min RK
2e7af82865
Merge pull request #185 from minrk/outer-user
...
move non-persisted User objects (spawner-related) off of orm.User
2015-12-02 12:44:47 +01:00