Will Starms
22d6f48bb8
Make functions private
2018-11-15 15:20:34 -06:00
Will Starms
df829e8927
Move getpwnam/grnam/grouplist to LocalAuthenticator
...
Also fix up an old test of mine
2018-11-13 14:48:12 -06:00
Will Starms
f2ae3af90e
Switch to existing getpwnam function
...
To be honest, `getgrouplist`, `getpwnam`, and `getgrnam` should be static methods in LocalAuthenticator
2018-11-13 13:53:54 -06:00
Min RK
767dce29f4
Merge pull request #2301 from DataVictorEngineer/patch-1
...
Apache reverse proxy customization for jupyterhub
2018-11-12 14:41:19 +01:00
DataVictorEngineer
7f12418e4c
Apache reverse proxy customization for jupyterhub
...
This is the modification to run the Jupyterhub using the custom url: http://127.0.0.1:8000/jhub/ .
2018-11-11 22:45:30 +02:00
Min RK
40013f7292
Merge pull request #2298 from katsar0v/master
...
improve condition when failing api request, check if user exists, aft…
2018-11-09 20:56:07 +01:00
Kristiyan
2070c8c102
improve condition when failing api request, check if user exists, afterwards check if user is not active
2018-11-09 18:17:40 +01:00
Min RK
9a3dbedc52
Merge pull request #2290 from katsar0v/master
...
add configuration for shutting down all user spawners on logout
2018-11-08 14:50:47 +01:00
Min RK
0cebb4c9d7
disable pytest minversion check
...
because it doesn't work with current pytest
2018-11-08 14:36:00 +01:00
Yuvi Panda
fc25b0e10d
Merge pull request #2289 from minrk/move-simple
...
make simplespawner importable
2018-11-07 10:44:17 -08:00
Min RK
006b89746a
use stop_single_user wrapper to stop user servers
...
rather than lower-level spawner.stop
2018-11-06 14:31:42 +01:00
Min RK
1f7838ba5f
ensure async-requests is awaitable
...
so we can use await, not just yield
2018-11-06 14:30:51 +01:00
Min RK
e5e6876cef
test shutdown_on_logout
2018-11-06 14:30:26 +01:00
Kristiyan
2686615304
add configuration for shutting down all user spawners on logout
2018-11-05 11:47:46 +01:00
Min RK
e512847652
use simplespawner as base for testing
2018-11-05 11:01:21 +01:00
Min RK
4fb158933e
no-op move_certs in simplespawner
2018-11-05 11:01:06 +01:00
Min RK
575af23e23
register simplespawner in setup.py
2018-11-05 10:57:10 +01:00
Min RK
52c468d89c
make home_dir a traitlet
...
so the property is only evaluated once and overrideable via hooks
2018-11-05 10:57:02 +01:00
Min RK
80e241c86f
move simplespawner into jupyterhub.spawner
2018-11-05 10:55:40 +01:00
Min RK
c8199c6303
Merge pull request #2244 from vilhelmen/pam_admin_groups
...
admin_groups for PAMAuthenticator
2018-11-05 10:49:38 +01:00
Min RK
090f68bb21
Merge pull request #2264 from minrk/better-local-error
...
explain create_system_users when system users do not exist
2018-11-05 10:47:14 +01:00
Tim Head
5b4f0d4304
Merge pull request #2282 from yuvipanda/real-async-pre-spawn-hook
...
Document that pre_spawn_hook maybe a coroutine
2018-11-03 08:38:42 +01:00
yuvipanda
1efb8c765b
Document that pre_spawn_hook maybe a coroutine
2018-11-02 17:19:16 -07:00
Will Starms
1c0d0daef8
admin_groups for PAMAuthenticator
...
Hoist admin status determination from authentication to a secondary function called by get_authenticated_user
Create mock objects for struct_group and struct_passwd, migrate existing mock group objects to it
Remove old admin mock stuff for authenticate
2018-10-30 11:26:37 -05:00
Min RK
302573e860
Merge pull request #2224 from tuhina2020/jupyter_2105
...
add metrics_authentication decorator to /metrics API #2105
2018-10-26 10:47:36 +02:00
Min RK
5e58fc60d4
Merge pull request #2260 from madmax2012/master
...
[docker] Bumped Miniconda to 4.5.11
2018-10-26 10:47:12 +02:00
Min RK
1322926d9b
explain create_system_user when system users do not exist
2018-10-26 10:05:23 +02:00
Max Mensing
a64fa15fee
Bumped Miniconda to 4.5.11
2018-10-24 09:36:55 +02:00
Min RK
71c620f38f
Merge branch 'master' into jupyter_2105
2018-10-23 10:10:31 +02:00
Min RK
65d9ac3c61
Merge pull request #2257 from tmshn/health-check
...
Added health check endpoint
2018-10-23 09:52:14 +02:00
tmshn
f752e6df1e
Added health check endpoint
2018-10-20 15:41:52 +09:00
Carol Willing
19bcb9cea0
Merge pull request #2255 from minrk/parallel-coverage
...
unpin coverage
2018-10-19 10:28:53 -07:00
Min RK
7b22330583
unpin coverage
...
need run.parallel = True in coveragerc to fix database errors with coverage 5
exclude the resulting .coverage.host.pid files in gitignore
2018-10-19 14:03:13 +02:00
Min RK
1be2b3721a
Merge pull request #2243 from vilhelmen/write_error_log_fix
...
Try to create exception str before logging
2018-10-19 10:27:16 +02:00
Min RK
e53488cd64
Merge pull request #2253 from Carreau/sudo-selinux
...
Cleanup the sudo/selinux section
2018-10-19 09:33:47 +02:00
Min RK
fe5ca1a67e
Merge branch 'master' into jupyter_2105
2018-10-19 09:31:45 +02:00
Matthias Bussonnier
0670423a3d
Cleanup the sudo/selinux section
2018-10-18 14:03:00 -07:00
Min RK
e9620df5b5
Merge pull request #2249 from adibaba/master
...
Added Paderborn University
2018-10-18 10:39:36 +02:00
tuhina2020
2a425f4344
fix tests for unauthorised call to metrics API
2018-10-18 12:42:24 +05:30
Adrian Wilke
ee63002f21
Added Paderborn University
2018-10-17 21:28:38 +02:00
Min RK
2d94b2999f
Merge pull request #2055 from LLNL/end-to-end-ssl
...
End-to-end SSL
2018-10-17 13:27:03 +02:00
Min RK
7a055e65db
Catch and print errors stopping hub
...
in case it failed to fully start
2018-10-17 13:05:20 +02:00
Min RK
e385214121
empty groups, too
2018-10-17 13:04:42 +02:00
Min RK
b0116ee539
avoid cleaning users when we are testing resume
2018-10-17 11:02:06 +02:00
Min RK
301fed30b2
Delete users in MockHub
...
avoids pollution from one test module to the next
2018-10-17 10:38:19 +02:00
tuhina2020
e449b9c193
fix the condiiton for authentation
2018-10-17 10:39:00 +05:30
Will Starms
bafcf6bd23
Try to create exception str before logging
...
The str() method of an InterfaceError can raise when trying to iterate over an integer, causing the logger to act up.
2018-10-16 14:00:03 -05:00
Min RK
15788bec67
ensure user's own subdomain is in trusted alt names
2018-10-16 15:57:45 +02:00
Min RK
e921354544
run internal-ssl tests with external http
...
to cover any protocol mismatches
2018-10-16 15:57:45 +02:00
Min RK
eb7648abc2
consolidate trusted alt names
...
- trust subdomain_host by default
- JupyterHub.trusted_alt_names is inherited by Spawners by default. Do we need Spawner.ssl_alt_names to be separately configurable?
2018-10-16 15:46:50 +02:00