MinRK
4d35660f3c
sanitize CSS
...
rather than removing it entirely
12 years ago
MinRK
c49f04545a
don't use `result.safe` to communicate incomplete information
12 years ago
MinRK
028ce17c62
fix tagName comparison
12 years ago
MinRK
3897b1c39f
don't populate sanitized.safe by default
...
since it's potentially expensive.
walk nodes in is_safe
12 years ago
MinRK
367b4f85c2
wrap caja.sanitizeAttribs to trust data-* attributes
12 years ago
MinRK
eec5d427a4
add cmp_tree, in case caja log can't be trusted
...
(spoiler: it can't)
12 years ago
MinRK
2a0451fdde
use google-caja for sanitization
12 years ago
Brian E. Granger
07cdb1e195
Adding first round of security tests of is_safe.
12 years ago
Brian E. Granger
fa3f998295
Adding security.js with 1st attempt at is_safe.
12 years ago
Brian E. Granger
af7dd15181
Removing old keyboard handling from IPython.utils.
12 years ago
Brian E. Granger
ec6ea72873
Adding utility functions.
12 years ago
Brian E. Granger
ff1492f8c9
Creating new base/js/keyboard.js
12 years ago
Jonathan Frederic
a7fb5e1e55
Merge pull request #5114 from minrk/empty-button
...
use non-breaking space for button with no description
12 years ago
Thomas Kluyver
d6986cf4ec
Merge pull request #4778 from minrk/install-nbextensions
...
add APIs for installing notebook extensions
12 years ago
MinRK
9c452998ea
add utils.escape_html
12 years ago
Jonathan Frederic
af5b5cea7d
Revert "Change stretch to flex-start"
...
This reverts commit 774073116dd4195037c452d48f05b432bba38801.
12 years ago
Jonathan Frederic
ff14cabf7f
Change stretch to flex-start
12 years ago
Jonathan Frederic
aba9f7e9f8
Automatic width adjustment for flex0
12 years ago
Jonathan Frederic
7ae028e01f
Corrected a lot of small misuses of the new flex model.
12 years ago
MinRK
8264362179
document utils.parse_url
12 years ago
MinRK
24e59106c0
add utils.parse_url
...
strip repeated '//' in url_path_join
12 years ago
MinRK
a93040e810
s/get_data/get_body_data/
12 years ago
MinRK
beaa75b416
add utils.get_data
...
for extracting *decoded* items from $('body').data
12 years ago
MinRK
f3f1695b06
add IPython.load_extensions in js
12 years ago
MinRK
95d3d6de8b
fix flex: auto
...
flex: 0 doesn't seem to mean what box-flex meant (auto)
closes #5069
12 years ago
Jonathan Frederic
33586b7ac8
Convert tabs to spaces
12 years ago
Jonathan Frederic
66c14d34ce
New 'flex' support
...
http://dev.w3.org/csswg/css-flexbox/
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
12 years ago
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
12 years ago
Jonathan Frederic
13694d04c3
Removed blame comment
12 years ago
Brian E. Granger
5137961bf2
Protect against navigator undefined in platform.
12 years ago
Brian E. Granger
0af185787a
Added platform dep. logic.
12 years ago
Jonathan Frederic
3390f64dc2
Added flex properties to container.
...
Also replaced underscores in flex align properties with dashes.
12 years ago
Jonathan Frederic
2ba2d42e84
Added flexible box model align properties.
12 years ago
MinRK
c7a3676804
allow utils.js to be loaded in node
...
where navigator is undefined
12 years ago
Brian E. Granger
d8db72564a
Merge pull request #3605 from ellisonbg/newux
...
Modal UI - a whole new world of fun....its like vim, but not!
12 years ago
Brian E. Granger
06aa0d540d
Using a more specific approach for managing CM focus.
...
I used to try and enter command mode when a cell looses focus. The
problem with that is that focusing an output area would remain in
edit mode.
Now, I bind this logic to the code mirror blur event, so that
focusing the output area enters command mode.
12 years ago
Brian E. Granger
b865c98567
Removing KBN null mode and replacing with enable/disable.
12 years ago
Brian E. Granger
caffba142e
Adding keyboard manager logic.
...
This is currently very broken.
12 years ago
MinRK
21632ac564
add error css
12 years ago
Min RK
8be6c4b617
Merge pull request #4575 from minrk/encode_paths
...
make sure to encode URL components for API requests
12 years ago
Brian E. Granger
2734f4cc5b
Cleaning up indentation and spacing of less files touched.
12 years ago
Brian E. Granger
57a9457f78
More tabs to spaces on less files.
12 years ago
MinRK
1869e1a1a3
add utils.url_join_encode
...
like url_path_join, but escapes url components
12 years ago
Min RK
6368dbb6f3
Merge pull request #4444 from Carreau/css-cleaning
...
CSS cleaning
- vbox / hbox via classes
- adds notebook/style_noapp.less, which excludes body/toolbar/menubar stuff not necessary in embedded contexts
12 years ago
Matthias BUSSONNIER
74683da8ad
use baseBorderRadius instead of corner_radius
...
as it already exist in Bootstrap
12 years ago
MinRK
71d6a80629
add `setup.py jsversion`
...
for writing the IPython version to `IPython.version` in javascript.
supersedes #4357
12 years ago
Min RK
0aaafce4af
Merge pull request #4195 from minrk/widget-msg
...
IPEP 21: widget messages
12 years ago
Paul Ivanov
19a20a3c70
add Ctrl-M keyboard shortcut
12 years ago
Paul Ivanov
65810a49e4
utility functions + tests for shift- & ctrl-enter
12 years ago
Paul Ivanov
c68eaca621
added a shorthand way to trigger keyboard events
...
as suggested by @ellisonbg in #4285
12 years ago