Min RK
d340fc056e
import mock from stdlib
2019-02-04 15:45:47 +01:00
Min RK
f3e1b95147
Merge pull request #2402 from consideRatio/readme-badge
...
Opinionated update of badges
2019-02-04 15:42:48 +01:00
Min RK
b5aa53fe7b
only refresh auth of Users
2019-02-04 12:57:10 +01:00
Min RK
96c16bfb85
missing escape in normalize_timestamp
2019-02-04 12:56:53 +01:00
Richard Darst
d33226f3c2
Don't use super() when normalizing username using PAM
...
- We don't need the extra normalization of that function.
- Also add in username_map support here. It probably isn't needed
most of the time with PAM, but it keeps things consistent and is
easier than documenting an exception.
2019-02-03 00:37:06 +02:00
Erik Sundell
78fe52bfb8
Remove google group badge
2019-02-02 14:59:28 +01:00
Erik Sundell
383cd6e73d
Add github/discourse/gitter badges
2019-02-02 14:59:16 +01:00
Erik Sundell
25fa0f739f
Remove 0.7.2 docs badge
2019-02-02 14:58:45 +01:00
Min RK
919b6a8d6c
Merge pull request #2375 from dtaniwaki/limit-nb-num-per-user
...
Limit max named server per user
2019-01-31 13:33:14 +00:00
Richard Darst
92223b1dde
pam_normalize_username option: round-trip usernames through PAM to normalize
2019-01-28 13:43:29 +02:00
Daisuke Taniwaki
9a0f7286bc
Add tests for named server limit
2019-01-19 16:27:30 +09:00
Daisuke Taniwaki
71f2b73c36
Update error message of named server limit
2019-01-19 15:48:35 +09:00
Daisuke Taniwaki
b34bdd2846
Limit max named server per user
2019-01-19 15:48:35 +09:00
Min RK
392e432071
Merge pull request #2377 from minrk/travis-upgrade
...
add upgrade to pip install
2019-01-16 16:40:10 +01:00
Min RK
09e48546ab
pin oauthlib < 3
...
while we work out why 3 doesn't work anymore
2019-01-16 15:54:58 +01:00
Min RK
77ecdbe12a
add upgrade to pip install
...
to ensure version compatibility
2019-01-08 14:38:39 +01:00
Min RK
1431c5a21a
test coverage for auth expiry
2019-01-04 11:54:20 +01:00
Min RK
8c63f669a9
consolidate some test utilities in utils
...
instead of in test_api, test_pages
since they are used in a few places
also add user, username fixtures for generating test users
2019-01-04 11:03:20 +01:00
Min RK
c009b39795
auth_refresh_age is on Authenticator
2019-01-03 12:36:47 +01:00
Min RK
dfd808b90e
Merge pull request #2344 from adelcast/dev/adelcast/quotes_fix
...
Spawner.py: do not quote Popen args
2019-01-03 11:58:34 +01:00
Min RK
75e46fc111
Merge pull request #2370 from dnelson86/patch-1
...
Update docs: deployments
2019-01-03 11:57:43 +01:00
Min RK
337a0118c0
Merge pull request #2365 from rcthomas/change-id-to-class-named-servers
...
Change id selector to class selector for named servers
2019-01-03 11:56:34 +01:00
Dylan Nelson
2ee355d6a4
Update docs: deployments
...
Add IllustrisTNG public data release deployment.
Also add link for MIT, and delete jcloud.io (seems to no longer exist).
2018-12-30 15:04:21 +01:00
Min RK
4fa0876d91
implement refresh_pre_spawn
...
- redirect to login if vanlig user spawn
- fail with 400 otherwise
2018-12-21 15:32:58 +01:00
Alejandro del Castillo
46d4e2898d
get_args: only quote if necessary
...
Traitlets require quotes around literals, to avoid interpreting them as
as datatypes other than string. However, quotes are problematic on the
notebook_dir case. On Windows, Popen will mis-interpret the quotes and
escape them, which trips the process spawn. To avoid problems, only
quote if necessary.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com >
2018-12-20 17:24:47 -06:00
Rollin Thomas
4e410473cb
Fix to find element
2018-12-20 13:35:36 -08:00
Rollin Thomas
fdddd7d58c
Change select from id to class for multiple choice
2018-12-20 13:03:36 -08:00
Min RK
563106c0d2
allow auth to expire
...
adds Authenticator.auth_refresh_age and Authenticator.refresh_pre_spawn config
- auth_refresh_age allows auth to expire (default: 5 minutes) before calling Authenticator.refresh_user.
- refresh_pre_spawn forces refresh prior to spawn (in case of auth tokens, etc.)
2018-12-14 15:27:38 +01:00
Min RK
b6d8db5259
Merge pull request #2322 from ausecocloud/master
...
UserTokenListAPIHandler support Authenticator.authenticate returning a dict
2018-12-14 12:43:46 +01:00
Min RK
5e67bd773f
Merge pull request #2205 from willingc/bump-dep
...
bump bootstrap version
2018-12-14 12:43:16 +01:00
Min RK
aaab44090d
bootstrap 3.4.0
2018-12-14 10:58:21 +01:00
Min RK
7b154fcc45
Merge branch 'master' into master
2018-12-14 10:51:47 +01:00
Min RK
d2779061b0
Merge pull request #2358 from minrk/rm-pytest-tornado
...
switch from pytest-tornado to pytest-asyncio
2018-12-14 10:44:24 +01:00
Min RK
3e20642b31
Merge pull request #2359 from minrk/deprecated-event.listen
...
use non-deprecated event to register foreign_keys connection listener
2018-12-14 10:44:09 +01:00
Min RK
a46032b549
use non-deprecated event to register foreign_keys connection listener
2018-12-12 15:41:09 +01:00
Min RK
8ca8225cef
Python 3.5-friendly async context manager
2018-12-12 13:45:36 +01:00
Min RK
0e6cf6a485
Merge pull request #2353 from vilhelmen/pam_admin_groups_fix
...
Fix PAMAuthenticator is_admin
2018-12-12 13:43:38 +01:00
Min RK
37cdba370f
update tests for pytest-asyncio
...
- remove gen_test marker
- use async def
- find/replace yield->await approximately one million times
2018-12-12 13:06:10 +01:00
Min RK
d5f87fe09f
update fixtures for pytest-asyncio
...
instead of pytest-tornado
verify that we don't make any async generator tests
which would pass silently without running any tests
2018-12-12 12:49:54 +01:00
Min RK
2930fa9cc9
Merge pull request #2355 from chang-zhijie/master
...
accept token in Authorization header in services, not just url
2018-12-11 15:34:48 +01:00
chang-zhijie
53c3201c17
store tokens passed via url or header, not only url.
2018-12-11 17:00:16 +08:00
Will Starms
4229d68d23
Fix bad tester/code
2018-12-06 15:32:49 -06:00
Tim Head
8b0bdc71bc
Merge pull request #2347 from minrk/one-flakey-flake
...
Don’t mix no_patience and bad_spawn
2018-12-04 17:54:31 +01:00
Min RK
47e66580db
Don’t mix no_patience and bad_spawn
...
this introduces a race between the early RuntimeError being tested
and the no_patience causing handlers to return early if async start isn’t complete.
With tornado coroutines, an early RuntimeError could be guaranteed to resolve promptly, but asyncio isn’t as consistent,
possibly causing some of the recent flaky tests.
2018-12-04 15:02:53 +01:00
Tim Head
c360777ee0
Merge pull request #2345 from jupyterhub/willingc-patch-1
...
Update incorrect anchor
2018-12-04 08:08:03 +01:00
Carol Willing
05874e9f81
Update incorrect anchor
...
Closes #2338
2018-12-03 20:33:22 -08:00
Tim Head
c3e1d5313d
Merge pull request #2343 from clemens-tolboom/patch-1
...
Fix markdown link into rst
2018-12-03 22:09:54 +01:00
Clemens Tolboom
4b36dce29f
Fix markdown link into rst
2018-12-03 19:05:50 +01:00
Min RK
bbc2847530
Merge pull request #2297 from minrk/check-url-startup
...
handle partial launches on startup
2018-11-30 15:11:27 +01:00
Min RK
887f2a2c24
it's spawner.name
2018-11-29 17:14:29 +01:00