Nicholas Bollweg
77725985c1
adding test for non-python nbextension
10 years ago
Nicholas Bollweg
fe9c33dec0
add rudimentary documentation of server spec (in private function, bah)
10 years ago
Nicholas Bollweg
7859e9d7e7
adding more tests for validation, cleaning up validation return values
10 years ago
Nicholas Bollweg
9bef5c1fea
serverextension docstrings
10 years ago
Nicholas Bollweg
f3074fde93
logging, removing redundant implementations
10 years ago
Nicholas Bollweg
071e92689e
adding initial post-install validation
10 years ago
Min RK
8c038e3ddb
add missing url-encoding of base_url in terminal/edit templates
...
This was fixed in the notebook and tree views,
but overlooked in edit, terminal
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
Jonathan Frederic
35f888948f
s/require/module for serverextension cc @minrk
10 years ago
Jonathan Frederic
540a143c86
Grammar cc @bollwyvl
10 years ago
Nicholas Bollweg
2b43653ac3
actually, should be public
10 years ago
Nicholas Bollweg
ce4e3fc189
cleaning up references to nbextensions in serverextensions
10 years ago
Thomas Kluyver
c424d61558
Adjust text of notebook heading in new menu
...
Closes jupyter/jupyter#97
10 years ago
Thomas Kluyver
291e0c101e
Adjust styling of dropdown header in new menu
10 years ago
Nicholas Bollweg
2d30b4d70a
fixing log output... could be more verbose
10 years ago
Maarten A. Breddels
b9d106a808
implemented changes as discussed at PR 775, password generation moved to module
10 years ago
Maarten A. Breddels
dc311c51a8
new feature: NotebookApp.password_required, when enabled will only run with a password present. If not present, will ask the user for it. This is useful in a multi user environment, for instance when everybody in the LAN can access each other's machine though ssh.
10 years ago
Thomas Kluyver
2018e800dc
Merge pull request #1168 from minrk/allow-root-notebook-dir
...
allow notebook-dir to be root
10 years ago
Min RK
d618b4f21f
allow notebook-dir to be root
...
we were stripping `/`, which is fine except when that's the whole string,
which we were then interpreting as `''`, which gives the CWD.
This is a regression in 4.1
10 years ago
Steven Silvester
5380d8bc05
Add about page
10 years ago
Jonathan Frederic
295e0a5aed
Use enabled/disabled
10 years ago
Jonathan Frederic
6b4790bade
Use +/- instead of O/X or T/F
10 years ago
Jonathan Frederic
89f12266bd
Remove extra junk from logging output
10 years ago
Matthias Bussonnier
32b5ba3b53
Log only if logger defined
10 years ago
Steven Silvester
b2c7430a7a
Update to latest plugins
10 years ago
Matthias Bussonnier
4ce3f00983
only log if loggable
10 years ago
Matthias Bussonnier
174d772e75
remove verbosity
10 years ago
Matthias Bussonnier
4959581420
fix some tests.
10 years ago
Matthias Bussonnier
0ac9277f21
Add deprecation warning and unbreak API
10 years ago
Matthias Bussonnier
67ff596f8d
make the ENABLE/DISABLE markers ASCII
10 years ago
Matthias Bussonnier
5e49c502ac
revert space changes
10 years ago
Matthias Bussonnier
14b1224c47
unbreak API
10 years ago
Matthias Bussonnier
976687e668
remove unused import
10 years ago
Matthias Bussonnier
0b2b908dc3
Fix dict.update does nto return a copy
10 years ago
Matthias Bussonnier
63d6dbd775
remove redundant defaults
10 years ago
Matthias Bussonnier
287e4a97be
Combine logic
10 years ago
Matthias Bussonnier
eb87e16ccb
Minor style fixes
10 years ago
Matthias Bussonnier
d87d26bfd8
Fix undefined variables
10 years ago
Jonathan Frederic
6288b7abae
@carreau's comments
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
166afb928c
Clarify doc strings
10 years ago
Jonathan Frederic
50d3452a4c
Use better ansi codes
10 years ago
Jonathan Frederic
fa399450c4
Fix poor logic in manager.py
10 years ago
Jonathan Frederic
29279e21e7
Fix typo
10 years ago
Jonathan Frederic
b5c4e98fe8
Get the serverextensions stuff to work and add unit tests for it
10 years ago
Jonathan Frederic
54dd9c525a
Squash some bugs and write unit tests
...
Fix the new tests
10 years ago
Jonathan Frederic
a205169002
Remove line that was causing the tests to fail
10 years ago
Jonathan Frederic
24d95a5d62
Server extensions dict,
...
and formatted output
10 years ago
Jonathan Frederic
e8dd95f41d
Address review comments
10 years ago
Jonathan Frederic
8d2f8c1601
Some more updates to nbext and serverext
10 years ago
Jonathan Frederic
fd2fda7467
Address additional comments
10 years ago
Jonathan Frederic
6cc81453d4
Simplify mappings
10 years ago
Jonathan Frederic
9d6b048633
Add uninstall command
10 years ago
Jonathan Frederic
049d00a923
Remove json dependency
10 years ago
Jonathan Frederic
13905d5b83
Remove unused nbextensions_* variables
10 years ago
Jonathan Frederic
ea95f4101e
Add common, terminal, and edit extension points
10 years ago
Jonathan Frederic
a92244b7fb
Format list command output nicely
10 years ago
Jonathan Frederic
067e452b79
--py and --python should work
10 years ago
damianavila
f437042e40
First iteration on serverextension CLI. List working OK. I have the check and revisit the other ones: enable, disable.
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
b208d29d84
More changes to the nbextensions.
10 years ago
Brian E. Granger
49b7b8c071
This part of things is working.
10 years ago
Brian E. Granger
142ae515bc
Adding prototype nbextensions argument to NotebookApp
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
Min RK
9e1ce0e3dc
Merge pull request #1142 from captainsafia/fix-rename-with-capitalization
...
Fix rename_file to be case insensitive
10 years ago
Julien Rebetez
93201ddece
Update tests/README.md to point towards using notebook.jstest instead of iptest
10 years ago
Julien Rebetez
f50474d60d
Add test for attachments garbage collection
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
e30c28eeba
Updated same_file to check for same device
10 years ago
Safia Abdalla
955c3d0c03
Exempt javascript files from files check
10 years ago
Safia Abdalla
7a8aa92b73
Add same_file check in rename_file
10 years ago
Safia Abdalla
3f4a2cb00b
Add same_file utility function
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
Thomas Kluyver
843e9a181a
Merge pull request #1136 from minrk/close-restart-channel
...
channel.closed is a method
10 years ago
Min RK
6b82621b9a
Merge pull request #1130 from takluyver/daemonic-test-server
...
Mark thread for test server as daemonic
10 years ago
Min RK
ba161b06dd
teardown zmq Context explicitly at the end of each test group
...
Increases the chances of noticing when we aren't cleaning up our sockets properly.
10 years ago
Min RK
1c47a3dbb5
channel.closed is a method
...
since we weren't calling it, the restart channel was never closed,
causing process teardown to hang *sometimes*, depending on garbage collection.
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
95bd8c3c76
Merge pull request #940 from Carreau/enable-warnings
...
show warnings during tests
10 years ago
Min RK
7472fc0458
Don't force save before download if notebook isn't writable
10 years ago
Matthias Bussonnier
6ab2cd0dd6
Show warnings during tests
10 years ago
Matthias Bussonnier
cc8b3be283
Merge pull request #1055 from minrk/mathjax-mathml
...
Allow all MathJax output formats
10 years ago
Thomas Kluyver
ce3dd80391
Mark thread as daemon in a way that Python 2 supports
10 years ago
Thomas Kluyver
c1a2a26551
Mark thread for test server as daemonic
...
I don't understand how, but I suspect that the threaded server is
somehow involved in the hangs we see after the tests complete. This
marks it as daemonic so that if it somehow escapes it won't keep the
test process alive.
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
dd57cded75
Fix the new deprecated names test
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
ac7f19821f
@williningc's suggestions
10 years ago
Jonathan Frederic
fe5ffc106b
Make sure IPython is set on window
10 years ago
Jonathan Frederic
8dba4eccdd
Add unit tests for deprecated requirejs API
10 years ago
Jonathan Frederic
41246fcc9d
Add an info blurb that prints if the notebook is a dev install
...
Checks to see if the notebook is part of a git repo, if so
suggest to the user `npm run build:watch`
10 years ago
Jonathan Frederic
18edcd3fb4
Allow old style imports, but deprecate them
10 years ago
Jonathan Frederic
03ceccf7a1
Re-add ignore_minified_js
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
f75f648f5e
Remove require logging statements
10 years ago
Jonathan Frederic
c4c16a76b8
Disallow dynamic loading of jquery and friends
...
Because it is a very bad idea. Don't do it. Seriously!
10 years ago
Jonathan Frederic
79489de7c8
Fix content variable conflict - rename to contentModule
10 years ago
Jonathan Frederic
378732e9f3
Get the terminal working
10 years ago
Jonathan Frederic
20b95f9297
Re-add moment
10 years ago
Jonathan Frederic
3750a6a803
Log requirejs usage
10 years ago
Jonathan Frederic
c6ccdb31d5
Fix namespace so it is webpacked
10 years ago
Jonathan Frederic
d340a794fc
Compile services/contents
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
a83f18255b
Use npm to install moment
10 years ago
Jonathan Frederic
1ae63ce185
Load jquery and friends globally
10 years ago
Jonathan Frederic
508804153a
Remove ignore minified
10 years ago
Min RK
88a0b832a6
only check for AttributeError on os.geteuid
...
and respect NotebookApp.allow_root flag
10 years ago
Min RK
b0fa952a82
Merge pull request #1115 from secant/refuse-root
...
refuse to run as root user
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
Vivian Fang
a11f81a1a9
removing windows check, changing error message wording
10 years ago
Vivian Fang
43ff953502
adding windows user check
10 years ago
Vivian Fang
349a7f062e
changing OSError to be AttributeError (for windows)
10 years ago
Brian Lange
a1acd448ed
Replace 'subtract' with '-' in existing tests
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
Vivian Fang
1d01627cec
making allow-root a valid flag
10 years ago
Vivian Fang
3ce8d95ba1
refuse to run as root user
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
Carol Willing
40d0833869
Fixed reference that was erroring in validator
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
Diego Mesa
482ed8a5a3
updating log.warn to log.warning
10 years ago
Min RK
2522348b6a
remove the 'random' from the random-port message
...
it's not really a random port, it's usually n+1
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
Min RK
8ed64b374e
Merge pull request #1066 from Carreau/rmw
...
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
10 years ago
Min RK
eef1ba8620
Merge pull request #931 from jdfreder/ratelimit
...
Add simple iopub message rate limiter
10 years ago
Matthias Bussonnier
7e6b50815e
Merge pull request #963 from minrk/indentAutoShortcut
...
add ctrl-alt-[ shortcut for indentAuto
10 years ago
Matthias Bussonnier
0ad67c8b7f
Remove usage of encode/decodestring, Deprecated, replace by bytes equiv.
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
f8d2af1632
draft for nested svg test, not working
10 years ago
Thomas Kluyver
15581d9567
Ensure user site packages is on PYTHONPATH for notebook test server
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
Nathan Daly
ecbeb59f18
adds TODO regarding the fancier UI
10 years ago
Nathan Daly
ac9b107e2b
changed initial input focus behavior
10 years ago
Nathan Daly
ec47775d50
Removed code unnecessary for Move to select the file name up to a period.
...
The Move button expects a file path, which shouldn't include a file
extension suffix.
10 years ago
Nathan Daly
a05b947f8d
Switched "Move Items" Cancel/Okay button orders + variable clean-up.
...
Part of addressing Issue #941 .
10 years ago
Nathan Daly
4a9e31ed30
Adds a Move button to the notebooklist interface next to Rename.
...
With this button, you can now move files or directories to any path in
the notebook, including creating new directories (like 'mv -p'). To move
a file, you specify the new destination directory's path.
This achieves the same effect as renaming a file with a new relative
path, but is more clear to users unfamiliar with unix commands --
especially with regard to moving to a parent directory.
Can only move one file at a time currently.
10 years ago
Jonathan Frederic
2ab768b71b
Update to point to widgetsnbextension
10 years ago
Jonathan Frederic
9a3cb11c4e
Better error message
10 years ago
Jonathan Frederic
ee7dd22ebe
Fallback to ipywidgets
10 years ago
Jonathan Frederic
e7bc3fcda6
Update the notebook widget hack to reference the new jupyter-js-widgets-nbextension package
10 years ago
Min RK
86db777bd4
disable MathJax renderer selection menu
...
since we don't ship all renderers, and MathJax can hang if a nonexistent renderer is selected.
10 years ago
Min RK
de09a93555
Merge pull request #1017 from Carreau/requires-require
...
Add `require` to list of modules to try fixing kernel.js loading.
10 years ago
Min RK
e95e00db9a
only import ssl if it's used
...
SSL stdlib module may be unavailable in rare cases.
10 years ago
Thomas Kluyver
73520656a7
Merge pull request #1011 from minrk/workaround-ff-beforeunload
...
Workaround Firefox bug showing beforeunload twice
10 years ago