Commit Graph

10611 Commits

Author SHA1 Message Date
Thomas Kluyver
c2dc429cee
Merge pull request #3184 from gnestor/5.3.0
Add 5.3.0 to changelog
2018-01-08 11:10:57 +00:00
Daniel Farrell
605eaa72be Added a flag to allow access of hidden files (#2819)
* Added a flag to allow access of hidden files

The flag '--allow-hidden' will allow Tornado to access hidden files
such as '.images/my_img.jpg'

* Fixed jupyterlab not following allow-hidden

Jupyterlab stores its options in a different location than the
standard notebook. Added the ability to check there as well.

* Updated implementation for any app

Previously I was accessing the settings dict based on the name of
the app that was being used. ex 'NotebookApp', or 'LabApp'.
Now the setting is passed directly into the Tornado settings, and
can be accessed via a more general method.

* Added/fixed unit tests for test_hidden_files

Fixed broken unit tests by setting the default to allow_hidden=False
then added unit test in FilesTest:test_hidden_files that checks for
the accessibility of files with allow_hidden=True

* allow-hidden now works everywhere

Previously allow-hidden flag only allowed hidden files to be accessed via
tornado. Now you can use the allow-hidden flag to access hidden directories and
files via the filebrowser.

* Remove --allow-hidden alias

* Move allow_hidden option onto ContentsManager

* Use try/finally to ensure allow_hidden option is set back to False after test

* Allow access to hidden files, but don't list them for now

* Simplify hidden check for listing again

* Fix indentation
2018-01-07 15:26:10 -08:00
Thomas Kluyver
e4529a46c4
Merge pull request #2965 from betatim/restart-and-rerun-toolbar
Add toolbar icon to restart and run all
2018-01-06 13:29:18 +00:00
Tim Head
3c83c85095 Switch to fa-repeat and remove restart button 2018-01-06 08:23:39 +01:00
Grant Nestor
973cdc4f64 Add 5.3.0 to changelog 2018-01-05 15:07:35 -08:00
Min RK
9c7c213a47
Merge pull request #3116 from maartenbreddels/directory_json
allow default json files in a .d directory
2018-01-05 15:54:03 +01:00
Thomas Kluyver
129fdebb94
Merge pull request #3176 from gnestor/issue-2732
Display a "Close" button on load notebook error
2018-01-05 11:42:21 +00:00
Thomas Kluyver
34e5ab7976
Merge pull request #3065 from ChungJooHo/master
Add translated files to folder(docs-translations)
2018-01-05 11:41:50 +00:00
Grant Nestor
50a03a0a9e Display a "Close" button on load notebook error 2018-01-02 18:18:55 -08:00
Thomas Kluyver
3857c9201c
Merge pull request #3160 from Sukneet/get_name-warn-fix
warn_bad_name should not use global name
2017-12-22 08:40:53 +00:00
Sukneet
ca5e39a481
warn_bad_name should not use global name
warn_bad_name in get_name should use the local variable name_or_data not name
2017-12-21 16:42:35 -07:00
Steven Silvester
782e9cedb3
Merge pull request #3136 from takluyver/i3135
Find available kernelspecs more efficiently
2017-12-19 14:52:03 -06:00
Thomas Kluyver
354cfb8431
Merge pull request #3148 from minrk/alt-upload-inside-button
avoid overflow of hidden form
2017-12-19 14:55:26 +00:00
Thomas Kluyver
3f035c5ba9 Bump jupyter_client dependency to 5.2 2017-12-19 14:03:50 +00:00
Min RK
5df9e35d83 avoid overflow of hidden form
fixes hover on upload button leaking over New button
2017-12-19 14:54:32 +01:00
Thomas Kluyver
60e20c2956
Merge pull request #3147 from forbxy/fix-Shutdown-trans
fix Shutdown trans loss
2017-12-19 10:08:58 +00:00
bxy007
83d1deda2f fix Shutdown trans loss 2017-12-19 16:20:54 +08:00
Thomas Kluyver
3eb6d72bb5 Find available kernelspecs more efficiently
Closes gh-3135
2017-12-15 11:30:50 +00:00
Thomas Kluyver
ca50f1af5a
Merge pull request #3097 from gnestor/requirejs
[WIP] Use `requirejs` vs. `require`
2017-12-14 23:03:03 +00:00
Thomas Kluyver
946fa40c53
Merge pull request #3122 from takluyver/i3074
Don't try to translate missing help strings
2017-12-14 11:53:42 +00:00
Grant Nestor
9ce534c020
[WIP] Use DOM history API for navigating directories (#3115)
* Use DOM history API for navigating directories

* Fix test

* Fix building URLs and states for breadcrumbs

* Use base_url when constructing navigation URLs
2017-12-13 13:20:21 -08:00
Thomas Kluyver
8e4c0bfd16
Merge pull request #3128 from takluyver/i3127
Pin to ipykernel 4.6.1 on Python 2 to avoid kernelspec issue
2017-12-13 18:25:25 +00:00
Thomas Kluyver
56677f94b1 Ugh, yaml 2017-12-13 18:05:26 +00:00
Thomas Kluyver
95acc55ac1 Pin ipykernel to older version on Py 2 2017-12-13 18:04:37 +00:00
Thomas Kluyver
035af348b9 Is it worth caching pip on Travis? 2017-12-13 17:57:57 +00:00
Thomas Kluyver
4e9d40a775 List kernelspecs for debugging issue 2017-12-13 17:48:44 +00:00
Thomas Kluyver
b23cbdc597 Don't try to translate missing help strings
Closes gh-3074
2017-12-11 16:46:30 +00:00
maartenbreddels
c73b71104f added docstrings 2017-12-08 15:40:17 +01:00
maartenbreddels
ab24db7bd9 update copyright header + encoding 2017-12-08 15:36:58 +01:00
maartenbreddels
49a66b84cf log.debug the paths that are used 2017-12-08 15:04:37 +01:00
maartenbreddels
46e2534a06 py27 compat importing 2017-12-08 14:57:56 +01:00
maartenbreddels
772544e60f renamed manager.py to config_manager.py and added more docstrings 2017-12-08 14:50:13 +01:00
maartenbreddels
5a48049887 make unittest non-pytest compatible 2017-12-08 14:32:58 +01:00
maartenbreddels
89b32e4412 allow default json files in a .d directory, original PR: ipython/traitlets#452 2017-12-08 14:11:51 +01:00
Thomas Kluyver
ae011a1797
Merge pull request #3108 from kirit93/fixes2760
Allowing non empty dirs to be deleted
2017-12-05 14:27:14 +00:00
Kirit Thadaka
b7e02a6a52 Merge branch 'fixes2760' of https://github.com/kirit93/notebook into fixes2760 2017-12-05 19:25:13 +05:30
Kirit Thadaka
051cee61a5 Squashed all commits. Tests pass. 2017-12-05 19:24:46 +05:30
Kirit Thadaka
98b8e2ecda Made test for thorough 2017-12-05 19:07:29 +05:30
Kirit Thadaka
d136c12c3b Added test for deleting non empty dirs 2017-12-05 18:57:17 +05:30
Kirit Thadaka
31a6625e23 Fixed test 2017-12-05 16:58:44 +05:30
Kirit Thadaka
9733b14b70 Resolved conflicts 2017-12-05 16:52:33 +05:30
Kirit Thadaka
081dcd5774 Added test for permanent delete 2017-12-05 16:50:40 +05:30
Kirit Thadaka
773e55cb13 modified test for deleting non empty directory 2017-12-05 16:30:13 +05:30
Kirit Thadaka
7f23ad65a6 modified test for deleting non empty directory 2017-12-05 16:30:10 +05:30
Kirit Thadaka
03d5d900bc Changed order of checks in delete_file 2017-12-05 16:18:06 +05:30
Kirit Thadaka
a307af9b35 Minor bug fix 2017-12-05 04:40:28 +05:30
Kirit Thadaka
f24d3d7265 Not allowing permanent deletion of non empty dirs 2017-12-05 04:30:54 +05:30
Kirit Thadaka
bcc343d9b2 Allowing non empty dirs to be deleted 2017-12-05 04:14:51 +05:30
Thomas Kluyver
b1e5f729fa
Merge pull request #3088 from Madhu94/detect-programmatic-copy
Allow programmatic copy to clipboard
2017-12-01 12:46:41 +00:00
Josh Barnes
cbf7db7449 Compare non-specific language code for arabic numerals (#3055)
Otherwise, country-specific locales like `ar-sa` (Arabic, Saudi Arabia), end up using the default numerals
2017-11-30 21:39:42 -08:00