MinRK
b06f382e9b
interrogate kernel_info to get protocol version for adaptation
12 years ago
MinRK
f824aee955
log error message when API requests fail
12 years ago
Paul Ivanov
d6f2dfefea
log refusal to serve hidden files dirs
12 years ago
Matthias BUSSONNIER
a01c112b0f
allow custom headers on all pages
12 years ago
MinRK
37cb0fbdee
remove websocket url
...
websockets should follow the kernel URL
(normal behavior is unchanged, only unused configurability is removed)
12 years ago
MinRK
a184724bdb
remove base_kernel_url
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
Brian E. Granger
eb9e0be218
Small refactoring of is_hidden to take root as default kwarg.
12 years ago
Brian E. Granger
0c794b5d2c
404 for hidden files to not revleal their existence.
12 years ago
Brian E. Granger
243392d810
Creating and testing IPython.html.utils.is_hidden.
12 years ago
Kyle Kelley
ddc9340a6a
Handle variations of name for origin
12 years ago
Kyle Kelley
e06f501cd6
s/==/is/
12 years ago
Kyle Kelley
7efc751d0e
Name change to same_origin
12 years ago
Kyle Kelley
60ab030e52
Verify that headers are set, explicitly
12 years ago
Kyle Kelley
b12f002b35
Performing check only on open.
12 years ago
Kyle Kelley
345de4e674
Use *args, **kwargs, log.warn
12 years ago
Kyle Kelley
104275ab73
Indicate Py3 vs. Py2 codepath.
12 years ago
Kyle Kelley
5800b1c625
Get rid of exc_info as there isn't an exception.
12 years ago
Kyle Kelley
7b552d862d
Add Origin Checking.
12 years ago
MinRK
063bfa9688
we don't bundle lessc anymore, remove its vestiges
12 years ago
Thomas Kluyver
c0f346c4e3
Merge pull request #4735 from minrk/better-errors
...
add some HTML error pages
12 years ago
MinRK
b7563aec7c
be more specific about unknown status codes
...
per review
12 years ago
MinRK
9865c4f02f
whitelist alphanumeric characters for cookie_name
...
should fix #4761
12 years ago
Min RK
96c1af0ce4
Merge pull request #4715 from minrk/tornado-static-url
...
restore use of tornado static_url in templates
12 years ago
MinRK
b62da23660
render custom HTML for error pages
12 years ago
Thomas Kluyver
57642b3847
Move notebook URL fragment regexen into IPython.html.base.handlers
12 years ago
MinRK
fd0e9e865c
don't raise 404 in get_absolute_path
...
raise in validate_absolute_path, where it belongs
12 years ago
MinRK
15780ad055
restore use of tornado static_url
...
instead of jinja macro that doesn't write hashes
closes #4714
12 years ago
Thomas Kluyver
51040fb768
Update imports for Python 3
...
2to3 fixer imports (+ manual changes)
12 years ago
Thomas Kluyver
4a14ed7e22
Replace references to unicode and basestring
12 years ago
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