MinRK
17bbc2b360
back to dev
12 years ago
MinRK
d482fb15b6
release 2.0.0
12 years ago
Min RK
e37bf2257d
Merge pull request #5449 from minrk/quickhelp-stretch
...
Stretch keyboard shortcut dialog
12 years ago
Thomas Kluyver
982aab67ba
Merge pull request #5290 from jdfreder/dual_tests
...
Add dual mode JS tests
12 years ago
MinRK
bfb3d8ec30
check that a handler is actually registered in ShortcutManager.handles
...
there are a few shortcuts that do not specify handlers
(just for quick help contents),
and this was preventing the actual events from ever firing.
12 years ago
MinRK
b3b200abcb
add modal_stretch class
...
for stretching a dialog to fill the screen
12 years ago
MinRK
4d955e9641
remove unneeded `width: 100%` firefox workaround
...
this is no longer needed with `display: flex`
12 years ago
MinRK
9552688a71
back to dev
12 years ago
MinRK
2adfb5254c
2.0.0-rc1
12 years ago
Jonathan Frederic
e1daedf95b
Fixed keyboard.js indent break
12 years ago
Jonathan Frederic
607b96b19a
Actually remove the trigger keydown method
12 years ago
Jonathan Frederic
ae2b0800cf
Partial fix of problems b/c keydown move
12 years ago
Jonathan Frederic
1b46a777fb
Removed trigger keydown from keyboard.js,
...
also added a bunch of missing semicolons (jshint)
12 years ago
Min RK
0493027d7e
Merge pull request #5403 from minrk/alt-shortcut-bad
...
remove alt-- shortcut
12 years ago
Brian E. Granger
e51030ea5f
Merge pull request #5368 from jdfreder/specifity
...
Flexbox classes specificity fixes
12 years ago
MinRK
2041dc6563
widen modal dialogs on wide displays
...
needed for quick help layout with multiple meta keys
12 years ago
Min RK
0ae0216b12
Merge pull request #5049 from ivanov/quickhelp-update
...
update quickhelp on adding and removing shortcuts
12 years ago
Brian E. Granger
bfdbdd456c
Merge pull request #5391 from jdfreder/netscape-keyboard
...
Fix Gecko (Netscape) keyboard handling
12 years ago
Paul Ivanov
54d9eb4358
really fix the '-' key shortcuts now
12 years ago
Paul Ivanov
77bf4a72dd
better handling of minus
12 years ago
Jonathan Frederic
a08fbff5d9
Fix Gecko (Netscape) keyboard handling
12 years ago
Paul Ivanov
21ebaf2e32
handle keyboard shortcuts ending with '-'
12 years ago
Paul Ivanov
4cf1717980
use - for shortcut separators
12 years ago
Paul Ivanov
597a5cb741
don't color code in crimson
...
do alliterate, aforementioned color alternative alias is amaranth
12 years ago
Paul Ivanov
b9ef37ac26
semicolon fixes buttress half of my js commits
12 years ago
Min RK
e64c2cb5d8
Merge pull request #5296 from ivanov/more-shortcuts
...
unify keyboard shortcut and codemirror interaction
12 years ago
Jonathan Frederic
77904a044c
Re-added already existing base for less backwards compatability.
12 years ago
Jonathan Frederic
0020b9f896
Fix specifity of flex modifier classes
12 years ago
Paul Ivanov
61b47695e4
renamed 'use_shortcut' method to 'handles'
12 years ago
MinRK
abe2dce926
back to dev
12 years ago
Paul Ivanov
1c23dee141
remove recreation of QuickHelp
12 years ago
Paul Ivanov
8bf4ffa2ca
rebuild.QuickHelp event sets the dirty bit
...
QuickHelp is rebuilt on show if the dirty bit was set.
12 years ago
Paul Ivanov
cdb7967cc2
removing keyboard shortcuts should also update help
12 years ago
Paul Ivanov
4a287569fc
update notebook quickhelp on new shortcuts
12 years ago
Paul Ivanov
2c9ff376a2
added new use_shortcut method to shortcuts
...
this way, you can ask if a particular event will be handled by the
shortcuts system. This takes away the need to special-case many
different possible keys which should be ignored by codemirror by
ignoring them en masse.
12 years ago
MinRK
3face719e8
setup jsversion
12 years ago
Brian E. Granger
f62ce75a62
Lots of CSS tweaks to get nbconvert output looking right.
12 years ago
MinRK
9396619f9d
security.js docstrings
12 years ago
MinRK
e7f3c05d28
remove unused get_attr_names
12 years ago
MinRK
46665483ed
remove struct-returning sanitize
...
only keep str-str sanitization
12 years ago
MinRK
d4780c2cfc
remove security.is_safe
12 years ago
MinRK
d59e44a190
default to allow_css = false
12 years ago
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