Commit Graph

1019 Commits

Author SHA1 Message Date
Matthias BUSSONNIER
aa9a5db301 fix bootstrap name conflicts
change .tooltip to .ipython_tooltip
class name in css to avoid conflic with bootstrap

don't put header logo in h1 to also avoid conflict
2012-10-07 18:57:01 +02:00
Brian E. Granger
2be72dae5d Merge pull request #2421 from Carreau/nbconsole
Some notebook tweaks.
2012-10-03 12:48:52 -07:00
Matthias BUSSONNIER
20fec7b2d0 remove rogue codemirror onUpdate 2012-10-03 17:20:27 +02:00
Brian E. Granger
7ae77c8372 Merge pull request #2127 from Carreau/jsToolbar
Ability to build toolbar in JS
2012-10-02 09:58:48 -07:00
Bussonnier Matthias
362eab83aa Merge pull request #2216 from Carreau/autohighlight
Autochange highlight with cell magics

Highlight change is made on cell load and Enter keypress.
For now, it recognizes %%javascript, %%python[3], %%ruby, %%bash , %%R, %%perl.

new modes can easily be added by adding regular expression on config.js
2012-09-29 06:12:39 -07:00
Bussonnier Matthias
b1662530a0 Merge pull request #2442 from minrk/signithalt
allow iptest to be interrupted
2012-09-28 01:14:45 -07:00
Min RK
9eb2b0b161 Merge pull request #2240 from minrk/stranded_metadata
fix message built for engine dying during task

would result in KeyError on missing 'metadata'
2012-09-27 16:30:44 -07:00
MinRK
d6db92b7e6 allow iptest to be interrupted
Previously `^C` would register as a regular test failure, and the test suite would continue, in which case halting `iptest` meant hitting `^C` nine times.

This change makes iptest take notice of sigint in a test runner, and aborts the run.
2012-09-27 15:58:00 -07:00
Bussonnier Matthias
01cdf460cc align output with input 2012-09-23 16:20:19 +02:00
Bussonnier Matthias
a03764ed67 add ability to create continuation prompt 2012-09-23 16:20:11 +02:00
Bussonnier Matthias
045973b6bb add insert_cell_at_bottom prototype 2012-09-23 14:05:12 +02:00
Bradley M. Froehle
4982a24bd7 Merge pull request #2326 from Carreau/detachable-pager
Detachable pager in notebook.
2012-09-18 13:28:00 -07:00
Ohad Ravid
c58e152f57 Answer Issue #2366
If a file notebook is used, and a relative directory is given, make it
absolute.
2012-09-17 00:03:06 +03:00
Bussonnier Matthias
3119f11ba6 change detach icon and tab title 2012-09-15 13:37:41 +02:00
Matthias BUSSONNIER
e0e519afcb Add scroll_to_cell(cell_number) to the notebook 2012-09-11 21:59:31 +02:00
Matthias BUSSONNIER
f4d9dabc31 remove notification widget leftover
fixes #2367
2012-08-31 20:08:15 +02:00
Bussonnier Matthias
771d67ada7 Merge pull request #2352 from bfroehle/notebook_unique_cookie_name
Notebook: Store the username in a cookie whose name is unique.

Cookies cannot be saved on a per-port basis, so a cookie "username" is shared
across all running IPython notebooks with the same hostname. Using a unique
cookie name prevents this collision.

This allows a user to start multiple IPython notebooks and be logged into
each.
2012-08-31 00:11:36 -07:00
MinRK
a9db0585d6 fix names of notebooks for download/save
was using notebook.get('name') instead of notebook.metadata.get('name'),
where the name is actually stored.  The result was that all downloaded notebooks were called 'notebook'.

closes #2227
2012-08-30 14:24:44 -07:00
Bradley M. Froehle
727379ec4f Notebook: Store the username in a cookie whose name is unique.
Cookies cannot be saved on a per-port basis, so a cookie "username" is
shared across all running IPython notebooks with the same hostname.
Using a unique cookie name prevents this collision.

This allows a user to start multiple IPython notebooks and be logged into
each.
2012-08-27 16:59:58 -07:00
Bussonnier Matthias
45f79e0509 Merge pull request #2192 from Carreau/notification
Introduce Notification Area

