Min RK
4e8bc066e9
Merge pull request #4435 from minrk/tornado-tweaks
...
raise 404 on not found static file
12 years ago
MinRK
7ea4db6c48
don't compute etags in static file handlers
...
etags skip cache timing, which we probably don't want. If-Modified-Since is good enough for us.
12 years ago
MinRK
ff744e25cd
raise 404 on not found static file
...
master gives 403 due to empty string being outside of root
12 years ago
MinRK
6fa13ebb98
bump minimum tornado version to 3.1.0
...
The no-hidden behavior of the files handler
already requires this, but instead of raising, it just doesn't hide hidden files.
Bumping the minimum version also allows much cleaner static file handler subclasses.
12 years ago
MinRK
ede0297874
tweak stat walk in forbid_hidden
12 years ago
MinRK
40cce4d7e3
s/os.path.sep/os.sep/
12 years ago
MinRK
dbfea55e8a
stat has no st_flags on Windows (maybe elsewhere?)
12 years ago
MinRK
2fcc7fe97f
forbid serving hidden files from `/files`
12 years ago
Brian E. Granger
51fc769edd
Handle notebook downloads through the /files URL.
12 years ago
MinRK
821514bd72
cleanup weird 404
12 years ago
MinRK
83114a11d8
add TrailingSlashHandler
...
redirects all GET requests with a trailing slash
12 years ago
MinRK
c21ea96476
log exceptions parsing JSON
12 years ago
MinRK
cded90efe3
update json_errors decorator
...
separate handling of HTTPError and unhanded exceptions
12 years ago
Zachary Sailer
c26700cd3a
changes after session manager code review
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
Brian E. Granger
2d6f4628c4
Adding JSON error handling and fixing location headers.
12 years ago
Zachary Sailer
050a3098a8
review fixes on tests, add extra kernel api test
12 years ago
Zachary Sailer
91f25dc046
add contents web service api
12 years ago
Zachary Sailer
521f03793a
manual rebase base/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
638c36a7f7
fix some unicode in zmqhandlers
...
prevented session identity from being set properly,
which in turn prevented stdin from working in the notebook in Python 3.
closes #3494
13 years ago
MinRK
88668e65f8
don't use parent=self in handlers
...
handlers aren't configurable, so shouldn't be passed as parent.
closes #3502
13 years ago
MinRK
bd03a99e28
use `parent=self` throughout IPython
...
instead of `config=self.config`
only real effective change: IPythonKernelApp.parent has been renamed to IPKernelApp.parent_handle.
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago