Min RK
86dca85890
handle deprecated files redirect on /notebooks
11 years ago
Min RK
4404c7ea2b
checkpoint
11 years ago
Min RK
979eb2d281
don't enforce .ipynb extension in URLs
...
let ContentsManager decide what's a notebook
11 years ago
Min RK
39041a9f03
address review in contents service
...
- various docstrings, comments clarified and updated
- misc typos
- fix and test creating an untitled directory via POST
- only define `message` if there's something to say
11 years ago
MinRK
3ada0c2c27
Remove separate 'path', 'name' in Contents API
...
- path is full path (including name)
- name is only used for read-only convenience, and plays no role in any API
- remove 'untitled upload' (POST with content and no path)
11 years ago
MinRK
fae77bd133
remove unused project_dir
12 years ago
MinRK
d4fe081fe5
move `/files/` redirect to base handlers
...
and reuse it in /nbconvert/html/…
closes #6137
12 years ago
MinRK
2ea31b5ee0
use contents manager to handle redirect of /notebooks -> /files
...
avoids 404 on /files for visiting a nonexistent notebook
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
MinRK
c051e870e1
better log message in deprecated files/ redirect
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
Thomas Kluyver
57642b3847
Move notebook URL fragment regexen into IPython.html.base.handlers
12 years ago
MinRK
36f4164053
support 1.0-style `files/` relative URLs
...
via redirect
only redirect on would-be 404
12 years ago
Thomas Kluyver
0e9a7c0874
Remove unused imports in IPython.html.notebook.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
75e14424c6
cleanup old, unused `/notebooks/foo` API methods
...
these have moved to `/api/notebooks`
12 years ago
MinRK
fe59217989
move url_[un]escape to utils from nbm
12 years ago
MinRK
16e8d0ff43
adjust definition of 'path' in notebooks
...
never includes leading or trailing '/'
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
7ca8a21bf6
named_notebook_path: consistent usage convention
12 years ago
Zachary Sailer
1f04b48725
Renaming fixed
12 years ago
Zachary Sailer
f3af343f4f
Change new/copy URLS to POST requests
12 years ago
Zachary Sailer
a74b9a018b
removed '/new' URL and added POST notebook request
12 years ago
Zachary Sailer
1b2e41eea4
path with spaces completely fixed
12 years ago
Zachary Sailer
eb1690255d
allow spaces in notebook path
12 years ago
Zachary Sailer
a219abaeeb
standard model changes
12 years ago
Zachary Sailer
b170c5dee0
allow notebook names with spaces
12 years ago
Zachary Sailer
91f25dc046
add contents web service api
12 years ago
Zachary Sailer
022b8324b2
Download '.py' fixed, deleted debugging output
12 years ago
Zachary Sailer
72ec51128d
manual rebase notebook/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
Fernando Perez
f150b6f6a9
Fix all remaining imports that used `IPython.frontend`.
13 years ago
Fernando Perez
9858a93794
Fix all imports for the notebook.
13 years ago
Fernando Perez
20a015c1e6
Move frontend/html directory to top level.
13 years ago