MinRK
063bfa9688
we don't bundle lessc anymore, remove its vestiges
2014-01-13 16:17:50 -08:00
Thomas Kluyver
c0f346c4e3
Merge pull request #4735 from minrk/better-errors
...
add some HTML error pages
2014-01-09 13:03:31 -08:00
MinRK
b7563aec7c
be more specific about unknown status codes
...
per review
2014-01-07 15:16:13 -08:00
MinRK
9865c4f02f
whitelist alphanumeric characters for cookie_name
...
should fix #4761
2014-01-06 14:57:34 -08:00
Min RK
96c1af0ce4
Merge pull request #4715 from minrk/tornado-static-url
...
restore use of tornado static_url in templates
2013-12-31 10:58:09 -08:00
MinRK
b62da23660
render custom HTML for error pages
2013-12-22 17:46:41 -08:00
Thomas Kluyver
57642b3847
Move notebook URL fragment regexen into IPython.html.base.handlers
2013-12-19 13:01:00 -08:00
MinRK
fd0e9e865c
don't raise 404 in get_absolute_path
...
raise in validate_absolute_path, where it belongs
2013-12-18 14:18:09 -08:00
MinRK
15780ad055
restore use of tornado static_url
...
instead of jinja macro that doesn't write hashes
closes #4714
2013-12-18 14:17:35 -08:00
Thomas Kluyver
51040fb768
Update imports for Python 3
...
2to3 fixer imports (+ manual changes)
2013-10-29 09:15:54 -07:00
Thomas Kluyver
4a14ed7e22
Replace references to unicode and basestring
2013-10-29 09:15:54 -07:00
Min RK
4e8bc066e9
Merge pull request #4435 from minrk/tornado-tweaks
...
raise 404 on not found static file
2013-10-27 13:12:08 -07:00
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.
2013-10-24 14:25:15 -07:00
MinRK
ff744e25cd
raise 404 on not found static file
...
master gives 403 due to empty string being outside of root
2013-10-24 11:14:50 -07:00
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.
2013-10-23 14:04:35 -07:00
MinRK
ede0297874
tweak stat walk in forbid_hidden
2013-10-22 17:41:53 -07:00
MinRK
40cce4d7e3
s/os.path.sep/os.sep/
2013-10-22 17:36:34 -07:00
MinRK
dbfea55e8a
stat has no st_flags on Windows (maybe elsewhere?)
2013-10-22 17:16:31 -07:00
MinRK
2fcc7fe97f
forbid serving hidden files from /files
2013-10-22 15:20:27 -07:00
Brian E. Granger
51fc769edd
Handle notebook downloads through the /files URL.
2013-10-17 14:09:20 -07:00
MinRK
821514bd72
cleanup weird 404
2013-10-17 14:09:18 -07:00
MinRK
83114a11d8
add TrailingSlashHandler
...
redirects all GET requests with a trailing slash
2013-10-17 14:09:15 -07:00
MinRK
c21ea96476
log exceptions parsing JSON
2013-10-17 14:09:14 -07:00
MinRK
cded90efe3
update json_errors decorator
...
separate handling of HTTPError and unhanded exceptions
2013-10-17 14:09:13 -07:00
Zachary Sailer
c26700cd3a
changes after session manager code review
2013-10-17 14:09:12 -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
Brian E. Granger
2d6f4628c4
Adding JSON error handling and fixing location headers.
2013-10-17 14:09:10 -07:00
Zachary Sailer
050a3098a8
review fixes on tests, add extra kernel api test
2013-10-17 14:09:10 -07:00
Zachary Sailer
91f25dc046
add contents web service api
2013-10-17 14:09:05 -07:00
Zachary Sailer
521f03793a
manual rebase base/handlers.py
2013-10-17 14:07:48 -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
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
2013-07-12 18:47:56 -07:00
MinRK
88668e65f8
don't use parent=self in handlers
...
handlers aren't configurable, so shouldn't be passed as parent.
closes #3502
2013-07-01 10:55:48 -07:00
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.
2013-06-29 12:41:17 -07:00
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
2013-06-27 11:14:10 -07:00