Commit Graph

4864 Commits

Author SHA1 Message Date
Thomas Kluyver
a5e065328b Extensions config for text editor 2014-11-25 17:01:36 -08:00
Thomas Kluyver
d64c6e5841 Load nbextensions from config 2014-11-25 16:50:42 -08:00
Min RK
cf91873644 Merge pull request #6866 from takluyver/nb-texteditor
Notebook text editor
2014-11-25 10:30:41 -08:00
Min RK
c15aee36d4 Merge pull request #6969 from Carreau/ksmc
kernel_spec_manager configurable
2014-11-25 10:28:45 -08:00
Thomas Kluyver
011beaa385 Rename texteditor files & folders to edit 2014-11-25 10:07:52 -08:00
Thomas Kluyver
6070f84c8d /texteditor/ in URLs -> /edit/ 2014-11-25 10:04:57 -08:00
Bussonnier Matthias
cc00d48b8c Use map instead of hacking path to our need.
might help closing #7034
2014-11-25 15:58:08 +01:00
Bussonnier Matthias
12525ec706 Make KernelSpecManager configurable
Closes #6968
2014-11-25 13:52:10 +01:00
Min RK
18613d6554 add favicon
designed by @awantulok
2014-11-24 16:50:06 -08:00
Thomas Kluyver
d9a374c473 Remove unused imports in editor notificationarea 2014-11-24 15:04:57 -08:00
Thomas Kluyver
f3db0ff7d4 Remove unused import of jquery 2014-11-24 14:51:31 -08:00
Min RK
535bbee883 Merge pull request #6978 from takluyver/nbconvert-script
Nbconvert to script for any kernel language
2014-11-24 12:56:20 -08:00
Kyle Kelley
6061ff914b Merge pull request #7010 from quantopian/add-events
Add various events useful for third party integrations.
2014-11-23 20:26:33 -06:00
Scott Sanderson
4ed34d4f9d DEV: Pass current cell to the execute cell event. 2014-11-23 20:59:22 -05:00
Thomas Kluyver
bc769d24f6 Add filename to header area 2014-11-22 21:58:02 -08:00
Matthias Bussonnier
5db4b7a8ee Merge pull request #6668 from Carreau/actions
Add notion of action to keyboard manager.
2014-11-22 12:23:16 +01:00
Scott Sanderson
16b9150151 DEV: Add various events. 2014-11-21 17:43:59 -05:00
Thomas Kluyver
8bfec5015b Add the . into file_extension 2014-11-20 17:34:39 -08:00
Min RK
b54cc20357 use Jupyter logo in the notebook header
and favicon
2014-11-20 14:55:59 -08:00
Thomas Kluyver
d567331d4d Better way of saving through CodeMirror
This should support whatever keyboard shortcuts are configured for the
'save' command.
2014-11-20 11:52:36 -08:00
Thomas Kluyver
8dced9ab73 Styling to make it clearer where the editor is 2014-11-20 11:52:36 -08:00
Thomas Kluyver
be85a342cf Set page title for editor 2014-11-20 11:52:36 -08:00
Thomas Kluyver
6419595371 Use NotificationArea in the text editor 2014-11-20 11:52:36 -08:00
Thomas Kluyver
88818dcfba Override Ctrl-S shortcut to save text editor contents 2014-11-20 11:52:35 -08:00
Thomas Kluyver
1b612e178b Update text editor for new contents API 2014-11-20 11:52:35 -08:00
Thomas Kluyver
c1d012d703 Enable codemirror search/replace shortcuts 2014-11-20 11:52:35 -08:00
Thomas Kluyver
59b13f2d08 Refactor editor into Editor class 2014-11-20 11:52:35 -08:00
Thomas Kluyver
f49bef7b0d Saving files works 2014-11-20 11:52:35 -08:00
Thomas Kluyver
25ee73a554 Loading a file works 2014-11-20 11:52:35 -08:00
Thomas Kluyver
e6935d47c0 Basic infrastructure for new texteditor component 2014-11-20 11:51:30 -08:00
Min RK
837ef7f122 s/open_w/atomic_writing/ 2014-11-19 19:56:54 -08:00
Min RK
c9a4e5b00d handle various permission failures
- turn various EPERM, EACCES errors into 403
- add `writable` bool field to contents models
- if a notebook is not `writable`, save is disabled
2014-11-19 19:56:52 -08:00
Thomas Kluyver
f424dafeba Merge pull request #6962 from takluyver/nb-dir-and-file-to-run
Allow starting the server with both file_to_run and notebook_dir
2014-11-19 17:21:42 -08:00
Bussonnier Matthias
907d70339e some extra comma/semicolon cleanup 2014-11-19 21:47:22 +01:00
Bussonnier Matthias
ac355d757f update to use event 2014-11-19 21:44:15 +01:00
Matthias Bussonnier
9ae62c21b8 Some cleanup unused code and missig use-strict 2014-11-19 21:44:15 +01:00
Jonathan Frederic
295050060e Merge pull request #6988 from jasongrout/promises-again
Clean up promises code some more.
2014-11-19 12:14:05 -08:00
Min RK
7af86625af Merge pull request #6982 from Carreau/ksm
fix clientside notebook manager and assume tree is dir by default
2014-11-19 11:55:57 -08:00
Min RK
a4aaf94cd6 Merge pull request #6987 from takluyver/i6983
Fix conversion of input area to stream output
2014-11-19 11:44:33 -08:00
Jason Grout
2b96a97118 Simplify error-handling code
Thanks to @jdfreder for this change.
2014-11-19 19:43:22 +00:00
Matthias Bussonnier
9caf579d8d Merge pull request #6975 from minrk/rename-error
Don't dismiss rename dialog until rename is complete
2014-11-19 20:18:46 +01:00
Jason Grout
da8cab76dd Clean up promises code some more. 2014-11-19 19:16:54 +00:00
Thomas Kluyver
5990012062 Fix conversion of input area to stream output
Closes gh-6983
2014-11-19 10:22:32 -08:00
Matthias Bussonnier
1b1d1f2325 fix clientside notebook manager and assume tree is dir by default
Assume tree url are dir by default instead of file, and if
not do a redirect. Usefull for Clientside manager where the server
does not know the content of the drive, and think that everythong exists.
2014-11-19 11:52:03 +01:00
Jason Grout
5a39c0c9bd Use os.remove instead of shutil.rmtree if we try to remove a symbolic link
If we try to remove a symbolic link to a directory with shutil.rmtree, we get
the error “Cannot call rmtree on a symbolic link”
2014-11-19 04:46:13 -05:00
Thomas Kluyver
8252f56b00 Allow FileContentsManager and MappingKernelManager to be used outside NotebookApp 2014-11-18 17:41:21 -08:00
Thomas Kluyver
6d776a5292 Allow starting the server with both file_to_run and notebook_dir
file_to_run and notebook_dir would collide, with possible dictionary
ordering randomness depending on how they were passed.

With this change, the default value of notebook_dir is pulled from
file_to_run, instead of pushing the value when file_to_run is changed.
This makes it possible to specify both and have the server behave as
expected.
2014-11-18 17:41:21 -08:00
Thomas Kluyver
58b0669b9b Fix asyncy nbconvert to download 2014-11-18 16:56:39 -08:00
Thomas Kluyver
800e2ad25a 'Download as' script 2014-11-18 16:26:29 -08:00
Thomas Kluyver
2414db41e6 Merge pull request #6961 from minrk/profile-dir-no-3p
Don't pass IPython-specific args to non-IPython kernels
2014-11-18 14:09:35 -08:00