Carol Willing
cc6968e225
Merge pull request #1942 from minrk/nginx-file
...
note where nginx config files are typically created.
2018-06-06 06:02:30 -07:00
Carol Willing
a6c517c344
Merge pull request #1947 from minrk/progress-stopping
...
Avoid showing spawn-pending page when user is stopping
2018-06-06 06:00:58 -07:00
Carol Willing
a3e08b7f52
Merge pull request #1948 from minrk/aclosing
...
Python 3.5.1 cannot close async iterators
2018-06-06 05:56:00 -07:00
Min RK
14c8d7dc46
Merge pull request #1946 from dtaniwaki/configure-max-inactive-duration
...
Configure max inactive duration
2018-06-06 12:54:55 +02:00
Daisuke Taniwaki
ac2590c679
Add active_user_window configuration
2018-06-06 19:00:34 +09:00
Min RK
ead13c6a11
further clarify that we are creating a new file, not editing nginx.confg
2018-06-06 12:00:21 +02:00
Min RK
5002ab2990
Python 3.5.1 cannot close async iterators
...
so provide a null aclosing async context manager that does nothing
2018-06-06 11:43:33 +02:00
Min RK
ab3e7293a4
disable my server link while stop is pending
...
makes it a little harder to request a spawn while stop is pending
2018-06-06 10:53:50 +02:00
Min RK
062af5e5cb
Avoid showing spawn_pending page when pending action is stop
...
Separate stop_pending page when this occurs,
similar to the old spawn pending spinner without progress events
2018-06-06 10:53:05 +02:00
Carol Willing
92088570ea
Merge pull request #1943 from minrk/getuser-delayed
...
delay call to getuser in token app
2018-06-05 10:18:08 -07:00
Min RK
604ccf515d
delay call to getuser in token app
...
avoids issues with getuser preventing launch, e.g. in weird containers where the current user doesn’t exist
2018-06-05 17:52:00 +02:00
Min RK
ec9b244990
note where nginx config files are typically created.
2018-06-04 11:10:21 +02:00
Min RK
09acdc23b5
Merge pull request #1940 from dtaniwaki/fix-created-columne-error
...
Handle NULL created column of tokens table
2018-06-04 10:55:20 +02:00
Richard Darst
e7808b50af
Add tests of page announcements
...
- Adds test_pages.py:test_page_contents, which currently tests just
the page annoucement variables.
2018-06-03 01:18:48 +03:00
Richard Darst
9c27095744
Add customizable announcement text on home,login,logout,spawn
...
- Using the new template_vars setting (#1872 ), allow the variable
`announcement` to create a header message on all the pages in the
title, or the variables `announcement_{home,login,logout,spawn}` to
set variables on these single pages.
- This is not the most powerful method of putting an announcement into
the templates, because it requires a server restart to change. But
the invasiveness is very low, and allows minimal message
without having to touch the templates themselves.
- Closes : #1836
2018-06-03 01:18:48 +03:00
Daisuke Taniwaki
690b07982e
Handle NULL created column of api_tokens table
2018-06-02 23:55:21 +09:00
Min RK
784e5aa4ee
Merge pull request #1926 from minrk/tilde-safe
...
tilde is a safe character in user URLs
2018-05-30 14:48:35 +02:00
Min RK
29187cab3a
Merge pull request #1929 from minrk/pgbin
...
install psycopg2 from binary
2018-05-29 11:03:41 +02:00
Min RK
43a72807c6
install psycopg2 from binary
...
it has a new package name for the binary wheel
2018-05-29 10:41:53 +02:00
Min RK
1d1f6f1870
Merge pull request #1923 from nxg/doc-changes-1747
...
Documentation clarifications (adding explicitness).
2018-05-29 10:21:42 +02:00
Min RK
505a6eb4e3
ensure user subdomains are valid
...
escape with `_` instead of `%`.
This is not technically rigorous, as collisions are possible (users foo_40 and foo@ have the same domain)
and other domain restrictions are not applied (length, starting characters, etc.).
Username normalization can be used to apply stricter, more rigorous structure.
2018-05-29 10:19:21 +02:00
Min RK
cc49df8147
Merge pull request #1852 from summerswallow-whi/service-info
...
Attach an info field to the service
2018-05-28 14:57:10 +02:00
Min RK
98d60402b5
add service.info to rest api docs
2018-05-28 14:09:53 +02:00
Min RK
319e8a1062
update service models in tests
2018-05-28 14:09:44 +02:00
Min RK
0c5d564830
tilde is a safe character in user URLs
...
Chrome unconditionally reverts any not-strictly-necessary escaping in URLs (this seems wrong?)
2018-05-28 13:46:52 +02:00
Norman Gray
c0404cf9d9
Documentation clarifications (adding explicitness).
...
Addresses issue #1747 .
These additions aren't perfect -- it's unfortunate that I've added
mention of reverse proxies on two separate pages. I don't _think_
these can reasonably be put on the same page -- perhaps a cross
reference?
2018-05-27 18:49:40 +01:00
Min RK
f364661363
Merge pull request #1899 from adelcast/dev/adelcast/kill_proxy_tree
...
ConfigurableHTTPProxy.stop: kill child processes on Windows case
2018-05-25 15:25:53 +02:00
Min RK
f92d77b06d
Merge pull request #1915 from rkdarst/respawn_error_msg
...
Clarify error message on implicit respawns.
2018-05-25 10:09:35 +02:00
Haw-minn Lu
2cf00e6aae
Add info field to service model
2018-05-24 11:19:18 -07:00
Richard Darst
dfdb0cff2b
Clarify error message on implicit respawns.
...
- This message is presented when the last spawn failed, along with a
HTTP 500. The current text is quite confusing, especially when the
problem may just be solvable by trying to respawn again.
2018-05-24 16:07:26 +03:00
Alejandro del Castillo
d0dad84ffa
ConfigurableHTTPProxy.stop: kill child processes on Windows case
...
On the Windows case, the configurable-http-proxy is spwaned using a
shell. To stop the proxy, we need to terminate both the main process
(shell) and its child (proxy).
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com >
2018-05-23 10:10:50 -05:00
Min RK
1745937f1a
back to dev
2018-05-23 16:47:56 +02:00
Min RK
e7eb674a89
0.9.0b3
0.9.0b3
2018-05-23 16:30:07 +02:00
Min RK
b232633100
Merge pull request #1894 from minrk/db-rollback
...
Rollback database sessions on SQLAlchemy errors
2018-05-23 16:09:51 +02:00
Carol Willing
6abd19c149
Merge pull request #1911 from minrk/log-classes
...
log Authenticator and Spawner classes at startup
2018-05-22 11:50:59 -07:00
Min RK
0aa0ff8db7
Merge pull request #1912 from minrk/double-slash
...
Fix login redirect checking for `//` urls
2018-05-22 15:56:29 +02:00
Min RK
a907429fd4
more test cases for login redirects
2018-05-22 15:40:27 +02:00
Min RK
598b550a67
fix query/hash login redirect handling
2018-05-22 15:40:14 +02:00
Min RK
92bb442494
more robust checking for login redirects outside jupyterhub
2018-05-22 15:40:00 +02:00
Min RK
2d41f6223e
log Authenticator and Spawner classes at startup
...
for better diagnostics
2018-05-22 13:52:41 +02:00
Min RK
791dd5fb9f
Merge pull request #1895 from minrk/oauth-commits
...
avoid creating one huge transaction cleaning up oauth clients
2018-05-22 13:37:56 +02:00
Carol Willing
9a0ccf4c98
Merge pull request #1910 from minrk/ip-typo
...
default bind url should be on all ips
2018-05-22 01:26:35 -07:00
Min RK
ad2abc5771
default bind url should be on all ips
...
preserves jupyterhub default behavior
typo introduced in new bind_url config
2018-05-22 09:55:01 +02:00
Min RK
2d99b3943f
enable pessimistic connection handling
...
from the sqlalchemy docs
checks if a connection is valid via `SELECT 1` prior to using it.
Since we have long-running connections, this helps us survive database restarts, disconnects, etc.
2018-05-21 22:14:11 +02:00
Min RK
a358132f95
remove --rm
from docker-db.sh
...
for easier stop/start testing
2018-05-21 22:12:30 +02:00
Tim Head
09cd37feee
Merge pull request #1896 from thoralf-gutierrez/fix-typos-in-config
...
Fix typos in auth config documentation
2018-05-16 22:37:51 +02:00
Thoralf Gutierrez
0f3610e81d
Fix typos in auth config documentation
2018-05-16 10:58:02 -07:00
Min RK
3f97c438e2
avoid creating one huge transaction cleaning up oauth clients
2018-05-15 16:33:50 +02:00
Min RK
42351201d2
back to dev
2018-05-15 16:32:24 +02:00
Min RK
907bbb8e9d
0.9.0b2
0.9.0b2
2018-05-15 14:03:10 +02:00