MinRK
dbe65d0cd5
remove unused TreeRedirectHandler
2014-09-04 17:40:48 -07:00
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.
2014-09-04 17:40:48 -07:00
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.
2014-08-18 10:47:20 -07:00
MinRK
fae77bd133
remove unused project_dir
2014-07-31 11:57:38 -07:00
MinRK
0c0eb43719
teach contents service about non-notebook files
2014-07-31 11:57:36 -07:00
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
2014-07-31 11:57:36 -07:00
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.
2014-07-11 20:48:42 +01:00
Min RK
22133997bd
Merge pull request #5769 from spenczar/no_urlescaping_title_tag
...
Don't urlescape the text that goes into a title tag
2014-05-01 16:58:36 -07:00
Spencer Nelson
925a58c0b4
Remove unused imports
2014-05-01 15:42:46 -07:00
Spencer Nelson
e34b7aa9a7
Don't urlescape the text that goes into a title tag
2014-05-01 15:12:32 -07:00
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.
2014-03-03 16:02:07 -08:00
Paul Ivanov
d6f2dfefea
log refusal to serve hidden files dirs
2014-03-03 12:35:37 -08:00
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
2014-02-08 23:09:24 -08:00
Brian E. Granger
243392d810
Creating and testing IPython.html.utils.is_hidden.
2014-02-05 13:09:55 -08:00
Brian E. Granger
157f5f64a5
Another variation of the dashboard page title.
2014-02-05 09:58:52 -08:00
Brian E. Granger
378b18b2fb
Nice dashboard page titles like /.../examples/notebooks/
2014-02-04 16:29:55 -08:00
Brian E. Granger
2207a4f0dc
Adding proper breadcrumb support.
2014-02-04 15:53:27 -08:00
Thomas Kluyver
57642b3847
Move notebook URL fragment regexen into IPython.html.base.handlers
2013-12-19 13:01:00 -08:00
MinRK
c8ce1e7c7a
url_escape redirects
2013-10-18 16:13:54 -07:00
MinRK
d739a72638
strip '/' from paths in template-render handlers
2013-10-17 14:09:20 -07:00
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
2013-10-17 14:09:15 -07:00
MinRK
16e8d0ff43
adjust definition of 'path' in notebooks
...
never includes leading or trailing '/'
2013-10-17 14:09:13 -07:00
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
2013-10-17 14:09:12 -07:00
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.
2013-10-17 14:09:09 -07:00
Paul Ivanov
f42de98c5b
use new assumptions for named_notebook_path
2013-10-17 14:09:08 -07:00
Zachary Sailer
1f04b48725
Renaming fixed
2013-10-17 14:09:07 -07:00
Zachary Sailer
c7375e170f
rebase master- eliminate read-only
2013-10-17 14:09:06 -07:00
Zachary Sailer
eb1690255d
allow spaces in notebook path
2013-10-17 14:09:06 -07:00
Zachary Sailer
5af83cd705
redirect url after notebook rename
2013-10-17 14:09:05 -07:00
Zachary Sailer
b170c5dee0
allow notebook names with spaces
2013-10-17 14:09:05 -07:00
Zachary Sailer
f55381d55b
completer now recognizes session
2013-10-17 14:07:52 -07:00
Zachary Sailer
ad621913f1
added folder creation ability using '/-new'
2013-10-17 14:07:51 -07:00
Zachary Sailer
20324bafd0
fixing path redirects, cleaning path logic
2013-10-17 14:07:50 -07:00
Zachary Sailer
7fbeb814f8
manual rebase tree/handlers.py
2013-10-17 14:07:50 -07:00
MinRK
f9dd129e1c
remove notebook read-only view
...
it is largely broken, and had problematic security issues.
2013-07-23 13:22:05 -07:00
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
2013-06-27 11:14:10 -07:00