Min RK
c69adfb506
Merge pull request #2161 from yuvipanda/better-contrib
...
Add notes on simplespawner & dummyauthenticator
2018-09-21 10:10:04 +02:00
Min RK
ac82f0f437
apply willingc's text proposals
2018-09-21 10:07:21 +02:00
Carol Willing
c975f7eb4a
Merge pull request #2162 from yuvipanda/other-auth-cleanup
...
Link additional authenticators to wiki
2018-09-21 02:13:50 -04:00
yuvipanda
07b590e2c3
Link additional authenticators to wiki
...
The current list in the docs is out of date. The list
in the wiki is more up-to-date, and easier for folks
to change over time. In the long run, we should decide
where lists like this belong.
2018-09-20 22:49:00 -07:00
Erik Sundell
0b98be05fd
Add links to default spawner & authenticator
2018-09-20 22:11:48 +00:00
yuvipanda
0a54b1aa99
Add notes on simplespawner & dummyauthenticator
2018-09-20 13:01:49 -07:00
Erik Sundell
e114f79e44
Merge pull request #2159 from yuvipanda/better-contrib
...
Expand 'Setting up Developer Environment' in CONTRIBUTING.md
2018-09-20 20:43:48 +02:00
yuvipanda
3ff046affa
Expand 'Setting up Developer Environment' in CONTRIBUTING.md
2018-09-20 11:31:00 -07:00
Carol Willing
e26229c0b4
Merge pull request #2156 from willingc/pin-sphinx
...
Build docs with pip not conda
2018-09-19 20:25:39 -07:00
Carol Willing
6c000968c9
reset dependencies
2018-09-19 14:46:56 -07:00
Carol Willing
8d79be7cfb
switch to requirements and pip
2018-09-19 14:46:36 -07:00
Carol Willing
25264a43cf
update oauthlib dependency in docs
2018-09-19 14:45:00 -07:00
Carol Willing
56601d93c3
Merge pull request #2149 from minrk/deprecate-maybe-future
...
stop using deprecated `gen.maybe_future`
2018-09-17 20:08:57 -07:00
Min RK
f2fa067025
Merge pull request #2089 from krinsman/master
...
UI for Named Servers (Home and Admin Pages)
2018-09-17 13:04:42 +02:00
William Krinsman
02cb5ec076
Handle named servers in UserSpawnHandler, home, admin pages
...
Made CSS and HTML (and Jinja2) of admin page compatible with named servers.
2018-09-17 11:54:51 +02:00
Min RK
571ca2dec6
Merge pull request #2142 from minrk/async-current-user-2
...
make `.get_current_user` async
2018-09-17 10:49:25 +02:00
Min RK
35a95b5f0c
stop using deprecated gen.maybe_future
...
we already covered supported cases since we are using tornado 5,
so handle the scalar case ourselves, as recommended in the deprecation
2018-09-14 14:13:31 +02:00
Min RK
ce9d9fd26d
clarify docstrings, comments in refresh_user
...
- refresh_user may return True in the common case, identifying that everything is up-to-date
- return False for "needs login"
- return auth_data dict when an update can be performed without logging in again
2018-09-13 10:28:10 +02:00
Min RK
d79a99323e
make .get_current_user
async
...
- `.get_current_user` is called in the `prepare` stage for all handlers
- use `.current_user` to access current user in methods
- adds Authenticator.refresh_user for refreshing user auth (unused at this point)
2018-09-13 10:16:13 +02:00
Carol Willing
a21b496d48
Merge pull request #2144 from willingc/comm-guide
...
Add link to Jupyter Community Guide
2018-09-12 10:12:35 -07:00
Carol Willing
7ff49705bc
fix typo
2018-09-12 08:41:05 -07:00
Carol Willing
6dc43dd70b
add link to community guide reference
2018-09-12 08:39:07 -07:00
Min RK
42c78a8ba7
Merge pull request #2143 from minrk/fixup-progress
...
remove spurious print from keepalive code
2018-09-12 09:45:14 +02:00
Min RK
54449562bd
remove spurious print from keepalive code
...
and send keepalive every 8 seconds
to protect against possibly aggressive proxies dropping connections after 10 seconds of inactivity
2018-09-11 16:50:48 +02:00
Min RK
e29fad06ed
write needs no await
2018-09-11 16:41:27 +02:00
Matthias Bussonnier
f1a5c7da55
Merge pull request #2141 from minrk/093
...
changelog for 0.9.3
2018-09-11 13:41:50 +02:00
Min RK
0239ff8646
changelog for 0.9.3
...
Mainly small fixes, but the token page could be completely broken
This release will include the spawner.handler addition,
but not the oauthlib change currently in master
2018-09-11 11:06:31 +02:00
Min RK
e4a64bd129
Merge pull request #2127 from minrk/oauthlib
...
switch to oauthlib from python-oauth2
2018-09-11 11:01:51 +02:00
Min RK
a0354de3c1
Merge pull request #2139 from minrk/token-page
...
token expiry fixes
2018-09-11 11:01:37 +02:00
Min RK
2e4e1ce82f
test token page with html parsing
2018-09-11 10:16:36 +02:00
Min RK
1f0ea679e5
clarify messages per review
2018-09-11 09:00:19 +02:00
Min RK
06f646099f
token expiry fixes
...
typos in token expiry:
- omitted from token model (it's in the spec in docs, but wasn't in the model)
- wrong type when sorting oauth tokens on token page could cause token page to not render
2018-09-11 08:54:12 +02:00
Min RK
3360817cb6
Merge pull request #2138 from SivaMaplelabs/undefined-variable
...
Fix undefined variable 'datetime' error
2018-09-11 08:52:59 +02:00
Min RK
b84e929e8c
skip oauthlib absolute-uri check
...
because we want to allow relative redirect uri for internal oauth
2018-09-10 17:12:08 +02:00
Min RK
df74ff68ab
better error messages on oauth errors
2018-09-10 17:12:08 +02:00
SivaMaplelabs
e042ad0b4a
Fix undefined variable 'datetime' error
2018-09-10 20:04:54 +05:30
Min RK
246f9f9044
Merge pull request #2135 from adelcast/dev/adelcast/fix_chp
...
add Windows case when stopping the CHP
2018-09-10 15:19:14 +02:00
Min RK
03aa48a88c
update tests with oauth confirmation
...
cross-user / service oauth tests must submit oauth confirmation form
to complete authorization
2018-09-10 15:18:12 +02:00
Min RK
de54056005
add oauth confirmation page
...
users accessing their own servers still don't require confirmation,
but accessing other users' servers or services shows a confirmation page.
2018-09-10 14:31:19 +02:00
Min RK
5e2c133669
flesh out oauth provider
...
- avoid logging credentials
- implement some missing methods
2018-09-10 14:26:40 +02:00
Min RK
4fc4cfe2cc
move oauth.store to oauth.provider
...
since it defines the provider!
2018-09-10 11:09:52 +02:00
Alejandro del Castillo
bc08f4de34
proxy: add Windows case when zombie proxy is still running
...
Windows doesn't support signal.SIGKILL, which is used by
_check_previous_process to kill the CHP if still running. Use existing
implementation to kill the CHP and children processes on Windows
instead.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com >
2018-09-06 18:06:16 -05:00
Alejandro del Castillo
12904ecc32
_check_previous_process: use signal list as input to os.kill
...
Previously, signal.SIGTERM was using 3 times, instead of using it 2
times, then signal.SIGKILL.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com >
2018-09-06 16:15:56 -05:00
Matthias Bussonnier
601d371796
Merge pull request #2132 from willingc/iss204
...
fix link
2018-09-06 10:16:17 +02:00
Carol Willing
30d9e09390
fix link
2018-09-05 11:27:19 -07:00
Min RK
7850a5d478
Merge pull request #2036 from minrk/pass-handler
...
pass requesting handler to spawner
2018-09-04 18:27:02 +02:00
Min RK
f84c73eb15
[wip] switch to oauthlib from python-oauth2
...
lower-level implementation, but more robust and gives us more control
2018-09-04 15:10:58 +02:00
Min RK
f5a3b1bc5a
Merge pull request #2122 from SivaMaplelabs/pylint-fix
...
Address the pylint warnings
2018-09-04 09:58:13 +02:00
SivaMaplelabs
b2fe8e5691
Address the pylint warnings
2018-09-03 21:35:46 +05:30
Min RK
9d4c410996
include params in redirect from /spawn -> /user/:name
2018-09-03 09:57:00 +02:00