Carol Willing
0f17709d4e
Edit content in intro
2017-07-18 11:03:13 -07:00
Min RK
3eca010f66
limit curl logging to INFO-level
...
curl debug logs every byte of every request
2017-07-18 14:49:13 +02:00
Min RK
041ffd6db2
support named servers in proxy
2017-07-18 14:48:51 +02:00
Min RK
4b5aad41b1
make user.running a method
...
accept server names
2017-07-18 14:48:29 +02:00
Min RK
d6565076f5
add admin user by default
2017-07-18 14:29:59 +02:00
Min RK
c943162649
merge named server handlers
...
only need one handler class per path
2017-07-18 14:28:45 +02:00
Min RK
a2e94b8493
create Spawners table
...
for named servers
removes User.servers
2017-07-18 14:28:31 +02:00
Min RK
94b2bc1261
Merge pull request #1231 from willingc/doc-refresh
...
Update docs main TOC and edit quickstart
2017-07-18 13:19:45 +02:00
Min RK
7d34f83b18
Merge pull request #1232 from dhirschfeld/win-fix3
...
Pass `shell=True` to `check_call` on Windows
2017-07-18 13:18:54 +02:00
Hirschfeld
4f27a18616
Pass shell=True
to check_call
on Windows
2017-07-18 12:15:33 +10:00
Carol Willing
5a5aa1c2aa
Update main TOC and edit quickstart
2017-07-17 12:24:43 -07:00
Carol Willing
1bafdf9130
Merge pull request #1223 from minrk/wait-up-fall-off
...
apply exponential backoff to all waits
2017-07-17 09:15:48 -07:00
Min RK
9eef5d7b1e
refresh session of spawner server
2017-07-17 11:05:25 +02:00
Min RK
aee3c74681
Merge origin/master into named_servers
2017-07-17 10:53:17 +02:00
Min RK
653a39c05e
checkpoint: named server state
2017-07-17 10:41:36 +02:00
Min RK
efa6a33b0a
variables for exponential falloff
2017-07-17 10:27:42 +02:00
Min RK
0c5a9e8347
Merge pull request #1225 from willingc/unofficial-win
...
Document more fully platform support
2017-07-17 10:24:54 +02:00
Min RK
657f77b7c6
Merge pull request #1224 from dhirschfeld/more-windows-fixes
...
More Windows Fixes
2017-07-17 10:23:50 +02:00
Carol Willing
b528572960
Document in more detail platform support
2017-07-16 19:13:54 -07:00
Hirschfeld
e75d24aca2
Create getgrnam
wrapper function to allow mocking in tests
2017-07-17 11:38:04 +10:00
Hirschfeld
7607f8d639
More Windows fixes
2017-07-17 11:13:00 +10:00
Carol Willing
9a59c02077
Merge pull request #1220 from minrk/service-msg
...
fix filtering of services with no endpoint
2017-07-16 08:46:54 -07:00
Min RK
8e3c4b1925
apply exponential backoff to all waits
...
Waiting for servers to come up and shut down was polled at an even interval of 100ms. If things are slow and busy, this is a lot if waiting events. exponential backoff reduces the number of callbacks triggered by slow spawners.
This may improve the load a bit when there’s a bunch of outstanding spawns.
2017-07-15 12:56:47 +02:00
Yuvi Panda
057bf03d3a
Merge pull request #1221 from minrk/proxy-race
...
add User.proxy_pending
2017-07-14 19:20:16 -07:00
Min RK
224faff879
Merge pull request #1208 from dhirschfeld/windows-fixes
...
Minor fixes to get setup.py to work on Windows
2017-07-14 17:28:28 +02:00
Min RK
a6c2939bb4
delay stop_pending until the end of stop
...
avoids stop_pending being False while there's still one yield to go
2017-07-14 15:53:38 +02:00
Min RK
c78d88707c
fallback during initial hub connection
2017-07-14 15:34:34 +02:00
Min RK
a79071bb33
add User.proxy_pending
...
flag for waiting for the proxy to be updated
avoids User.running being True when the user's server has not yet been added to the proxy,
causing potential redirect loops.
2017-07-14 15:17:56 +02:00
Min RK
dca530d2c0
Merge pull request #1218 from minrk/raise-not-exit
...
fix leftover `self.exit` in proxy
2017-07-14 14:13:17 +02:00
Min RK
c5b1542af2
fix service filtering
...
use `!=` to check for None, not `is not`
2017-07-14 14:11:25 +02:00
Min RK
a13e7766fc
fix leftover self.exit
in proxy
...
self.exit is a method on Application, missed copying the proxy code out of the JupyterHub app.
2017-07-14 10:51:14 +02:00
Min RK
765e391810
Merge pull request #1214 from yuvipanda/hub_ip_connect_config
...
Tag hub_ip_connect as configurable
2017-07-14 10:44:09 +02:00
Yuvi Panda
6a12e78cee
Merge pull request #1212 from yuvipanda/typo-fix
...
Fix typo in proxy implementation
2017-07-13 21:15:17 -07:00
yuvipanda
e0effa567a
Tag hub_ip_connect as configurable
...
This value is expected to be provided by the user.
2017-07-13 20:14:11 -07:00
yuvipanda
0322ca6d05
Fix typo
...
It is now self.command, not cmd
2017-07-13 19:52:13 -07:00
Hirschfeld
13eda34676
Used os.pathsep to join paths
2017-07-13 22:19:37 +10:00
Hirschfeld
874ed0c450
Passed shell argument to check_call instead of calling cmd.exe directly
2017-07-13 22:15:19 +10:00
Hirschfeld
f25ec3c3f0
Minor fixes to get setup.py to work on Windows
2017-07-13 16:47:26 +10:00
Carol Willing
8373c4619e
Merge pull request #1207 from minrk/check-routes-on-startup
...
check routes on startup
2017-07-12 08:56:14 -05:00
Min RK
549dfd99e5
check routes on startup
...
and be more thorough about clearing out stale routes that shouldn't be there
2017-07-12 14:06:04 +02:00
Carol Willing
eed88f6366
Merge pull request #1204 from minrk/httponly
...
set httponly on cookies
2017-07-11 09:33:00 -05:00
Carol Willing
fcf745b2f4
Merge pull request #1206 from minrk/pycurl-by-default
...
use pycurl by default, if available
2017-07-11 09:31:58 -05:00
Min RK
69a27b7843
use pycurl by default, if available
...
simplehttpclient can have issues with high load
2017-07-11 16:16:02 +02:00
Min RK
a51141810d
set httponly on cookies
2017-07-11 11:06:00 +02:00
Yuvi Panda
396f454998
Merge pull request #1199 from jupyterhub/data-dict-default
...
Make data a non-optional arg to add_route
2017-06-29 14:06:00 -07:00
yuvipanda
5f21909138
Fix proxy test failure
2017-06-29 12:32:31 -07:00
yuvipanda
ebb7b4b4ae
Make data a non-optional arg to add_route
...
We expect at least an empty dict when we fetch it,
so let's make it non-optional and always pass in something.
This is clearer.
2017-06-29 12:26:27 -07:00
Min RK
e691231f64
Merge pull request #1169 from minrk/version-check
...
Compare JupyterHub and single-user server versions
2017-06-29 17:49:22 +01:00
Min RK
471110c0f2
Merge pull request #1194 from yuvipanda/route_fix
...
Mark `data` param to proxy.add_route optional
2017-06-29 06:52:14 +01:00
yuvipanda
73948c016b
Mark data
param to proxy.add_route optional
...
It is used as optional throughout the code, and the CHP implementation
makes it optional too. So let's explicitly mark it as such.
2017-06-28 22:40:52 -07:00