Min RK
3117ea9d34
handle user.last_activity being None
2018-04-03 15:14:47 +02:00
Min RK
8973dea33e
add user.created and start last_activity as None
...
need to handle last_activity being None throughout
2018-04-03 15:14:47 +02:00
Min RK
3e7d0dbd23
update user.last_activity whenever we see activity on API tokens / cookies
2018-04-03 15:14:47 +02:00
Min RK
b26b1bc038
Merge pull request #1720 from glenak1911/gk/update-circleci-config-v2
...
Updated CircleCI config file to 2.0
2018-04-03 13:14:14 +02:00
Glen A Knight
74b1102dea
Delete package-lock.json
2018-04-02 09:06:57 -04:00
Glen A Knight
a89226279f
remove checkout step from deploy and release jobs
2018-04-02 09:03:50 -04:00
Glen A Knight
8b490c8ef0
add package-lock.json to gitignore
2018-04-02 09:03:09 -04:00
Min RK
77a98e7875
Merge pull request #1753 from minrk/check-pending
...
avoid deleting routes for spawners in a pending state
2018-04-02 09:31:29 +02:00
sangramga
c02592d5ba
Merge remote-tracking branch 'origin/master'
2018-03-31 16:24:08 +05:30
sangramga
52d7dacbaa
post groups api added
...
Added post groups list api
Added test for Multi groups post API
Added Post multiple groups API
2018-03-31 16:20:51 +05:30
sangramga
9a8457deff
Added Post multiple groups API
2018-03-31 15:42:58 +05:30
sangramga
5039b3ac6f
Added test for Multi groups post API
2018-03-31 14:46:49 +05:30
sangramga
00705223b6
Added post groups list api
2018-03-31 13:10:48 +05:30
Glen Knight
9f6ab4c419
make workflows in line with jobs
2018-03-30 11:39:25 -04:00
Glen Knight
9012c7310d
update workflows
2018-03-29 01:53:37 -04:00
Glen Knight
a3edebcad9
update run commands
2018-03-29 01:49:50 -04:00
Glen Knight
f2abb6a73f
update indentation
2018-03-29 01:40:35 -04:00
Glen Knight
e96e5b740a
update indentation
2018-03-29 01:38:57 -04:00
Glen Knight
ee067ad97a
update indentation
2018-03-29 01:36:44 -04:00
Glen Knight
d01b3a88b6
update workflow
2018-03-29 01:34:59 -04:00
Glen Knight
5a22c978cf
update workflows
2018-03-29 01:26:14 -04:00
Glen Knight
f8a0e7d1be
update workflows
2018-03-29 01:25:23 -04:00
Glen Knight
25a65564b1
update workflows
2018-03-29 01:24:00 -04:00
Glen Knight
c858023c88
update config and add workflows
2018-03-29 01:19:17 -04:00
sangramga
c3e470db26
post groups api added
2018-03-28 18:50:35 +05:30
Min RK
5908c4da7a
clarify pending exception comment
2018-03-27 17:49:03 +02:00
Min RK
b08dbbd106
handle that auth_token is checked now at startup
2018-03-27 17:46:37 +02:00
Min RK
3b320c75e9
remove warning when generating proxy token if Proxy.should_start
...
Now that it's unambiguous whether the proxy should start or not,
we don't need a warning about generating tokens causing issues for hub restart.
We can raise a strict, early error if proxy s external and token is still unspecified,
rather than running into a 403 error due to a generated token
2018-03-27 17:46:25 +02:00
Min RK
1aa6dc6686
use semaphore to limit concurrent requests to the proxy
...
should limit timeout errors in case of flooding the proxy with requests
default concurrency is 10
2018-03-27 14:30:03 +02:00
Min RK
fdc4385e62
a bit more debug logging in proxy.check_routes
...
- log (info) that check_routes is starting
- log (debug) when fetching routes
2018-03-27 14:25:49 +02:00
Min RK
5094448762
Merge pull request #1743 from betatim/user-api
...
[MRG] Expose `auth_state` via /api/users/<name>
2018-03-27 10:56:39 +02:00
Min RK
98c7fa919f
avoid deleting routes for spawners
...
we previously checked if spawn_pending, but *any* transitional state should exclude them from the check
2018-03-27 10:43:43 +02:00
Tim Head
5b9f51417f
Fix permission check when handing out auth state
2018-03-27 10:02:59 +02:00
Tim Head
7a91f89474
Use user's token for auth when using API
2018-03-27 10:02:59 +02:00
Tim Head
bf7afa16e5
Remove auth state from user's self handler
2018-03-27 10:02:59 +02:00
Tim Head
0d57baae82
Modify user API wrt auth_state
...
A user can not get their own auth state via the REST API. Only admins
can fetch and update the auth state this way.
2018-03-27 10:02:59 +02:00
Tim Head
446d197cf7
Move auth state fixture to conftest
2018-03-27 10:02:59 +02:00
Tim Head
2582f0bbe6
Modify auth_state API test to use mocked crypto
2018-03-27 10:02:59 +02:00
Tim Head
1ee993c664
Add ability to modify auth_state via the REST API
2018-03-27 10:02:59 +02:00
Tim Head
542c20065f
Reduce the number of endpoints that expose auth_state
2018-03-27 10:02:59 +02:00
Tim Head
39f663d03c
Expose auth_state via user API
2018-03-27 10:02:59 +02:00
Min RK
6474a55302
Merge pull request #1749 from minrk/await-fixes
...
fix await of default authenticate
2018-03-26 13:34:01 +02:00
Min RK
8566d4c5ab
fix await of default authenticate
2018-03-23 10:57:47 +01:00
Min RK
e374e93cfb
expose cookie options and pass them down to spawners
...
enables forcing all-session cookies with:
```python
c.JupyterHub.tornado_settings['cookie_options'] = {
'expires_days': None,
}
```
2018-03-23 10:38:50 +01:00
Min RK
7bd4f6490c
Merge pull request #1731 from vilhelmen/pam_account_check
...
Allow checking PAM account stack during PAM auth
2018-03-23 09:19:20 +01:00
Unknown
25373f510d
Allow and enable PAM account stack checking
...
JH can now differentiate between authenticated and authorized users via PAM
This allows JH to respect PAM-accessible user access controls.
This also fixes missing PAMAuthenticator.encoding usages.
2018-03-22 15:53:28 -05:00
Min RK
82cab39e1c
Merge pull request #1722 from minrk/login-spawn
...
Simplify root/login redirect behavior
2018-03-21 13:20:49 +01:00
Min RK
22507cc1cd
clear ?redirects from URL once single-user pages load successfully
2018-03-21 13:01:29 +01:00
Min RK
2bded65c7e
update singleuser auth test url check
...
handle `?redirects`
2018-03-21 12:58:59 +01:00
Min RK
a3a0c60804
update redirect tests
...
now that redirects are not sensitive to state
2018-03-21 11:15:40 +01:00