0mar
2a06c8a94c
WIP: Attempt to access SSL parameters, failing due to self-signed certificate error
2020-11-27 13:26:32 +01:00
Min RK
91159d08d3
Changelog for 1.2.2
2020-11-27 10:09:54 +01:00
Erik Sundell
06a83f146b
Merge pull request #3281 from olifre/patch-1
...
CONTRIBUTING: Fix contributor guide URL
2020-11-27 09:53:41 +01:00
Oliver Freyermuth
7b66d1656b
CONTRIBUTING: Fix contributor guide URL
...
The link has been changed.
2020-11-27 09:39:29 +01:00
0mar
40176a667f
Attempt to patch proxy, unsuccessful
2020-11-26 12:22:43 +01:00
Omar Richardson
e02345a4e8
WIP: Moved ssl options to new method
2020-11-26 09:24:44 +01:00
Long Vu
1408e9f5f4
Merge remote-tracking branch 'origin/master' into add-user-agreement-to-login-screen
2020-11-25 10:31:38 -05:00
Long Vu
b66d204d69
login page: no javascript needed for the optional accept terms and conditions feature
...
Bonus user gets a pop-up notification to check the checkbox.
Tested on Mozilla Firefox
(https://user-images.githubusercontent.com/11966697/100246404-18115e00-2f07-11eb-9061-d35434ace3aa.gif )
and Google Chrome.
Feedback from @minrk.
2020-11-25 10:30:22 -05:00
Omar Richardson
164447717f
Fix formulation
2020-11-20 15:30:23 +01:00
Omar Richardson
0472ef0533
Central internal_ssl switch
2020-11-20 15:27:50 +01:00
Erik Sundell
202efae6d8
Merge pull request #3177 from minrk/user-state-filter
...
add ?state= filter for GET /users
2020-11-20 11:06:15 +01:00
Min RK
2e043241fb
Merge pull request #3261 from minrk/next-append-query
...
Only preserve params when ?next= is unspecified
2020-11-20 09:47:20 +01:00
Min RK
fa61f06fed
Merge pull request #3237 from alexweav/cleanup-leftover-proxy
...
[proxy.py] Improve robustness when detecting and closing existing proxy processes
2020-11-20 09:45:53 +01:00
Min RK
8b19413fa1
Merge pull request #3242 from consideRatio/pr/py36-async-await
...
Assume py36 and remove @gen.coroutine etc.
2020-11-20 09:31:43 +01:00
Min RK
7c2e7692b0
Merge pull request #3265 from ideonate/master
...
Fix RootHandler when default_url is a callable
2020-11-20 09:14:46 +01:00
Tim Head
ce11959b1a
Merge pull request #3267 from slemonide/patch-1
...
Update services.md
2020-11-19 14:07:56 +01:00
fyrzbavqr
097974d57d
Update services.md
...
Fix small typo
2020-11-19 04:14:54 -08:00
Omar Richardson
09ff03ca4f
Superfluous import statement
2020-11-19 13:10:48 +01:00
Omar Richardson
313f050c42
Reduced ssl on for active tests only
2020-11-19 12:58:38 +01:00
Omar Richardson
4862831f71
Trying with different configuration
2020-11-19 12:08:10 +01:00
Omar Richardson
c46beb976a
Moving ssl tests to testing matrix
2020-11-19 11:59:03 +01:00
Long Vu
11a85d1dc5
login page: allow full override of the optional accept terms and conditions feature
...
The text was already overridable but the endblock was at the wrong
location.
Now the javascript can also be overridden.
2020-11-18 14:25:49 -05:00
Dan Lester
67c4a86376
Fix RootHandler when default_url is a callable
2020-11-18 12:55:44 +00:00
Long Vu
e00ef1aef1
Merge remote-tracking branch 'origin/master' into add-user-agreement-to-login-screen
2020-11-17 17:27:30 -05:00
Long Vu
fb5f98f2fa
login page: add optional feature to accept terms and conditions in order to login
...
The feature is disabled by default.
If enabled (by setting `login_term_url`), user will have to check the
checkbox to accept the terms and conditions in order to login.
2020-11-17 17:24:38 -05:00
Alex Weaver
82a1ba8402
Import psutil and perform cmdline check on Windows onlyy
2020-11-17 13:02:35 -06:00
Alex Weaver
7f53ad52fb
Assume that fapermission errors when getting process metadata indicate a non-running proxy
2020-11-17 12:55:34 -06:00
agp8x
73cdd687e9
fix formatting
2020-11-17 15:36:30 +01:00
agp8x
af09bc547a
change metric prefix to jupyterhub
2020-11-17 15:29:37 +01:00
Min RK
3ddc796068
verify that tornado gen.coroutine and run_on_executor are awaitable
...
- our APIs require that methods return 'awaitables'
- make sure that the older ways to create tornado 'yieldables' still produce 'awaitables'
2020-11-17 12:38:42 +01:00
Min RK
3c071467bb
require tornado 5.1, async_generator 1.9
...
- maybe_future relies on changes in 5.1, not in 5.0
- async_generator.asynccontextmanager is new in 1.9
2020-11-17 12:23:39 +01:00
Min RK
0c43feee1b
run tests with oldest-supported versions
...
to catch any cases where we make assumptions about more recent versions than we claim to support
2020-11-17 12:22:46 +01:00
Min RK
5bcbc8b328
Merge pull request #3252 from cmd-ntrf/signin
...
Standardize "Sign in" capitalization on the login page
2020-11-17 11:59:26 +01:00
Min RK
87e4f458fb
only preserve params when ?next= is not specified
2020-11-17 11:58:28 +01:00
Min RK
808e8711e1
Merge pull request #3176 from yuvipanda/async_template
...
Enable async support in jinja2 templates
2020-11-17 11:46:23 +01:00
YuviPanda
19935254a7
Fix pre-commit errors
2020-11-17 15:58:38 +05:30
YuviPanda
a499940309
Remove extreneous coroutine creation
...
You can 'pass through' coroutines like this without
yield.
2020-11-17 15:41:40 +05:30
YuviPanda
74544009ca
Remove extreneous print statement
...
Was a debugging aid
2020-11-17 15:41:22 +05:30
YuviPanda
665f9fa693
Drop Python 3.5 support
...
See https://github.com/jupyterhub/jupyterhub/pull/3176#issuecomment-694315759
For Travis, I push the version cascade down one step.
Should preserve our test coverage while conserving test
duration
2020-11-17 15:39:55 +05:30
YuviPanda
24b555185a
Revert "Run templates synchronously for Python 3.5"
...
This reverts commit f1155d6c2afbcbd875c7addc88784313c77da8e9.
Instead, let's stop supporting 3.5!
2020-11-17 15:39:26 +05:30
YuviPanda
24f4b7b6b6
Run templates synchronously for Python 3.5
...
jinja2's async support requires Python 3.6+. That should
be an implementation detail - so we render it in the main
thread (current behavior) but pretend we did not
2020-11-17 15:39:26 +05:30
YuviPanda
217dffa845
Fix typo in format string
2020-11-17 15:39:26 +05:30
YuviPanda
a7b796fa57
Autoformat with black
2020-11-17 15:39:21 +05:30
YuviPanda
6c5fb5fe97
F-strings are Python 3.6, not 3.5
2020-11-17 15:38:29 +05:30
Yuvi Panda
20ea322e25
Fix typo
...
Co-authored-by: Tim Head <betatim@gmail.com >
2020-11-17 15:38:29 +05:30
YuviPanda
4f9664cfe2
Provide sync versions of render_template too
...
write_error is a synchronous method called by an async
method from inside the event loop. This means we can't just
schedule an async render_templates in the same loop and wait
for it - that would deadlock.
jinja2 compiled your code differently based on wether you
enable async support or not. Templates compiled with async
support can't be used in cases like ours, where we already
have an event loop running and calling a sync function. So
we maintain two almost identical jinja2 environments
2020-11-17 15:38:29 +05:30
YuviPanda
be211a48ef
Enable async jinja2 template rendering
...
Follows https://jinja.palletsprojects.com/en/2.11.x/api/#async-support
- This blocks the main thread fewer times
- We can use async methods inside templates too
2020-11-17 15:38:29 +05:30
Min RK
553ee26312
preserve url params in ?next
from root page
2020-11-17 10:45:11 +01:00
Erik Sundell
7e6111448a
Merge pull request #3253 from minrk/wait-admin-form
...
wait for pending spawns in spawn_form_admin_access
2020-11-16 02:39:11 +01:00
Erik Sundell
ccc0294f2e
Merge pull request #3257 from manics/jupyterhub_idle_culler
...
Update services-basics.md to ues jupyterhub_idle_culler
2020-11-14 17:37:17 +01:00