Bruno P. Kinoshita
9cf22e4106
Replace deprecated calls
2019-09-22 23:07:53 +12:00
Zachary Sailer
898fea9fdc
Minor typos found by @minrk
2019-09-19 11:23:41 -07:00
Min RK
f79495e6bf
fix relative links for spawn
2019-09-19 16:12:29 +02:00
Min RK
f474b31c94
Merge branch 'master' into server_str_sanitization
2019-09-19 16:11:16 +02:00
Min RK
fafbe86b55
Merge pull request #2684 from GeorgianaElena/display_pre_spawn_start_exc
...
Handle pre_spawn_start possible exceptions
2019-09-19 15:53:08 +02:00
Min RK
82ad2dfbc6
Merge pull request #2705 from InfuseAI/clear-jupyterhub-user-when-logout
...
Reset _jupyterhub_user after login cookie cleared
2019-09-19 15:51:54 +02:00
Min RK
ac32ae496e
run pre-commit hook
2019-09-19 15:51:02 +02:00
Min RK
949d8d0bfa
avoid disabling existing loggers when invoking alembic
...
causes some weird behavior, such as event log not working
2019-09-19 15:46:09 +02:00
Min RK
7fd3271c9b
rely on app fixture to get configured app
...
re-run init_eventlog to ensure event logging is hooked up
2019-09-19 15:16:51 +02:00
Georgiana Elena
6267b752ae
Merge pull request #2736 from eslavich/remove-duplicate-spawner-traitlets
...
Remove duplicate hub and authenticator traitlets from Spawner
2019-09-19 14:42:40 +03:00
William Krinsman
7fcd6ad450
Added configurable default server name attribute to better match behavior described for user-redirect in urls.md in the docs
2019-09-18 15:49:35 -07:00
Ed Slavich
dcde9f6222
Remove duplicate hub and authenticator traitlets from Spawner
2019-09-18 18:34:05 -04:00
Carol Willing
2e8ddeb114
Merge pull request #2725 from willingc/update-templates
...
Update issue template
2019-09-08 20:17:37 +02:00
Carol Willing
e07aaa603a
fix typo found by @blink1073 review
2019-09-08 15:59:58 +02:00
Carol Willing
0bcd6adde6
Edit bug report
2019-09-08 12:39:11 +02:00
Carol Willing
444029699a
update the issue template
2019-09-08 12:30:44 +02:00
Carol Willing
b9bdc99c1d
move pull request template
2019-09-08 12:14:59 +02:00
Min RK
c896fe05fd
Merge pull request #2712 from chicocvenancio/master
...
ORM: allow removed MySQL variables to not exist
2019-09-07 15:09:29 +02:00
Min RK
424803bcd7
Merge pull request #2714 from bitnik/patch-3
...
Add New Server: change redirecting to relative to home page in js
2019-09-07 15:08:51 +02:00
Min RK
9024cf1614
Merge pull request #2723 from willingc/use-autodoc
...
Use autodoc-traits sphinx extension
2019-09-07 15:08:08 +02:00
Carol Willing
a239a25ae0
fix case
2019-09-07 02:19:19 +02:00
Carol Willing
36a1ad0078
remove sphinxext directory
2019-09-06 17:42:32 +02:00
Carol Willing
6d696758e4
use autodoc-traits extension for docbuild
2019-09-06 17:41:34 +02:00
Kenan Erdogan
2545cd9bb3
change redirecting to relative to home page in js
2019-09-02 19:04:59 +02:00
Chico Venancio
096b159c23
ORM: allow MySQL variables to not exist
...
In current versions of MySQL and MariaDB `innodb_file_format`
and `innodb_large_prefix` have been removed. This allows them to not
exist and makes sure the format for the rows are `Dynamic` (default
for current versions).
2019-08-30 13:00:56 -03:00
Min RK
74958d9397
catch some CancelledErrors
...
which can occur during app shutdown
2019-08-28 19:02:58 +02:00
Min RK
9db18439af
Add JupyterHub.init_spawners_timeout
...
If init_spawners takes too long (default: 10 seconds) to complete,
app start will be allowed to continue while finishing in the background.
Adds new `check` pending state for the initial check.
Checking lots of spawners can take a long time,
so allowing this to be async limits the impact on startup time
at the expense of starting the Hub in a not-quite-fully-ready state.
2019-08-28 19:01:42 +02:00
Aaron Huang
2b6ad596d2
Remove user after login cookie cleared
...
Signed-off-by: Aaron Huang <aaroms9733@gmail.com >
2019-08-27 22:09:18 +08:00
Tim Head
917786f2f5
Merge pull request #2704 from katsar0v/master
...
Create a warning when creating a service implicitly from service_tokens
2019-08-24 17:12:30 +02:00
Katsarov
a800496f6c
create a warning when creating a service implicitly from service_tokens
2019-08-24 11:58:37 +02:00
Tim Head
a92fee8a82
Merge pull request #2702 from rlukin/master
...
Fix mistypos
2019-08-23 22:04:18 +02:00
Richard C Gerkin
7b1c4aedcf
Don't catch AttributeError
2019-08-23 08:19:32 -07:00
Roman Lukin
572e008f1d
Fix mistypos
2019-08-23 16:14:11 +03:00
Georgiana Elena
0379727cc0
Merge pull request #2679 from katsar0v/master
...
Documentation update: hint for using services instead of service tokens.
2019-08-23 11:35:12 +03:00
Zsailer
c9d52bea43
verify test data was emitted
2019-08-22 12:19:46 -07:00
Zsailer
263c5e838e
rename test fixture
2019-08-22 11:28:57 -07:00
Zsailer
439e4381f0
add tests for eventlog
2019-08-22 11:05:10 -07:00
Zsailer
c34bcabcb9
add docs for event-logging
2019-08-22 11:05:10 -07:00
yuvipanda
2b1bfa0ba7
Depend on the jupyter_telemetry package
2019-08-22 11:05:10 -07:00
yuvipanda
aea2eefa77
Add lots of documentation to event schema
...
Move it to YAML, since jupyter_telemetry supports these
natively.
2019-08-22 11:05:10 -07:00
yuvipanda
dcde4020c2
Use EventLog class from jupyter_telemetry
...
Full circle, since the code in jupyter_telemetry
came from here: https://github.com/jupyter/telemetry/pull/6
2019-08-22 11:05:10 -07:00
yuvipanda
1225ff47be
Use dunder formatting for capsule
2019-08-22 11:05:10 -07:00
yuvipanda
5aaa5263fa
Emitted schemas must be whitelisted by admins
...
Privacy by default!
2019-08-22 11:05:10 -07:00
yuvipanda
eca4f33afc
Don't use f strings yet
...
jupyterhub still supports Python 3.5
2019-08-22 11:05:10 -07:00
yuvipanda
1e578a25d3
Add jsonschema and python-json-logger as dependencies
...
They're pure python, and should be ok
2019-08-22 11:05:10 -07:00
yuvipanda
41b2e6e401
Add eventlogging infrastructure
...
- Introduce the EventLog class from BinderHub for emitting
structured event data
- Instrument server starts and stops to emit events
- Defaults to not saving any events anywhere
2019-08-22 11:05:10 -07:00
Richard C Gerkin
ced45d101a
Update jupyterhub/auth.py
...
Co-Authored-By: Min RK <benjaminrk@gmail.com >
2019-08-22 09:33:15 -07:00
GeorgianaElena
03693c379e
Removed unnecesary check
2019-08-22 15:53:40 +03:00
GeorgianaElena
0058ed803d
Address feedback
2019-08-22 15:06:08 +03:00
Georgiana Elena
7d9a93ab5f
Merge pull request #2696 from mattjshannon/community-link-in-readme
...
Add Jupyter community link
2019-08-22 14:19:57 +03:00