Min RK
3f07a6d0f0
escaped URLs are always utf-8
11 years ago
Min RK
c9a4e5b00d
handle various permission failures
...
- turn various EPERM, EACCES errors into 403
- add `writable` bool field to contents models
- if a notebook is not `writable`, save is disabled
11 years ago
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
12 years ago
MinRK
3e67d961c9
only check listdir on dirs
...
is_hidden is called with files, not just dirs
12 years ago
cgohlke
74be15ec19
Fix filenbmanager.list_dirs fails for Windows user profile directory
12 years ago
MinRK
cb25736a24
reorganize who knows what about paths
...
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir
Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.
SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
12 years ago
Brian E. Granger
f59e7099ad
Fix spelling mistake in is_hidden docstring.
12 years ago
Brian E. Granger
eb9e0be218
Small refactoring of is_hidden to take root as default kwarg.
12 years ago
Brian E. Granger
243392d810
Creating and testing IPython.html.utils.is_hidden.
12 years ago
Thomas Kluyver
9fd838d624
Fix imports in IPython.html.utils
12 years ago
MinRK
40cce4d7e3
s/os.path.sep/os.sep/
12 years ago
MinRK
99282f9e6b
urllib.quote/unquote must be str on Python 2
12 years ago
MinRK
fe59217989
move url_[un]escape to utils from nbm
12 years ago
MinRK
ed66b8b8fe
add path2url and url2path to html.utils
12 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago