Denis Ledoux
3729dd02ac
[FIX] notebookapp, auth: `get_secure_cookie` kwargs
...
Per Tornado's documentation:
>By default, Tornado’s secure cookies expire after 30 days.
>To change this, use the expires_days keyword argument to
>set_secure_cookie and the max_age_days argument to get_secure_cookie.
>These two values are passed separately so that you may
>e.g. have a cookie that is valid for 30 days for most purposes,
>but for certain sensitive actions
>(such as changing billing information)
>you use a smaller max_age_days when reading the cookie.
With the current implementation in `auth/login.py`,
this is possible to pass the `expires_days` option
but not possible to enforce it as this is not possible
to pass `max_age_days` to `get_secure_cookie`
This makes impossible to set the cookie expiration without
using a custom `LoginHandler`.
This revision is about adding the possibility to pass options
to Tornado's `get_secure_cookie` method,
so it can be possible to set the cookies expiration,
among others.
8 years ago
Thomas Kluyver
0300f7341d
Work around Mac's scoped link-local address for localhost
8 years ago
Thomas Kluyver
2bb4252f21
Re-enable Host header check after 5.6
8 years ago
Thomas Kluyver
2dd46b16c9
back to development
8 years ago
Thomas Kluyver
7674331e3d
release 5.6.0
8 years ago
Thomas Kluyver
a0503629ba
Disable the host check for 5.6 because of gh-3754
8 years ago
Thomas Kluyver
9d0ea1a427
Merge pull request #3726 from takluyver/selenium-newnb-clickable
...
Wait for 'New' dropdown button to be clickable for Selenium tests
8 years ago
Min RK
b670fae728
Merge pull request #3714 from takluyver/check-host
...
Check 'Host' header for local connections
8 years ago
Thomas Kluyver
c4c49b71ea
Wait for 'New' dropdown button to be clickable for Selenium tests
8 years ago
Thomas Kluyver
0d6ffa6888
Explain how to disable host check in warning message
8 years ago
Thomas Kluyver
c99935556e
Decode IP addresses on Windows
8 years ago
Thomas Kluyver
845ea48c31
getaddrinfo() on Py2 only takes positional args
8 years ago
Thomas Kluyver
fa3abf2209
Allow remote access by default when we're listening on external addresses
8 years ago
Thomas Kluyver
7f1bba613d
Check 'Host' header for local connections
8 years ago
Min RK
357b8e7758
add “or 127.0.0.1” for all-ips
...
Makes it not a copyable URL anymore, but there’s no way for a copyable host to work in general in this case.
8 years ago
Thomas Kluyver
b8b66332e2
Back to development
8 years ago
Thomas Kluyver
b428d2d40a
release 5.6.0rc1
8 years ago
Thomas Kluyver
5766341360
Merge pull request #3289 from Madhu94/add-save-as-menu-option
...
Add save as menu option
8 years ago
Min RK
0c81fc3f06
Remove ES6 syntax from save_notebook_as
...
ES6 syntax is not available to us
8 years ago
Min RK
90894ee639
Merge pull request #3696 from takluyver/start-no-active-kernels
...
Don't show number of active kernels on notebook start
8 years ago
Tom Jorquera
24e39d32c2
Add option to override displayed url
...
This commit introduces a new alias `custom_display_url` to override the
URL info displayed at launch with a custom string.
It is intended to be used when the app is run in an environment where
the url to display to the users is not detectable reliably (proxified or
containerized setups for example).
8 years ago
madhu94
81c6eed3d7
Don't get entire contents of the notebooks, while checking
...
if it exists
Don't get entire contents of the notebooks, while checking
if it exists
8 years ago
Thomas Kluyver
5e9915609b
Don't show number of active kernels on notebook start
8 years ago
Thomas Kluyver
0179bb4c7e
Merge pull request #3686 from gnestor/upgrade-marked
...
Upgrade marked
8 years ago
Grant Nestor
2ca3684003
Update selenium tests
8 years ago
Grant Nestor
6670d57e2f
Update tests
8 years ago
M Pacer
dd282f6970
add el & update css in output_area to match run button in In from #3535
...
Without this change the output and Input areas become unaligned.
This still isn't an ideal fix, but it'll make a release possible without
making the styling problematic.
8 years ago
Min RK
19188568c9
Merge pull request #3490 from yuvipanda/prometheus-intro
...
Add a /metrics endpoint for Prometheus Metrics
8 years ago
yuvipanda
7a3c0f334a
Rename prometheus metrics to be more standard
8 years ago
yuvipanda
de132033a7
Fixup docstrings
8 years ago
Thomas Kluyver
7ea7a8b97d
Skip directory deletion test on Windows
8 years ago
Thomas Kluyver
f63af7376b
Don't trash non-empty directories on Windows
...
It appears that the Windows backend of send2trash can't guarantee that
files won't actually be deleted. There are some hints that this happens
in particular when you delete a lot of data at once. So this returns to
refusing to delete folders unless they're empty (or contain only ipynb
checkpoints).
Closes gh-3631
8 years ago
Thomas Kluyver
ebe01762eb
Merge pull request #3601 from arovit/test_empty_arrows
...
[WIP] [3335] Convert JS tests to Selenium
8 years ago
Thomas Kluyver
1437dfec29
Merge pull request #3656 from takluyver/undouble-token
...
Don't duplicate token in displayed URL
8 years ago
Thomas Kluyver
2941158ec7
Merge branch 'master' into test_empty_arrows
8 years ago
Thomas Kluyver
702b67d15e
Merge pull request #3630 from arovit/add_find_replace_test
...
[WIP: 838] Add find replace test
8 years ago
arovitn
dcb45b2b34
modified the deletion logic as per the comments and setting the readonly cell to false
8 years ago
arovitn
b22994eb47
renamed the ids, removed the replace_all parameter and changed the name of the testcase as mentioned in the comments
8 years ago
M Pacer
c6dd032bf8
add kernel_info_timeout traitlet to wait for slow kernel startups
...
This affects both the MappingKernelManager and the ZMQChannelsHandler(by extension). This allows one setting to apply to both startup andrestarting.
8 years ago
Thomas Kluyver
c16701af84
Don't duplicate token in displayed URL
...
Closes gh-3620
8 years ago
arovitn
33c1dea080
add 'ids' to the form_and_replace form and address other review comments
8 years ago
arovitn
66b257bf3b
removing test_empty_arrows_keys.py and moving the delete_cell test into test_deletecell.py
8 years ago
Min RK
459b92cd23
Merge pull request #3624 from MathisRosenhauer/bugfix/hiddenlink
...
stat symlink to determine access
8 years ago
Thomas Kluyver
374da5a451
Merge pull request #3535 from lucasoshiro/clickable-prompt
...
[WIP] Executing cell when clicking its prompt
8 years ago
Lucas Oshiro
40cf1ab912
Click instead of mouseup
8 years ago
arovitn
0afa1e5855
Modified to use list comprehension, added '()' for to_command_mode, added assert to check presence of cell and remove 'return True' from remove_cells
8 years ago
arovitn
6fc09088ed
[WIP 838: Writing test for 'Find and replace' in selected cell apply on all cells]
8 years ago
Mathis Rosenhauer
a9ccdef489
stat symlink to determine access
8 years ago
madhu94
eab1e709eb
Add basic selenium test case
8 years ago
madhu94
84e565c5c0
More UI changes
8 years ago