Min RK
0c90391f8a
handle display-updates as updates
10 years ago
Min RK
a7a30c3bde
fix handling of display_id repeats in a single output area
10 years ago
Min RK
5b2279c192
support repeat displays with id
10 years ago
Min RK
f82f2568f5
Support update_display
10 years ago
Matthias Bussonnier
606b7377ae
Merge pull request #1866 from gnestor/register-mime-type
...
Add a `register_mime_type` method to OutputArea
10 years ago
Matthias Bussonnier
8d666c603f
Merge pull request #1863 from Carreau/rtl-action-toggle
...
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Grant Nestor
4cf93c8c57
Add a `register_mime_type` method to OutputArea
10 years ago
Min RK
b058209984
strip default metadata in Cell.toJSON
...
avoids saving redundant default info in files
10 years ago
Min RK
61afdb7432
don't set default editable/deletable metadata
...
it fills notebooks with redundant flags
these should only be set if defined and not-default
10 years ago
Matthias Bussonnier
04a431a77e
Add a quick action to have the possibility to toggle rtl-layout.
10 years ago
Grant Nestor
795e267aab
Add hover styles to HTML table row
10 years ago
Min RK
0f05b2bf26
display_id comes from transient dict, not top-level
10 years ago
Min RK
30d3406f54
allow updating display_data messages in-place using display_id
10 years ago
Kyle Kelley
2456687a12
Merge pull request #1826 from minrk/cell-clears-callbacks
...
don’t clear callbacks for cell output until next execute
10 years ago
Thomas Kluyver
cb88603ff1
Merge pull request #1837 from gnestor/busy-favicon
...
Change favicon when busy
10 years ago
Grant Nestor
b5cff95619
Don't change title when busy
10 years ago
Grant Nestor
e832689923
Change favicon when busy
10 years ago
Grant Nestor
d2a6221c23
Fix: Carriage symbol should behave like in console
10 years ago
Min RK
1c930b1b9c
don’t clear callbacks for cell output until next execute
...
adds callbacks.clear_on_done bool flag for kernel callbacks.
Default: true (current behavior)
Setting to false means that the caller is taking responsibility for clearing callbacks.
Use this in cells to only clear callbacks on the next execution, for better handling of async output.
10 years ago
Thomas Kluyver
f8f53ee805
Merge pull request #1807 from minrk/set-dirty-output
...
set dirty flag when output arrives
10 years ago
Min RK
22b3efb39d
set dirty flag when output arrives
...
and when the prompt changes
we were previously only setting dirty when execution finishes, leaving dirty=false during many changes until the output is complete
10 years ago
Min RK
92d3f4235d
Merge pull request #1359 from blink1073/generic-session
...
Update the session api in preparation for file and console sessions
10 years ago
Matthias Bussonnier
558ed9a6db
Merge pull request #1769 from gnestor/persist-header-toggle
...
Persist header and toolbar toggle status in nbconfig
10 years ago
Ashish Dahiya
c38c476df8
Create ws_url from wsUrl attribute. If wsUrl is not found, fallback to location.host
10 years ago
Matthias Bussonnier
111e41f521
Merge pull request #1776 from gnestor/html-table-styles
...
Update table styles to be consistent with JupyterLab
10 years ago
spoorthyv
6a3260b435
Updated Jupyter Logos
10 years ago
Matthias Bussonnier
dd4b052403
Merge pull request #1482 from yuvipanda/readonly-cells
...
Respect 'editable' cell metadata
10 years ago
Grant Nestor
6c1fe1f947
Move toggle logic from property setters in to actions
10 years ago
Grant Nestor
a0fd16cc6f
`border-width: 1px`
10 years ago
Grant Nestor
d411f0ac43
Update table styles to be consistent with JupyterLab
10 years ago
Grant Nestor
c656fc0846
Access config via `ConfigWithDefaults` vs. `ConfigSection`
...
Move toggle logic to `notebook.js` vs. `actions.js` to be consistent
with `notebook.line_numbers`
10 years ago
Grant Nestor
61eec926fe
Check header and toolbar toggle status after nbconfig loads
10 years ago
Grant Nestor
11d56a23e8
Define `header` and `toolbar` properties for notebook
...
If `notebook.header` or `notebook.toolbar` are `false`, hide them on
load
10 years ago
Thomas Kluyver
83785e3533
Merge pull request #1763 from gnestor/@-operator-codemirror
...
Include `@` operator in Codemirror ipython mode
10 years ago
Grant Nestor
568ba574b0
Merge pull request #1739 from minrk/terminal-logout
...
enable logout button on terminal page
10 years ago
Grant Nestor
fcb0be27f9
Include `@` operator in Codemirror ipython mode
10 years ago
Grant Nestor
4c3e9964dd
Merge pull request #1757 from minrk/markdown-load
...
Fix markdown mode loading
10 years ago
Grant Nestor
767942ccf4
Upgrade cell's `editable` and `deletable` metadata if not defined
10 years ago
Yuvi Panda
e0bcb7deb4
Merge pull request #1759 from gnestor/terminal-style
...
Fix terminal styles
Fixes #1724
10 years ago
Grant Nestor
ec35079b06
Fix terminal width style bug
10 years ago
Min RK
460d3027ce
merge TextCell options_default into MarkdownCell, RawCell
10 years ago
Min RK
f1fc424b19
add async workaround for slow load of ipythongfm definition
...
if ipythongfm is defined after notebook is loaded, re-load it in all cells that are using it.
10 years ago
Min RK
d52e1e2419
Restore loading of options_default in text cells
...
fixes omitted codemirror config due to ignoring options_default.
load options_default via config defaults (modifying options_default at runtime has no effect).
10 years ago
Min RK
0e5047e75d
allow returning full class config data, merged with defaults
...
and merge object config values with defaults (e.g. Cell.cm_config)
10 years ago
Min RK
dfea6b47df
enable logout button on terminal page
10 years ago
Thomas Kluyver
23ca9602c2
Merge pull request #1727 from minrk/ipython-doc-links
...
fix outdated links to ipython-doc
10 years ago
Min RK
58b4a59fce
Merge pull request #1709 from superbobry/patch-4
...
Fixed a bug in 'ConfigWithDefaults.get_sync'
10 years ago
Min RK
4bdc954212
fix outdated links to ipython-doc
10 years ago
Sylvain Corlay
b01b6f8cc7
Remove jupyter lab link and old bundle
10 years ago
Grant Nestor
e9d448837c
Remove MathML mime type
10 years ago
Sergei Lebedev
b1d0f3c1fa
Fixed a bug in 'ConfigWithDefaults.get_sync'
...
The method returned the default value if the result of '_class_data'
lookup was falsy (in the JS sense).
This bug also affected 'ConfigWithDefaults.get'.
10 years ago
Min RK
b9292d3139
Merge pull request #1680 from poke1024/mglyph-output
...
fixes problem with disappearing MathJax mglyphs in output areas
10 years ago
Brian E. Granger
6c8d453762
Merge pull request #1676 from gnestor/toggle-line-numbers
...
View > Toggle line numbers
10 years ago
Kyle Kelley
85d7cfba22
Merge pull request #1685 from gnestor/content-mathml
...
Add MathJax support for Content MathML
10 years ago
Grant Nestor
33fdb5cce4
Add MathJax support for Content MathML
10 years ago
Bernhard Liebl
ce6ea93e25
fixes problem with disappearing MathJax mglyphs in output areas
10 years ago
Grant Nestor
d11d2dd942
Replace mime type strings with constants
10 years ago
Min RK
f396334380
Merge pull request #1579 from parente/bundler-api
...
Bundler extension API
10 years ago
Kyle Kelley
a249c9cdd7
Merge pull request #1672 from gnestor/mime-mathml
...
Add support for MathML mime type
10 years ago
Matthias Bussonnier
14089ce139
Inherit configuration and propagate it from MD cell
...
Persist the configuration of toggling in nbconfig.
10 years ago
Matthias Bussonnier
3fdeaa18d8
Merge pull request #1669 from gnestor/broken-kernel
...
If kernel is broken, start a new session
10 years ago
Grant Nestor
2b7ce12e74
Always start a new session on switch kernel
10 years ago
Grant Nestor
a711ddb45e
Sanitize output of MathML mime type
10 years ago
Grant Nestor
586e06cd2c
Add support for MathML mime type
10 years ago
Grant Nestor
ac526c2b55
Move toggle line numbers from toolbar to "View" menu
10 years ago
Grant Nestor
c2773bd72c
Merge branch 'jupyter/master' into toggle-line-numbers
10 years ago
Grant Nestor
e8b6e65563
If kernel is broken, start a new session
10 years ago
Grant Nestor
5a03481d55
Merge pull request #1658 from gnestor/trusted-notification
...
Display "trusted" and "untrusted" notifications
10 years ago
Grant Nestor
055499563c
Use classic style for trusted notification
10 years ago
Min RK
d78cc473dc
Merge pull request #1659 from Carreau/attachments
...
Update attachment spec
10 years ago
Min RK
8d825e4361
use `$.text` to put latex on the page
...
instead of `$.append`
does proper escaping of latex that might be interpreted as HTML tags
Fix CVE-2016-6524
10 years ago
Matthias Bussonnier
106f8c7dc8
Update attachment spec
...
Step toward #1655
10 years ago
Grant Nestor
fc072a221b
Display "trusted" and "untrusted" notifications
10 years ago
Steven Silvester
d223e96fe1
Switch to xterm for the terminal emulator
10 years ago
Peter Parente
c82cce050b
Fix missed bundler -> bundlerextensions renames
...
In notebook.json config
(c) Copyright IBM Corp. 2016
10 years ago
Peter Parente
40b2c2fe72
Stable sort bundler menu items
...
(c) Copyright IBM Corp. 2016
10 years ago
Peter Parente
8fb670904b
First pass migrating from jupyter_cms
...
* Change handler for consistency with nbconvert
* Change bundler function API to take ContentManager models
* Change CLI to work as jupyter bundler
* Change UI to fit into existing template / JS structure
(c) Copyright IBM Corp. 2016
10 years ago
Min RK
53ab302a98
Merge pull request #1573 from takluyver/fix-backspace-in-output
...
Process backspace characters in output
10 years ago
Thomas Kluyver
e77d7ebfb0
Process backspace characters in output
...
These are like carriage return, but only affect a character before them
instead of the whole line. I've checked that this makes the output from
'man ls' look OK.
Closes gh-1572
10 years ago
Matthias Geier
848d7d1585
CSS: Clean up list spacing
...
This is closer to what was intended with `* + ul` etc. (see
https://github.com/jupyter/notebook/issues/1392#issuecomment-215022995 ),
but it is still not really good.
Especially nested lists look awkward.
10 years ago
Min RK
178f9f3edf
Merge pull request #1564 from eskirk/list_spacing
...
Corrected spacing above list elements
10 years ago
Elliot Kirk
f4dd6d6058
Corrected spacing above list elements
10 years ago
Natalie Perna
67a985bf08
Restore editor focus after completion pick.
10 years ago
Natalie Perna
adf60dd1e2
Pick completion option with single- rather than double-click.
10 years ago
Natalie Perna
9472d85d6b
Allow completion picking by double-clicking option.
10 years ago
Min RK
6ae0083ef1
Merge pull request #1520 from vanillajonathan/patch-2
...
Changed string "sub-structure" to "substructure"
10 years ago
Jonathan
243b915646
Changed string "sub-structure" to "substructure"
10 years ago
Jonathan
b5d8d45ab8
Add title attribute to image tag
10 years ago
Min RK
f41aaa17c9
Merge pull request #1490 from blink1073/external-codemirror
...
Unify the codemirror imports
10 years ago
Min RK
6c4687bc8e
remove outdated "you will NOT be able to run code" message
...
from connection-failed dialog.
This is a reference to ignored execute requests,
which are fixed by the pending-message queue.
10 years ago
Min RK
e110914495
register callbacks before sending message
...
just in case of infinitely fast replies
10 years ago
Min RK
14e276c6f1
allow explicit reconnect
...
rather than reconnect being a no-op if it appears connected
this allows an escape hatch if the connection should be forcefully reestablished.
10 years ago
Steven Silvester
523756a491
Fix handling of default cm modes
10 years ago
YuviPanda
66fa05e919
Implement 'editable' for textcell type too
10 years ago
YuviPanda
70afd0c82d
Change is_readonly to is_editable
...
While I prefer things that default to false than true,
in this case it is better to be consistent with is_deletable
10 years ago
YuviPanda
87f6b34967
Respect 'readonly' cell metadata
...
- Readonly cells can not be split or merged
- Readonly cells can be executed
- End users can still modify this by editing the metadata
themsevles directly
10 years ago
robnagler
a92f38439f
EDIT_MIMETYPES needed "this." and corrected boolean logic on editing
10 years ago
Matthias Bussonnier
d8fc95173b
Merge pull request #1347 from Carreau/shortcut-editor-2
...
Create a shortcut editor for the notebook.
10 years ago
Matthias Bussonnier
c170ba1021
Merge pull request #1412 from captainsafia/fix-sys-info
...
Check if sys_info is null
10 years ago
Safia Abdalla
be7649b873
Replaced PERMITTED_MIMETYPES with EDIT_MIMETYPES
10 years ago
Safia Abdalla
883429615d
Add PERMITTED_MIMETYPES
10 years ago
Safia Abdalla
fb4cb19aa6
Check if sys_info is null
10 years ago
Matthias Geier
c6c709a894
CSS: "alert" is missing "margin-top"
...
Closes #1390 .
10 years ago
Matthias Bussonnier
c681186e2d
Merge pull request #1199 from julienr/drop_visual_indicator
...
[WIP] [Image attachment] Add visual indicator that a drop is possible
10 years ago
Julien Rebetez
65f1fae5ec
Use a gray dashed border instead of yellow background to indicate dropzone
10 years ago
Julien Rebetez
14f7c2ccc0
Better handling of dnd events to correctly remove the dropzone effect when escape is pressed.
10 years ago
Julien Rebetez
180ef74ff5
Clear the dropzone indicator on cell render.
...
Change the dropzone CSS effect to be on the input_area
10 years ago
Julien Rebetez
7b974946ff
Add a visual indicator that a drop is possible when dragging an image on a markdown cells
10 years ago
Matthias Bussonnier
ab85f165c7
Create shortcut editor for the notebook
...
1) finish the step allowing the use of es6
- this include some tweak to web pack configuration to speed up
recompile in watch mode (in particular cache sourcemaps).
- enable eslint (error only), on obvious mistakes.
- setup babel to compile to es5 as a target.
2) Make the test pass under Casper that does not always have
`Function.prototype.bind` defined, which we cannot patch only in the
tests.
3) Write an actual shortcut editor that list and allow to modify most of
the command mode shortcut.
The logic to persist the shortcuts is a bit tricky as there are default
keyboard shortcuts, and so when you "unbind" them you need to re-unbind
them at next startup. This does not work for a few shortcut for
technical reasons: `<Esc>`, `<Shift>`, as well as `<Ctrl-Shift-P>` and `<F>`
which register asynchronously, so are not detected as "default"
shortcuts.
10 years ago
Pierre Gerold
fcec0896ce
Protect the three call to custom.js
10 years ago
Steven Silvester
4850790461
Update the session model and the test
10 years ago
Pierre Gerold
be52aa38f9
Condom againt bad custom.js
10 years ago
Steven Silvester
6486b2430f
Update the session model and the tests
10 years ago
Steven Silvester
76d08aca99
Update the session api in preparation for file and console sessions
10 years ago
Matthias Bussonnier
6954e996fd
Remove debug console.log
10 years ago
Matthias Bussonnier
1096410fcf
Try es6 and add a few features for shortcut editor.
10 years ago
Jonathan Frederic
72eeb99ad6
Respect keyboard manager state in clipboard logic
10 years ago
Sylvain Corlay
e4155ea7aa
The path for widgets has changed
10 years ago
Min RK
11dba4ea2e
Merge pull request #1288 from BerndSchwarzenbacher/issue#1209/codeblocks
...
Correctly render markdown code blocks with unknown language
10 years ago
Bernd Schwarzenbacher
fee1cbc9a3
Log CodeMirror mode error in codeblock highlight
10 years ago
Thomas Kluyver
d797948420
Don't paste cells in chrome when keyboard manager is disabled
...
Closes gh-1316 (the second part of it, which I hadn't noticed before ;-)
If a widget, an input box or a dialog has focus, we should allow paste
to paste text by default. We already take care to disable the keyboard
manager in these cases, so I check this to decide to handle the paste
event.
In Firefox this isn't needed, because Ctrl+V is registered as the
shortcut to bring up the paste dialog, so it only works when the
keyboard manager is enabled.
10 years ago
Thomas Kluyver
5998678d08
Defer to default copy implementation when text is selected
...
Closes gh-1316
10 years ago
Vivian Fang
21bbe1d11a
adding an action for toggling all line numbers, with keyboard shortcut Shift-L
10 years ago
Matthias Bussonnier
eb01a6eef0
Merge pull request #1286 from takluyver/system-clipboard
...
Copy and paste cells with system clipboard
10 years ago
Bernd Schwarzenbacher
cc3e6e9213
Possible fix with failing test
...
Maybe the test is wrong
10 years ago
Thomas Kluyver
a70786eae2
Store plain text and JSON data on clipboard as well as HTML
10 years ago
Thomas Kluyver
1bc711f79e
Copy and paste cells with system clipboard
10 years ago
Jonathan Frederic
255e5888fc
Revert fancy pants changes
10 years ago
Peter Parente
705992b6a6
Fix is_loaded semantics
10 years ago
Peter Parente
00ef5b1314
Downgraded ipywidget hack
...
Fixed whitespace for jon's PR #1278
10 years ago
Julien Rebetez
cf1e849fc6
Move the unused attachments garbage collection logic to TextCell.toJSON.
...
This enable to keep all attachments in memory and only garbage collect
on the JSON that is saved to disk.
This fixes #1185
10 years ago
Min RK
41d6da235c
Merge pull request #879 from ellisonbg/nbext-pain
...
New nbextensions installation API
10 years ago
Min RK
b1be6dfa81
Merge pull request #1249 from blink1073/plugin-update
...
JupyterLab Updates
10 years ago
Min RK
8d5bac4d47
Merge pull request #1230 from mgeier/ansicolors
...
Re-factor ANSI color handling
10 years ago
Min RK
212d517a92
Merge pull request #1234 from Carreau:keyb
...
Make keyboard shortcuts declarative
10 years ago
Steven Silvester
28829b2524
Fix webpack static file configuration
10 years ago
Matthias Geier
2bad374763
Inline _parseNumbers()
10 years ago
Steven Silvester
468a86e9c1
Update jupyter-js-plugins specifically
10 years ago
Steven Silvester
5366b9b678
Update plugins version and allow patch updates
10 years ago
Matthias Geier
52fae53534
Add error messages to the RangeErrors
10 years ago
Matthias Bussonnier
c94023758e
Fix some spelling
10 years ago
Matthias Bussonnier
4d5d19e3b7
Cleanup code, make it more redable
10 years ago
Matthias Geier
9d052588b5
Update ANSI tests
10 years ago
Matthias Geier
245287a83c
Remove ES 6 syntax and make integer conversion stricter
10 years ago
Matthias Geier
7bee6c5c2d
Re-factor ANSI color handling
...
The implementation is based on Python code from
nbconvert.filters.ansi2html().
Among other things, this fixes #988 .
10 years ago
Matthias Bussonnier
05a5d8301e
Make keyboard shortcuts declaratives
10 years ago
Min RK
84003fb30d
Merge pull request #1215 from Summersa/master
...
Toggle Header in Edit page
10 years ago
Min RK
3c4f6e9e74
Merge pull request #1002 from jasongrout/delayevaluation
...
Implement delayed evaluation for the cell executions happening before a kernel is set up
10 years ago
Jason Grout
ab35cf8a3b
Reword console log message
10 years ago
Jason Grout
60908dd30d
Fix code cell execution code in light of kernel message buffering.
10 years ago
Jason Grout
4a05b1fb8f
Implement kernel message buffering for when the websocket is not connected.
10 years ago
summersa
d1203448f8
Add option to toggle header on edit page
10 years ago
Min RK
6af49e7875
Merge pull request #1212 from blink1073/fix-lab-scrolling
...
Fix notebook scrolling in JupyterLab
10 years ago
Min RK
b5b50299e8
Merge pull request #1220 from flying-sheep/patch-1
...
Fix .rendered_html ol/ul with .list-inline
10 years ago
Philipp A
df2cab0ec3
fixed and DRYed .rendered_html ol/ul styles
10 years ago
Sylvain Corlay
0f4d3be470
Add missing pager.append function
10 years ago
Steven Silvester
42c1dae7a2
Bump version again
10 years ago
Steven Silvester
f1d217fd92
Bump js-plugins dependency to fix scrolling
10 years ago
Steven Silvester
4a48cad90a
Make notebook functional and add mathjax
10 years ago
Matthias Bussonnier
dcd9027af2
Merge pull request #1180 from takluyver/new-notebook-menu-header
...
Clarify notebook heading in new menu
10 years ago
Min RK
3f83ff525b
Merge pull request #506 from minrk/limit-output
...
limit merging of stream output
10 years ago
Min RK
233f04428d
Merge pull request #621 from julienr/inline_images
...
Implement markdown cell attachments. Allow drag’n’drop of images into…
10 years ago
Thomas Kluyver
291e0c101e
Adjust styling of dropdown header in new menu
10 years ago
Steven Silvester
5380d8bc05
Add about page
10 years ago
Steven Silvester
b2c7430a7a
Update to latest plugins
10 years ago
Matthias Bussonnier
eb87e16ccb
Minor style fixes
10 years ago
Jonathan Frederic
ef0bb2a5c8
Merge pull request #1143 from captainsafia/fix-edit-for-js
...
Exempt javascript files from files check
10 years ago
Jonathan Frederic
ea95f4101e
Add common, terminal, and edit extension points
10 years ago
Brian E. Granger
de42e6d9d2
Working on logging.
10 years ago
Brian E. Granger
7705bfd5ab
New approach working, old approach gone.
10 years ago
Brian E. Granger
49b7b8c071
This part of things is working.
10 years ago
Min RK
d6b4ef071b
Merge pull request #972 from blink1073/add-lab-page
...
Add Lab Page
10 years ago
Steven Silvester
80db07a5e2
Remove unused dependency
10 years ago
Steven Silvester
317f102663
Fix setupbase and update to latest plugins
10 years ago
Steven Silvester
e663bc3156
Add a jupyter lab page
...
wip add lab page
Add missing source files
Remove unused typings
Clean up tsconfig
No typings are required
Add typescript to dev dependencies
Switch to a JS-only build
Remove unused config file
Remove unused test and cleanup handlers
Update the setup file to build the lab
Use new application plugin from js-plugins
Remove whitespace changes
Bump plugins version
Update to latest plugins
Update to latest plugins
Update to latest jupyter-js-plugins and add files to manifest
Work around bug in css-loader
Update plugins and fix webpack warning
Update lab version
Fix static directory path
Bump plugins version
Add the try jupyter link
Bump dependencies
Back out whitespace changes
Update plugins version
Update dependencies
Update the bootstrap file
Use a standalone template for the lab page
10 years ago
Min RK
2c4138862f
Freeze selection when performing actions on selected items
...
avoids async changes to selection causing events to misfire
Fixes delete being a no-op due to select being cleared by shutdown_selected
10 years ago
Julien Rebetez
51cab51f1c
Add Copy/Paste cell attachments test
10 years ago
Julien Rebetez
cc58b282fd
Remove jquery from dependencies since it’s a global
10 years ago
Safia Abdalla
955c3d0c03
Exempt javascript files from files check
10 years ago
Julien Rebetez
ea57ff74a6
Explain why we disable caja uri checks on img::src
10 years ago
Julien Rebetez
c7186d5c09
Remove unused attachments on manual save
10 years ago
Julien Rebetez
a0920c47d8
Simplify attachments handling code by having an attachment attribute in every cell
10 years ago
Julien Rebetez
c8266aa507
Fix cell attachments copy/paste
10 years ago
Julien Rebetez
ac9a345400
Bump nbformat minor to 4.1 to support attachments
10 years ago
Julien Rebetez
84f38c2cf9
Make attachments textcell-specific
10 years ago
Julien Rebetez
c012835e67
Fix 'insert-image' menu item toggling. Instead of disabling the menuitem in unselect, we preventively disable it in Cell.select and let cell subtypes re-enable it when needed.
...
The previous implementation was not handling the first cell correctly if it was non-markdown (because unselect was not called).
10 years ago
Julien Rebetez
aa460ffecc
Fix speed issues when attaching large images
10 years ago
Julien Rebetez
6cc468db52
Add tests for attachments insert menuitem
10 years ago
Julien Rebetez
865de47233
Add Cut/Copy/Paste Cell attachments menu items
10 years ago
Julien Rebetez
646619d5cd
Check that we have items in markdown cell paste handler
10 years ago
Julien Rebetez
e66ff8f001
Fix drag/drop event handler to be compatible with codemirror 5.8, which
...
doesn’t allow binary file uploads by default. So we have to intercept
the dragstart event.
10 years ago
Julien Rebetez
b21348f75b
Attachments dialog only apply deletion on ‘Apply’.
10 years ago
Julien Rebetez
c4bd66e4b2
Nicer attachments editing dialog
10 years ago
Julien Rebetez
22fccff443
Add a new insert-image action and corresponding dialog to insert inline images from menu.
10 years ago
Julien Rebetez
480c90e473
Refactor the inline image drop logic. Preliminary copy/paste support.
10 years ago
Julien Rebetez
13bcdc9095
Keep the attachments even if the cell type changes
10 years ago
Julien Rebetez
1c6f589ff6
Add attachments cell toolbar option which opens a metadata-like JSON editor.
10 years ago
Julien Rebetez
3414b83855
Insert markdown markup for attachments images instead of HTML
10 years ago
Julien Rebetez
398c90b0aa
Use the cell ‘attachments’ property instead of ‘metadata.attachments’.
...
Use the mime-bundle storage format to store the attachments
10 years ago
Julien Rebetez
3462b34fca
Implement markdown cell attachments. Allow drag’n’drop of images into markdown cells. See #613
10 years ago
Min RK
cadcb75602
don't concatenate stream outputs larger than 8k
...
Limit is configurable via OutputArea.stream_chunk_size.
This limits the cost of one of the most expensive operations in output: many consecutive outputs on the same stream,
which requires reprocessing and re-appending the whole output to the DOM on each message.
10 years ago
Min RK
a1458ce8fc
Merge pull request #1047 from jdfreder/webpack
...
use webpack
10 years ago
Jonathan Frederic
4b8f19e5e7
Merge pull request #1127 from minrk/read-only-download
...
Don't force save before download if notebook isn't writable
10 years ago
Min RK
7472fc0458
Don't force save before download if notebook isn't writable
10 years ago
Matthias Bussonnier
cc8b3be283
Merge pull request #1055 from minrk/mathjax-mathml
...
Allow all MathJax output formats
10 years ago
Jonathan Frederic
68cd52bd22
Enable deprecated import of auth/main
10 years ago
Jonathan Frederic
b7f6f39b29
Add missing underscore reference
10 years ago
Jonathan Frederic
08e968d7e9
Make events a global singleton
10 years ago
Jonathan Frederic
5b337bbfee
Add missing import
10 years ago
Jonathan Frederic
4b0aa51ce7
Don't load main files - they should never be referenced anyways,
...
they break things by resetting global page state.
Also put URL in string
10 years ago
Jonathan Frederic
e64f1f9dc2
Dynamically set base url
10 years ago
Jonathan Frederic
fe5ffc106b
Make sure IPython is set on window
10 years ago
Jonathan Frederic
18edcd3fb4
Allow old style imports, but deprecate them
10 years ago
Jonathan Frederic
acb2b51051
Allow jquery-ish imports, but log a deprecation warning to the user console.
10 years ago
Jonathan Frederic
964ba151dc
Don't redefine global namespace again and again...
10 years ago
Jonathan Frederic
79489de7c8
Fix content variable conflict - rename to contentModule
10 years ago
Jonathan Frederic
c6ccdb31d5
Fix namespace so it is webpacked
10 years ago
Jonathan Frederic
3fb25c5915
Explicitly use requirejs where requirejs should be used
10 years ago
Jonathan Frederic
e5e8db3670
Load contents dynamically and load jquery-typeahead globally
10 years ago
Jonathan Frederic
1ae63ce185
Load jquery and friends globally
10 years ago
Min RK
b0772dd3c7
include SVG mathjax output
...
we now ship all mathjax output formats
We still strip down to a single font (STIX-Web)
10 years ago
Carol Willing
ab4a740509
Merge pull request #1113 from minrk/min-width-0
...
Fix long lines escaping from the cell container
10 years ago
Min RK
cc91abf77d
Merge pull request #1119 from bjlange/fix-split-kbd-shortcut-help
...
Clarify keyboard shortcut help for "split cell"
10 years ago
Min RK
7934f29917
set min-width: 0
...
Fixes what we thought was a Firefox bug,
but Chrome devs have pointed out Firefox was doing it right all along,
and all the other browsers were wrong.
10 years ago
Thomas Fors
8d68bdcf25
Change all js throw string to throw error in notebook/static
10 years ago
Brian Lange
7fa84b2fdb
Map '-' in non-OSX to text 'Minus'
10 years ago
Brian Lange
d840f72b00
Remove duplicate listing for split-cell-at-cursor
10 years ago
Brian Lange
5830139d23
Widen kbd shortcuts so that long shortcuts don't break over 2 lines
10 years ago
Min RK
620fb29192
Merge pull request #1088 from NHDaly/MultiMove
...
Expands "Move" button to support moving multiple files together.
10 years ago
Min RK
0f111e0a9b
Merge pull request #1086 from VladMironov/master
...
Add download button to the tree template
10 years ago
Nathan Daly
a595e4338b
fixed typo: s/durring/during/g in notebooklist.js
10 years ago
Nathan Daly
50c388ae5a
Expands "Move" button to support moving multiple files together.
...
"Move" button now displays for 1 or more selected items, and attempts to
move all of them to the entered destination. For each move that fails,
an error is displayed, but the other items are still moved.
Addresses Issue #942 .
10 years ago
Nathan Daly
fe478a0ff3
Updated Move Dialog's buttons per #744 for #742 .
...
Changes "OK" -> "Move" and sets "Cancel" as default button.
10 years ago
VladMironov
75cba936aa
Add download button at /tree
10 years ago
Min RK
a27266ac33
Merge pull request #1076 from takluyver/codemirror-fileext-lowercase
...
Lowercase file extension before looking it up in CodeMirror
10 years ago
Thomas Kluyver
b361d39723
Lowercase file extension before looking it up in CodeMirror
...
It looks like CodeMirror stores no capitalised extensions:
https://github.com/codemirror/CodeMirror/blob/master/mode/meta.js
If there ever are any, this would break looking them up. But that seems
fairly unlikely.
Closes gh-1073
10 years ago
Jonathan Frederic
8d0e61b1fb
Focus selected cell after move.
10 years ago
Matthias Bussonnier
7e6b50815e
Merge pull request #963 from minrk/indentAutoShortcut
...
add ctrl-alt-[ shortcut for indentAuto
10 years ago
Min RK
94986bfd6a
scroll long tracebacks to the bottom
...
since that's usually where the most important info is
10 years ago
Min RK
0b1305e37c
plural cell actions
...
a few multi-select actions still had singular descriptions
10 years ago
Min RK
c5d6e9ee37
Merge pull request #1044 from nvdv/items_deselect
...
Deselect items after successful actions on notebook list page.
10 years ago
Min RK
7117528dab
Merge pull request #744 from captainsafia/fix-dialog-button-layout
...
Fix button layout in dialog windows
10 years ago
Matthias Bussonnier
b520b57f2f
Merge pull request #1049 from parleur/nested_svg
...
Nested svg
10 years ago
Min RK
b3cab90e9a
only scrub SVG output
...
which is the largest
rather than white-listing HTML-CSS.
This means the various other renderers (perhaps most importantly, MML) are available, not just HTML-CSS
This increases the size of a notebook install by ~800k/19MB or 5%.
Alternately, we could *only* add MML, which would have a negligible affect on install size.
10 years ago
Min RK
4d64519f12
Merge pull request #969 from minrk/undelete-stack
...
multiple-undo for cell deletion
10 years ago
Min RK
38464ef4dd
Merge pull request #987 from minrk/copy-save-first
...
save before copy if notebook is dirty
10 years ago
Pierre Gerold
46d8784afb
restore a working 'find' structure
10 years ago
Pierre Gerold
a2366dc68f
replace the 'find' way into direct inclusion in svg element
10 years ago
Matthias Bussonnier
0d1f981b71
Merge pull request #1036 from minrk/disable-mathjax-renderer-menu
...
disable MathJax renderer selection menu
10 years ago
nvdv
1c68cfe490
Deselect items after successful actions on notebook list page.
10 years ago