Commit Graph

5731 Commits

Author SHA1 Message Date
Min RK
b5e7ce30ca handle setting Widget.comm = None
which is done in `Widget.close`

fixes loads of warnings in widget test output, caused every time a widget is closed.
2014-11-12 11:29:10 -08:00
Min RK
287d572fb3 Merge pull request #6855 from takluyver/new-notebook-async
Open new windows before creating new notebooks

closes #6849
2014-11-11 14:18:00 -08:00
Min RK
a257e580a0 Merge pull request #6854 from takluyver/post-new-terminal
Create new terminals with POST request to API
2014-11-11 14:12:54 -08:00
Min RK
8a4552c5f1 Merge pull request #6899 from ipython/win-install-no-setuptools
Install on Windows without using setuptools
2014-11-11 12:03:35 -08:00
Thomas Kluyver
c7529c53eb Eliminate remaining uses of extra_settings 2014-11-11 11:00:19 -08:00
Thomas Kluyver
ef98d48921 Disable passing extra AJAX settings to Contents.new() 2014-11-11 10:58:31 -08:00
Thomas Kluyver
b046af083c Fix some bugs in deleting notebooks from the dashboard 2014-11-11 10:58:31 -08:00
Thomas Kluyver
260ebcebcf Open window before creating new notebook
Avoids the need for synchronous requests.
2014-11-11 10:57:32 -08:00
Thomas Kluyver
b80be59fef Update some docstrings 2014-11-11 10:45:18 -08:00
Thomas Kluyver
37a2a8a6e5 Install on Windows without using setuptools
This creates batch files, with a .cmd extension, which can launch
IPython from 'ipython' at a command line, to replace the .exe files
created by setuptools.

This makes repeated installations much quicker on Windows.
2014-11-11 10:38:05 -08:00
Thomas Kluyver
28cc4e9c84 Merge pull request #6809 from minrk/rm-contents-path-name
remove separate 'path' and 'name' from ContentsManager
2014-11-10 18:33:41 -08:00
Min RK
3870a30ce4 contents.new_untitled to match Python API 2014-11-10 17:29:53 -08:00
Min RK
da832ef59f split ContentsManager.new, add ContentsManager.new_untitled 2014-11-10 14:52:14 -08:00
Min RK
39041a9f03 address review in contents service
- various docstrings, comments clarified and updated
- misc typos
- fix and test creating an untitled directory via POST
- only define `message` if there's something to say
2014-11-10 14:02:21 -08:00
Min RK
ba370731a5 fix and test path regexes
- require leading `/`
- match empty string
- disallow consecutive `//`

This means that path_regex should be included as `/api/whatever%s`, not `/api/whatever/%s`
2014-11-10 14:02:21 -08:00
Min RK
5c2ae3e92c fix link-following logic in directory nav
avoid infinite recursion by recording which links have been visited
2014-11-10 14:02:20 -08:00
Min RK
81764cc1e0 update save test
fix some event waiting while there
2014-11-10 14:02:20 -08:00
Min RK
74c897cc0b unicode! 2014-11-10 14:02:20 -08:00
Min RK
bc4f0b32bb rename ContentsManager.create_file->new
consistent with js API
2014-11-10 14:02:19 -08:00
Min RK
8407ba3a08 update frontend with path/name changes
- remove name from models
- path is full path (contains name)
2014-11-10 14:02:19 -08:00
Min RK
62dedf921b remove notebook['name'] from sessions 2014-11-10 14:02:19 -08:00
Min RK
b6c4baa2fb remove copy via PUT
only copy via POST to directories
2014-11-10 14:02:19 -08:00
MinRK
3ada0c2c27 Remove separate 'path', 'name' in Contents API
- path is full path (including name)
- name is only used for read-only convenience, and plays no role in any API
- remove 'untitled upload' (POST with content and no path)
2014-11-10 14:02:18 -08:00
Thomas Kluyver
ce864a2ade Merge pull request #6885 from mattvonrocketstein/issue6883
Issue6883: nix traceback for shell.system if exception is KeyboardInterrupt
2014-11-10 10:38:54 -08:00
Kyle Kelley
464967d7a9 Merge pull request #6876 from minrk/falloff-reconnect
Add exponential falloff to kernel reconnect
2014-11-10 12:28:31 -06:00
Thomas Kluyver
edc0adb797 Merge pull request #6843 from minrk/nbformat4-examples
update example notebooks to v4
2014-11-09 14:59:11 -08:00
Min RK
6d78644411 s/Connection lost/Not Connected/ 2014-11-09 10:06:48 -08:00
Min RK
4871cc4f1d wait for kernel_ready after ws_closed_error 2014-11-08 19:23:20 -08:00
Min RK
42f0684994 add events to ws_closed_error in kernel.js 2014-11-07 16:10:50 -08:00
Min RK
59b54eba53 add Reconnect to kernel menu 2014-11-07 15:42:40 -08:00
Min RK
fe00509f32 add sticky Connection lost notification
when reconnect process gives up
2014-11-07 15:42:40 -08:00
mvr
256e82a140 [issue547] add emacs tmp files and .coverage files to gitignore 2014-11-07 23:09:44 +00:00
Min RK
a6d427e5c9 add exponential falloff for reconnect
avoids constant reconnect attempts every 3 seconds forever