This allow several notification widget to be next one to the other in the notification area.
The Api allow also to register a callback if the user click on the notification. and allows sticky and non sticky notification.
2012-08-25 06:37:17 -07:00
Matthias BUSSONNIER
6526b6ea68 fix some whitespace 2012-08-24 11:52:31 +02:00
Matthias BUSSONNIER
645ac8df8e add tooltip to pager button 2012-08-22 11:21:50 +02:00
Matthias BUSSONNIER
5134212a4c This create the ability to detach the pager
When detached, the pager is collapsed and it's content is send into it's
own window/tab depending of the browser configuration.
2012-08-22 11:18:47 +02:00
Matthias BUSSONNIER
5e1ba95f6d check for selector only in parent classes 2012-08-12 14:43:50 +02:00
Matthias BUSSONNIER
00fcd46323 reorder methods and fix typo 2012-08-12 14:43:50 +02:00
Matthias BUSSONNIER
feabba941f space around : , bis 2012-08-12 14:31:33 +02:00
Matthias BUSSONNIER
299106fe38 space around : 2012-08-12 14:30:18 +02:00
Matthias BUSSONNIER
c2cf3a07dd jslint 1 2012-08-12 14:26:40 +02:00
Matthias BUSSONNIER
2b26c6a7d4 optionally 1n, 2l 2012-08-12 14:21:59 +02:00
Matthias BUSSONNIER
8a121f93ac #toolbar -> #maintoolbar 2012-08-12 14:20:37 +02:00
Matthias BUSSONNIER
8374d14d06 use strict in notificationwidget.js 2012-08-12 14:06:47 +02:00
Matthias BUSSONNIER
56a57de8e1 jslint 2 2012-08-12 14:00:59 +02:00
Matthias BUSSONNIER
7d9c78c081 jslint 1 2012-08-12 13:45:23 +02:00
Matthias BUSSONNIER
adcb0a8f56 fix click unbind
unbind click to dismissed when click, otherwise it stays for next
button shown
2012-08-12 13:40:41 +02:00
Matthias BUSSONNIER
d88f7d4c72 autochange highlight with cell magics
also detect diff in raw cells

mode is détected on enter keypress, notebook load, cell and focus out
2012-08-12 13:02:11 +02:00
MinRK
27abd01589 skip crash tests by default 2012-08-10 22:15:14 -07:00
Brian Granger
d95f4bc810 Renaming BaseNotebookManager->NotebookManager to preserve config. 2012-08-10 20:18:55 -07:00
Brian Granger
050b61c90a Renaming basenbmanager. 2012-08-10 20:15:38 -07:00
MinRK
c05433e780 s/assertEquals/assertEqual (again)
fix a few deprecated assertEquals that have snuck back in
2012-08-10 19:09:46 -07:00
Brian E. Granger
bb4009b178 Merge pull request #2218 from Carreau/new_redirect
Use redirect for new notebooks
2012-08-10 18:23:19 -07:00
Brian E. Granger
638478fa23 Merge pull request #2277 from bfroehle/notebook_arrow_keys
nb: up/down arrow keys move to begin/end of line at top/bottom of cell
2012-08-10 18:08:58 -07:00
Brian Granger
421ada2837 Adding exclusion for the azure module in iptest. 2012-08-10 17:43:25 -07:00
Brian Granger
f819997f6e Fixing minor bugs in notebookapp related to base class name. 2012-08-10 17:43:25 -07:00
Brian Granger
f40f6448c2 Fixing minor bug. 2012-08-10 17:43:25 -07:00
Brian Granger
8df2d331a7 Fixing minor things for the Azure backed nb storage. 2012-08-10 17:43:25 -07:00
Brian Granger
9784a2ac52 Refactoring notebook managers and adding Azure backed storage.
I have created a base class for all notebook managers. Our
existing, file-based store, is now in filenbmanager.py. I have
also created a new Azure Blob based backed notebook manager.
2012-08-10 17:43:25 -07:00
Matthias BUSSONNIER
bcc9081444 remove update_url occurences 2012-08-10 10:27:13 +02:00
Bradley M. Froehle
2b079345cb notebook: up/down arrow keys move to begin/end of line at top/bottom of cell
The behavior is the following:

* If you press UP while on the first row, you go to the beginning of the line.
* If you press UP again (or were already at the beginning of the line), you
  go to the previous cell.
* If you press DOWN while on the last row, you go to the end of the line.
* If you press DOWN again (or were already at the end of the line), you go
  to the next cell.

This applies to `CodeCell`s and `RawCell`s.
2012-08-09 16:48:23 -07:00
Puneeth Chaganti
a8556b5d9e CLN: Use name to id mapping of notebooks instead of searching.
Minor clean-up.
2012-08-09 19:40:16 +05:30
Thomas Kluyver
31b326ca02 Exclude slow tests (IPython.parallel by default in iptest 2012-08-02 21:42:48 +01:00