Jonathan Frederic
78f28a635b
Review comments
12 years ago
Jonathan Frederic
705bd90653
Start forwarding the messages over widget custom messages
12 years ago
Min RK
784f07346d
add border to rendered markdown with cell toolbar
...
matches unrendered markdown and code cells
12 years ago
Min RK
b01bd7b626
Merge pull request #7493 from Carreau/secure-dialog
...
Sanitize dialog body when a string
12 years ago
Thomas Kluyver
411bf7a39d
Merge pull request #7445 from bollwyvl/left-rendered-text
...
left-aligning text
12 years ago
Bussonnier Matthias
b52467a966
sanitize only of text and not explicitely asked not to.
...
also some docs.
12 years ago
Min RK
4335486bdc
Merge pull request #7263 from takluyver/nb-common-config
...
Add common config section for frontend config
12 years ago
Thomas Kluyver
0a28783871
Expose load_extensions in utils
12 years ago
Jonathan Frederic
64f529d399
invoke css
12 years ago
Jonathan Frederic
f254cda663
Typo fix
12 years ago
Jonathan Frederic
96656a87e0
invoke css
12 years ago
Jonathan Frederic
d39311ccb5
Correct the padding of the new button group on the files page
12 years ago
Jonathan Frederic
db8cad5bff
invoke css
12 years ago
Jonathan Frederic
aebc1ac2c1
Adjust colors so they are the same
12 years ago
Jonathan Frederic
30a596b4df
Fix margins
12 years ago
Jonathan Frederic
cf0234d5f9
invoke css
12 years ago
Jonathan Frederic
bb0bc50cf3
Use bootstrap variable for table color
12 years ago
Jonathan Frederic
74fbcdfec2
invoke css
12 years ago
Jonathan Frederic
0159a2911d
Use less variable for header bg color
12 years ago
Jonathan Frederic
bc79ec0c75
invoke css after rebase
12 years ago
Jonathan Frederic
0cabf03343
Animated arrow icon
12 years ago
Jonathan Frederic
6007ef89fe
invoke css
12 years ago
Jonathan Frederic
070d9ace2e
Remove underline header collapse links
12 years ago
Jonathan Frederic
12fe7823ad
New Terminal into new new button
12 years ago
Jonathan Frederic
7c7da54699
invoke css
12 years ago
Jonathan Frederic
0b4d5e73b2
Decrease 2px bottom border to 1px
12 years ago
Jonathan Frederic
33d1bc2abe
Fix heading height
12 years ago
Jonathan Frederic
9f35ee6c7a
Use less for heading padding
12 years ago
Jonathan Frederic
d783812d9b
invoke css
12 years ago
Jonathan Frederic
06fe62fe96
Improved styling
12 years ago
Jonathan Frederic
808916762e
Remove terminals page of the dashboard,
...
move contents into running tab.
12 years ago
Juergen Hasch
eb7d0b7e07
Use stop_on_error instead of skip_exceptions
12 years ago
Juergen Hasch
2f50bf9980
Skip exceptions
12 years ago
Matthias Bussonnier
9581e3e491
Reload list after creating a new folder in promises.
...
No need to reload session (I doubt creating a new folder create a
session), and does it once the creation drive promise return which make
the new directory appear in the listing for slow remote-backend (like
google drive)
12 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.
12 years ago
Thomas Kluyver
0009fcc22b
Merge pull request #7456 from minrk/change-not-dead
...
Don't show kernel-dead on manually shutdown kernel
12 years ago
Min RK
a152a481d0
don't set bootstrap toggle on ToggleButtonsWidget
...
model update already toggles active and data-toggle does the same,
so clicking on a toggle toggles twice, setting it back to the original value.
12 years ago
Min RK
510c883728
Don't show kernel-dead on manually shutdown kernel
...
When there is no kernel, show 'No kernel',
and set kernel-busy instead of showing read dead and bomb.
This is different from kernel-dead
12 years ago
Min RK
0aedf1658f
Merge pull request #7417 from Carreau/logominpad
...
rework css media-query (and lots of css fixes)
12 years ago
Matthias Bussonnier
e6fd916ce7
Merge pull request #7474 from mathieu1/tooltip-prevent-default
...
Prevent page jump on tooltip actions
12 years ago
Matthias Bussonnier
851be20367
Merge pull request #7458 from minrk/superfluous-prevent-default
...
remove superfluous event.preventDefault
12 years ago
Min RK
eba94f4e0b
remove superfluous event.preventDefault
...
from #7416
only one of the additions from that PR was necessary to address the issue
12 years ago
Matthias Bussonnier
411a08bf09
rework css media-query
...
fixes #7355
Also limit the number of query "jump", and use variables.
In particular there was a container width discontinuity at 768 pixel
where below 768 container width is 100% and "only" 720px on wider
screen, making a jump.
So now Css media query have 3 breakpoints:
- <540 px with (aka -no name-)
- colapsed menubar
- vbox for prompt
- 100% width container
- 540 -> 767 (aka -xs- )
- expand menubar
- hbox fro prompt
- 767 -> 991 (aka -sm-)
- show save widget
- fix width (768px)
- 991+ (aka -md-)
- extra save widget info (date time)
- fix with of 991 px.
- 1200+ (aka -lg-)
- widht of 1200px.
of course we've set soem variable wrongly so this is still kinda-a-hack
as we shoudl have pushed the xs-sm limit lower instead of pushing the
nothing-xs limit up but I don't want to "fix it" now.
12 years ago
Bussonnier Matthias
4021e9d487
Do not leave toolbar element focused.
...
Can lead to enter re-trigerring them
(ok, can be a feature sometimes I guess)
closes #7475
12 years ago
Mathieu
8936122110
prevent page jump on tooltip actions\n\nExpands the fix of #7367 to tooltip buttons
12 years ago
Matthias Bussonnier
b7bdfa715c
Merge pull request #7444 from minrk/toggle-header-bar
...
hide header-bar when header is hidden
12 years ago
Matthias Bussonnier
e2d809222c
Merge pull request #7460 from minrk/kernel-indicator
...
set kernel-busy on kernel_created
12 years ago
Matthias Bussonnier
3e60745ca1
Smooth notebook scrolling on pager closing.
...
avoid brutal jump of notebook on closing pager, when notebook is scroll
to max
12 years ago
Matthias Bussonnier
d9303c8a14
Merge pull request #7470 from minrk/pager-straight-down
...
hide pager straight down
12 years ago
Matthias Bussonnier
1eb04fd583
Merge pull request #7438 from minrk/auto_highlight
...
move auto_highlight to Cell
12 years ago
Matthias Bussonnier
8b8437c4cc
Merge pull request #7443 from minrk/bold-is-always-broken
...
force Terminal.brokenBold=True
12 years ago
Matthias Bussonnier
c84a35da64
Merge pull request #7455 from minrk/new-notebook
...
fix new-notebook and change-kernel menus
12 years ago
Min RK
7479bf26e8
hide pager straight down
...
instead of shrinking into the corner
12 years ago
Thomas Kluyver
81f9f1b7f5
Merge pull request #7462 from minrk/rm-override
...
remove tree override.css
12 years ago
Min RK
5f08e50830
discard invalid stream output
...
If a stream output is missing text,
log an error and discard the broken message
so it doesn't get into the notebook.
12 years ago
Min RK
e769c2c99e
remove tree override.css
12 years ago
Min RK
015b68e7b4
Merge pull request #7413 from Carreau/end_Space
...
fix end_space size
closes #7409
closes #7372
12 years ago
Min RK
01da342708
set kernel-busy on kernel_created
...
rather than waiting for kernel_starting, which is only after kernel exists, but before connection is available
12 years ago
Min RK
5b4657e9c5
disable trust-notebook click event
...
when trust-notebook item is disabled
12 years ago
Min RK
4bd8335c0e
fix new-notebook and change-kernel menus
...
recent PR made all of these no-ops
also include missing dialog module
12 years ago
Min RK
a900545e78
Merge pull request #7440 from mathieu1/new-notebook-fix-list-logic
...
Fix kernel change breaking "new notebook" list
12 years ago
Matthias Bussonnier
f064f8e113
also fix action in kernelselector.js
12 years ago
Matthias Bussonnier
3aef283f79
Prevent jump when clicking on action in menu.
...
To do so prevent even default action;
Closes #7367
12 years ago
Nicholas Bollweg
ac1c6f7ca8
#7239 : left-aligning text
12 years ago
Min RK
e2de7a928a
hide header-bar when header is hidden
...
also reduce the amount of CSS used to accomplish the 1px line (no negative margins)
12 years ago
Min RK
d48210701f
force Terminal.brokenBold=True
...
bold always seems broken
12 years ago
Min RK
da07d77f82
encode URI components in selection widget queries
...
avoids failure to find items when composing attribute queries
12 years ago
Mathieu
f3cfed13ac
fix kernel change breaking new notebook list
12 years ago
Min RK
ed6fa478f0
disable keyboard events on main toolbar
...
closes #5829
12 years ago
Min RK
490248ea93
move auto_highlight to Cell
...
consolidates nearly-identical CodeCell.auto_highlight and TextCell.auto_highlight
12 years ago
Min RK
0327b39a67
console.log
12 years ago
Min RK
b5abeb8ed6
kernelselector lint
12 years ago
Min RK
5f9e75dcef
cleanup kernelspec loading
...
- kernel_selector.set_kernel validates selection and triggers 'spec_changed.Kernel'. It does not start the session anymore.
- notebook calls kernel_selector.set_kernel when:
- kernelspec is in notebook metadata
- session is loaded (e.g. no kernelspec metadata)
- notebook starts session, loads metadata on spec_changed.kernel
The only case where starting the session is not triggered by spec_changed is on notebook load with no kernel metadata
12 years ago
Min RK
0e5ee5bc34
move promise sync to kernelselector, from notebook
12 years ago
Min RK
1028c8d192
use promises to wait for kernelspecs on notebook load
...
should avoid race condition that causes attempt to load kernelspec
prior to loading the kernelspec list
12 years ago
Matthias Bussonnier
7df157f6e4
Make modal backdrop static by default.
...
does not dismiss dialog accidentally if click on faded area.
Closes #7403
12 years ago
Matthias Bussonnier
c106e76a66
fix end_space size
...
closes #7409
Mostly a symptome of too many nested div that do different things.
don't try to both have an end space inside and outside the 'document'
area. And don't try to also get the things to be 100viewport height by
hacking around and make them smaller;
12 years ago
Brian E. Granger
db10980a8f
Merge pull request #7401 from mathieu1/new-notebook-same-kernel
...
create new notebook with same kernel
12 years ago
Mathieu
d90cc0e0de
put current kernel at the top
12 years ago
Mathieu
4e5839dde4
add choice of kernel for new notebook
12 years ago
Mathieu
0eb340b3e2
create new notebook with same kernel
12 years ago
Min RK
1cac03528b
use single WebSocket connection for all channels
...
multiplex on a 'channel' key in message,
rather than separate websockets.
Unlike zmq, there aren't different message patterns that require the channels to be separate.
Reduces FD count by factor of 3 and connection complexity in js.
12 years ago
Matthias Bussonnier
2b7568c13f
Merge pull request #7375 from minrk/empty-execute-result
...
ensure data, metadata are set in execute_results
12 years ago
Matthias Bussonnier
87b7f7599c
Merge pull request #7278 from minrk/nb-file-ext
...
don't enforce .ipynb extension in URLs
12 years ago
Matthias Bussonnier
f51872c4c2
Merge pull request #7346 from jdfreder/terminal-page
...
Use page backdrop color in terminal page
12 years ago
Jonathan Frederic
f79b914e5c
invoke css
12 years ago
Jonathan Frederic
f0da3c863c
Make headerbar -1 margin global
12 years ago
Matthias Bussonnier
cc0efade88
Merge pull request #7376 from minrk/modal-z-index
...
recompile css
12 years ago
Min RK
c9c6b8d8a2
recompile css
...
it had fallen out of sync with updated bootstrap
12 years ago
Min RK
d2335ab000
handle missing data, metadata in validate_mimebundle
12 years ago
Min RK
9e3e5cfca7
store widget state in single key
...
rather than in a dict, which doesn't work without reserializing *all* stored widget states (of all notebooks), since localStorage only supports storing strings.
12 years ago
Min RK
ffaa09492a
Merge pull request #7315 from Carreau/codacy2
...
miscellaneous cleanup
12 years ago
Min RK
796b480922
Merge pull request #7359 from jdfreder/tab-fix
...
Accordion and Tab widget, fixes for ancient bugs.
12 years ago
Min RK
45d8afa32d
Merge pull request #7361 from quantopian/fix-extension-rename
...
BUG: Fix broken codemirror highlighting on file rename.
12 years ago
dongweiming
491046425d
fix widget description can not display when use --no-mathjax
12 years ago
Jonathan Frederic
ad546d89f9
Merge pull request #7341 from jdfreder/remove-popup
...
Remove the popup widget
12 years ago
Scott Sanderson
cbb196bb94
DOC: Add comment.
12 years ago
Scott Sanderson
782ac56768
BUG: Fix broken codemirror highlighting on file rename.
...
When a users uses the rename dialog in the text editor, we call
_set_mode_for_model on the returned model. The expected model to be
returned from rename has no value for mimetype, which causes us to pass
`undefined` to `CodeMirror.findModeByMIME`, which returns `undefined`
back. We then try access an attribute of the (undefined) return value,
causing an error.
This now properly checks whether the `mimetype` attribute is set on the
input model.
12 years ago
Matthias Bussonnier
214195ce5f
Merge pull request #7327 from minrk/kernel-links
...
move Python-specific help links to kernel_info
12 years ago
Matthias Bussonnier
c0efca80ea
Merge pull request #7331 from minrk/fix-scroll
...
fix scroll actions
12 years ago