Commit Graph

5889 Commits

Author SHA1 Message Date
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
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
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
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
Min RK
c7ad3aa47d Don't dismiss rename dialog until rename is complete
- draws error message in the same dialog,
rather than triggering a new dialog via events.

- `Notebook.rename` returns the contents Promise, rather than registering its own error handler.
2014-11-18 13:59:02 -08:00
Min RK
a62a9abdef update MappingKernelManager module docstring 2014-11-18 13:29:44 -08:00
Min RK
da80d64e45 Merge pull request #6955 from Carreau/typeset
Actually typeset latex
2014-11-18 12:56:49 -08:00
Min RK
7252efd22c Merge pull request #6670 from jdfreder/output_widget
Output widget
2014-11-18 12:56:34 -08:00
Jonathan Frederic
2ef509e505 Add doc string to Output widget 2014-11-18 11:31:33 -08:00
Jonathan Frederic
7a3a9e74e9 Bug fix, typo 2014-11-18 11:31:33 -08:00
Jonathan Frederic
db2ef15b81 Address @carreau 's comments 2014-11-18 11:31:32 -08:00
Jonathan Frederic
36f0aabb86 active_output_areas (plural) 2014-11-18 11:29:35 -08:00
Jonathan Frederic
6f2e02b585 Pop output now removes a specific output 2014-11-18 11:29:35 -08:00
Jonathan Frederic
a12da7cee4 Added comment describing output area stack. 2014-11-18 11:29:35 -08:00
Jonathan Frederic
d033d6c1ea Make output widget reactive. 2014-11-18 11:29:35 -08:00
Jonathan Frederic
a5779bcd0e Output Widget 2014-11-18 11:29:35 -08:00
Reggie Pierce
ffd5081485 Fixed port range
Actual port range for ZMQ is 49152 through 65535.  Also fixed some grammar/spelling issues.
2014-11-18 11:22:46 -05:00
Matthias Bussonnier
4cd8ee3bb2 Merge pull request #6881 from jasongrout/template-blocks
Make favicon and logo images blocks in the template
2014-11-18 16:52:06 +01:00
Reggie Pierce
9dee257185 Public server firewall configuration
Added section on firewall configuration.  This should prevent users (like me) from struggling
to figure out why their servers aren't executing code.
2014-11-18 08:56:29 -05:00
Matthias Bussonnier
0ee990614d Merge pull request #6923 from SylvainCorlay/toggle_button_tooltip
Tooltip on toggle button
2014-11-18 14:47:13 +01:00
Matthias Bussonnier
fe4bae10ac Actually typeset latex 2014-11-18 14:37:11 +01:00
Matthias Bussonnier
269d9ae195 Merge pull request #6959 from minrk/check-kernel-execute
don't execute if kernel is not connected
2014-11-18 14:33:00 +01:00
Thomas Kluyver
7cf7d3f202 Merge pull request #6818 from jdfreder/race_conditions
Add promises to the widget framework.
2014-11-17 17:14:08 -08:00
Jonathan Frederic
f9d730d01e Address @takluyver 's review comments 2014-11-17 14:17:17 -08:00
Jonathan Frederic
61ebd40206 Bug fix, promise not resolving. 2014-11-17 11:44:10 -08:00
Min RK
1914e27cff Don't pass IPython-specific args to non-IPython kernels
add a few FIXME notes that the IPython-kernel special treatment
will probably want to be removed in the Jupyter explosion.
2014-11-17 11:17:08 -08:00
Jonathan Frederic
8d8bf43fb9 Merge pull request #6916 from minrk/finish-5659
add Duplicate button to dashboard
2014-11-17 11:09:53 -08:00
Min RK
4a25d24806 don't execute if kernel is not connected 2014-11-17 10:27:46 -08:00
Min RK
5eff21f3c6 simplify NotebookList.duplicate with recent changes
- contents service + futures
- remove no-longer-necessary parent_item
2014-11-17 10:14:21 -08:00
Min RK
036c47d032 set min-width on tree-list buttons
avoids misaligned buttons when the content changes
2014-11-17 10:09:53 -08:00
Min RK
8bad784ce5 update add_duplicate_button with API changes
- allow duplicating regular files
- update with contents service API changes
- fix some path/name bugs found in session and kernel list
2014-11-17 10:09:53 -08:00