Fernando Perez
6e1bbf8fc3
Start webbrowser in a thread. Prevents lockup with Chrome.
...
If a user has Chrome set as their default browser (system-wide or via
the `BROWSER` environment variable), opening the notebook hangs
because the chrome call doesn't return immediately. This solves the
issue by opening the browser in a thread.
Note that there remains an issue where killing the notebook will kill
Chrome if the Chrome session was started by us. I haven't found a way
to work around that despite attempts by making the webbrowser.open()
call in a subprocess.
14 years ago
Brian Granger
a6c9123018
Adding space between paragraphs in rendered html in the notebook.
14 years ago
MinRK
dd8761ea1d
Allow IPython to run without sqlite3
...
The History will always appear empty, so history magics, etc. don't do anything. Readline history for a single session works fine.
Test suite should now pass without sqlite
14 years ago
MinRK
89f11475da
dashboard page title -> IPython Dashboard
14 years ago
MinRK
76650e316d
Restore kernel status to header
14 years ago
MinRK
48c344ecf5
fix --no-browser flag in notebook after rename
14 years ago
MinRK
30c45c517d
fix Cell->Help header typo
14 years ago
Fernando Perez
38af53d027
Merge pull request #899 from minrk/nbwork
...
Internal notebook refactoring and cleanup, plus fixing a bug that prevented Tornado from authenticating users with password.
14 years ago
MinRK
9be2911296
style Sign In button with jQuery
14 years ago
Brian E. Granger
970742c267
Using self.request._cookies in WS handlers.
14 years ago
Brian E. Granger
9b945e7bc2
Added kill_kernel to notebook template.
14 years ago
MinRK
6c5f69e97a
Moving status widget to Kernel section of L panel.
14 years ago
MinRK
139fe52832
Renaming user cookie to username to better match usage.
14 years ago
Brian E. Granger
fd06bd1610
Minor changes to the notebook handlers.
14 years ago
Brian E. Granger
d26a7e5fcc
Removed save widget delay.
14 years ago
Brian E. Granger
5f3fd837a4
Renaming NBBrowserHandler->ProjectDashboardHandler.
14 years ago
Brian E. Granger
05729f7c0c
Further cleanup and renaming of notebook.
14 years ago
Brian E. Granger
2318fe4ef5
Renaming things in the notebook.
...
* nbbrowser -> projectdashboard.
* Getting rid of underscores on .js filenames.
14 years ago
Brian E. Granger
ae37e2fe2c
Simplifying logic on login page.
14 years ago
Brian E. Granger
1f699c8c23
Further work updating JS URL scheme to use data-base-project-url.
14 years ago
Brian E. Granger
cc3516be01
Updating notebook list to use data-base-project-url.
14 years ago
Brian E. Granger
1f06a280ca
Updating JS URL scheme to use embedded data.
...
All ajax requests from JS now use the data-base-project-url
and data-base-kernel-url data attributes set on the body.
14 years ago
Brian E. Granger
36e15cb5c2
Adding data-project to the body data attribs.
14 years ago
Brian E. Granger
c900979a80
Misc changes to the notebook.
...
* IPythonNotebookApp->NotebookApp.
* Cleaned up html templates of unused stylesheets.
14 years ago
Brian E. Granger
7611a38721
Minor changes to handlers.
14 years ago
MinRK
4f26dae311
don't present meaningless username option in notebook
...
username isn't used for anything other than hash input
for authentication, so remove the field in the login form
and just use a uuid.
14 years ago
Brian E. Granger
66d5c9f8a6
Adding base_project_url and base_kernel_url as HTML data attribs.
...
* Also saving the notebook_id using that as well.
14 years ago
Fernando Perez
986f2e7223
Merge pull request #893 from minrk/clearoutput
...
Adding clear_output to kernel and HTML notebook.
This enables the clearing of output during the execution of a cell. It can be used for simple forms of animation in the notebook.
14 years ago
MinRK
033c9d9848
Add tooltips to the notebook via 'title' attr.
...
All buttons, show/hide clickable areas, etc. should have some tooltip describing
what they do. There are jQuery plugins for enhanced tooltips, but this gets
the lightest version working.
closes #436
14 years ago
MinRK
24d37b6bcc
add channel-selection to clear_output
...
example notebook updated accordingly
14 years ago
Brian Granger
10deb3b744
Adding clear_output to kernel and HTML notebook.
14 years ago
Fernando Perez
9fa9f0b15f
Merge pull request #884 from fperez/nb-usability
...
Various Notebook usability fixes:
- add kernel restart dialog confirmation (it destroys the user session)
- add missing keybindings
- change language from 'terminal mode' to 'in-place execution' which is more descriptive
- adjust spacing/padding and colors slightly for readability and better use of space in small screens.
- add line numbering toggle to code cells. Triggered with C-m-l.
- show keybindings in monospaced font.
- add QuickHelp button that is always visible and at the top.
- add missing keybindings for kernel interrupt/restart from the kbd.
14 years ago
Fernando Perez
55223d0414
Adjust title area sizes to improve alignment.
14 years ago
MinRK
a42f678fd1
Merge PR-883
...
Notify user if notebook save fails.
closes #883
14 years ago
Fernando Perez
781c5ad281
Underline quick help button key accelerator (h).
14 years ago
MinRK
8d139492ce
show_keyboard_shortcuts -> toggle_keyboard_shortcuts
...
Now multiple calls no longer show multiple instances of the shortcut dialog. Rather, clicking the quick help, or invoking `C-m h` will hide
the dialog if shown.
14 years ago
MinRK
53d10a61ab
fix quickhelp widget
...
Move header.js -> quickhelp.js, as it not longer acts on whole header.
14 years ago
Thomas Kluyver
74771e4037
Add ability to open the notebook in a browser when it starts.
14 years ago
Fernando Perez
b06d0f03c6
Adjust cell background and number color after review with @minrk.
14 years ago
Fernando Perez
77c62893bc
Keep kernel-related bindings together in code.
14 years ago
Fernando Perez
1a109765b8
Clean up accidentally introduced hard tabs in JS code.
14 years ago
Fernando Perez
83790b7e29
Fix text cell color, was too light to be seen on certain monitors/browsers.
14 years ago
Fernando Perez
e9d744f06c
Add quick help button: broken ATM, style and binding aren't working.
...
Help needed here, will discuss during pull request before merging.
14 years ago
Fernando Perez
6d0715988f
Change button labels in restart dialog to action words.
14 years ago
Fernando Perez
e852a86669
Add confirmation dialog to kernel restart action.
14 years ago
Fernando Perez
e41ba5a75c
Refactor line num. toggle into proper function, access via C-m-l.
...
This makes the keybinding consistent with the rest, updated help dialog.
14 years ago
Fernando Perez
8fb9f71e42
Use monospaced font for keybinding display.
14 years ago
Fernando Perez
e8326241eb
Add C-m-{'i', '.'} as keybindings for kernel interrupt/restart.
14 years ago
Fernando Perez
3db974a4f4
Padding adjustments to better use vertical and horizontal whitespace.
...
Verified that all prompts align correctly on linux/chrome + ffox, and
that input prompts up to 4 digits long still fit.
14 years ago
Fernando Perez
e00e604144
Add Ctrl-L as a way to toggle line-numbers for any individual code cell
14 years ago