Commit Graph

6269 Commits

Author SHA1 Message Date
Bussonnier Matthias
8fc6d2ff1f saving notebook does not run cell.
Thus running cell instead of saving notebook
2014-12-12 16:14:21 +01:00
Bussonnier Matthias
89edf7c099 fix ordering dirs > notebook> files 2014-12-12 15:56:26 +01:00
Bussonnier Matthias
59f5b9199d just indent everythin twice 2014-12-12 15:40:29 +01:00
Bussonnier Matthias
1b2305c475 emit valid html:
Not closed div, <a> don't have alt but title, chrome frame has been
closed for at least a year, IE shoudl use edge mode. div cannot embed
span.
2014-12-12 15:28:51 +01:00
Min RK
1512598b83 various fixes in utils.js
revealed by linters

- remove duplicate WrappedError definition
- regex_split doesn't actually allow string separator
- remove various unused variables
- fix some incorrect regex escaping
- add missing quotes in $('body')
- remove a `for(attr in object)` because javascript
2014-12-11 16:21:53 -08:00
Jonathan Frederic
c5de028039 invoke css 2014-12-11 13:55:36 -08:00
Jonathan Frederic
12ef806b58 Thinner handle, single handlebar 2014-12-11 13:55:11 -08:00
Thomas Kluyver
0f2f14556c Note that extension API is experimental 2014-12-11 11:52:24 -08:00
Thomas Kluyver
7e7d3d1f25 Rename extensions -> server_extensions 2014-12-11 11:50:36 -08:00
Thomas Kluyver
e86d80e84a Add support for notebook server extensions
As some people may be tiring of my pointing out, it seems strange that
we have extension points for the JS and the kernel, but none for the
notebook server.

For cite2c, I want to add a handler which can serve a directory of style
files for use by the nbextension part.
2014-12-11 11:50:36 -08:00
Bussonnier Matthias
09b4d91ad0 sort dashbord in frontend 2014-12-11 17:08:13 +01:00
Bussonnier Matthias
07c6dd8b5d move setting nb.kernelselector inside kernelselector itself 2014-12-11 10:11:21 +01:00
Bussonnier Matthias
7a3a61fe81 make pseudo action in their own dcit.
make test more reliable by adding data-attributes to buttons.
2014-12-11 09:58:04 +01:00
Bussonnier Matthias
08dbdb1640 note to self 2014-12-11 09:19:50 +01:00
Matthias Bussonnier
199483b82d fix rebase after kill of layout manager 2014-12-11 09:18:59 +01:00
Jonathan Frederic
c897b66031 invoke css 2014-12-10 16:51:29 -08:00
Jonathan Frederic
eb34a4c6c2 Add shadow to pager handle 2014-12-10 16:51:02 -08:00
Jonathan Frederic
d5a4739636 invoke css 2014-12-10 14:58:10 -08:00
Jonathan Frederic
9879a3c16c Make the pager look better 2014-12-10 14:57:51 -08:00
Thomas Kluyver
f2e1b6f65f Merge pull request #7145 from minrk/type____
ContentsManager type kwarg to match model key
2014-12-10 14:28:32 -08:00
Min RK
16d06a7f1d pin less to 2.x
1.7.x causes different results, and it's probable that 3.x will as well.

It might even be appropriate to pin to 2.1.x.
2014-12-10 13:19:21 -08:00
Jonathan Frederic
b1b88a7855 Merge pull request #7147 from jdfreder/print
Meta-p for print
2014-12-10 12:35:55 -08:00
Jonathan Frederic
3b11cc66a7 Make widgets persist across page refresh 2014-12-10 12:29:28 -08:00
Jonathan Frederic
272f281b03 Merge pull request #7161 from jdfreder/promise_fix
Another widget promise bug fix
2014-12-10 12:21:27 -08:00
Jonathan Frederic
3d9e43f0c4 Fix persistence API,
it expecited a view dictionary not a dictionary of view promises
2014-12-10 12:08:22 -08:00
Matthias Bussonnier
2d51cec3c8 adresses Min comments x2 2014-12-10 20:58:01 +01:00
Bussonnier Matthias
fc6f562317 complete unicode mac symbol 2014-12-10 20:51:02 +01:00
Bussonnier Matthias
e292a82dff Fix comments
move humanize-map out of function call to have only one instance
2014-12-10 20:51:01 +01:00
Bussonnier Matthias
5be62ba538 fix john coments 2014-12-10 20:51:01 +01:00
Matthias Bussonnier
f43d8585d1 Add notion of actions to celltoolbar
modify toolbar.js to be able to deal with actions.

