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
Min RK
a198124894
ssl tests need CHP master for now
2018-10-02 18:40:01 +02:00
Min RK
58f6659e40
implement .move_certs in dummy MockSpawner
2018-10-02 18:16:47 +02:00
Min RK
bd16299ffb
Merge pull request #2207 from GeorgianaElena/master
...
add server_poll_duration_seconds prometheus metric
2018-10-02 13:41:29 +02:00
Min RK
7656adc8b0
expand logging of ssl cert creation
2018-10-02 13:11:40 +02:00
Min RK
4b3f9e5f42
more descriptive 'internal-ssl' certs location
...
and update/clarify ssl-related docstrings
2018-10-02 11:23:26 +02:00
Min RK
febb7c32c1
make alt names attributes on Spawner instead of args to create_certs
2018-10-02 11:21:38 +02:00
Min RK
94bb9ed00d
remove NOTEBOOK from internal ssl env
2018-10-02 11:20:36 +02:00
Min RK
5fbd4f2d4e
call make/move certs at a higher level
...
mostly to allow them to be async
2018-10-02 11:20:36 +02:00
Min RK
50f1decee7
move local-process move_certs implementation to LocalProcessSpawner
2018-10-02 11:20:36 +02:00
Min RK
c3176b0ca3
Do not set ownership in create_certs
...
Most Authenticators do not have local users, so this doesn't make sense at this stage
2018-10-02 11:20:36 +02:00