gives up after 6 tries (last timeout 64s)
2014-11-07 14:52:15 -08:00
Min RK
61479fde4c Merge pull request #6882 from takluyver/i6239-docstring
Document limitations of symlink parameter to install_nbextension
2014-11-07 10:51:26 -08:00
Thomas Kluyver
5f456ef438 Document limitations of symlink parameter to install_nbextension
Closes gh-6239
2014-11-07 10:48:06 -08:00
Min RK
7cee09381f Merge pull request #6861 from quantopian/template_dir_option
DEV: Support for configurable list of extra jinja template directories.
2014-11-06 21:34:01 -08:00
Min RK
62e493a9b4 Merge pull request #6873 from takluyver/contents-api-no-dialog
JS Contents API doesn't need dialog module
2014-11-06 14:27:08 -08:00
Thomas Kluyver
9a7c6e78d9 JS Contents API doesn't need dialog module 2014-11-06 13:52:47 -08:00
Thomas Kluyver
bf4950d803 Merge pull request #6835 from minrk/travis-pip
expedite installation on travis
2014-11-06 12:37:57 -08:00
Scott Sanderson
8a6af683ce DOC: Fix typo in comment. 2014-11-06 14:59:44 -05:00
Scott Sanderson
c1196da096 DEV: Add IPython.html to the default template path.
This makes it possible to override a file with a template that also
inherits from that file.

For example, this makes it possible to override a single block of
notebook.html by creating a file called notebook.html that inherits from
templates/notebook.html.
2014-11-05 13:29:31 -05:00
Thomas Kluyver
39bf433c9d Merge pull request #6860 from minrk/slimerjs
distinguish capture_output from buffer_output
2014-11-05 08:50:18 -08:00
Scott Sanderson
cd1304961f DEV: Support for configurable list of extra jinja template directories. 2014-11-05 00:19:17 -05:00
Min RK
c88bd5025a distinguish capture_output from buffer_output
allow capturing output without silencing it,
which is useful for slimerjs,
which requires looking at output to determine failure.
2014-11-04 15:59:27 -08:00
Thomas Kluyver
538fcbc025 Close new window on error creating terminal 2014-11-04 10:44:08 -08:00
Thomas Kluyver
e6939f9aa5 Merge pull request #6846 from minrk/deprecate-heading-ui
deprecate heading cells in UI
2014-11-04 10:06:47 -08:00
Thomas Kluyver
8da4e89e3a Make a window immediately, and set its location on response
Avoids the need for async:false
2014-11-04 09:53:17 -08:00
Matthias Bussonnier
97fb92a824 Merge pull request #6851 from v923z/master
fixed notebook checking code
2014-11-04 15:30:20 +01:00
v923z
a2081d042e replaced nbmodel.orig_nbformat by orig_nbformat 2014-11-04 15:10:55 +01:00
v923z
9c122dcd15 fixed notebook checking code 2014-11-04 14:57:44 +01:00