modify maintoolbar to deal with the new action architecture

add a way to triger notification widget hiding
2014-12-10 20:51:01 +01:00
Matthias Bussonnier
f1a167ee19 add an humanize function that prettify shortcut on macos 2014-12-10 20:47:34 +01:00
Thomas Kluyver
4dd8efd043 Merge pull request #7160 from minrk/toolbar-layout
remove references to defunct layout_manager in ToolBar
2014-12-10 11:28:44 -08:00
Jonathan Frederic
88d8d85987 Another widget promise bug fix 2014-12-10 11:23:35 -08:00
Jonathan Frederic
51fc7241da Another widget promise bug fix 2014-12-10 11:14:10 -08:00
Jonathan Frederic
73637fb694 Merge pull request #7097 from jasongrout/widget-visibility
Expand the semantics of the widget visible attribute to allow for visibility: hidden
2014-12-10 10:54:15 -08:00
Jonathan Frederic
4842d48ace invoke css 2014-12-10 10:51:00 -08:00
Jonathan Frederic
bdb0e9dd7a Move header styles into base less 2014-12-10 10:50:41 -08:00
Jonathan Frederic
d58d3a65a3 invoke css 2014-12-10 10:44:23 -08:00
Jonathan Frederic
f497d06d0c Avoid using important 2014-12-10 10:43:51 -08:00
Min RK
73c33f402c remove references to defunct layout_manager in ToolBar 2014-12-10 10:42:17 -08:00
Min RK
baac9dd567 Merge pull request #7159 from takluyver/hooks-invoke
Git hooks need to use invoke, not fab
2014-12-10 10:35:49 -08:00
Thomas Kluyver
dc02187827 Git hooks need to use invoke, not fab 2014-12-10 10:35:00 -08:00
Thomas Kluyver
4c62fd4210 Merge pull request #7149 from minrk/thread-nb
run test notebook server in thread
2014-12-10 10:06:02 -08:00
Jonathan Frederic
095d8b2feb Merge pull request #7143 from jasongrout/viewlist-promises
Update viewlists to store a list of promises for views
2014-12-10 09:43:19 -08:00
Jason Grout
967d83104f Missing return
Thanks to @jdfreder for catching this in review!
2014-12-10 15:59:34 +00:00
Matthias Bussonnier
912c4bb683 adresses Min comments 2014-12-10 10:45:27 +01:00
Matthias Bussonnier
47822187c1 Fix typos, rephrase english. Thanks Kyle. 2014-12-10 10:45:27 +01:00
Matthias BUSSONNIER
4239dc03f3 load the per kernel kernel.js and kernel.css
As per discussion, each kernel can provide a file name kernel.js that
we try to load at kernel switching. If such a file exist we assume that
the kernel pathches the javasscript and that this javascript cannot be
unpatched, and further switching of the kernel cannot be undone without
reloading the page. (separate PR for UI)

if a kernel provide kernel.js, the it should consist into a AMD module
definition that uses require.js the module shoudl define a function name
`onload` that will be called at the appropriate moment before the kernel
starts.
2014-12-10 10:45:26 +01:00
Min RK
99bac366af Merge pull request #7140 from quantopian/validate-contents
DEV: Validate models returned from ContentsManager methods.
2014-12-09 20:16:07 -08:00
Jonathan Frederic
1c499334c7 Merge pull request #7146 from jdfreder/interact-fix
Fix Dropdown widget page scroll issue
2014-12-09 18:05:53 -08:00