Carol Willing
c89711d0d5
Edit and deduplicate security docs
2017-07-21 11:23:43 -07:00
Carol Willing
daee0f8df8
Merge pull request #1248 from Carreau/cleanup
...
Remove unused import and add version to deprecations.
2017-07-21 11:21:20 -07:00
Matthias Bussonnier
e1444f4aca
remove trailing comma
2017-07-21 11:13:18 -07:00
Matthias Bussonnier
97b9c4899a
typo
2017-07-21 11:12:24 -07:00
Matthias Bussonnier
b8aa6ecd70
Remove unused import and add version to deprecations.
2017-07-21 10:23:54 -07:00
Min RK
bc9cc98789
Merge pull request #1246 from yuvipanda/no-unconditional-add
...
Don't unconditionally add hub route to proxy
2017-07-21 10:23:25 +02:00
yuvipanda
72132e7946
Don't unconditionally add hub route to proxy
...
This is done contidtionally in check_routes instead
2017-07-21 01:01:21 -07:00
Carol Willing
b0307dd98e
Merge pull request #1242 from minrk/headers-fixes
...
various singleuser header fixes
2017-07-20 11:49:13 -07:00
Carol Willing
fd1ac55a70
Merge pull request #1240 from minrk/drop-33
...
Require Python 3.4
2017-07-20 11:25:30 -07:00
Yuvi Panda
39d8800389
Merge pull request #1241 from minrk/progress-spin
...
add spinner to slow-spawn page
2017-07-20 09:59:32 -07:00
Min RK
4c0ac6d502
Merge pull request #1234 from CRegenschein/master
...
Add pre_spawn_hook
2017-07-20 15:45:06 +02:00
Min RK
40dcbedc2a
various singleuser header fixes
...
- always set content security policy header, to workaround bug in notebook 5.0
- set x-jupyterhub-version on all requests, not just our own
- fix version comparison in _check_version (leftover `__version__`)
- even log version matches at debug-level (verifies that check happened)
2017-07-20 15:37:54 +02:00
Min RK
9eda66b3ae
bump bower dependencies
...
need fa 4.3 for fa-pulse, but rev everything while we're at it
2017-07-20 14:31:13 +02:00
Min RK
d4c48db248
add spinner on slow-spawn page
2017-07-20 14:30:45 +02:00
Min RK
7bd4861689
minor cleanup in pre_spawn_hook
...
- remove reduntant None, allow_none in Any
- remove callable check (if it's not callable, let the error raise)
- let outer error handling deal with failed pre-spawn hook
- add missing `return` in pre_spawn_hook
2017-07-20 14:08:06 +02:00
CRegenschein
72550725da
jupyterhub-1219 Enhancement: automatically create a directory for the user after successful login
2017-07-20 14:02:13 +02:00
Min RK
5a8011ea66
Require Python 3.4
...
Specify Requires-Python (PEP345) metadata
2017-07-20 13:49:34 +02:00
Min RK
0fd1a95405
Merge pull request #1239 from willingc/remove-33
...
Bump Python support to 3.4 and up
2017-07-20 13:48:56 +02:00
Min RK
8d0cfa8e7c
always set content-type json on API handlers
2017-07-20 11:58:50 +02:00
Min RK
3d1187283c
apply stricter CSP on api endpoints
...
double-ensure that no scripts run on api pages (referrer check already doesn't allow malicious links)
2017-07-20 11:58:50 +02:00
Carol Willing
7416a55083
Add test for invalid version
2017-07-19 19:23:37 -07:00
Carol Willing
e8a3c4dac6
Fix link
2017-07-19 17:33:14 -07:00
Carol Willing
33f2026dac
Add badge for 0.7.2 docs to README
2017-07-19 17:30:57 -07:00
Carol Willing
d34f6e779d
Bump Python support to 3.4 and up
2017-07-19 14:57:52 -07:00
Min RK
738976a956
Merge pull request #1236 from willingc/doc-intro
...
Break up long Getting Started doc page
2017-07-19 11:40:39 +02:00
Carol Willing
fd8cc1df15
Break up large getting started doc
2017-07-18 17:57:56 -07:00
Carol Willing
61053b063e
Reorganize content
2017-07-18 16:47:11 -07:00
Carol Willing
a27e1e9d40
Break up installation document
2017-07-18 11:45:03 -07:00
Carol Willing
a7889eb536
Rename guide to reference
2017-07-18 11:03:49 -07:00
Carol Willing
0f17709d4e
Edit content in intro
2017-07-18 11:03:13 -07: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
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