Min RK
d8d1b6c149
test activity api
2019-02-11 16:17:23 +01:00
Min RK
a2f5a0bea9
tolerate mocks for user.name
...
lots of testing uses mock Users, so tolerate the absence of user.escaped_name
2019-02-11 15:34:46 +01:00
Min RK
0063752a7f
push activity to hub via api
...
servers publish activity on a regular interval (default: 5m)
2019-02-11 15:03:17 +01:00
Min RK
297f6988bd
debug logs at beginning/end of user.stop
2019-02-11 15:03:17 +01:00
Richard Darst
a6d217d113
pam_normalize_username: add docs
2019-02-07 01:35:18 +02:00
Min RK
e51ea3f2be
s/TEXT/Text/
2019-02-06 14:02:08 +01:00
Min RK
bf36f9fc9a
use Text instead of TEXT
...
TEXT is wrong on Oracle, LargeBinary is wrong everywhere else.
Text seems to be the high-level type that maps to the right thing both places.
This results in no change on supported implementations, as Text == TEXT there.
2019-02-06 13:47:40 +01:00
Min RK
b196dd2bea
add activity spec to rest api
2019-02-06 13:15:42 +01:00
Min RK
10191f43fe
add alabaster_jupyterhub to docs/requirements.txt
2019-02-06 13:15:11 +01:00
Min RK
342f40c8d7
Merge pull request #2404 from minrk/deprecations
...
fix some deprecation warnings in tests
2019-02-05 13:49:12 +01:00
Min RK
895bc378df
Merge branch 'master' into deprecations
2019-02-05 13:06:28 +01:00
Min RK
00cafc8392
Merge pull request #2342 from minrk/expire-auth
...
allow auth to expire
2019-02-05 13:05:00 +01:00
Min RK
a6d0c36594
allow bypassing proxy in api_request
...
needed when testing that the proxy is down
2019-02-05 12:40:55 +01:00
Min RK
71a8573fdb
fix some deprecation warnings in tests
...
Calling HasTraits(attr=value) doesn't work for non-traits
1. remove one redundant assignment for a non-trait
2. make one attribute a trait
2019-02-05 11:38:42 +01:00
Min RK
2715607361
make api requests via public url
...
to ensure cookies are properly set
2019-02-05 11:27:49 +01:00
Min RK
f2bfe6cd96
set Referer when testing cookie-authenticated api requests
...
Referer is checked for cookie-authenticated requests
2019-02-04 16:10:09 +01:00
Min RK
9008d5eea4
import mock from stdlib
2019-02-04 15:46:12 +01:00
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