Commit Graph

1325 Commits

Author SHA1 Message Date
Bussonnier Matthias
e08873d7f6 Merge pull request #2368 from Carreau/fixes_2367
remove notification widget leftover
2012-08-31 12:54:06 -07: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
Fernando Perez
4587c15f40 Merge pull request #2365 from minrk/nbname
fix names of notebooks for download/save from the browser, so that instead of being called 'notebook' the resulting file has the actual notebook name.

closes #2227
2012-08-30 20:36:39 -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
Bradley M. Froehle
e54ce19728 Merge pull request #2295 from benjiec/pip-install-from-git
allow pip install from github repository directly
2012-08-13 10:02:16 -07:00
Benjie Chen
ab1aef9b88 allow pip install from github repository directly 2012-08-13 10:19:45 -04: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
Fernando Perez
ac0eabc5f4 Merge pull request #2290 from ellisonbg/nbmanager
Renamed BaseNotebookManager to NotebookManager so that old config files continue to work.
2012-08-10 20:42:29 -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
Fernando Perez
de18aa0815 Merge pull request #2288 from minrk/assertEquals
s/assertEquals/assertEqual (again): fix a few deprecated assertEquals that have snuck back in
2012-08-10 19:14:09 -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 E. Granger
c8e04d991c Merge pull request #2045 from ellisonbg/azurenb
Refactoring notebook managers and adding Azure backed storage.
2012-08-10 17:45:15 -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
Brian E. Granger
1057564853 Merge pull request #2274 from punchagan/nb-use-rev-mapper
CLN: Use name to id mapping of notebooks instead of searching.
2012-08-09 15:26:09 -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
Bussonnier Matthias
c00e56818b Merge pull request #2238 from takluyver/fasttest
Fast Test

See #2026.

By default `iptest` will only run the faster tests, and `iptest --all` is necessary to run all of them. At present, it just cuts out `IPython.parallel`, but we can refine that if we want to.

`test_pr` is also updated so that you can pass extra arguments through to iptest.
2012-08-03 15:06:16 -07:00
Thomas Kluyver
31b326ca02 Exclude slow tests (IPython.parallel by default in iptest 2012-08-02 21:42:48 +01:00
Bradley M. Froehle
0340b06565 Merge pull request #2235 from minrk/rmprint
remove spurious print statement from setupbase.py
2012-08-01 16:23:00 -07:00
MinRK
e972672ddd remove spurious print statement from setupbase.py 2012-08-01 16:14:21 -07:00
Matthias BUSSONNIER
b0cf1f43ed use redirect for new/copy notebooks
fixes #2217
2012-08-01 19:11:41 +02:00
Bussonnier Matthias
6c67ae79dd Merge pull request #2224 from Carreau/fix-css
fix css typo
2012-07-31 06:47:47 -07:00
Matthias BUSSONNIER
3160d67763 css typo 2012-07-31 13:14:46 +02:00
Matthias BUSSONNIER
71a1675c8f tweek notebook notification behavior 2012-07-28 19:17:05 +02:00
Bussonnier Matthias
99ccdf15d9 Merge pull request #2199 from Carreau/safe-js
Wrap published javascript in try/catch to show a error if it raises.
2012-07-28 04:09:38 -07:00
Matthias BUSSONNIER
33edba2c9a warn on error when user display javascript 2012-07-28 13:02:56 +02:00
Bussonnier Matthias
5c394dab71 Merge pull request #2212 from minrk/protectjs
catch errors in markdown javascript
2012-07-28 03:59:03 -07:00
Bussonnier Matthias
4529b2b05c Merge pull request #2190 from Carreau/update_code_mirror
Update code mirror 2.22 to 2.32

Update codemirror to the latest stable.
And upadte our code here and there to smooth the changes. 
Just the fact that there is a new tab system that was inserting tabs instead of 4 space, we just have to pass a new line when creating e new CM instance.

Should also fix #1464.

See Readme-IPython to see what patch to apply when updating next.
2012-07-28 03:41:00 -07:00
MinRK
4a3e1f3185 make markdown error handling js-specific 2012-07-27 19:57:47 -07:00
Matthias BUSSONNIER
a5bc24d8b2 select correct behavior for backspace in codecell 2012-07-27 22:38:56 +02:00
Matthias BUSSONNIER
2f6117bd46 Force tabs to space in CM 2012-07-27 22:38:56 +02:00
Matthias BUSSONNIER
308c4994d3 patch SingleOperator in CodeMirror2 2012-07-27 22:38:56 +02:00
Matthias BUSSONNIER
370943fff0 update CodeMirror2 to 2.32 2012-07-27 22:38:55 +02:00
MinRK
7e7c2fe9e5 catch js errors when rendering markdown cells 2012-07-27 13:36:44 -07:00
Matthias BUSSONNIER
b75c101a97 rename and fix template 2012-07-27 10:19:49 +02:00
Matthias BUSSONNIER
a0bc644153 call init method 2012-07-27 10:15:22 +02:00