Thomas Kluyver
4025b57ed8
Only display terminals in dashboard if terminals are available
11 years ago
MinRK
dbe65d0cd5
remove unused TreeRedirectHandler
12 years ago
MinRK
379374b5d9
make the default url customizable
...
this is the page redirected to from `/`,
which defaults to `/tree`.
also changes the redirect code to 302 from 301,
which should cause less grumbling about caching.
12 years ago
MinRK
7ee8403ed8
allow slash in root->tree redirect
...
before #6117 , only `/base_url/` worked,
after #6117 , only `/base_url worked,
after this PR, both should work.
12 years ago
MinRK
fae77bd133
remove unused project_dir
12 years ago
MinRK
0c0eb43719
teach contents service about non-notebook files
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
Adam Hodgen
c695ba45bc
Remove / from route of TreeRedirectHandler.
...
When base_url is set, navigating to http://{url}/{base_url} returns 404
This is due to the TreeRedirectHandler only picking up
http://{url}/{base_url}/ and the trailing slash handler being set to
{base_url}/.*/.
This change will cause http://{url}/{base_url} to correctly redirect to
http://{url}/{base_url}/tree , as expected.
12 years ago
Min RK
22133997bd
Merge pull request #5769 from spenczar/no_urlescaping_title_tag
...
Don't urlescape the text that goes into a title tag
12 years ago
Spencer Nelson
925a58c0b4
Remove unused imports
12 years ago
Spencer Nelson
e34b7aa9a7
Don't urlescape the text that goes into a title tag
12 years ago
Paul Ivanov
6c8cccf9e3
fix test suite
...
is_hidden expects the file to actually exist, so I've rearranged the
logic such that is_hidden is called only after it's clear that the file
exists.
12 years ago
Paul Ivanov
d6f2dfefea
log refusal to serve hidden files dirs
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
Brian E. Granger
243392d810
Creating and testing IPython.html.utils.is_hidden.
12 years ago
Brian E. Granger
157f5f64a5
Another variation of the dashboard page title.
12 years ago
Brian E. Granger
378b18b2fb
Nice dashboard page titles like /.../examples/notebooks/
12 years ago
Brian E. Granger
2207a4f0dc
Adding proper breadcrumb support.
12 years ago
Thomas Kluyver
57642b3847
Move notebook URL fragment regexen into IPython.html.base.handlers
12 years ago
MinRK
c8ce1e7c7a
url_escape redirects
12 years ago
MinRK
d739a72638
strip '/' from paths in template-render handlers
12 years ago
MinRK
dc65b33d14
simplify handler patterns
...
PATH pattern will now sometimes include leading slash,
but that's okay because nbmanager will strip them.
fewer redirect patterns needed
12 years ago
MinRK
16e8d0ff43
adjust definition of 'path' in notebooks
...
never includes leading or trailing '/'
12 years ago
MinRK
14fd50f80b
Simplify Tree handlers
...
- 404 on missing path
- only need one handler for each of redirect and dashboard,
don't need duplicates.
- project property on Handlers is unclear
12 years ago
Zachary Sailer
34b9840786
fixing broken links from recent changes.
...
After fixing operating system path changes in previous commits,
many links needed to be adjusted to direct to the correct URL.
12 years ago
Paul Ivanov
f42de98c5b
use new assumptions for named_notebook_path
12 years ago
Zachary Sailer
1f04b48725
Renaming fixed
12 years ago
Zachary Sailer
c7375e170f
rebase master- eliminate read-only
12 years ago
Zachary Sailer
eb1690255d
allow spaces in notebook path
12 years ago
Zachary Sailer
5af83cd705
redirect url after notebook rename
12 years ago
Zachary Sailer
b170c5dee0
allow notebook names with spaces
12 years ago
Zachary Sailer
f55381d55b
completer now recognizes session
12 years ago
Zachary Sailer
ad621913f1
added folder creation ability using '/-new'
12 years ago
Zachary Sailer
20324bafd0
fixing path redirects, cleaning path logic
12 years ago
Zachary Sailer
7fbeb814f8
manual rebase tree/handlers.py
12 years ago
MinRK
f9dd129e1c
remove notebook read-only view
...
it is largely broken, and had problematic security issues.
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago