Min RK
b01bd7b626
Merge pull request #7493 from Carreau/secure-dialog
...
Sanitize dialog body when a string
11 years ago
Bussonnier Matthias
b52467a966
sanitize only of text and not explicitely asked not to.
...
also some docs.
11 years ago
Min RK
4335486bdc
Merge pull request #7263 from takluyver/nb-common-config
...
Add common config section for frontend config
11 years ago
Thomas Kluyver
0a28783871
Expose load_extensions in utils
11 years ago
Matthias Bussonnier
6c5a4ec115
Sanitize dialog text-body.
...
Mitigate 7486, could probably be improved, but
treat text as pure text, but assume that when received a dome
element it actually come from a secure source.
Sanitizing all we get, including Dom Element break json-metadata editor
and a few others.
11 years ago
Matthias Bussonnier
7df157f6e4
Make modal backdrop static by default.
...
does not dismiss dialog accidentally if click on faded area.
Closes #7403
11 years ago
dongweiming
491046425d
fix widget description can not display when use --no-mathjax
11 years ago
Jonathan Frederic
fbc2adf2d5
Make things consistent
11 years ago
Thomas Kluyver
c719d2fe83
Refactor out load_extensions_from_config function
11 years ago
Matthias Bussonnier
791676006d
Merge pull request #7186 from minrk/moment
...
moment.js-related fixes
11 years ago
Thomas Kluyver
e51f3ff8d5
Merge pull request #7187 from minrk/utils-js
...
various fixes in utils.js
11 years ago
Min RK
b11fe93abb
add utils.time
...
consolidate some time-related utils, used in save widgets
11 years ago
Min RK
1512598b83
various fixes in utils.js
...
revealed by linters
- remove duplicate WrappedError definition
- regex_split doesn't actually allow string separator
- remove various unused variables
- fix some incorrect regex escaping
- add missing quotes in $('body')
- remove a `for(attr in object)` because javascript
11 years ago
Matthias Bussonnier
f43d8585d1
Add notion of actions to celltoolbar
...
modify toolbar.js to be able to deal with actions.
modify maintoolbar to deal with the new action architecture
add a way to triger notification widget hiding
11 years ago
Min RK
0b46e2aff2
remove some custom css
...
mainly in navbars, where we were doing custom
things that bootstrap already did with classes.
This did require the removal of multiple class LESS inheritance for
navbar buttons, because it doesn't work properly. Seems like a LESS bug, but I'm not sure.
11 years ago
Nicholas Bollweg (Nick)
d3601f90ef
checking in css
11 years ago
Nicholas Bollweg (Nick)
c72ad2754c
more fidgeting before starting over
11 years ago
Nicholas Bollweg (Nick)
5858350cc3
handling explicitly provided modes from kernelspec.language_info
11 years ago
Nicholas Bollweg (Nick)
8f5b447eaf
removing monkeypatch, importing rest of codemirror default theme
11 years ago
Nicholas Bollweg (Nick)
68c4714338
using codemirror mode/meta for detection
11 years ago
Matthias Bussonnier
a9fffc41ab
Merge pull request #6950 from minrk/new-new-dropdown
...
Add kernel-select dropdown to new notebook button
11 years ago
Min RK
befb16ebe3
Merge pull request #6948 from bollwyvl/graceful-mathjax-widgets
...
Ignore failure of widget MathJax typesetting
11 years ago
Min RK
f94e482478
handle undefined settings in promising_ajax
11 years ago
Min RK
9e809126e4
add utils.get_url_param
...
I really cannot believe that we need to write this ourselves
11 years ago
Nicholas Bollweg (Nick)
83757b6a0e
moving typeset to utils, usage in cell and outputarea
11 years ago
Jonathan Frederic
353a9afd34
Kill the layout manager
11 years ago
Jonathan Frederic
5a9e4d7986
Manual fixes
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Min RK
cf91873644
Merge pull request #6866 from takluyver/nb-texteditor
...
Notebook text editor
11 years ago
Matthias Bussonnier
5db4b7a8ee
Merge pull request #6668 from Carreau/actions
...
Add notion of action to keyboard manager.
11 years ago
Thomas Kluyver
6419595371
Use NotificationArea in the text editor
11 years ago
Matthias Bussonnier
9ae62c21b8
Some cleanup unused code and missig use-strict
11 years ago
Jonathan Frederic
f9d730d01e
Address @takluyver 's review comments
11 years ago
Jonathan Frederic
bed3a4cfda
use es6
11 years ago
Jonathan Frederic
fed878fed9
Don't throw Errors with Objects as the message/
11 years ago
Jonathan Frederic
bbcd5cb55f
Bug fixes
11 years ago
Jonathan Frederic
3870bb571b
Use rsvp.js for Promises
11 years ago
Jonathan Frederic
1d1572421f
Add a WrappedError class
11 years ago
Jason Grout
f11a51bb77
Dictionary key/value typo
11 years ago
Jason Grout
fc94383487
Better error messages with correct stack traces
11 years ago
Jason Grout
686e73dfdf
More simplifications due to promises
11 years ago
Jason Grout
4412c12929
Simplify code by using Promises in a better way; try_load -> load
11 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
11 years ago
Thomas Kluyver
8c962df79c
Load promises polyfill from a script tag
...
So all JS code can assume promises work, without needing to require it.
11 years ago
Thomas Kluyver
0295f5a487
Semicolons
11 years ago
Thomas Kluyver
9b2dac3fc1
Infrastructure for AJAX requests returning ES6 promises
11 years ago
Min RK
8407ba3a08
update frontend with path/name changes
...
- remove name from models
- path is full path (contains name)
11 years ago
Kester Tong
89df330129
Modifies Contents API to return Error objects
...
Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.
11 years ago
Thomas Kluyver
14106cbd66
Move contents API module into services
11 years ago
Thomas Kluyver
a10dea4cd5
Add Contents.api_url convenience function
11 years ago