Min RK
eb19a73044
add Spawner.get_url
...
for retrieving the spawner url. Occurs on startup.
Default is a no-op and no Spawner needs to implement this.
2018-11-09 13:22:08 +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
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
Min RK
9a45f4a8c9
add user- prefix to user cert dirs
...
avoids possible conflict e.g. if a user had the name 'hub-internal'
2018-10-16 15:45:49 +02:00
Min RK
1f3165859f
avoid unnecessarily recreating proxy certs
2018-10-16 15:45:20 +02:00
Min RK
2d6e7186aa
Merge pull request #2240 from GeorgianaElena/master
...
Small improvement of test coverage
2018-10-16 13:58:29 +02:00
GeorgianaElena
efde40cbbd
Small improvement of test coverage
2018-10-16 12:40:18 +03:00
Min RK
f3c2a15e53
ensure AsyncIOMainLoop is registered in tests
2018-10-15 16:29:00 +02:00
Min RK
d64853a6f5
fix ssl tmpdir in tests
...
must be module-scoped, not session-scoped, or it will get reused inconsistently
2018-10-15 15:35:21 +02:00
Min RK
b72d887dd7
register cleanup before start
...
avoids leaving lingering proxy if app fails to start
2018-10-15 15:33:59 +02:00
Min RK
49ebf969c1
Merge pull request #2237 from spacetelescope/master
...
Add handler to spawner so you can access query params in form
2018-10-15 13:56:41 +02:00
tuhina2020
1a6b16d493
fix metrics_authentication method
2018-10-15 11:27:11 +05:30
Carol Willing
6fd7e27e95
Merge pull request #2234 from minrk/proxy-entrypoint
...
add entrypoint for configuring proxies
2018-10-12 10:49:34 -07:00
Min RK
28c6377db7
avoid modifying headers in-place
...
can have consequences if args are re-used
2018-10-12 17:05:59 +02:00
Min RK
67f21bb518
ssl tests can use configproxy
2018-10-12 16:26:42 +02:00