Commit Graph

4967 Commits

Author SHA1 Message Date
Thomas Kluyver
d6517f51c3 Git hooks use bash specific syntax 2014-08-10 17:26:54 -07: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
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
Thomas Kluyver
9e2363a657 Merge pull request #6237 from jasongrout/iptest-profile-dir
Explicitly set the profile directory when running tests
2014-07-30 11:11:41 -07:00
Matthias BUSSONNIER
2899c766a1 remove var 2014-07-30 18:13:31 +02:00
Jason Grout
35c3095da0 Explicitly set the current working directory when running tests
Because of the profile directory searching algorithm, if the current
working directory has a directory named 'profile_default', that will
be used instead of the temporary profile directory the tests expect.
2014-07-30 14:35:10 +00:00
Paul Ivanov
66733621de proportional font-size when editing heading cells
@MinRK @takluyver and I had the idea to do this when we were discussing #6225.
2014-07-29 19:28:20 -07:00
Thomas Kluyver
4fc8af546b Merge pull request #5859 from watercrossing/addPageUpDown
add page-up and page-down functionality to the autocomplete dropdown
2014-07-29 17:46:52 -07:00
Sylvain Corlay
ea52ef8704 del Widget.widgets[seld.model_id] in close rather than in __del__ 2014-07-30 00:28:30 +00:00
Paul Ivanov
86f38a8f3b call unrender() when setting text of cells 2014-07-29 16:24:53 -07:00
Min RK
254d372522 Merge pull request #6227 from Carreau/cellt-g-event
Use global event for celltoolbar
2014-07-29 15:32:43 -07:00
Sylvain Corlay
2c648fe4d0 bad call and missing call to unregister_comm 2014-07-29 20:11:34 +00:00
Thomas Kluyver
274cfb3af2 Merge pull request #6225 from ivanov/split-merge-heading-cells
allow splitting and merging of heading cells
2014-07-29 11:32:46 -07:00
Thomas Kluyver
a7abca5a9f Merge pull request #6233 from Carreau/fix-6232
Fix doc, CodeMirror is installed via bower
2014-07-29 09:33:05 -07:00