Min RK
7ced657d79
Merge pull request #1863 from jamescurtin/add-post-spawn-hook
...
Add post spawn hook
2018-05-07 13:15:21 +02:00
James Curtin
8dd9168077
Refactor method name to post_stop_hook
2018-05-07 07:07:29 -04:00
Min RK
7c6591aefe
add token expiry to token model
2018-05-07 13:02:26 +02:00
Min RK
58c91e3fd4
implement API token expiry
2018-05-07 13:00:37 +02:00
Min RK
db4cf7ae62
note about hub_users in whoami example
...
explain what hub_users does and the value in the example
2018-05-07 10:55:39 +02:00
Min RK
a17f5e4f1b
Merge pull request #1870 from dhirschfeld/patch-3
...
Allow `hub_connect_url` to be configured
2018-05-07 10:49:44 +02:00
Min RK
6cf7f2b0a7
Merge pull request #1866 from chicocvenancio/mysql_large_prefix
...
Mysql large prefix
2018-05-07 10:49:03 +02:00
Min RK
7e21ea9a48
Merge pull request #1867 from dhirschfeld/patch-1
...
Fix typo
2018-05-07 10:46:30 +02:00
Min RK
3f29198bae
Merge pull request #1868 from dhirschfeld/patch-2
...
Fix ImportError on Windows
2018-05-07 10:45:57 +02:00
Dave Hirschfeld
d4293650ff
Allow hub_connect_url
to be configured
2018-05-07 18:43:58 +10:00
Dave Hirschfeld
d65dd16881
Fix ImportError on Windows
...
Delay importing unix-specific functionality until required
2018-05-07 13:27:44 +10:00
Dave Hirschfeld
f36e163581
Fix typo
2018-05-07 12:54:25 +10:00
Chico Venancio
f215adcfa2
move check after engine creation
2018-05-06 04:39:26 +00:00
Chico Venancio
1549af6f56
move large_prefix_check to previous mysql if
2018-05-06 04:29:37 +00:00
Chico Venancio
c553f82580
add comment
2018-05-06 04:27:16 +00:00
Chico Venancio
196b4ebc9f
fix py syntax
2018-05-06 04:27:16 +00:00
Chico Venancio
8710ce1687
fixing py syntax
2018-05-06 04:27:16 +00:00
Chico Venancio
f65e8d7369
add ROW_FORMAT=DYNAMIC if server is configured to need it for large collums
2018-05-06 04:27:16 +00:00
Carol Willing
dc5d9f02c7
Merge pull request #1861 from minrk/0.9-changelog
...
Changelog for 0.9
2018-05-05 02:00:05 +02:00
James Curtin
2f3f8d7826
Add post-spawn hook
2018-05-04 19:56:34 -04:00
Carol Willing
297da070fc
Merge pull request #1859 from minrk/auth-token
...
Allow Authenticators to authenticate requests for API tokens
2018-05-05 01:53:37 +02:00
Carol Willing
10ea92dcea
Merge pull request #1850 from minrk/connect_url
...
Use URLs for config
2018-05-05 01:30:35 +02:00
Min RK
2e5f01f232
changelog for 0.9
2018-05-04 17:25:04 +02:00
Min RK
1a080c4261
test retrieving a token with auth in the body
2018-05-04 17:22:47 +02:00
Min RK
0e08963355
suppress auth errors on authenticated token request
...
since Authenticators may not be prepared for this
2018-05-04 17:18:32 +02:00
Min RK
cd9e39bf54
allow authenticators to authenticate API requests for tokens
...
gives Authenticators the ability to authenticate token requests,
e.g. with an existing OAuth token from the upstream provider
2018-05-04 17:18:32 +02:00
Min RK
580e840165
Merge pull request #1709 from yuvipanda/retry-suggest
...
Suggest retry timing when we throttle server starts
2018-05-04 16:33:35 +02:00
Min RK
09a8fd5254
address review in spawn-throttle-retry
...
- update config to single tuple instead of two integers
- call it spawn_throttle_retry_range
- fix setting Retry-After header without disabling error pages
2018-05-04 13:44:32 +02:00
yuvipanda
8898faa141
Suggest retry timing when we throttle server starts
...
Fixes #1706
2018-05-04 12:38:11 +02:00
Min RK
fdbb1dad79
use bind_url in tests
2018-05-04 12:36:59 +02:00
Min RK
c39244168b
note deprecations for ip/port
...
in favor of bind_url
2018-05-04 11:03:47 +02:00
Min RK
9591fd88c5
add JupyterHub.bind_url for public bind URL
2018-05-04 11:02:16 +02:00
Min RK
3558ce958e
Merge pull request #1848 from willingc/docs-theme
...
Switch docs theme to be consistent with z2jh and binderhub
2018-05-04 10:27:44 +02:00
Min RK
804a9b7be8
Spawner.start can return a URL
...
enables internal HTTPS, if setup by the Spawner
2018-05-03 16:41:02 +02:00
Min RK
3cae550b13
remove redundant "Adding default route" log
...
the same message is logged immediately after with the URL
2018-05-03 16:32:56 +02:00
Min RK
138bad5913
add connect_url, bind_url overrides
...
enables `c.JupyterHub.bind_url = 'unix+http://%2Fsrv%2Fjupyterhub%2Fjupyterhub.sock '`
for listening on a bsd socket.
Similarly, bind_url and connect_url work as overrides everywhere
2018-05-03 16:32:31 +02:00
Carol Willing
09011815af
Good catch @betatim
2018-05-03 15:54:51 +02:00
Matthias Bussonnier
7b0c845c3a
Allow Hub to listen on a unix-socket
...
Add the hub_socket option to the JupyterHub class, which takes
precedence over the hub_ip and hub_port setting. It does not forward
this setting to the Hub class though, and a few log messages still say
the hub is listening on `http://:8000 ` that works fine when testing with
netcat:
```
$ nc -U /tmp/jhub.sock
GET /login HTTP/1.1
HTTP/1.1 302 Found
Server: TornadoServer/4.5.1
Content-Type: text/html; charset=UTF-8
Date: Fri, 28 Jul 2017 02:05:36 GMT
X-Jupyterhub-Version: 0.8.0.dev
Content-Security-Policy: frame-ancestors 'self'; report-uri /hub/security/csp-report
Location: /hub/login
Content-Length: 0
```
Should still be better documented I guess.
2018-05-03 15:49:17 +02:00
Min RK
6a47123ec9
Merge pull request #1847 from willingc/update-contributing
...
Update the contributing instructions for running tests.
2018-05-03 14:56:01 +02:00
Carol Willing
19fab6bbf8
fix typo
2018-05-03 04:42:06 +02:00
Carol Willing
90e6b63e59
bump tornado and sphinx versions
2018-05-03 04:37:33 +02:00
Carol Willing
bd78217cf3
remove jupyter alabaster theme from requirements
2018-05-03 04:34:56 +02:00
Carol Willing
b0833985e6
fix wording from spawn to launch
2018-05-03 04:32:22 +02:00
Carol Willing
a6f73b035f
updates to theme
2018-05-03 04:26:02 +02:00
Carol Willing
251440ec64
add templates for theme
2018-05-03 03:34:48 +02:00
Carol Willing
22a1df6fa0
update conf.py for theme
2018-05-03 03:34:16 +02:00
Carol Willing
6389751c22
move to alabaster theme
2018-05-03 03:22:26 +02:00
Carol Willing
8498691763
Update the contributing instructions for running tests.
2018-05-02 22:25:45 +02:00
Carol Willing
1750ff0324
Merge pull request #1846 from minrk/log-typo
...
ensure changed is defined
2018-05-02 20:53:08 +02:00
Carol Willing
2ce4c46afd
Merge pull request #1845 from minrk/colorblind-friendly
...
pick colorblind-friendly alternatives for success/danger
2018-05-02 20:22:46 +02:00