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
Min RK
7c0e113fbc
Revert "Set change-origin
so certs behind proxy work"
...
This reverts commit bcebf0ee7b
.
Setting change-origin introduces CORS problems
2018-10-12 16:24:10 +02:00
Min RK
bc3ace60dc
Merge branch 'master' into end-to-end-ssl
2018-10-12 16:17:26 +02:00
Min RK
ce2310b1ae
update proxy docs to mention entrypoints
2018-10-12 11:11:13 +02:00
Min RK
6979a11bfa
Merge pull request #2236 from mpolidori/master
...
Fix missing spaces in if statement in bootstrap-script and README
2018-10-12 11:10:10 +02:00
mpolidori
10a4ac4809
Update README.md
2018-10-12 00:50:30 -04:00
mpolidori
34341e7aac
Update bootstrap.sh
2018-10-12 00:48:49 -04:00
tuhina2020
ac7ff491e1
Add tests for metrics API
2018-10-12 09:26:52 +05:30
Min RK
abd3bc13d2
add entrypoint for proxy implementations
2018-10-11 16:54:25 +02:00
Jacob Matuskey
ebed5c2f4b
Add handler to spawner here so you can access query params in form rendering
2018-10-10 20:25:14 -04:00
Thomas Mendoza
bcebf0ee7b
Set change-origin
so certs behind proxy work
2018-10-09 16:25:23 -07:00
Min RK
95ee2cb709
Merge pull request #2220 from tuhina2020/master
...
Add server_stop_duration_seconds prometheus metric #14
2018-10-09 11:23:18 +02:00
Min RK
9faecccc9c
Merge pull request #2223 from DeepHorizons/process_options_form
...
Let the options_from_form function be async
2018-10-08 16:03:59 +02:00
Min RK
49babdcae9
Merge branch 'master' into 2220
2018-10-08 16:02:27 +02:00
Min RK
ef3b29bc5d
Merge pull request #2226 from minrk/pin-coverage
...
pin coverage due to bug in coveragepy 5 prerelease
2018-10-08 13:34:40 +02:00
Min RK
a2da7a5080
pin coverage due to bug in coveragepy 5 prerelease
2018-10-08 13:22:37 +02:00
Min RK
f37e44a6f7
Merge pull request #2225 from kuriakinzeng/master
...
correcting time.pref_counter to time.perf_counter in proxy.py
2018-10-08 13:01:43 +02:00
Kuriakin Zeng
d45b2a7c70
change time.pref_counter to time.perf_counter in proxy.py as pref_counter is invalid
2018-10-07 21:53:35 +08:00
tuhina2020
b0b7e8d25d
add metrics_authentication decorator to /metrics API
2018-10-07 13:38:32 +05:30
Joshua Milas
7eba029d1f
Let the options_from_form function be async
...
This commit lets users who interact with spawners and use options_form
to use an async function to process the form.
2018-10-05 23:18:27 -04:00
Thomas Mendoza
82d12b3eeb
Merge branch 'end-to-end-ssl' of github.com:LLNL/jupyterhub into end-to-end-ssl
2018-10-05 16:02:31 -07:00
Thomas Mendoza
dd07495624
Fix public_url call with ssl testing enabled
2018-10-05 15:59:10 -07:00
tuhina2020
8783df8d8d
binary statuses for SERVER_STOP_DURATION_SECONDS metric
2018-10-06 00:01:03 +05:30
Min RK
d4cce8cdff
Merge pull request #2219 from kshitija08/metric_addition
...
Adding CHECK_ROUTES_DURATION_SECONDS metric #2183
2018-10-05 14:18:02 +02:00
Min RK
8a17afb6e3
Merge pull request #2221 from minrk/html5lib
...
add html5lib to test requirements
2018-10-05 14:12:33 +02:00
Min RK
2bbfde40f0
add html5lib
...
this is needed for bs4.
I'm not sure why it was there before, but not anymore
2018-10-05 14:03:27 +02:00
Min RK
7cf230ec1f
Merge pull request #2218 from Carreau/no-backticks-commands-substitution
...
Use $() for command substitution instead of backticks/quotes.
2018-10-05 14:01:56 +02:00
tuhina2020
c5e2789324
Add SERVER_STOP_SECONDS metric
2018-10-05 10:33:58 +05:30
kshitija08
5d96076587
metrics.py
2018-10-05 10:25:07 +05:30
Matthias Bussonnier
2e872069fb
Use $() for command substitution instead of backticks/quotes.
...
One of the example was using quotes instead of backticks.
Backticks are the "older" way of doing things, which has a number of
disadvantes:
http://mywiki.wooledge.org/BashFAQ/082
Here I'm more worried about readability as depending on font and "smart"
editor helping on the web, many people may confuse ` with ', it could
end up modifying formatting on makrdown powered website... etc...
2018-10-04 13:44:16 -07:00
kshitija08
ae51870db5
user.py
2018-10-04 20:29:30 +05:30
kshitija08
7409ccad66
base.py
2018-10-03 22:02:10 +05:30
Min RK
cff066a7be
Merge pull request #2210 from nils-werner/service-sys-executable
...
Replace python with sys.executable in most service examples
2018-10-03 10:43:56 +02:00