Jason Grout
88084db35d
Return the viewlist from the update promise so that you can use it immediately.
...
The pattern is:
viewlist.update(new_list).then(function(new_view_list) {
...
})
2014-11-21 23:20:19 +00:00
Scott Sanderson
16b9150151
DEV: Add various events.
2014-11-21 17:43:59 -05:00
Thomas Kluyver
89a9c1c214
Merge pull request #7004 from minrk/jupyter-logo
...
use Jupyter logo in the notebook header
2014-11-20 17:51:45 -08: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
Jonathan Frederic
d181172948
Implement view logic in selection containers.
2014-11-20 13:52:46 -08:00
Min RK
c72c637511
move language name, version into language_info
...
in kernel_info_reply
adds adaptation of language info to msgspec adapter
2014-11-20 12:33:42 -08:00
Min RK
4ec20d55da
fix loading of language name from kernel_info
...
language is langinfo.name, not langinfo.language
fixes highlighting for IJulia kernels
2014-11-20 12:33:42 -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
Kyle Kelley
b6d0016a1d
Merge pull request #6967 from regdoug/document-server-ports
...
Public server firewall configuration
2014-11-20 12:55:26 -06:00
Jason Grout
307a320284
tweak documentation for viewlists
2014-11-20 16:09:37 +00:00
Min RK
4066aec22a
Merge pull request #6903 from minrk/writable
...
handle various permission failures
2014-11-19 21:29:49 -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
Jason Grout
93f658bc9b
Make a copy of the input list so that changes to the children list don't automagically change our reference list
2014-11-20 00:44:35 +00:00
Jason Grout
7658bab99f
Missing semicolon
2014-11-20 00:43:39 +00:00
Jason Grout
a6b901fdd3
Make state_change initialization more conventional
2014-11-20 00:43:24 +00:00
Jason Grout
0164fd32ca
Make error messages more consistent
2014-11-20 00:43:00 +00:00
Min RK
bb23105fdd
Handle unrecognized outputs and cells from the future
2014-11-19 16:22:37 -08:00
Jason Grout
88ed50afad
Refactor the do_diff and manual child view lists into a separate ViewList object
2014-11-19 23:38:49 +00:00
Min RK
25fd994dba
Merge pull request #6748 from Carreau/cleanup-nb
...
Some cleanup unused code and missing use-strict
2014-11-19 14:19:06 -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
a570b6f6b4
Merge pull request #6980 from jasongrout/nbextension-symlink
...
Use os.remove instead of shutil.rmtree if we try to remove a symbolic link
2014-11-19 10:59:18 -08: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