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