Thomas Kluyver
91fbd4d6fd
Merge pull request #6303 from minrk/nbformat-error
...
Fix error message when failing to load a notebook
2014-08-13 17:46:59 -07:00
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
2014-08-13 14:40:51 -07:00
MinRK
cb3da26e61
display JSON error message on failed notebook load
...
if there is one (escaped for safety).
2014-08-13 14:27:12 -07:00
Jonathan Frederic
865fb20c00
Merge pull request #6284 from jasongrout/patch-6
...
Default view should be the base widget view class
2014-08-12 13:06:59 -07:00
Thomas Kluyver
e60f8bdda1
Merge pull request #6228 from jdfreder/eventful-list-dict
...
Add EventfulList and EventfulDict trait types.
2014-08-11 18:09:04 -07:00
Jason Grout
d64627380b
Default view should be the base widget view class
2014-08-07 13:12:15 -04:00
Thomas Kluyver
8b4f30d8d1
Merge pull request #6280 from ivanov/mistune
...
nbconvert requires mistune
2014-08-06 16:25:43 -07:00
Paul Ivanov
6162c99028
nbconvert requires mistune
...
You get a cryptic error message from iptest if mistune is not installed.
Test group: nbconvert
E
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'nbconvert')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 403, in loadTestsFromName
module = resolve_name(addr.module)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 321, in resolve_name
obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'nbconvert'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1
2014-08-06 15:37:29 -07:00
Jonathan Frederic
6026ef45d2
Merge pull request #6266 from Carreau/fix-lgw-css
...
fix loginwidget css
2014-08-06 10:56:41 -07:00
Jonathan Frederic
cffe958e4c
s/this/self
2014-08-04 14:22:16 -07:00
Jonathan Frederic
d31655f50a
kwarg on_events and hardcoded callbacks
2014-08-04 14:22:16 -07:00
Jonathan Frederic
e4860ae075
Use ternary operator for callback registration
2014-08-04 14:22:16 -07:00
Jonathan Frederic
22e210e981
Added on_events convinience method
2014-08-04 14:22:16 -07:00
Jonathan Frederic
3d6fcc6a60
Address review comments @takluyver
2014-08-04 14:22:16 -07:00
Jonathan Frederic
71ea1459ab
Add EventfulList and EventfulDict trait types.
2014-08-04 14:22:16 -07:00
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
2014-08-04 13:46:01 -07:00
Jonathan Frederic
fd50a3228e
Merge pull request #6250 from minrk/double-free-widget
...
avoid unregistering widget model twice
2014-08-04 10:25:46 -07:00
Matthias BUSSONNIER
d1dc31c9de
fix loginwidget css
2014-08-03 18:09:35 +02:00
Thomas Kluyver
c15284d716
Merge pull request #6238 from ivanov/cm-heading-fonts
...
proportional font-size when editing heading cells
2014-08-01 10:03:42 -07:00
Thomas Kluyver
b95de43b97
Merge pull request #6253 from jasongrout/highlighting-bug
...
Copy codemirror mode configuration instead of changing it
2014-07-31 14:46:55 -07:00
Jason Grout
c80709e5a3
Copy codemirror mode configuration instead of changing it
...
If we change it, the modified (wrong) mode is saved in the notebook, which
wrecks havoc on highlighting once the notebook is saved and reopened.
2014-07-31 21:25:34 +00:00
Thomas Kluyver
4db6295fba
Merge pull request #6249 from minrk/always-https-mathjax
...
always use HTTPS getting mathjax from CDN
2014-07-31 13:44:37 -07:00
Min RK
19557d37ab
Merge pull request #5938 from minrk/contents2
...
add contents webservice
2014-07-31 12:24:53 -07:00
MinRK
09c1354ea7
avoid unregistering widget model twice
...
widgets are registered when the comm is created;
closing unregisters them. Calling `close` a second time
should be a no-op.
2014-07-31 12:23:03 -07:00
MinRK
b47ddffd42
always use HTTPS getting mathjax from CDN
2014-07-31 12:03:44 -07:00
MinRK
fae77bd133
remove unused project_dir
2014-07-31 11:57:38 -07:00
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
2014-07-31 11:57:38 -07:00
MinRK
fb89646a29
various upload fixes
...
- recognize 201 as success (dataType must not be 'json')
- support uploading non-notebook files (b64-encoded)
2014-07-31 11:57:38 -07:00
MinRK
3c26b079f0
updates per review
...
- clarified docstrings and errors
- still more notebook/file renames
- configurable untitled names
- copy_from can be full path
- fix running, upload, new-tab behaviors in dashboard
Yay, review!
2014-07-31 11:57:38 -07:00
MinRK
d4fe081fe5
move /files/
redirect to base handlers
...
and reuse it in /nbconvert/html/…
closes #6137
2014-07-31 11:57:37 -07:00
MinRK
bec995aa63
updates per review
...
a few more notebook mentions in docstrings,
and inappropriate use of setdefault.
2014-07-31 11:57:37 -07:00
MinRK
2ea31b5ee0
use contents manager to handle redirect of /notebooks -> /files
...
avoids 404 on /files for visiting a nonexistent notebook
2014-07-31 11:57:37 -07:00
MinRK
93b300adda
support deleting empty directories
...
can’t copy directories
2014-07-31 11:57:37 -07:00
MinRK
260afd76ae
contents service review
...
- missed some s/notebook/file/ in docstrings
- manager doesn’t sort contents
2014-07-31 11:57:37 -07:00
MinRK
accf0878ae
test creating a directory with PUT
2014-07-31 11:57:37 -07:00
MinRK
8c4069cc00
add support and tests for uploading and saving regular files
2014-07-31 11:57:36 -07:00
MinRK
3674958b70
teach tree view about non-notebook files
2014-07-31 11:57:36 -07:00
MinRK
0c0eb43719
teach contents service about non-notebook files
2014-07-31 11:57:36 -07:00
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
2014-07-31 11:57:36 -07:00
MinRK
b73aa2b9f9
mv services/notebooks services/contents
2014-07-31 11:57:35 -07:00
MinRK
6d292040b4
require mistune 0.3.1
...
changed signatures
2014-07-31 11:52:57 -07:00
Jason Grout
1da978e987
Merge pull request #5 from jdfreder/css-top-default
...
Fix js-tests for new default selector logic.
2014-07-31 09:55:12 -04:00
Min RK
d093237f2f
Merge pull request #6216 from SylvainCorlay/comm-unregister
...
Unregistering comms in Comm Manager
2014-07-30 22:18:11 -07:00
Sylvain Corlay
1bbc915ac0
setting _comm to None
2014-07-30 23:16:24 -04:00
Paul Ivanov
fd53a306c4
Merge pull request #6197 from ivanov/set-text-rendered
...
changing text of cell should reset rendered status
2014-07-30 17:39:59 -07:00
Paul Ivanov
9cafcaa421
fix more style consistencies
2014-07-30 17:31:00 -07:00
Paul Ivanov
5e018bba0d
match font family when editing heading cells
2014-07-30 17:24:47 -07:00
Paul Ivanov
468e568ea7
appropriate heading level when loading from JSON
2014-07-30 17:23:58 -07:00
Min RK
a2a70b40e2
Merge pull request #6145 from Carreau/style-cleanup
...
JS/CSS Style cleanup
2014-07-30 13:36:04 -07:00
Jonathan Frederic
083671a572
Fix js-tests for new default selector logic.
2014-07-30 12:10:56 -07:00