Brian E. Granger
05729f7c0c
Further cleanup and renaming of notebook.
15 years ago
Brian E. Granger
2318fe4ef5
Renaming things in the notebook.
...
* nbbrowser -> projectdashboard.
* Getting rid of underscores on .js filenames.
15 years ago
Brian E. Granger
ae37e2fe2c
Simplifying logic on login page.
15 years ago
Brian E. Granger
1f699c8c23
Further work updating JS URL scheme to use data-base-project-url.
15 years ago
Brian E. Granger
cc3516be01
Updating notebook list to use data-base-project-url.
15 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.
15 years ago
Brian E. Granger
36e15cb5c2
Adding data-project to the body data attribs.
15 years ago
Brian E. Granger
c900979a80
Misc changes to the notebook.
...
* IPythonNotebookApp->NotebookApp.
* Cleaned up html templates of unused stylesheets.
15 years ago
Brian E. Granger
7611a38721
Minor changes to handlers.
15 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.
15 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.
15 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.
15 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
15 years ago
MinRK
24d37b6bcc
add channel-selection to clear_output
...
example notebook updated accordingly
15 years ago
Brian Granger
10deb3b744
Adding clear_output to kernel and HTML notebook.
15 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.
15 years ago
Fernando Perez
55223d0414
Adjust title area sizes to improve alignment.
15 years ago
MinRK
a42f678fd1
Merge PR-883
...
Notify user if notebook save fails.
closes #883
15 years ago
Fernando Perez
781c5ad281
Underline quick help button key accelerator (h).
15 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.
15 years ago
MinRK
53d10a61ab
fix quickhelp widget
...
Move header.js -> quickhelp.js, as it not longer acts on whole header.
15 years ago
Thomas Kluyver
74771e4037
Add ability to open the notebook in a browser when it starts.
15 years ago
Fernando Perez
b06d0f03c6
Adjust cell background and number color after review with @minrk.
15 years ago
Fernando Perez
77c62893bc
Keep kernel-related bindings together in code.
15 years ago
Fernando Perez
1a109765b8
Clean up accidentally introduced hard tabs in JS code.
15 years ago
Fernando Perez
83790b7e29
Fix text cell color, was too light to be seen on certain monitors/browsers.
15 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.
15 years ago
Fernando Perez
6d0715988f
Change button labels in restart dialog to action words.
15 years ago
Fernando Perez
e852a86669
Add confirmation dialog to kernel restart action.
15 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.
15 years ago
Fernando Perez
8fb9f71e42
Use monospaced font for keybinding display.
15 years ago
Fernando Perez
e8326241eb
Add C-m-{'i', '.'} as keybindings for kernel interrupt/restart.
15 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.
15 years ago
Fernando Perez
e00e604144
Add Ctrl-L as a way to toggle line-numbers for any individual code cell
15 years ago
MinRK
7041224f96
fix typo in stripping kernel args in nb and qt
...
closes #885
15 years ago
Felix Werner
a4bec7e65d
Fixed testing of new notebook name before saving.
15 years ago
Felix Werner
f5b52442aa
Notify the user of errors when saving a notebook.
15 years ago
Felix Werner
a89d947322
Update document title and last_saved_name only after a successful save.
15 years ago
Fernando Perez
13377a2d23
Merge branch 'carreau-mathjax-warning'
...
Warn user if MathJax can't be fetched from notebook
Closes #744 .
15 years ago
Fernando Perez
87462b4259
Minor fixes to text and formatting of error message.
15 years ago
Fernando Perez
df43150509
Merge pull request #850 from fperez/codemirror
...
Update codemirror to 2.15 and make the code internally more version-agnostic.
Added our own README file with information about what changes we carry to upstream CodeMirror and what version we currently use.
15 years ago
Matthias BUSSONNIER
85ea4222fb
Hide warning message about matjax when page load
...
also fix Matjax->MathJax
15 years ago
Matthias BUSSONNIER
b05d2c21a9
Matjax Warning message improvement.
...
merge '<script>' balises.
Improve message text and style.
Remove instead of hide
15 years ago
Fernando Perez
00af93da43
IPython-specific changes to CodeMirror: recognize '?' in Python mode.
15 years ago
MinRK
52592d47b1
fix missing trailing comma in kernel.js
15 years ago
Matthias BUSSONNIER
4d5e605082
Warn user if MathJax can't be fetched from notebook
...
closes #744
15 years ago
MinRK
4d7ef4899e
enable HMAC message signing by default in notebook kernels
...
This is separate from previous, because it is more likely to be rejected.
It requires the the Session objects in Handlers get a reference all the way back up to the IPython App that started the environment.
15 years ago
MinRK
b01c6ef0c4
use zmq.KernelManager to manage individual kernels in notebook
...
This means that proper restart is now available, rather than
killing and starting a new kernel, breaking connections to
secondary frontends.
15 years ago
MinRK
e38729c9b2
fix kernel_argv scrubbing to cover args passed with space
...
$> ipqt --shell 12345
would not scrub the port, previously
15 years ago
MinRK
4eb4926812
use ROUTER/DEALER sockets for stdin
...
stdin requests are now directed to the frontend that made the execution
request that called raw_input.
allow_stdin flag added to execution_request to indicate whether stdin_requests are allowed.
StdInNotImplementedError exception class added to IPython.core.error, and is raised if raw_input is called from execute requests where allow_input is undefined.
closes gh-673
15 years ago
Fernando Perez
b8bab4a051
Update templates to new directory name for codemirror.
15 years ago
Fernando Perez
9cca38f452
Do not use version # in codemirror directory name.
...
Simply call it 'codemirror', so we don't have explicit version numbers
inside a bunch of files.
A file called ipython-version-N.NN will be kept to easily let us know
which version we're shipping with IPython.
15 years ago
Fernando Perez
6b0fdf2356
Update CodeMirror code to v2.15
15 years ago
Fernando Perez
43a4db17e6
Merge pull request #830 from minrk/stream
...
Several improvements to stdout/stderr handling and visual layout of cells.
Now stdout and stderr are kept contiguous (in a single div) if they are being written to continuously, and stderr is shown with a light red background to help distinguish from stdout.
Further, input cells now have a light gray background to help distinguish them from plain stdout areas.
15 years ago
MinRK
940d636656
fix Input prompt/code alignment
...
with note for future reference
15 years ago
MinRK
30028c3ca0
round corner and light bg on code areas
...
c/o @fperez
15 years ago
Fernando Perez
eba1a8c796
Merge pull request #801 from takluyver/py3-notebook
...
Gets the notebook working under Python3.
15 years ago
MinRK
c022dca01a
small CSS adjustments in notebook
...
* add think border around input area
* change background instead of foreground on stderr
* only stderr/stdout are output_stream, general text (including streams) is output_text
* reduce vertical padding on stream output, per @fperez
15 years ago
Bernardo B. Marques
8e32204222
remove all trailling spaces
15 years ago
Thomas Kluyver
609e4134ff
Decode data for saving notebook, allowing saving in Python 3.
15 years ago
MinRK
788d7e6348
allow stdout/stderr to have distinct css
...
make stderr output darkred
15 years ago
MinRK
a9d9a8b72c
support contiguous stream output in notebook
...
Consecutive messages to stdout or stderr will not be split
into separate divs, until a new message to different stream
arrives.
Appending will only occur when the latest output is the same
as the new one. Interleaving messages will still result in
multiple divs.
15 years ago
Thomas Kluyver
0f5c0f67c9
Fix for notebook in Python 3.
15 years ago
MinRK
5dd7dce0b2
fix installation of zmq IOLoop into tornado
...
incorrectly overrode the module, rather than the class in the module, which is more reliable.
15 years ago
Brian Granger
b7ab64f304
fixConsole no longer trims the final text.
15 years ago
MinRK
3ee19c6563
only store hashed user_id in notebook cookie
...
hashed user_id is used for authentication, rather than hashed password. Thus, user cookie is only set after authentication succeeds.
15 years ago
Brian E. Granger
98393e9a28
Merge branch 'enh/httpauth' of https://github.com/satra/ipython into satra-enh/httpauth
15 years ago
MinRK
d11ef986a4
authenticate Websockets with the session cookie
...
Now all Notebook connections are authenticated.
15 years ago
MinRK
152fe1b6f1
Authenticate all notebook requests (except websockets)
...
* BaseHandler renamed AuthenticatedHandler
* also clears cookies if invalid, to prevent repeated 'Invalid cookie signature' warning messages.
15 years ago
MinRK
dbfe19f6e2
notebook auth adjustments
...
* keyword -> password
* removed password alias
* add login.html as template
* new cookie key for each Server instance
15 years ago
Brian E. Granger
8c76fcf71c
Fixing Ctrl-Enter on Firefox.
15 years ago
Satrajit Ghosh
00986be4f8
fix: added keyword to notebook aliases
15 years ago
Satrajit Ghosh
546a0147fb
fix: changed keyword input field to type password
15 years ago
MinRK
549cf4ee2a
fix undefined 'session_id' member in kernel.js
15 years ago
Satrajit Ghosh
c4d90c8a08
enh: added authentication ability for webapp
15 years ago
Brian E. Granger
1021c3dc88
Merge branch 'fix/https' of https://github.com/satra/ipython into satra-fix/https
15 years ago
Brian E. Granger
c6d030761e
Merge branch 'placeholder' of https://github.com/minrk/ipython into minrk-placeholder
15 years ago
MinRK
3aed0a0b94
use null char to start text cell placeholders
15 years ago
Satrajit Ghosh
7d0467df1c
fix: applied fernando's if simplification fix
15 years ago
Satrajit Ghosh
1ae18b5be7
fix: display secure url with proper protocol
15 years ago
Fernando Perez
d1cfedaf16
Leave commented-out stable url code for reference, with TODO.
15 years ago
Brian E. Granger
f1e4a59777
Adding messages to HTTPError raising.
...
These messages are not returned to the browser, but are printed
to the server logs and will help the code readability.
I have also used a more specific code in some cases.
15 years ago
Brian E. Granger
acc81dfbee
Ctrl-Enter now does not delete input, but selects it.
15 years ago
Brian E. Granger
fa8ab6f37d
Going back to using uuid.uuid4() for notebook ids.
...
We were having problems with notebook renaming when using uuid5,
as there are many places in the code where we assume that the
notebook id is unique and unchanging as long as the notebook
server runs.
15 years ago
Brian E. Granger
0b19dd7bfe
Temporary fix for placeholder related CM bug.
15 years ago
Brian E. Granger
c2df8a9005
Merge branch 'mathjax' of https://github.com/minrk/ipython into minrk-mathjax
15 years ago
MinRK
ba1df9be55
underline keyboard shortcut letter on buttons
15 years ago
Fernando Perez
b8c1ab1ada
Fix above/below keybinding mismatch and rename api to use above/below
15 years ago
Stefan van der Walt
3a8811e115
Add code highlighting to markdown cells.
15 years ago
MinRK
638bc02a8f
update notebook template to prefer offline mathjax
15 years ago
Stefan van der Walt
dfeb4342ed
Align colons in help dialog.
15 years ago
Brian E. Granger
d60edf973d
Changing prev/next keyboard shortcut to use p/n.
15 years ago
Brian E. Granger
b89d656a3c
Fixing console.log messages related to keyboard shortcuts.
15 years ago
Brian E. Granger
cf0c66fe4e
Adding keyboard shortcut help dialog.
15 years ago
Brian E. Granger
d3e67106a1
Adding keyboard shortcuts.
15 years ago
Fernando Perez
2522a651d9
Right-align prompts to remove spurious whitespace.
15 years ago
Brian E. Granger
5b19a85fa4
Adjusting width of prompt area.
15 years ago
Brian E. Granger
6798c5cc97
All output types are not indented.
15 years ago
Brian E. Granger
919a393622
Fixing bug in new metadata implementation.
15 years ago
Brian E. Granger
5cb8bb1f27
Reorganize the L panel buttons.
15 years ago